Cargo Features
[dependencies]
wasm-peers = { version = "0.4.1", default-features = false, features = ["one-to-one", "one-to-many", "many-to-many", "console_error_panic_hook"] }
- default = console_error_panic_hook, many-to-many, one-to-many, one-to-one
-
These default features are set whenever
wasm-peers
is added without
somewhere in the dependency tree.default-features = false - one-to-one default
-
Affects
wasm-peers::one_to_one
… - one-to-many default many-to-many
-
Affects
wasm-peers::one_to_many
… - many-to-many default = one-to-many
-
Affects
wasm-peers::many_to_many
…
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 default