# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "p2p2" version = "0.0.1" authors = ["jonay2000 "] description = "NAT Traversal for P2P communication" documentation = "https://docs.rs/p2p2/" readme = "README.md" license = "MIT AND BSD-2-Clause" repository = "https://github.com/jonay2000/p2p2" [dependencies.async-trait] version = "0.1.51" [dependencies.bincode] version = "1.3.3" [dependencies.futures] version = "0.3.17" features = [] [dependencies.log] version = "0.4.14" [dependencies.rand] version = "0.8.4" [dependencies.serde] version = "1.0.130" features = ["derive"] [dependencies.sodiumoxide] version = "0.2.7" [dependencies.thiserror] version = "1.0.29" [dependencies.tokio] version = "1.11.0" optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.tokio] version = "1.11.0" features = ["macros", "rt", "sync", "net", "rt-multi-thread"] [features] default = ["tcp", "udp", "runtime-tokio"] runtime-tokio = ["tokio", "tokio/net"] tcp = [] udp = []