Cargo Features
[dependencies]
wnfs-wasm = { version = "0.2.2", default-features = false, features = ["wasm", "js", "web"] }
- default = js
-
The
js
feature is set by default wheneverwnfs-wasm
is added without
somewhere in the dependency tree.default-features = false - wasm js web?
- js default = console_error_panic_hook, js-sys, wasm, wasm-bindgen, wasm-bindgen-futures
-
Enables chrono
- web = wasm, web-sys
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.