forked from MystenLabs/dapol
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (82 loc) · 2.05 KB
/
Cargo.toml
File metadata and controls
98 lines (82 loc) · 2.05 KB
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
[package]
name = "dapol"
version = "0.4.0"
authors = ["Stenton Mayne <stentonian@protonmail.com>"]
edition = "2021"
description = "DAPOL+ Proof of Liabilities protocol"
license = "MIT"
repository = "https://github.com/silversixpence-crypto/dapol"
categories = ["cryptography"]
keywords = [
"cryptography",
"crypto",
"zero-knowledge",
"bulletproofs",
"cli"
]
# This enables Latex for the docs.
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"katex-header.html",
]
[lib]
bench = false
[dependencies]
primitive-types = { version = "0.12.1", features = ["serde"] } # H256 & U256 (I think parity uses this so maybe we just use that crate instead)
thiserror = "1.0"
derive_builder = "0.12.0"
chrono = "0.4.31"
# crypto
rand = "0.8.5"
hkdf = "0.12.3"
sha2 = "0.10.8"
blake3 = "1.5.0"
digest = "0.10.7"
merlin = "3.0.0" # Transcript is required by bulletproofs library
bulletproofs = "5.0.0"
curve25519-dalek = "4.1.3"
# concurrency
displaydoc = "0.2"
rayon = "1.7.0"
dashmap = { version = "5.5.3", features = ["serde"] }
# logging
env_logger = "0.10.0"
log = "0.4.20"
logging_timer = "1.1.0"
# cli
clap = { version = "4.4.6", features = ["derive", "string"] }
clap-verbosity-flag = "2.0.1"
patharg = "0.3.0"
# files & serialization
serde = { version = "1.0.188", features = ["derive"] }
serde_with = "3.4.0"
serde_bytes = "0.11.12"
serde_json = "1.0.111"
bincode = "1.3.3"
toml = "0.8.2"
csv = "1.3.0"
# fuzzing
arbitrary = { version = "1", optional = true, features = ["derive"] }
[features]
fuzzing = ["rand/small_rng", "arbitrary"]
# Used for exposing functionality used in testing so that calling libraries may
# use it too. Example: random seeding for deterministic output.
testing = []
[dev-dependencies]
criterion = "0.5.0"
jemalloc-ctl = "0.5.4"
jemallocator = "0.5.4"
sysinfo = "0.29.11"
statistical = "1.0.0"
once_cell = "1.18.0"
chrono = "0.4.31"
rand = { version = "0.8.5", features = ["small_rng"] }
[[bench]]
name = "criterion_benches"
harness = false
[[bench]]
name = "manual_benches"
harness = false
[profile.bench]
debug = true