Cargo Features

[dependencies]
aitia = { version = "0.4.0-dev.0", default-features = false, features = ["tracing", "instrument"] }
default = tracing

The tracing feature is set by default whenever aitia is added without default-features = false somewhere in the dependency tree.

tracing default = serde, serde_json, tracing-core, tracing-serde, tracing-subscriber

Affects aitia::logging

instrument

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reminder - do not use workspace deps

serde tracing
serde_json tracing
tracing-core tracing
tracing-serde tracing
tracing-subscriber tracing