-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
63 lines (57 loc) · 1.64 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
52
53
54
55
56
57
58
59
60
61
62
63
[package]
authors = ["Brenden Matthews <[email protected]>"]
categories = ["cryptography", "algorithms"]
description = "Don't Roll Your Own Crypto: pure-Rust, hard to misuse cryptography library"
documentation = "https://docs.rs/dryoc"
edition = "2021"
keywords = ["cryptography", "nacl", "libsodium", "curve25519", "crypto_box"]
license = "MIT"
name = "dryoc"
readme = "README.md"
repository = "https://github.com/brndnmtthws/dryoc"
rust-version = "1.56"
version = "0.6.3"
[dependencies]
base64 = { version = "0.21", optional = true }
bitflags = "2.3"
chacha20 = { version = "0.9", features = ["zeroize"] }
curve25519-dalek = "4.1.3"
generic-array = "0.14"
lazy_static = "1"
rand_core = { version = "0.6", features = ["getrandom"] }
salsa20 = { version = "0.10", features = ["zeroize"] }
serde = { version = "1.0", optional = true, features = ["derive"] }
sha2 = "0.10"
subtle = "2.4"
zeroize = { version = "1.6", features = ["zeroize_derive"] }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = [
"impl-default",
"memoryapi",
"minwindef",
"std",
"sysinfoapi",
"winnt",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[dev-dependencies]
base64 = "0.21"
bincode = "1"
hex = "0.4"
libc = "0.2"
libsodium-sys = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
sodiumoxide = "0.2"
static_assertions = "1.1"
num-bigint = { version = "0.4", features = ["rand"] }
rand = "0.8"
[features]
default = ["u64_backend"]
nightly = []
simd_backend = ["sha2/asm"]
u64_backend = []
[package.metadata.docs.rs]
# docs.rs uses nightly, enable feature flag to get all the juicy docs
features = ["nightly", "serde", "base64"]