Cargo Features
[dependencies]
verify = { version = "0.3.2", default-features = false, features = ["schemars", "smallvec", "docs"] }
- default = smallvec
-
The
smallvec
feature is set by default wheneververify
is added without
somewhere in the dependency tree.default-features = false - schemars = regex, schemars_crate, serde, serde_json
-
Affects
impls::schemars
… - smallvec default = smallvec_crate
- docs
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.
- serde schemars?
-
Affects
verify::serde
… - serde_json schemars?
- schemars_crate schemars?
-
Enables schemars
The name alias is to avoid conflict with the feature name.
- smallvec_crate smallvec
-
Enables smallvec
- regex schemars?