Cargo Features
[dependencies]
lenient_semver = { version = "0.4.2", default-features = false, features = ["semver", "semver011", "semver010", "parse_partial", "version_lite", "version_semver", "version_serde"] }
- default = semver
-
The
semver
feature is set by default wheneverlenient_semver
is added without
somewhere in the dependency tree.default-features = false - semver default = semver_v100
-
Enables semver of lenient_semver_parser
Affects
lenient_semver::parse
… - semver011 = semver_v011
-
Enables semver011 of lenient_semver_parser
- semver010 = semver_v010
-
Enables semver010 of lenient_semver_parser
- parse_partial
-
Enables partial of lenient_semver_parser
- version_lite version_semver? version_serde? = lenient_version
-
Enables parser of lenient_version
- version_semver = version_lite
-
Enables semver of lenient_version
- version_serde = version_lite
-
Enables serde of lenient_version
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.
- lenient_version version_lite? version_semver? version_serde?
- semver_v100 semver
-
Enables semver
- semver_v011 semver011?
-
Enables semver ^0.11
- semver_v010 semver010?
-
Enables semver ^0.10