-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
51 lines (39 loc) · 1.59 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 = "paillier-zk"
version = "0.4.2"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "ZK-proofs for Paillier encryption scheme"
repository = "https://github.com/LFDT-Lockness/paillier-zk"
categories = ["algorithms", "cryptography"]
keywords = ["paillier", "zk-proofs", "zero-knowledge"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
generic-ec = { version = "0.4", features = ["udigest"] }
rand_core = { version = "0.6", default-features = false }
digest = "0.10"
fast-paillier = "0.1"
rug = { version = "1.21", default-features = false, features = ["integer", "rand"] }
thiserror = "1"
serde = { version = "1", features = ["derive"], optional = true }
serde_with = { version = "3", default-features = false, features = ["macros"], optional = true }
udigest = { version = "0.2.1", default-features = false, features = ["inline-struct", "derive"] }
rand_hash = "0.1"
[dev-dependencies]
generic-ec = { version = "0.4", features = ["udigest", "all-curves"] }
rand_dev = { version = "0.1", default-features = false }
sha2 = { version = "0.10", default-features = false }
subtle = { version = "2.4", default-features = false }
zeroize = { version = "1.5", default-features = false }
anyhow = "1"
serde_json = "1"
[features]
default = []
serde = ["dep:serde", "dep:serde_with", "generic-ec/serde", "rug/serde", "fast-paillier/serde"]
# This features is exlusively used for `cargo test --doc`
__internal_doctest = ["serde"]
[[example]]
name = "pregenerate"
required-features = ["serde"]
[package.metadata.docs.rs]
all-features = true