virtual-socket 0.0.1

Demultiplex a single tokio UdpSocket into multiple virtual UDP sockets sharing one physical bind.
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.95"
name = "virtual-socket"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Demultiplex a single tokio UdpSocket into multiple virtual UDP sockets sharing one physical bind."
readme = "README.md"
keywords = [
    "udp",
    "socket",
    "demux",
    "multiplex",
    "tokio",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/canmi21/vane"

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

[dependencies.bytes]
version = "1"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "net",
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
]

[lints.clippy]
cognitive_complexity = "warn"
doc_markdown = "allow"
similar_names = "allow"
unnecessary_wraps = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"