| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.71" |
| 15 |
name = "quinn-udp" |
| 16 |
version = "0.5.12" |
| 17 |
build = "build.rs" |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "UDP sockets with ECN information for the QUIC transport protocol" |
| 24 |
readme = false |
| 25 |
keywords = ["quic"] |
| 26 |
categories = [ |
| 27 |
"network-programming", |
| 28 |
"asynchronous", |
| 29 |
] |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/quinn-rs/quinn" |
| 32 |
|
| 33 |
[package.metadata.docs.rs] |
| 34 |
all-features = true |
| 35 |
|
| 36 |
[features] |
| 37 |
default = [ |
| 38 |
"tracing", |
| 39 |
"log", |
| 40 |
] |
| 41 |
direct-log = ["dep:log"] |
| 42 |
fast-apple-datapath = [] |
| 43 |
log = ["tracing/log"] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "quinn_udp" |
| 47 |
path = "src/lib.rs" |
| 48 |
bench = false |
| 49 |
|
| 50 |
[[test]] |
| 51 |
name = "tests" |
| 52 |
path = "tests/tests.rs" |
| 53 |
|
| 54 |
[[bench]] |
| 55 |
name = "throughput" |
| 56 |
path = "benches/throughput.rs" |
| 57 |
harness = false |
| 58 |
|
| 59 |
[dependencies.libc] |
| 60 |
version = "0.2.158" |
| 61 |
|
| 62 |
[dependencies.log] |
| 63 |
version = "0.4" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.tracing] |
| 67 |
version = "0.1.10" |
| 68 |
features = ["std"] |
| 69 |
optional = true |
| 70 |
default-features = false |
| 71 |
|
| 72 |
[dev-dependencies.criterion] |
| 73 |
version = "0.5" |
| 74 |
features = ["async_tokio"] |
| 75 |
default-features = false |
| 76 |
|
| 77 |
[dev-dependencies.tokio] |
| 78 |
version = "1.28.1" |
| 79 |
features = [ |
| 80 |
"sync", |
| 81 |
"rt", |
| 82 |
"rt-multi-thread", |
| 83 |
"net", |
| 84 |
] |
| 85 |
|
| 86 |
[build-dependencies.cfg_aliases] |
| 87 |
version = "0.2" |
| 88 |
|
| 89 |
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.socket2] |
| 90 |
version = "0.5" |
| 91 |
|
| 92 |
[target."cfg(windows)".dependencies.once_cell] |
| 93 |
version = "1.19" |
| 94 |
|
| 95 |
[target."cfg(windows)".dependencies.windows-sys] |
| 96 |
version = ">=0.52, <=0.59" |
| 97 |
features = [ |
| 98 |
"Win32_Foundation", |
| 99 |
"Win32_System_IO", |
| 100 |
"Win32_Networking_WinSock", |
| 101 |
] |