-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (48 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
59 lines (48 loc) · 1.54 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
[package]
name = "rustreexo"
version = "0.5.0"
authors = ["Calvin Kim <calvin@kcalvinalvin.info>", "Davidson Souza <contact@dlsouza.dev>"]
edition = "2018"
description = "A Rust implementation of Utreexo"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mit-dci/rustreexo"
readme = "README.md"
homepage = "https://github.com/mit-dci/rustreexo"
rust-version = "1.74.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bitcoin_hashes = { version = "0.20", default-features = false }
hex-conservative = { version = "1.0.0", default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }
hashbrown = "0.16.1"
bitcoin-io = { version = "0.5.0", default-features = false, features = ["alloc"] }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.81"
criterion = { version = ">=0.5.1", features = ["html_reports"] }
rand = "0.9.2"
[features]
default = ["std"]
std = ["bitcoin_hashes/std", "hex-conservative/std"]
with-serde = ["serde"]
[lints.clippy]
use_self = "warn"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[[example]]
name = "simple-stump-update"
[[example]]
name = "proof-update"
[[example]]
name = "custom-hash-type"
# Compile AccumulatorHash with the `std::io::{Read, Write}` trait bounds
required-features = ["std"]
[[bench]]
name = "accumulator_benchmarks"
harness = false
[[bench]]
name = "proof_benchmarks"
harness = false
[[bench]]
name = "stump_benchmarks"
harness = false