Cargo Features
[dependencies]
domainstack = { version = "1.1.1", default-features = false, features = ["std", "regex", "derive", "async", "chrono", "serde"] }
- default = std
-
The
stdfeature is set by default wheneverdomainstackis added withoutsomewhere in the dependency tree.default-features = false - std default
- regex
-
Affects
string::email,string::url,string::matches_regex,string::try_matches_regex… - derive serde? = domainstack-derive
- async
-
Enables async-trait
- chrono
-
Enables chrono
Affects
rules::datetime… - serde = derive
-
Enables serde, serde of domainstack-derive
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.