forked from breard-r/libreauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (42 loc) · 1.73 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
[package]
name = "libreauth"
version = "0.14.1"
authors = ["Rodolphe Breard <rodolphe@what.tf>"]
edition = "2018"
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"]
cbindings = ["libc"]
hash = ["hmac", "sha-1", "sha2", "sha3"]
key = ["base32", "base64", "hex", "getrandom"]
oath = ["base32", "base64", "hash", "hex"]
oath-uri = ["oath", "url"]
pass = ["base64", "crypto-mac", "hash", "key", "nom", "pbkdf2", "rust-argon2", "unicode-normalization"]
[dependencies]
base32 = { version = "^0.4", optional = true }
base64 = { version = "^0.13", optional = true }
crypto-mac = { version = "^0.11", optional = true }
getrandom = { version = "^0.2", optional = true }
hex = { version = "^0.4", optional = true }
hmac = { version = "^0.11", optional = true }
libc = { version = "^0.2", optional = true }
nom = { version = "^6.0", optional = true, default-features = false }
pbkdf2 = { version = "^0.8", optional = true, default-features = false }
rust-argon2 = { version = "^0.8", optional = true }
sha-1 = { version = "^0.9", optional = true }
sha2 = { version = "^0.9", optional = true }
sha3 = { version = "^0.9", optional = true }
unicode-normalization = { version = "^0.1", optional = true }
url = { version = "^2.1", optional = true }