[package]
name = "rustreexo"
version = "0.6.0"
description = "A Rust implementation of Utreexo"
keywords = ["accumulator", "bitcoin", "utreexo"]
categories = ["algorithms", "cryptography::cryptocurrencies", "no-std"]
authors = ["Calvin Kim <calvin@kcalvinalvin.info>", "Davidson Souza <contact@dlsouza.dev>"]
repository = "https://github.com/mit-dci/rustreexo"
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
rust-version = "1.74.0"
autobenches = false
[features]
default = ["std"]
std = ["bitcoin_hashes/std", "hex-conservative/std", "hashbrown/default-hasher"]
with-serde = ["serde"]
[dependencies]
bitcoin_hashes = { version = "0.20", default-features = false }
hex-conservative = { version = "1", default-features = false }
serde = { version = "1.0.228", features = ["derive"], optional = true }
hashbrown = { version = "0.16.1", default-features = false }
bitcoin-io = { version = "0.5.0", default-features = false, features = ["alloc"] }
foldhash = { version = "0.2", default-features = false }
[dev-dependencies]
rand = { version = "0.9.3" }
criterion = { version = "0.5.1", features = ["html_reports"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.81" }
clap = { version = "4.5.61" }
clap_builder = { version = "4.5.61" }
clap_lex = { version = "=1.0.1" }
crossbeam-epoch = { version = "0.9.20" }
regex = { version = "1.10.0" }
bumpalo = { version = "3.11.1" }
rayon = { version = "1.5.3" }
errno-dragonfly = { version = "0.1.2" }
[[bench]]
name = "accumulator"
harness = false
[[bench]]
name = "proof"
harness = false
[[bench]]
name = "stump"
harness = false
[lints.clippy]
use_self = "warn"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[package.metadata.rbmt.toolchains]
stable = "1.96.0"
nightly = "nightly-2026-06-23"
[package.metadata.rbmt.test]
sample_strategy = "all"
exclude_features = ["default"]
examples = [
"stump_modify",
"stump_modify:std",
"stump_modify:with-serde",
"stump_modify:with-serde std",
"proof_update",
"proof_update:std",
"proof_update:with-serde",
"proof_update:with-serde std",
"custom_hash",
"custom_hash:std",
"custom_hash:with-serde",
"custom_hash:with-serde std",
]
[package.metadata.rbmt.lint]
allowed_duplicates = [
]