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 whenever iron-hmac is added without default-features = false somewhere in the dependency tree.

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.

openssl hmac-openssl?

Enables openssl ^0.9

rust-crypto hmac-rust-crypto