Cargo Features
[dependencies]
opstr = { version = "1.1.0", default-features = false, features = ["digest", "regex", "icu", "icu_collator"] }
- default = digest, icu, regex
-
These default features are set whenever
opstr
is added without
somewhere in the dependency tree.default-features = false - digest default
- regex default
-
Enables regex
- icu default = icu_provider
-
Enables icu, icu_provider_adapters, and icu_provider_blob
Affects
config::Configuration.locale
…
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.
- icu_collator implicit feature
-
Enables icu_collator
icu_collator:
API for comparing strings according to language-dependent conventions
- icu_provider icu