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 default-features = false somewhere in the dependency tree.

digest default

Enables hex, md5, sha1, sha2, and sha3

regex default

Enables regex

icu default = icu_provider

Enables icu ^1.4.0, icu_provider_adapters ^1.4.0, and icu_provider_blob ^1.4.0

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 ^1.4.0

icu_collator:

API for comparing strings according to language-dependent conventions

icu_provider icu

Enables icu_provider ^1.4.0