# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "pea2pea"
version = "0.16.4"
authors = ["ljedrz <ljedrz@gmail.com>"]
description = "A small library allowing simple and quick creation of custom P2P nodes and networks."
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.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.fxhash]
version = "0.2"

[dependencies.once_cell]
version = "1"

[dependencies.parking_lot]
version = "0.11"

[dependencies.tokio]
version = "1"
features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "sync", "time"]

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
[dev-dependencies.bincode]
version = "1"

[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[dev-dependencies.tracing-subscriber]
version = "0.2"
features = ["ansi", "chrono", "env-filter", "fmt", "parking_lot", "smallvec"]
