[package] name = "p2p2" authors = ["jonay2000 "] license = "MIT AND BSD-2-Clause" version = "0.0.1" edition = "2018" repository = "https://github.com/jonay2000/p2p2" documentation = "https://docs.rs/p2p2/" description = "NAT Traversal for P2P communication" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["tcp", "udp", "runtime-tokio"] runtime-tokio = ["tokio", "tokio/net"] tcp = [] udp = [] [dependencies] futures = {version="0.3.17", features=[]} tokio = {version="1.11.0", optional=true} serde = {version="1.0.130", features=["derive"]} async-trait = "0.1.51" thiserror = "1.0.29" bincode = "1.3.3" sodiumoxide = "0.2.7" rand = "0.8.4" log = "0.4.14" [dev-dependencies] tokio = {version="1.11.0", features=["macros", "rt", "sync", "net", "rt-multi-thread"]} env_logger = "0.9.0"