Cargo Features

[dependencies]
tracing-futures = { version = "0.2.5", default-features = false, features = ["std", "futures-01", "futures-03", "std-future", "tokio-executor", "tokio"] }
default = std, std-future

These default features are set whenever tracing-futures is added without default-features = false somewhere in the dependency tree.

std default futures-01? futures-03?

Enables std of tracing

Affects tracing-futures::WithSubscriber, tracing-futures::WithDispatch

futures-01 = futures_01, std
futures-03 = futures, futures-task, std, std-future
std-future default futures-03? = pin-project

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

futures_01 futures-01?

Enables futures ^0.1

futures futures-03?
futures-task futures-03?
pin-project std-future
tokio-executor implicit feature

Enables tokio-executor

tokio-executor:

Future execution primitives

tokio implicit feature

Enables tokio ^0.1

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications