Cargo Features
[dependencies]
wasmtimer = { version = "0.4.1", default-features = false, features = ["tokio-test-util", "tokio-util", "tokio", "serde"] }
- default = tokio, tokio-util
-
These default features are set whenever
wasmtimer
is added without
somewhere in the dependency tree.default-features = false - tokio-test-util = tokio
-
Affects
timer::clock
… - tokio-util default = slab, tokio
-
Affects
wasmtimer::tokio_util
… - tokio default tokio-test-util? tokio-util = futures, parking_lot, pin-utils
-
Affects
js::set_timeout_with_callback_and_timeout_and_arguments_0
,js::set_timeout
,wasmtimer::tokio
… - serde = serde_crate
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.