-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
60 lines (52 loc) · 1.98 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
[package]
name = "ed25519-zebra"
# Refer to DEVELOPERS.md for guidance on making new releases.
version = "4.0.3"
rust-version = "1.65.0"
authors = ["Henry de Valence <[email protected]>", "Zcash Foundation <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2018"
repository = "https://github.com/ZcashFoundation/ed25519-zebra"
description = "Zcash-flavored Ed25519 for use in Zebra."
resolver = "2"
[package.metadata.docs.rs]
features = ["nightly"]
[dependencies]
# "digest" (pre-1.0.0) is exempt from SemVer but breaking changes will bump minor versions
# (see https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek#stable)
# (see https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek#public-api-semver-exemptions)
# so only allow patch changes inside known compatible range
curve25519-dalek = { version = ">= 4.0, < 4.2", default-features = false, features = ["alloc", "digest", "zeroize", "precomputed-tables"] }
der = { version = "0.7.9", optional = true }
ed25519 = { version = "2.2.3", default-features = false }
hashbrown = "0.14.5"
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
pkcs8 = { version = "0.10.1", optional = true, features = ["alloc", "pem"] }
rand_core = "0.6"
serde = { version = "1", default-features = false, optional = true, features = ["derive"] }
sha2 = { version = "0.10", default-features = false }
subtle = { version = "2.6.1", default-features = false }
zeroize = { version = "1.8", features = [ "zeroize_derive" ] }
[dev-dependencies]
rand = "0.8"
bincode = "1"
criterion = "0.5"
ed25519-zebra-legacy = { package = "ed25519-zebra", version = "1" }
color-eyre = "0.6"
once_cell = "1.19"
[features]
nightly = []
default = ["serde", "std"]
pem = ["der", "ed25519/pem"]
pkcs8 = ["dep:pkcs8"]
serde = ["dep:serde", "ed25519/serde"]
std = ["ed25519/std", "subtle/std"]
[[test]]
name = "rfc8032"
[[test]]
name = "unit_tests"
[[test]]
name = "batch"
[[bench]]
name = "bench"
harness = false