-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (43 loc) · 1.34 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
[package]
name = "dup-crypto"
version = "0.15.0"
authors = ["elois <[email protected]>"]
description = "Manage cryptographic operations for DUniter Protocols and the Duniter eco-system most broadly."
repository = "https://git.duniter.org/libs/dup-crypto-rs"
readme = "README.md"
keywords = ["keys", "cryptography", "duniter", "dunitrust"]
license = "AGPL-3.0"
edition = "2018"
[lib]
path = "src/lib.rs"
[dependencies]
aes = { version = "0.3.2", optional = true }
arrayvec = { version = "0.5.1", features = ["array-sizes-33-128", "array-sizes-129-255"], optional = true }
base64 = "0.11.0"
bs58 = "0.3.0"
byteorder = "1.3.2"
curve25519-dalek = "2.0.0"
ring = "0.16.9"
scrypt = { version = "0.2", default-features = false, optional = true }
serde = { version = "1.0.*", features = ["derive"], optional = true }
thiserror = "1.0.11"
unwrap = "1.2.1"
zeroize = { version = "1.1.0", features = ["zeroize_derive"] }
# Benches dependencies
criterion = { version = "0.3.1", optional = true }
[dev-dependencies]
bincode = "1.2.0"
sodiumoxide = "0.2.5"
[[bench]]
name = "ring_vs_sodium"
harness = false
required-features = ["criterion"]
[features]
default = ["dewif", "private_message", "rand", "ser"]
aes256 = ["aes"]
dewif = ["aes256", "arrayvec", "scrypt_feature"]
x25519 = []
private_message = ["arrayvec", "x25519", "rand"]
rand = []
scrypt_feature = ["scrypt"]
ser = ["serde"]