Cargo Features
[dependencies]
js-utils = { version = "0.1.5", default-features = false, features = ["spawn", "sleep", "queue", "event", "panic_hook"] }
- default = event, panic_hook, queue, sleep, spawn
-
These default features are set whenever
js-utils
is added without
somewhere in the dependency tree.default-features = false - spawn default = futures, wasm-bindgen-futures
-
Affects
js-utils::spawn
… - sleep default = futures, zduny-wasm-timer
-
Affects
js-utils::sleep
… - queue default = futures
-
Affects
js-utils::queue
… - event default = futures
-
Affects
js-utils::event
… - panic_hook default = console_error_panic_hook
-
Affects
js-utils::set_panic_hook
…
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.