Cargo Features

gix-trace has no features set by default.

[dependencies]
gix-trace = { version = "0.1.9", features = ["tracing", "tracing-detail", "document-features"] }
default

Note that there is no default feature, as the application is supposed to opt-in via gix-features or using this crate directly.

tracing

Implement tracing with tracing-core, which provides applications with valuable performance details if they opt-in to it.

Note that this may have overhead as well, thus instrumentations should be used stategically, only providing coarse tracing by default and adding details only where needed while marking them with the appropriate level.

Enables tracing-core

tracing-detail

If enabled, detailed tracing is also emitted, which can greatly increase insights but at a cost.

Affects gix-trace::MAX_LEVEL

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml