Cargo Features
[dependencies]
libreauth = { version = "0.17.0", default-features = false, features = ["cbindings", "hash", "key", "oath", "oath-uri", "pass", "balloon", "stderror"] }
- default = hash, key, oath, pass, stderror
-
These default features are set whenever
libreauth
is added without
somewhere in the dependency tree.default-features = false - cbindings = libc
- hash default oath pass = hmac, sha-1, sha2, sha3
-
Affects
libreauth::hash
… - key default pass = base32, base64, getrandom, hex
-
Affects
libreauth::key
… - oath default oath-uri? = base32, base64, hash, hex
-
Affects
libreauth::oath
… - oath-uri = oath, url
-
Affects
cbindings::libreauth_hotp_get_uri
,cbindings::libreauth_totp_get_uri
… - pass default balloon? = base64, digest, hash, key, nom, pbkdf2, rust-argon2, unicode-normalization
-
Affects
libreauth::pass
… - balloon = balloon-hash, pass
- stderror default = thiserror
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.