[dependencies.balloon-hash]
default-features = false
features = ["alloc"]
optional = true
version = "0.4.0"
[dependencies.base32]
default-features = false
optional = true
version = "0.5.1"
[dependencies.base64]
default-features = false
features = ["std"]
optional = true
version = "0.22.0"
[dependencies.digest]
default-features = false
features = ["mac"]
optional = true
version = "0.10.0"
[dependencies.getrandom]
default-features = false
optional = true
version = "0.3.3"
[dependencies.hex]
default-features = false
features = ["std"]
optional = true
version = "0.4.3"
[dependencies.hmac]
default-features = false
optional = true
version = "0.12.1"
[dependencies.libc]
default-features = false
optional = true
version = "0.2.141"
[dependencies.nom]
default-features = false
optional = true
version = "8.0.0"
[dependencies.pbkdf2]
default-features = false
optional = true
version = "0.12.1"
[dependencies.rust-argon2]
default-features = false
features = ["crossbeam-utils"]
optional = true
version = "3.0.0"
[dependencies.sha-1]
default-features = false
optional = true
version = "0.10.1"
[dependencies.sha2]
default-features = false
optional = true
version = "0.10.6"
[dependencies.sha3]
default-features = false
optional = true
version = "0.10.7"
[dependencies.thiserror]
default-features = false
optional = true
version = "2.0.3"
[dependencies.unicode-normalization]
default-features = false
optional = true
version = "0.1.22"
[dependencies.unicode_reader]
default-features = false
version = "1.0.2"
[dependencies.url]
optional = true
version = "2.3.1"
[features]
balloon = ["pass", "balloon-hash"]
cbindings = ["libc"]
default = ["hash", "key", "oath", "pass", "stderror"]
hash = ["hmac", "sha-1", "sha2", "sha3"]
key = ["base32", "base64", "hex", "getrandom"]
oath = ["base32", "base64", "hash", "hex"]
oath-uri = ["oath", "url"]
pass = ["base64", "digest", "hash", "key", "nom", "pbkdf2", "rust-argon2", "unicode-normalization"]
stderror = ["thiserror"]
[lib]
crate-type = ["rlib", "staticlib", "cdylib"]
name = "libreauth"
path = "src/lib.rs"
[package]
authors = ["Rodolphe Breard <rodolphe@what.tf>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["authentication", "cryptography"]
description = "Collection of tools for user authentication."
documentation = "https://docs.rs/libreauth/"
edition = "2024"
include = ["src/**/*", "Cargo.toml", "Licence_*.txt"]
keywords = ["authentication", "password", "oath", "hotp", "totp"]
license = "CECILL-C OR CECILL-2.1"
name = "libreauth"
readme = "README.md"
repository = "https://github.com/breard-r/libreauth"
rust-version = "1.85"
version = "0.18.0"
[package.metadata.docs.rs]
features = ["cbindings", "key", "oath-uri", "pass"]