[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"
required-features = ["rustls-ring"]
[dependencies.async-io]
optional = true
version = "2"
[dependencies.async-std]
optional = true
version = "1.11"
[dependencies.bytes]
version = "1"
[dependencies.futures-io]
optional = true
version = "0.3.19"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.proto]
default-features = false
package = "quinn-proto"
version = "0.11.7"
[dependencies.rustc-hash]
version = "2"
[dependencies.rustls]
default-features = false
features = ["std"]
optional = true
version = "0.23.5"
[dependencies.smol]
optional = true
version = "2"
[dependencies.socket2]
version = "0.5"
[dependencies.thiserror]
version = "2.0.3"
[dependencies.tokio]
features = ["sync"]
version = "1.28.1"
[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1.10"
[dependencies.udp]
default-features = false
features = ["tracing"]
package = "quinn-udp"
version = "0.5"
[dev-dependencies.anyhow]
version = "1.0.22"
[dev-dependencies.bencher]
version = "0.1.5"
[dev-dependencies.clap]
features = ["derive"]
version = "4"
[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]
features = ["sync", "rt", "rt-multi-thread", "time", "macros"]
version = "1.28.1"
[dev-dependencies.tracing-futures]
default-features = false
features = ["std-future"]
version = "0.2.0"
[dev-dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "fmt", "ansi", "time", "local-time"]
version = "0.3.0"
[dev-dependencies.url]
version = "2"
[[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"]
[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"]
[lib]
name = "quinn"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "asynchronous"]
description = "Versatile QUIC transport protocol implementation"
edition = "2021"
keywords = ["quic"]
license = "MIT OR Apache-2.0"
name = "quinn"
readme = "README.md"
repository = "https://github.com/quinn-rs/quinn"
rust-version = "1.70.0"
version = "0.11.6"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "many_connections"
path = "tests/many_connections.rs"