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 whenever wnfs-wasm is added without default-features = false somewhere in the dependency tree.

wasm js web?

Enables wasm of wnfs

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.

console_error_panic_hook js
js-sys js
wasm-bindgen js
wasm-bindgen-futures js
web-sys web?