forked from ZcashFoundation/reddsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (65 loc) · 2.12 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
64
65
66
67
68
69
70
71
72
[package]
name = "reddsa"
edition = "2021"
rust-version = "1.65"
# Refer to DEVELOPERS.md for guidance on making new releases.
version = "0.5.1"
authors = [
"Henry de Valence <[email protected]>",
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Jack Grigg <[email protected]>",
"Conrado Gouvea <[email protected]>",
]
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/reddsa"
categories = ["cryptography", "no-std"]
keywords = ["cryptography", "crypto", "zcash"]
description = "A standalone implementation of the RedDSA signature scheme."
[package.metadata.docs.rs]
features = ["nightly"]
[dependencies]
blake2b_simd = { version = "1", default-features = false }
byteorder = { version = "1.5", default-features = false }
group = { version = "0.13", default-features = false }
hex = { version = "0.4", optional = true, default-features = false, features = ["alloc"] }
jubjub = { version = "0.10", default-features = false }
pasta_curves = { version = "0.5", default-features = false }
rand_core = { version = "0.6", default-features = false }
serde = { version = "1", optional = true, features = ["derive"] }
thiserror = { version = "1.0", optional = true }
frost-rerandomized = { version = "1.0.0", optional = true }
[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]
optional = true
[dev-dependencies]
bincode = "1"
criterion = "0.5"
hex = "0.4.3"
proptest-derive = "0.4"
lazy_static = "1.4"
proptest = "1.4"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
num-bigint = "0.4.3"
num-traits = "0.2.18"
frost-rerandomized = { version = "1.0.0", features = ["test-impl"] }
# `alloc` is only used in test code
[dev-dependencies.pasta_curves]
version = "0.5"
default-features = false
features = ["alloc"]
[features]
std = ["blake2b_simd/std", "thiserror", "zeroize", "alloc",
"serde"] # conditional compilation for serde not complete (issue #9)
alloc = ["hex"]
nightly = []
frost = ["std", "frost-rerandomized"]
serde = ["dep:serde", "frost-rerandomized?/serde"]
default = ["std"]
[[bench]]
name = "bench"
harness = false