Cargo Features
[dependencies]
clevel = { version = "0.1.7", default-features = false, features = ["wee_alloc", "console_error_panic_hook"] }
- default = console_error_panic_hook
-
The
console_error_panic_hook
feature is set by default wheneverclevel
is added without
somewhere in the dependency tree.default-features = false
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.
- wee_alloc implicit feature
-
Enables wee_alloc
wee_alloc:
wee_alloc: The Wasm-Enabled, Elfin Allocator
- console_error_panic_hook default