Revision control
Copy as Markdown
Other Tools
# 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"
rust-version = "1.71"
name = "quinn-udp"
version = "0.5.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "UDP sockets with ECN information for the QUIC transport protocol"
readme = false
keywords = ["quic"]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "quinn_udp"
path = "src/lib.rs"
bench = false
[[test]]
name = "tests"
path = "tests/tests.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.libc]
version = "0.2.158"
[dependencies.log]
version = "0.4"
optional = true
[dependencies.socket2]
version = "0.5"
[dependencies.tracing]
version = "0.1.10"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
default-features = false
[dev-dependencies.tokio]
version = "1.28.1"
features = [
"sync",
"rt",
"rt-multi-thread",
"net",
]
[build-dependencies.cfg_aliases]
version = "0.2"
[features]
default = [
"tracing",
"log",
]
direct-log = ["dep:log"]
fast-apple-datapath = []
log = ["tracing/log"]
[target."cfg(windows)".dependencies.once_cell]
version = "1.19"
[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.52, <=0.59"
features = [
"Win32_Foundation",
"Win32_System_IO",
"Win32_Networking_WinSock",
]