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 default-features = false somewhere in the dependency tree.

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.

balloon-hash balloon?
base32 key oath
base64 key oath pass
digest pass
getrandom key
hex key oath
hmac hash
libc cbindings?
nom pass
pbkdf2 pass
rust-argon2 pass
sha-1 hash
sha2 hash
sha3 hash
thiserror stderror
unicode-normalization pass
url oath-uri?