# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.67" name = "libreauth" version = "0.17.0" authors = ["Rodolphe Breard "] build = false include = [ "src/**/*", "Cargo.toml", "Licence_*.txt", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Collection of tools for user authentication." documentation = "https://docs.rs/libreauth/" readme = "README.md" keywords = [ "authentication", "password", "oath", "hotp", "totp", ] categories = [ "authentication", "cryptography", ] license = "CECILL-C OR CECILL-2.1" repository = "https://github.com/breard-r/libreauth" [package.metadata.docs.rs] features = [ "cbindings", "key", "oath-uri", "pass", ] [lib] name = "libreauth" crate-type = [ "rlib", "staticlib", "cdylib", ] path = "src/lib.rs" [dependencies.balloon-hash] version = "0.4.0" features = ["alloc"] optional = true default-features = false [dependencies.base32] version = "0.5.1" optional = true default-features = false [dependencies.base64] version = "0.22.0" features = ["std"] optional = true default-features = false [dependencies.digest] version = "0.10.0" features = ["mac"] optional = true default-features = false [dependencies.getrandom] version = "0.2.9" optional = true default-features = false [dependencies.hex] version = "0.4.3" features = ["std"] optional = true default-features = false [dependencies.hmac] version = "0.12.1" optional = true default-features = false [dependencies.libc] version = "0.2.141" optional = true default-features = false [dependencies.nom] version = "7.1.3" optional = true default-features = false [dependencies.pbkdf2] version = "0.12.1" optional = true default-features = false [dependencies.rust-argon2] version = "2.0.0" optional = true default-features = false [dependencies.sha-1] version = "0.10.1" optional = true default-features = false [dependencies.sha2] version = "0.10.6" optional = true default-features = false [dependencies.sha3] version = "0.10.7" optional = true default-features = false [dependencies.thiserror] version = "2.0.3" optional = true default-features = false [dependencies.unicode-normalization] version = "0.1.22" optional = true default-features = false [dependencies.url] version = "2.3.1" optional = true [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"]