# 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.74" name = "pingap" version = "0.9.0" authors = ["Tree Xie "] build = false exclude = [ "asset/*", "test/*", "Cargo.lock", "web/*", ".github/*", "docs/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A reverse proxy like nginx" homepage = "https://github.com/vicanso/pingap" readme = "README.md" keywords = [ "proxy", "http", "gateway", ] categories = [ "network-programming", "web-programming::http-server", ] license = "Apache-2.0" repository = "https://github.com/vicanso/pingap" [profile.release] lto = true codegen-units = 1 strip = "debuginfo" [profile.release-perf] debug = 1 inherits = "release" strip = "none" [lib] name = "pingap" path = "src/lib.rs" [[bin]] name = "pingap" path = "src/main.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.TinyUFO] version = "0.4.0" [dependencies.aes-gcm-siv] version = "0.11.1" features = [ "aes", "alloc", ] default-features = false [dependencies.ahash] version = "0.8.11" default-features = false [dependencies.arc-swap] version = "1.7.1" [dependencies.async-trait] version = "0.1.83" [dependencies.base64] version = "0.22.1" [dependencies.bollard] version = "0.17.1" default-features = false [dependencies.bytes] version = "1.8.0" [dependencies.bytesize] version = "1.3.0" features = ["serde"] [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.38" features = [ "std", "clock", ] default-features = false [dependencies.clap] version = "4.5.20" features = [ "derive", "std", "help", "usage", ] default-features = false [dependencies.cookie] version = "0.18.1" [dependencies.crc32fast] version = "1.4.2" [dependencies.crossbeam-channel] version = "0.5.13" [dependencies.dhat] version = "0.3.3" optional = true [dependencies.diff] version = "0.1.13" [dependencies.dirs] version = "5.0.1" [dependencies.etcd-client] version = "0.14.0" [dependencies.flate2] version = "1.0.34" [dependencies.futures] version = "0.3.31" [dependencies.futures-util] version = "0.3.31" [dependencies.glob] version = "0.3.1" [dependencies.hex] version = "0.4.3" [dependencies.hickory-resolver] version = "0.24.1" [dependencies.hmac-sha256] version = "1.1.7" [dependencies.hmac-sha512] version = "1.1.5" default-features = false [dependencies.hostname] version = "0.4.0" [dependencies.http] version = "1.1.0" [dependencies.humantime] version = "2.1.0" [dependencies.humantime-serde] version = "1.1.1" [dependencies.instant-acme] version = "0.7.2" [dependencies.ipnet] version = "2.10.1" [dependencies.itoa] version = "1.0.11" [dependencies.libc] version = "0.2.161" [dependencies.local-ip-address] version = "0.6.3" [dependencies.memory-stats] version = "1.2.0" features = ["always_use_statm"] [dependencies.mime_guess] version = "2.0.5" [dependencies.nanoid] version = "0.4.0" [dependencies.nix] version = "0.29.0" features = ["signal"] [dependencies.num_cpus] version = "1.16.0" [dependencies.once_cell] version = "1.20.2" [dependencies.opentelemetry] version = "0.24.0" features = ["trace"] optional = true default-features = false [dependencies.opentelemetry-http] version = "0.13.0" optional = true default-features = false [dependencies.opentelemetry-jaeger-propagator] version = "0.3.0" optional = true [dependencies.opentelemetry-otlp] version = "0.17.0" features = [ "grpc-tonic", "trace", ] optional = true default-features = false [dependencies.opentelemetry_sdk] version = "0.24.1" features = ["rt-tokio"] optional = true default-features = false [dependencies.path-absolutize] version = "3.1.1" [dependencies.pingora] version = "0.4.0" features = [ "lb", "openssl", "cache", ] default-features = false [dependencies.pingora-limits] version = "0.4.0" [dependencies.pingora-runtime] version = "0.4.0" [dependencies.prometheus] version = "0.13.4" optional = true default-features = false [dependencies.pyroscope] version = "0.5.7" optional = true [dependencies.pyroscope_pprofrs] version = "0.2.7" optional = true [dependencies.rcgen] version = "0.13.1" [dependencies.regex] version = "1.11.1" default-features = false [dependencies.reqwest] version = "0.12.9" features = [ "json", "default-tls", ] default-features = false [dependencies.rust-embed] version = "8.5.0" features = [ "mime-guess", "compression", ] default-features = false [dependencies.rustc_version_runtime] version = "0.3.0" [dependencies.rustls-pemfile] version = "2.2.0" [dependencies.scopeguard] version = "1.2.0" [dependencies.sentry] version = "0.26" optional = true default-features = false [dependencies.serde] version = "1.0.214" [dependencies.serde_json] version = "1.0.132" [dependencies.sha2] version = "0.10.8" default-features = false [dependencies.snafu] version = "0.8.5" features = ["std"] default-features = false [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.substring] version = "1.4.5" [dependencies.sysinfo] version = "0.32.0" features = ["system"] default-features = false [dependencies.tempfile] version = "3.13.0" [dependencies.time] version = "0.3.36" features = ["local-offset"] [dependencies.tokio] version = "1.41.0" features = ["fs"] default-features = false [dependencies.toml] version = "0.8.19" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "local-time", "json", "fmt", "ansi", ] default-features = false [dependencies.url] version = "2.5.2" [dependencies.urlencoding] version = "2.1.3" [dependencies.uuid] version = "1.11.0" features = [ "v7", "std", "fast-rng", ] default-features = false [dependencies.walkdir] version = "2.5.0" [dependencies.x509-parser] version = "0.16.0" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.tokio-test] version = "0.4.4" [features] default = [] full = [ "prometheus", "sentry", "opentelemetry", "opentelemetry-http", "opentelemetry-otlp", "opentelemetry_sdk", "opentelemetry-jaeger-propagator", "pingora/sentry", ] perf = [ "pyro", "dhat", "full", ] pyro = [ "pyroscope", "pyroscope_pprofrs", ] [target.'cfg(target_os = "linux")'.dependencies.procfs] version = "0.17.0" default-features = false