Cargo Features
[dependencies]
iron-hmac = { version = "0.6.0", default-features = false, features = ["hmac-openssl", "hmac-rust-crypto"] }
- default = hmac-rust-crypto
-
The
hmac-rust-crypto
feature is set by default wheneveriron-hmac
is added without
somewhere in the dependency tree.default-features = false - hmac-openssl = openssl
-
Use openssl HMAC/SHA256 implementations
Affects
hmac::Hmac256
… - hmac-rust-crypto default = rust-crypto
-
Use rust-crypto HMAC/SHA256 implementations
Affects
hmac::Hmac256
…
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.