Cargo Features
xtra has no features set by default.
[dependencies]
xtra = { version = "0.6.0", features = ["macros", "instrumentation", "async_std", "smol", "tokio", "wasm_bindgen", "sink"] }
- macros
-
Enables xtra-macros
- instrumentation
-
Enables tracing
Feature
instrumentation
- async_std
-
Enables async-std
Affects
spawn::spawn_async_std
… - smol
-
Enables smol ^1.1
Affects
spawn::spawn_smol
… - tokio
-
Enables tokio
Affects
spawn::spawn_tokio
… - wasm_bindgen
-
Enables wasm-bindgen and wasm-bindgen-futures
Affects
spawn::spawn_wasm_bindgen
… - sink
-
Enables futures-sink, sink of futures-util