switchy_p2p 0.3.0

P2P communication abstraction system
# 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 = "switchy_p2p"
version = "0.3.0"
authors = ["Braden Steffaniak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "P2P communication abstraction system"
readme = "README.md"
keywords = [
    "communication",
    "networking",
    "p2p",
    "peer-to-peer",
]
categories = ["network-programming"]
license = "MPL-2.0"
repository = "https://github.com/MoosicBox/MoosicBox"

[package.metadata]
examples = false

[package.metadata.cargo-machete]
ignored = [
    "switchy_time",
    "tokio",
]

[package.metadata.workspaces]
group = "switchy"

[features]
default = ["simulator"]
fail-on-warnings = [
    "switchy_async/fail-on-warnings",
    "switchy_random/fail-on-warnings",
]
simulator = [
    "switchy_async/simulator",
    "switchy_random/simulator",
]

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

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

[dependencies.switchy_async]
version = "0.3.0"
features = [
    "sync",
    "time",
    "tokio",
]
default-features = false

[dependencies.switchy_random]
version = "0.3.0"
features = ["rand"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"