-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
51 lines (38 loc) · 1.57 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
[package]
name = "generic-ec-zkp"
version = "0.4.4"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/LFDT-Lockness/generic-ec"
description = "ZK-proofs and primitives built on top of `generic-ec` crate"
categories = ["cryptography", "no-std", "no-std::no-alloc"]
keywords = ["elliptic-curves", "zk-proof"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
generic-ec = { version = "0.4.0", path = "../generic-ec", default-features = false }
digest = { workspace = true, optional = true }
udigest = { workspace = true, features = ["derive"], optional = true }
subtle.workspace = true
rand_core.workspace = true
serde = { workspace = true, features = ["derive"], optional = true }
# We don't depend on this crates directly, but need to specify features to make it compile
generic-array.workspace = true
[dev-dependencies]
rand.workspace = true
rand_dev.workspace = true
sha2.workspace = true
generic-tests.workspace = true
criterion = { workspace = true, features = ["html_reports"] }
generic-ec = { version = "0.4.0", path = "../generic-ec", default-features = false, features = ["all-curves"] }
[features]
default = ["std"]
std = ["alloc"]
alloc = ["udigest?/alloc", "serde?/alloc"]
serde = ["dep:serde", "generic-ec/serde", "generic-array/serde"]
udigest = ["dep:udigest", "dep:digest", "generic-ec/udigest", "generic-ec/hash-to-scalar"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
[[bench]]
name = "zkp"
harness = false