Cargo Features

[dependencies]
totp_rfc6238 = { version = "0.6.1", default-features = false, features = ["oathuri", "ring", "rustcrypto"] }
default = rustcrypto

The rustcrypto feature is set by default whenever totp_rfc6238 is added without default-features = false somewhere in the dependency tree.

oathuri = data-encoding, percent-encoding, url, zeroize

Affects totp_rfc6238::oath_uri

ring

Enables ring

Affects low_level::hmac_sha

rustcrypto default

Enables hmac, sha1, and sha2

Affects low_level::hmac_sha

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.

data-encoding oathuri?
percent-encoding oathuri?
url oathuri?
zeroize oathuri?