[package]
edition = "2024"
rust-version = "1.88"
name = "pea2pea"
version = "0.56.2"
authors = ["ljedrz <ljedrz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, performant microkernel for TCP peer-to-peer (P2P) networking. Handles connection pooling and framing, leaving the logic to you."
homepage = "https://github.com/ljedrz/pea2pea"
documentation = "https://docs.rs/pea2pea"
readme = "README.md"
keywords = [
"p2p",
"networking",
"tcp",
"tokio",
"distributed",
]
categories = [
"network-programming",
"asynchronous",
]
license = "CC0-1.0 OR MIT"
repository = "https://github.com/ljedrz/pea2pea"
[features]
test = []
[lib]
name = "pea2pea"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.11.1"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
[dependencies.parking_lot]
version = "0.12"
[dependencies.tokio]
version = "1.24"
features = [
"io-util",
"macros",
"net",
"parking_lot",
"rt",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
default-features = false