rustp2p 0.4.0

A decentralized p2p library powered by Rust, which is devoted to simple use.
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 = "2021"
name = "rustp2p"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A decentralized p2p library powered by Rust, which is devoted to simple use. "
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/rustp2p/rustp2p"

[features]
aes-gcm-openssl = ["openssl"]
aes-gcm-ring = ["ring"]
chacha20-poly1305-openssl = ["openssl"]
chacha20-poly1305-ring = ["ring"]
default = []
use-kcp = ["kcp"]

[lib]
name = "rustp2p"
path = "src/lib.rs"

[[example]]
name = "node"
path = "examples/node.rs"

[[example]]
name = "node_kcp_stream"
path = "examples/node_kcp_stream.rs"
required-features = ["use-kcp"]

[[example]]
name = "node_simple"
path = "examples/node_simple.rs"

[dependencies.async-shutdown]
version = "0.2"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.9"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.crossbeam-utils]
version = "0.8"

[dependencies.dashmap]
version = "6.1"

[dependencies.dns-parser]
version = "0.8"

[dependencies.flume]
version = "0.11.1"
features = ["async"]

[dependencies.futures]
version = "0.3.31"

[dependencies.kcp]
version = "0.6.0"
features = ["tokio"]
optional = true

[dependencies.log]
version = "0.4"

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9"

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.rmp-serde]
version = "1.3"

[dependencies.rust-p2p-core]
version = "0.4"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.42"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dev-dependencies.clap]
version = "=4.0.32"
features = ["derive"]

[dev-dependencies.ctrlc]
version = "3.4.5"

[dev-dependencies.env_logger]
version = "0.11.5"

[dev-dependencies.log]
version = "0.4.22"

[dev-dependencies.pnet_packet]
version = "0.35.0"

[dev-dependencies.tokio]
version = "1.42"
features = ["full"]

[dev-dependencies.tokio-util]
version = "0.7.15"
features = ["full"]

[dev-dependencies.tun-rs]
version = "2.0.9"
features = ["async_tokio"]