[package]
name = "p2cm"
version = "0.1.0"
edition = "2024"
repository = "https://github.com/tascord/p2cm"
description = "p2p p2cm lib for rust"
license = "MIT"

[dependencies]
libp2p = { version = "0.54", features = ["mdns", "noise", "quic", "tcp", "yamux", "tokio", "identify", "ping", "serde"] }
libp2p-swarm = "0.45"
libp2p-swarm-derive = "0.35"
libp2p-ping = "0.45"
libp2p-identify = "0.45"
libp2p-mdns = "0.46"
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = "0.3"
anyhow = "1"
futures = "0.3"
bytes = "1"
parking_lot = "0.12"
chrono = { version = "0.4", features = ["serde"] }
unsigned-varint = "0.7"
thiserror = "1"

[dev-dependencies]
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[[example]]
name = "main"
path = "examples/main.rs"