Cargo Features
[dependencies]
hawk = { version = "5.0.1", default-features = false, features = ["use_ring", "use_openssl"] }
- default = use_ring
-
The
use_ring
feature is set by default wheneverhawk
is added without
somewhere in the dependency tree.default-features = false - use_ring default = ring
- use_openssl = openssl
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.