forked from ZenGo-X/curv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (55 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]
name = "curv-kzen"
version = "0.10.0"
edition = "2018"
authors = [
"Omer Shlomovits",
"Denis Varlakov",
]
license = "MIT"
description = "Curv contains an extremely simple interface to onboard new elliptic curves. Use this library for general purpose elliptic curve cryptography"
repository = "https://github.com/ZenGo-X/curv"
[lib]
name = "curv"
crate-type = ["lib"]
[dependencies]
curve25519-dalek = { version = "4.0.0", features = ["rand_core"] }
digest = "0.9"
generic-array = "0.14"
typenum = "1.13"
ff-zeroize = { package = "ff", git = "https://github.com/tmpfs/ff-zeroize", branch = "rand-upgrade" }
hex = { version = "0.4", features = ["serde"] }
hmac = "0.11"
thiserror = "1"
lazy_static = "1.4"
num-traits = "0.2"
num-integer = "0.1"
pairing-plus = { git = "https://github.com/tmpfs/pairing-plus.git", branch = "rand-upgrade" }
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_derive = "1.0"
sha2 = "0.9"
sha3 = "0.9"
old_sha2 = { package = "sha2", version = "0.8" }
zeroize = "1"
merkle-cbt = "0.3"
rust-gmp-kzen = { version = "0.5", features = ["serde_support"], optional = true }
num-bigint = { version = "0.4", features = ["serde"], optional = true }
[dependencies.secp256k1]
version = "0.27.0"
features = ["serde", "rand-std", "global-context"]
[dependencies.p256]
version = "0.13.2"
features = ["ecdsa", "ecdsa-core"]
[dev-dependencies]
serde_test = "1.0"
serde_json = "1"
paste = "1.0.2"
proptest = "1.2.0"
proptest-derive = "0.3.0"
blake2 = "0.9"
[features]
default = ["rust-gmp-kzen"]
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "katex-header.html", "--cfg", "docsrs"]