Cargo Features
[dependencies]
const-semver = { version = "0.1.4", default-features = false, features = ["macros", "semver", "serde"] }
- default = macros, semver, serde
-
These default features are set whenever
const-semver
is added without
somewhere in the dependency tree.default-features = false - macros default
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.
- semver default
-
Enables semver ^0.11.0
- serde default