Cargo Features
[dependencies]
const-gen = { version = "1.6.5", default-features = false, features = ["std", "phf", "derive"] }
- default = derive, phf, std
-
These default features are set whenever
const-gen
is added without
somewhere in the dependency tree.default-features = false - std default phf
- phf default = std
- derive default = const-gen-derive
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.