Cargo Features

[dependencies]
sp-tracing = { version = "17.0.1", default-features = false, features = ["std", "with-tracing"] }
default = std

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

std default = tracing-subscriber, with-tracing

Enables std of parity-scale-codec, tracing, and tracing-core

Affects sp-tracing::try_init_simple, sp-tracing::init_for_tests

with-tracing std

Enables full of parity-scale-codec

parity-scale-codec:

This does not do anthing anymore. Remove with the next major release.

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.

tracing-subscriber std