# 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.80.0" name = "quinn-udp" version = "0.6.0" 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" repository = "https://github.com/quinn-rs/quinn" [package.metadata.docs.rs] all-features = true [features] default = [ "tracing", "tracing-log", ] fast-apple-datapath = [] log = ["dep:log"] tracing-log = ["tracing/log"] [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.175" [dependencies.log] version = "0.4" optional = true [dependencies.tracing] version = "0.1.10" features = ["std"] optional = true default-features = false [dev-dependencies.criterion] version = "0.8" 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" [target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.socket2] version = ">=0.5, <0.7" [target."cfg(windows)".dependencies.windows-sys] version = ">=0.52, <=0.61" features = [ "Win32_Foundation", "Win32_System_IO", "Win32_Networking_WinSock", ] [lints.clippy] manual_let_else = "warn" or_fun_call = "warn" use_self = "warn" [lints.rust] elided_lifetimes_in_paths = "warn" unnameable_types = "warn" unreachable_pub = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]