Cargo Features
[dependencies]
lz4-java-wrc = { version = "0.2.0", default-features = false, features = ["use_lz4_flex", "use_lz4-sys"] }
- default = use_lz4_flex
-
The
use_lz4_flex
feature is set by default wheneverlz4-java-wrc
is added without
somewhere in the dependency tree.default-features = false - use_lz4_flex default = lz4_flex
- use_lz4-sys = libc, lz4-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.