# 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 = "2021" rust-version = "1.75" name = "pea2pea" version = "0.50.0" authors = ["ljedrz "] description = "A simple, low-level, and customizable implementation of a TCP P2P node." documentation = "https://docs.rs/pea2pea" readme = "README.md" keywords = [ "p2p", "peer-to-peer", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "CC0-1.0" repository = "https://github.com/ljedrz/pea2pea" [lib] crate-type = ["lib"] [dependencies.bytes] version = "1" [dependencies.futures-util] version = "0.3" features = ["sink"] [dependencies.parking_lot] version = "0.12" [dependencies.tokio] version = "1.24" features = [ "io-util", "net", "parking_lot", "rt", "sync", "time", ] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.tracing] version = "0.1" default-features = false [dev-dependencies.bincode] version = "1" [dev-dependencies.deadline] version = "0.2" [dev-dependencies.libp2p] version = "0.53" features = [ "macros", "noise", "ping", "tcp", "tokio", "yamux", ] default-features = false [dev-dependencies.native-tls] version = "0.2" [dev-dependencies.once_cell] version = "1" features = ["parking_lot"] [dev-dependencies.peak_alloc] version = "0.2" [dev-dependencies.prost] version = "0.12" [dev-dependencies.rand] version = "0.8" features = [ "getrandom", "small_rng", ] default-features = false [dev-dependencies.serde] version = "1" features = ["derive"] default-features = false [dev-dependencies.snow] version = "0.9.6" [dev-dependencies.test-cert-gen] version = "0.9" [dev-dependencies.tokio] version = "1.24" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tokio-native-tls] version = "0.3" [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "ansi", "env-filter", "fmt", "parking_lot", "smallvec", ] default-features = false [dev-dependencies.unsigned-varint] version = "0.8" features = [ "codec", "futures", ] [features] test = [] [badges.maintenance] status = "actively-developed"