# 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.85"
name = "quinn-proto"
version = "0.11.16"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "State machine 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]
features = [
    "rustls-aws-lc-rs",
    "rustls-ring",
    "platform-verifier",
    "log",
    "rustls-log",
]

[features]
__rustls-post-quantum-test = []
aws-lc-rs = [
    "dep:aws-lc-rs",
    "aws-lc-rs?/aws-lc-sys",
    "aws-lc-rs?/prebuilt-nasm",
]
aws-lc-rs-fips = [
    "aws-lc-rs",
    "aws-lc-rs?/fips",
]
bloom = ["dep:fastbloom"]
default = [
    "rustls-ring",
    "log",
    "bloom",
]
log = ["tracing/log"]
platform-verifier = ["dep:rustls-platform-verifier"]
qlog = ["dep:qlog"]
ring = ["dep:ring"]
rustls = ["rustls-ring"]
rustls-aws-lc-rs = [
    "dep:rustls",
    "rustls?/aws-lc-rs",
    "aws-lc-rs",
]
rustls-aws-lc-rs-fips = [
    "rustls-aws-lc-rs",
    "aws-lc-rs-fips",
]
rustls-log = ["rustls?/logging"]
rustls-ring = [
    "dep:rustls",
    "rustls?/ring",
    "ring",
]

[lib]
name = "quinn_proto"
path = "src/lib.rs"

[dependencies.arbitrary]
version = "1.0.1"
features = ["derive"]
optional = true

[dependencies.aws-lc-rs]
version = "1.9"
optional = true
default-features = false

[dependencies.bytes]
version = "1"

[dependencies.fastbloom]
version = "0.17"
optional = true
default-features = false

[dependencies.lru-slab]
version = "0.1.2"

[dependencies.qlog]
version = "0.15.2"
optional = true

[dependencies.rand]
version = "0.10.1"

[dependencies.rand_pcg]
version = "0.10"

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.rustc-hash]
version = "2"

[dependencies.rustls]
version = "0.23.5"
features = ["std"]
optional = true
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.7"
optional = true

[dependencies.slab]
version = "0.4.6"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.tinyvec]
version = "1.1"
features = [
    "alloc",
    "alloc",
]

[dependencies.tracing]
version = "0.1.10"
features = ["std"]
default-features = false

[dev-dependencies.assert_matches]
version = "1.1"

[dev-dependencies.hex-literal]
version = "1"

[dev-dependencies.lazy_static]
version = "1"

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.tracing-subscriber]
version = "0.3.0"
features = [
    "env-filter",
    "fmt",
    "ansi",
    "time",
    "local-time",
]
default-features = false

[dev-dependencies.wasm-bindgen-test]
version = "0.3.45"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
default-features = false

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.ring]
version = "0.17"
features = ["wasm32_unknown_unknown_js"]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.rustls-pki-types]
version = "1.7"
features = ["web"]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.web-time]
version = "1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]
