pyx 0.1.1

High-performance reverse proxy with h2o configuration compatibility
# 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 = "2024"
rust-version = "1.85"
name = "pyx"
version = "0.1.1"
authors = ["pyx Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance reverse proxy with h2o configuration compatibility"
readme = "README.md"
license = "MIT"
repository = "https://github.com/psychonautwiki/pyx"

[[bin]]
name = "pyx"
path = "src/main.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[bench]]
name = "config"
path = "benches/config.rs"
harness = false

[[bench]]
name = "middleware"
path = "benches/middleware.rs"
harness = false

[[bench]]
name = "proxy"
path = "benches/proxy.rs"
harness = false

[[bench]]
name = "routing"
path = "benches/routing.rs"
harness = false

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1.7"

[dependencies.async-compression]
version = "0.4"
features = [
    "tokio",
    "gzip",
    "deflate",
    "brotli",
]

[dependencies.bytes]
version = "1.9"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crossbeam]
version = "0.8"

[dependencies.dashmap]
version = "6.1"

[dependencies.deadpool]
version = "0.12"

[dependencies.fastrand]
version = "2.1"

[dependencies.futures-util]
version = "0.3"

[dependencies.governor]
version = "0.8"

[dependencies.h2]
version = "0.4"

[dependencies.h3]
version = "0.0.8"

[dependencies.h3-quinn]
version = "0.0.10"

[dependencies.http]
version = "1.4"

[dependencies.http-body-util]
version = "0.1"

[dependencies.humantime]
version = "2.1"

[dependencies.hyper]
version = "1.5"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.indexmap]
version = "2.7"
features = ["serde"]

[dependencies.lru]
version = "0.12"

[dependencies.matchit]
version = "0.8"

[dependencies.mime_guess]
version = "2.0"

[dependencies.nonzero_ext]
version = "0.3"

[dependencies.once_cell]
version = "1.20"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.prometheus-client]
version = "0.23"

[dependencies.quinn]
version = "0.11"

[dependencies.regex]
version = "1.11"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_yaml]
version = "0.9"

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.42"
features = [
    "full",
    "parking_lot",
]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tower-http]
version = "0.6"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.webpki-roots]
version = "0.26"

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]

[dev-dependencies.tempfile]
version = "3.14"

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"

[profile.bench]
debug = 2
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true