# 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"
name = "p2cm"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "p2p p2cm lib for rust"
readme = false
license = "MIT"
repository = "https://github.com/tascord/p2cm"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.libp2p]
version = "0.54"
features = [
    "mdns",
    "noise",
    "quic",
    "tcp",
    "yamux",
    "tokio",
    "identify",
    "ping",
    "serde",
]

[dependencies.libp2p-identify]
version = "0.45"

[dependencies.libp2p-mdns]
version = "0.46"

[dependencies.libp2p-ping]
version = "0.45"

[dependencies.libp2p-swarm]
version = "0.45"

[dependencies.libp2p-swarm-derive]
version = "0.35"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.unsigned-varint]
version = "0.7"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
