pea2pea 0.55.2

A lightweight, performant microkernel for TCP peer-to-peer (P2P) networking. Handles connection pooling and framing, leaving the logic to you.
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "pea2pea"
version = "0.55.2"
authors = ["ljedrz <ljedrz@gmail.com>"]
build = false
exclude = [
    ".github",
    ".gitignore",
    ".tokeignore",
    "assets",
    "examples",
    "tests",
]
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

[dev-dependencies.heapster]
version = "0.8"
features = [
    "fmt",
    "use_max",
]

[dev-dependencies.libp2p]
version = "0.56"
features = [
    "macros",
    "noise",
    "ping",
    "tcp",
    "tokio",
    "yamux",
]
default-features = false

[dev-dependencies.native-tls]
version = "0.2"

[dev-dependencies.postcard]
version = "1.1.3"
features = ["use-std"]
default-features = false

[dev-dependencies.prost]
version = "0.14"

[dev-dependencies.rand]
version = "0.10"
features = ["thread_rng"]
default-features = false

[dev-dependencies.serde]
version = "1.0.100"
features = ["derive"]
default-features = false

[dev-dependencies.snow]
version = "0.10"

[dev-dependencies.test-cert-gen]
version = "0.9"

[dev-dependencies.tokio]
version = "1.24"
features = ["rt-multi-thread"]

[dev-dependencies.tokio-native-tls]
version = "0.3"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "ansi",
    "env-filter",
    "fmt",
    "parking_lot",
    "registry",
    "smallvec",
]
default-features = false

[dev-dependencies.unsigned-varint]
version = "0.8"
features = [
    "codec",
    "futures",
]