quinn 0.8.5

QUIC transport protocol implementation for Tokio
Documentation
[package]
name = "quinn"
version = "0.8.5"
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinn-rs/quinn"
description = "QUIC transport protocol implementation for Tokio"
readme = "../README.md"
keywords = ["quic"]
categories = [ "network-programming", "asynchronous" ]
workspace = ".."
edition = "2018"
rust-version = "1.53"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["native-certs", "tls-rustls", "ring"]
# Records how long locks are held, and warns if they are held >= 1ms
lock_tracking = []
# Provides `ClientConfig::with_native_roots()` convenience method
native-certs = ["proto/native-certs"]
tls-rustls = ["rustls", "webpki", "proto/tls-rustls"]
# Enables `Endpoint::client` and `Endpoint::server` conveniences
ring = ["proto/ring"]

[badges]
codecov = { repository = "djc/quinn" }
maintenance = { status = "experimental" }

[dependencies]
bytes = "1"
futures-util = { version = "0.3.11", default-features = false, features = ["io"] }
futures-channel = "0.3.11"
fxhash = "0.2.1"
proto = { package = "quinn-proto", path = "../quinn-proto", version = "0.8.4", default-features = false }
rustls = { version = "0.20.3", default-features = false, features = ["quic"], optional = true }
thiserror = "1.0.21"
tracing = "0.1.10"
tokio = { version = "1.0.1", features = ["rt", "time"] }
udp = { package = "quinn-udp", path = "../quinn-udp", version = "0.1.0" }
webpki = { version = "0.22", default-features = false, optional = true }

[dev-dependencies]
anyhow = "1.0.22"
crc = "2"
bencher = "0.1.5"
directories-next = "2"
futures-util = { version = "0.3.11", default-features = false, features = ["async-await-macro"] }
rand = "0.8"
rcgen = "0.8"
rustls-pemfile = "0.2.1"
structopt = "0.3.0"
tokio = { version = "1.0.1", features = ["rt", "rt-multi-thread", "time", "macros", "sync"] }
tracing-subscriber = { version = "0.3.0", default-features = false, features = ["env-filter", "fmt", "ansi", "time", "local-time"] }
tracing-futures = { version = "0.2.0", default-features = false, features = ["std-future"] }
url = "2"

[[example]]
name = "server"
required-features = ["tls-rustls"]

[[example]]
name = "client"
required-features = ["tls-rustls"]

[[example]]
name = "insecure_connection"
required-features = ["rustls/dangerous_configuration"]

[[example]]
name = "single_socket"
required-features = ["tls-rustls"]

[[example]]
name = "connection"
required-features = ["tls-rustls"]

[[bench]]
name = "bench"
harness = false
required-features = ["tls-rustls"]