-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
51 lines (46 loc) · 1.52 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 = "indexed-merkle-tree"
version = "0.6.2"
edition = "2021"
authors = [
"Ryan Quinn Ford <[email protected]>",
"Sebastian Pusch <[email protected]>",
]
description = "This crate provides an implementation of Indexed Merkle Trees, a version of Merkle trees that supports both membership and non-membership proofs."
homepage = "https://github.com/deltadevsde/indexed-merkle-tree"
repository = "https://github.com/deltadevsde/indexed-merkle-tree"
license = "MIT"
keywords = ["crypto", "merkle-tree", "membership", "non-membership"]
categories = ["no-std"]
readme = "README.md"
[features]
default = ["std", "bls"]
std = [
"serde/std",
"num/std",
"num-bigint/std",
"num-traits/std",
"borsh/std",
"hex/std",
]
bls = ["std", "bls12_381"]
[dependencies]
borsh = { version = "1.5.1", features = ["derive"], default-features = false }
num = { version = "0.4.0", default-features = false }
serde = { version = "1.0.151", features = [
"derive",
"rc",
], default-features = false }
anyhow = { version = "1.0.44", default-features = false }
serde_json = { version = "1.0.79", optional = true }
sha2 = { version = "0.10.8", default-features = false }
num-bigint = { version = "0.4.6", default-features = false }
num-traits = { version = "0.2.19", default-features = false }
hex = { version = "0.4.3", default-features = false }
bls12_381 = { version = "0.8.0", default-features = false, optional = true }
[dev-dependencies]
criterion = "0.3"
rand = "0.8"
[[bench]]
name = "tree_benchmarks"
harness = false