-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
51 lines (47 loc) · 2.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "libreauth"
version = "0.17.0"
authors = ["Rodolphe Breard <[email protected]>"]
edition = "2021"
rust-version = "1.67"
description = "Collection of tools for user authentication."
documentation = "https://docs.rs/libreauth/"
readme = "README.md"
repository = "https://github.com/breard-r/libreauth"
license = "CECILL-C OR CECILL-2.1"
keywords = ["authentication", "password", "oath", "hotp", "totp"]
categories = ["authentication", "cryptography"]
include = ["src/**/*", "Cargo.toml", "Licence_*.txt"]
[package.metadata.docs.rs]
features = ["cbindings", "key", "oath-uri", "pass"]
[lib]
name = "libreauth"
crate-type = ["rlib", "staticlib", "cdylib"]
[features]
default = ["hash", "key", "oath", "pass", "stderror"]
cbindings = ["libc"]
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"]
balloon = ["pass", "balloon-hash"]
stderror = ["thiserror"]
[dependencies]
balloon-hash = { version = "0.4.0", default-features = false, optional = true, features = ["alloc"] }
base32 = { version = "0.5.1", default-features = false, optional = true }
base64 = { version = "0.22.0", default-features = false, optional = true, features = ["std"] }
digest = { version = "0.10.0", default-features = false, optional = true, features = ["mac"] }
getrandom = { version = "0.2.9", default-features = false, optional = true }
hex = { version = "0.4.3", default-features = false, optional = true, features = ["std"] }
hmac = { version = "0.12.1", default-features = false, optional = true }
libc = { version = "0.2.141", default-features = false, optional = true }
nom = { version = "7.1.3", default-features = false, optional = true }
pbkdf2 = { version = "0.12.1", default-features = false, optional = true }
rust-argon2 = { version = "2.0.0", default-features = false, optional = true }
sha-1 = { version = "0.10.1", default-features = false, optional = true }
sha2 = { version = "0.10.6", default-features = false, optional = true }
sha3 = { version = "0.10.7", default-features = false, optional = true }
thiserror = { version = "2.0.3", default-features = false, optional = true }
unicode-normalization = { version = "0.1.22", default-features = false, optional = true }
url = { version = "2.3.1", optional = true }