Cargo Features
[dependencies]
fluxion-core = { version = "0.8.0", default-features = false, features = ["std", "alloc", "tracing", "runtime-tokio", "runtime-smol", "runtime-async-std", "runtime-wasm", "runtime-embassy"] }
- default = runtime-tokio, std
-
These default features are set whenever
fluxion-coreis added withoutsomewhere in the dependency tree.default-features = false - std default runtime-async-std? runtime-smol? runtime-tokio
-
Enables executor and std of futures, std of event-listener and optional async-channel and parking_lot
FluxionSubject dependencies (std-only)
- alloc runtime-embassy? runtime-wasm?
-
Enables async-channel
Affects
fluxion-core::fluxion_subject… - tracing
-
Tracing support
Enables tracing
- runtime-tokio default = std
-
Runtime feature flags (each implies alloc)
Enables tokio
Affects
fluxion::Fluxion… - runtime-smol = std
-
Enables smol
Runtime dependencies (optional, feature-gated)
Note: tokio for non-WASM only, smol/async-std available for bothAffects
fluxion::Fluxion… - runtime-async-std = std
-
Enables async-std
Affects
fluxion::Fluxion… - runtime-wasm = alloc
-
WASM single-threaded runtime
- runtime-embassy = alloc
-
Embassy embedded runtime (no_std)