[package]
edition = "2024"
name = "hashgraph-like-consensus"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight Rust library for making binary decisions in networks using hashgraph-style consensus"
readme = "README.md"
keywords = [
"consensus",
"hashgraph",
"voting",
"p2p",
"gossipsub",
]
license = "MIT"
repository = "https://github.com/vacp2p/hashgraph-like-consensus"
[lib]
name = "hashgraph_like_consensus"
path = "src/lib.rs"
[[test]]
name = "concurrency_tests"
path = "tests/concurrency_tests.rs"
[[test]]
name = "consensus_service_tests"
path = "tests/consensus_service_tests.rs"
[[test]]
name = "network_gossip_tests"
path = "tests/network_gossip_tests.rs"
[[test]]
name = "rfc_compliance_tests"
path = "tests/rfc_compliance_tests.rs"
[[test]]
name = "scope_config_tests"
path = "tests/scope_config_tests.rs"
[[test]]
name = "storage_stream_tests"
path = "tests/storage_stream_tests.rs"
[[test]]
name = "threshold_tests"
path = "tests/threshold_tests.rs"
[[test]]
name = "vote_tests"
path = "tests/vote_tests.rs"
[[test]]
name = "vote_validation_tests"
path = "tests/vote_validation_tests.rs"
[dependencies.alloy]
version = "1.1.2"
features = [
"k256",
"signer-local",
]
[dependencies.alloy-signer]
version = "1.1.2"
[dependencies.async-stream]
version = "0.3.6"
[dependencies.futures]
version = "0.3"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.prost]
version = "0.13.5"
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.48.0"
features = [
"macros",
"rt-multi-thread",
"full",
]
[dependencies.tracing]
version = "0.1.41"
[dependencies.uuid]
version = "1.18.1"
features = ["v4"]
[build-dependencies.prost-build]
version = "0.13.5"