# 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.70.0" name = "quinn" version = "0.11.6" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Versatile QUIC transport protocol implementation" readme = "README.md" 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 [lib] name = "quinn" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" required-features = ["rustls-ring"] [[example]] name = "connection" path = "examples/connection.rs" required-features = ["rustls-ring"] [[example]] name = "insecure_connection" path = "examples/insecure_connection.rs" required-features = ["rustls-ring"] [[example]] name = "server" path = "examples/server.rs" required-features = ["rustls-ring"] [[example]] name = "single_socket" path = "examples/single_socket.rs" required-features = ["rustls-ring"] [[test]] name = "many_connections" path = "tests/many_connections.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false required-features = ["rustls-ring"] [dependencies.async-io] version = "2" optional = true [dependencies.async-std] version = "1.11" optional = true [dependencies.bytes] version = "1" [dependencies.futures-io] version = "0.3.19" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.proto] version = "0.11.7" default-features = false package = "quinn-proto" [dependencies.rustc-hash] version = "2" [dependencies.rustls] version = "0.23.5" features = ["std"] optional = true default-features = false [dependencies.smol] version = "2" optional = true [dependencies.socket2] version = "0.5" [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.28.1" features = ["sync"] [dependencies.tracing] version = "0.1.10" features = ["std"] default-features = false [dependencies.udp] version = "0.5" features = ["tracing"] default-features = false package = "quinn-udp" [dev-dependencies.anyhow] version = "1.0.22" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.crc] version = "3" [dev-dependencies.directories-next] version = "2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rcgen] version = "0.13" [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.tokio] version = "1.28.1" features = [ "sync", "rt", "rt-multi-thread", "time", "macros", ] [dev-dependencies.tracing-futures] version = "0.2.0" features = ["std-future"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.0" features = [ "env-filter", "fmt", "ansi", "time", "local-time", ] default-features = false [dev-dependencies.url] version = "2" [features] aws-lc-rs = ["proto/aws-lc-rs"] aws-lc-rs-fips = ["proto/aws-lc-rs-fips"] default = [ "log", "platform-verifier", "runtime-tokio", "rustls-ring", ] lock_tracking = [] log = [ "tracing/log", "proto/log", "udp/log", ] platform-verifier = ["proto/platform-verifier"] ring = ["proto/ring"] runtime-async-std = [ "async-io", "async-std", ] runtime-smol = [ "async-io", "smol", ] runtime-tokio = [ "tokio/time", "tokio/rt", "tokio/net", ] rustls = ["rustls-ring"] rustls-aws-lc-rs = [ "dep:rustls", "aws-lc-rs", "proto/rustls-aws-lc-rs", "proto/aws-lc-rs", ] rustls-aws-lc-rs-fips = [ "dep:rustls", "aws-lc-rs-fips", "proto/rustls-aws-lc-rs-fips", "proto/aws-lc-rs-fips", ] rustls-log = ["rustls?/logging"] rustls-ring = [ "dep:rustls", "ring", "proto/rustls-ring", "proto/ring", ]