Cargo Features
[dependencies]
lenient_semver_parser = { version = "0.4.2", default-features = false, features = ["semver", "semver011", "semver010", "partial", "generator", "strict"] }
- default = semver
-
The
semver
feature is set by default wheneverlenient_semver_parser
is added without
somewhere in the dependency tree.default-features = false - semver default = semver_v100
-
Enables semver of lenient_semver_version_builder
- semver011 = semver_v011
-
Enables semver011 of lenient_semver_version_builder
- semver010 = semver_v010
-
Enables semver010 of lenient_semver_version_builder
- partial
-
Affects
lenient_semver_parser::parse_partial
,lenient_semver_parser::strict.parse_partial
… - generator
-
Affects
lenient_semver_parser::generator
… - strict
-
Affects
lenient_semver_parser::strict
,lenient_semver_parser::generator
…
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_v100 semver
-
Enables semver
- semver_v011 semver011?
-
Enables semver ^0.11
- semver_v010 semver010?
-
Enables semver ^0.10