Cargo Features

CrossBus has no features set by default.

[dependencies]
crossbus = { version = "0.0.6-a", features = ["no-std", "std", "core", "derive", "rt", "time", "log", "tokio", "async-std", "wasm32", "time-metric", "force-poll"] }
no-std
std async-std? tokio?
core
derive async-std? tokio? wasm32?

Enables crossbus-derive

rt async-std? tokio? wasm32?

Affects crossbus::rt

time

Affects crossbus::time

log

Enables log

tokio = derive, rt, std

Enables tokio

Affects rt::runtime_tokio

async-std = derive, rt, std

Enables async-std

Affects rt::runtime_async_std

wasm32 = derive, rt

Enables js-sys, wasm-bindgen, and wasm-bindgen-futures

Affects rt::runtime_wasm32, rt::wasm_timeout

unstable time-metric

Affects time::Timing.as_secs_f64

force-poll