[package]
edition = "2024"
rust-version = "1.88"
name = "peaveil"
version = "0.2.0"
authors = ["ljedrz <ljedrz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A privacy-first peer discovery protocol based on probabilistic peer sampling, gossip, and metadata-resistant discovery."
homepage = "https://github.com/ljedrz/peaveil"
documentation = "https://docs.rs/peaveil"
readme = "README.md"
keywords = [
"p2p",
"discovery",
"gossip",
"privacy",
"pps",
]
categories = [
"network-programming",
"asynchronous",
]
license = "CC0-1.0 OR MIT"
repository = "https://github.com/ljedrz/peaveil"
[lib]
name = "peaveil"
path = "src/lib.rs"
[[example]]
name = "discovery_viz"
path = "examples/discovery_viz.rs"
[[example]]
name = "encrypted"
path = "examples/encrypted.rs"
[[example]]
name = "simulation_metrics"
path = "examples/simulation_metrics.rs"
[[example]]
name = "two_nodes"
path = "examples/two_nodes.rs"
[[test]]
name = "discovery"
path = "tests/discovery.rs"
[[test]]
name = "encrypted"
path = "tests/encrypted.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pea2pea]
version = "0.56"
[dependencies.peashape]
version = "0.3"
[dependencies.rand]
version = "0.10"
[dependencies.rand_chacha]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.chacha20poly1305]
version = "0.10"
[dev-dependencies.hkdf]
version = "0.12"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]