Cargo Features
[dependencies]
strict_encoding = { version = "2.8.0", default-features = false, features = ["all", "derive", "float", "half", "serde", "getrandom", "rand"] }
- default = derive
-
The
derive
feature is set by default wheneverstrict_encoding
is added without
somewhere in the dependency tree.default-features = false - all = derive, float, serde
- derive default all?
- float all?
- half
-
TODO: Remove this with major version update
- serde all? = serde_crate
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.