[package] name = "squinn-proto" version = "0.11.8" edition = "2021" rust-version = "1.65" license = "MIT OR Apache-2.0" description = "State machine for the QUIC transport protocol" keywords = ["quic"] categories = [ "network-programming", "asynchronous" ] workspace = ".." [lib] name = "quinn_proto" path = "src/lib.rs" # The source file of the target. test = true # Is tested by default. doc = true # Is documented by default. crate-type = ["lib"] # The crate types to generate. #required-features = [] [package.metadata.docs.rs] all-features = true [badges] maintenance = { status = "experimental" } [features] default = ["tls-rustls", "log"] tls-rustls = ["rustls", "ring"] # Provides `ClientConfig::with_native_roots()` convenience method native-certs = ["rustls-native-certs"] # Write logs via the `log` crate when no `tracing` subscriber exists log = ["tracing/log"] [dependencies] arbitrary = { version = "1.0.1", features = ["derive"], optional = true } bytes = "1" rustc-hash = "1.1" rand = "0.8" ring = { version = "0.16.7", optional = true } rustls = { version = "0.21.0", default-features = false, features = ["quic"], optional = true } rustls-native-certs = { version = "0.6", optional = true } slab = "0.4" thiserror = "1.0.21" tinyvec = { version = "1.1", features = ["alloc"] } tracing = "0.1.37" scionnet ={version="0.0.7"} [dev-dependencies] assert_matches = "1.1" hex-literal = "0.4.0" rcgen = "0.11.1" tracing-subscriber = { version = "0.3.18", default-features = false, features = ["env-filter", "fmt", "ansi", "time", "local-time"] } lazy_static = "1"