[package]
name        = "quicproquo-p2p"
version     = "0.1.0"
edition     = "2021"
description = "P2P transport layer for quicproquo using iroh."
license     = "MIT"

[features]
traffic-resistance = []

[lints]
workspace = true

[dependencies]
iroh        = "0.96"
tokio       = { version = "1", features = ["macros", "rt-multi-thread", "time", "sync"] }
tracing     = "0.1"
anyhow      = "1"

# Mesh identity & store-and-forward
quicproquo-core = { path = "../quicproquo-core", default-features = false }
serde           = { workspace = true }
serde_json      = { workspace = true }
sha2            = { workspace = true }
hex             = { workspace = true }

# Broadcast channels (ChaCha20-Poly1305 symmetric encryption)
chacha20poly1305 = { workspace = true }
rand             = { workspace = true }
zeroize          = { workspace = true }

[dev-dependencies]
tempfile = "3"
