forked from w3f/schnorrkel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
109 lines (91 loc) · 2.46 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "schnorrkel"
version = "0.8.6"
authors = ["Jeff Burdges <[email protected]>"]
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/w3f/schnorrkel"
documentation = "https://docs.rs/schnorrkel"
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
categories = ["cryptography", "no-std"]
description = "Schnorr VRF, signatures, etc. using the Ristretto group"
exclude = [ ".gitignore", "res/*" ]
edition = "2018"
# [badges]
# travis-ci = { repository = "dalek-cryptography/ed25519-dalek", branch = "master"}
[dependencies.aead]
version = "0.2.0"
default-features = false
optional = true
[dependencies.arrayref]
version = "0.3.5"
default-features = false
[dependencies.curve25519-dalek]
# git = "https://github.com/dalek-cryptography/curve25519-dalek"
version = "2.0"
default-features = false
[dependencies.ed25519-dalek]
version = "1.0.0-pre.3"
default-features = false
optional = true
[dependencies.subtle]
version = "2.2.1"
default-features = false
[dependencies.merlin]
version = "2.0"
# features = ["debug-transcript"]
default-features = false
[dependencies.rand]
version = "0.7.3"
default-features = false
optional = true
[dependencies.rand_core]
version = "0.5.1"
default-features = false
[dependencies.getrandom]
version = "0.1.14"
default-features = false
optional = true
[dependencies.rand_chacha]
version = "0.2.1"
default-features = false
optional = true
[dependencies.serde]
version = "1.0.101"
default-features = false
optional = true
[dependencies.sha2]
version = "0.8.0"
default-features = false
[dependencies.failure]
version = "0.1.6"
default-features = false
optional = true
[dependencies.zeroize]
version = "1.0.0"
default-features = false
features = ["zeroize_derive"]
[dev-dependencies]
rand = "0.7.3"
rand_chacha = "0.2.1"
# hex = "0.3.2"
hex-literal = "0.2.1"
sha2 = "0.8.0"
sha3 = "0.8.2"
bincode = "1.2.0"
criterion = "0.3.1"
[[bench]]
name = "schnorr_benchmarks"
harness = false
[features]
default = ["std", "u64_backend", "rand", "getrandom"] # "chacha"
nightly = ["curve25519-dalek/nightly", "rand/nightly"] # "zeroize/nightly"
alloc = ["curve25519-dalek/alloc", "rand_core/alloc"]
chacha = ["rand_chacha"]
std = ["getrandom", "curve25519-dalek/std", "rand/std"] # "failure/std"
stdweb = ["getrandom/stdweb"]
wasm-bindgen = ["getrandom/wasm-bindgen"]
asm = ["sha2/asm"]
u64_backend = ["curve25519-dalek/u64_backend"]
u32_backend = ["curve25519-dalek/u32_backend"]
avx2_backend = ["curve25519-dalek/avx2_backend"]