# 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.69" name = "product-os-proxy" version = "0.0.13" authors = ["Jeremy de Oliveira-Kumar "] build = false exclude = [] include = [] autobins = false autoexamples = false autotests = false autobenches = false description = "Product OS : Proxy builds on the work of hudsucker, taking it to the next level with a man-in-the-middle proxy server that can tunnel traffic through a VPN utilising Product OS : VPN." readme = "readme.md" keywords = ["product-os"] categories = [] license = "AGPL-3.0-only" resolver = "2" [lib] name = "product_os_proxy" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.66" features = [] optional = true default-features = false [dependencies.arti-client] version = "0.17.0" features = [] optional = true default-features = false [dependencies.arti-hyper] version = "0.17.0" features = [] optional = true default-features = false [dependencies.async-compression] version = "0.4.8" features = [ "tokio", "brotli", "gzip", "zlib", "zstd", ] optional = true [dependencies.async-trait] version = "0.1.7" [dependencies.bstr] version = "1.0.0" [dependencies.bytes] version = "1.0.0" [dependencies.csv] version = "1.2.2" features = [] optional = false default-features = true [dependencies.educe] version = "0.4.19" features = [] optional = true default-features = false [dependencies.futures] version = "0.3.11" [dependencies.hyper] version = "1.3.1" features = [ "client", "http1", "server", ] [dependencies.hyper-rustls] version = "0.27.1" features = [ "http1", "logging", "tls12", "webpki-tokio", "webpki-roots", "ring", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.6.0" features = [] optional = true default-features = true [dependencies.hyper-tungstenite] version = "0.13.0" [dependencies.hyper-util] version = "0.1.3" features = [] optional = false default-features = true [dependencies.moka] version = "0.12.7" features = ["future"] optional = true [dependencies.openssl] version = "0.10.25" features = [] optional = true [dependencies.parking_lot] version = "0.12.1" features = ["send_guard"] default-features = false [dependencies.pin-project] version = "1.0.12" features = [] optional = true default-features = false [dependencies.product-os-capabilities] version = ">= 0.0.1" features = [] optional = false default-features = true [dependencies.product-os-configuration] version = ">= 0.0.1" features = [] optional = false default-features = true [dependencies.product-os-http] version = ">= 0.0.1" features = [] optional = false default-features = true [dependencies.product-os-http-body] version = ">= 0.0.1" features = [ "incoming", "box_body", ] optional = false default-features = true [dependencies.product-os-request] version = ">= 0.0.1" features = [] optional = false default-features = true [dependencies.product-os-security] version = ">= 0.0.1" features = ["certificates"] optional = false default-features = true [dependencies.product-os-server] version = ">= 0.0.1" features = ["middleware"] optional = false default-features = true [dependencies.product-os-utilities] version = ">= 0.0.1" features = ["networking"] optional = false default-features = true [dependencies.product-os-vpn] version = ">= 0.0.1" features = [] optional = true default-features = true [dependencies.rand] version = "0.8.0" optional = true [dependencies.rcgen] version = "0.13.1" features = ["x509-parser"] optional = true [dependencies.rustls] version = "0.20.7" features = [] optional = true default-features = false [dependencies.serde] version = "1.0.132" features = ["derive"] [dependencies.serde_json] version = "1.0.73" features = [] optional = false default-features = false [dependencies.thiserror] version = "1.0.61" features = [] optional = false default-features = true [dependencies.time] version = "0.3.1" optional = true [dependencies.tls-api] version = "0.9.0" features = [] optional = true default-features = false [dependencies.tls-api-native-tls] version = "0.9.0" features = [] optional = true default-features = false [dependencies.tls-api-openssl] version = "0.9.0" features = [] optional = true default-features = false [dependencies.tls-api-rustls] version = "0.9.0" features = [] optional = true default-features = false [dependencies.tls-api-security-framework] version = "0.9.0" features = [] optional = true default-features = false [dependencies.tokio] version = "1.6.1" features = ["rt"] [dependencies.tokio-graceful] version = "0.1.6" [dependencies.tokio-rustls] version = "0.26.0" [dependencies.tokio-tungstenite] version = "0.21.0" [dependencies.tokio-util] version = "0.7.0" features = ["io"] optional = true [dependencies.tor-error] version = "0.3.4" features = [] optional = true default-features = false [dependencies.tor-rtcompat] version = "0.17.0" features = [] optional = true default-features = false [dependencies.tracing] version = "0.1.29" features = ["log"] [dev-dependencies] [features] decoder = [ "dep:async-compression", "dep:tokio-util", "tokio/io-util", ] default = [ "decoder", "rcgen-ca", "rustls-client", ] http2 = [ "hyper/http2", "hyper-rustls?/http2", ] native-tls-client = [ "dep:hyper-tls", "tokio-tungstenite/native-tls", ] openssl-ca = [ "openssl", "dep:moka", ] rcgen-ca = [ "dep:rcgen", "dep:moka", "dep:time", "dep:rand", ] rustls-client = [ "dep:hyper-rustls", "tokio-tungstenite/rustls-tls-webpki-roots", ] tor = [ "arti-client", "arti-hyper", "tor-rtcompat", "tor-rtcompat/rustls", "tor-rtcompat/tokio", "tls-api", "tls-api-rustls", "tls-api-native-tls", "tls-api-openssl", "tls-api-security-framework", "pin-project", "educe", "tor-error", "anyhow", "rustls", ] vendored-openssl = ["openssl/vendored"] vpn = ["product-os-vpn"]