# 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" name = "proxyfor" version = "0.4.0" authors = ["sigoden "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A proxy CLI for capturing HTTP(S) & WS(S) Traffic." homepage = "https://github.com/sigoden/proxyfor" readme = "README.md" keywords = [ "proxy", "cli", "http", "websocket", "tui", ] categories = ["command-line-utilities"] license = "MIT OR Apache-2.0" repository = "https://github.com/sigoden/proxyfor" [profile.release] opt-level = "z" lto = true strip = true [lib] name = "proxyfor" path = "src/lib.rs" [[bin]] name = "proxyfor" path = "src/main.rs" [[test]] name = "cert" path = "tests/cert.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "filter" path = "tests/filter.rs" [[test]] name = "proxy" path = "tests/proxy.rs" [[test]] name = "web" path = "tests/web.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-compression] version = "0.4.6" features = [ "brotli", "gzip", "zstd", "deflate", "tokio", ] [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1.5" [dependencies.clap] version = "4.5.1" features = ["derive"] [dependencies.cookie] version = "0.18.0" [dependencies.crossterm] version = "0.28.1" [dependencies.dirs] version = "5.0.1" [dependencies.fancy-regex] version = "0.13.0" [dependencies.futures-util] version = "0.3.30" [dependencies.http] version = "1.1.0" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1.0" features = ["full"] [dependencies.hyper-rustls] version = "0.27.3" features = [ "webpki-roots", "webpki-tokio", "ring", "http1", "http2", "tls12", ] default-features = false [dependencies.hyper-tungstenite] version = "0.15.0" [dependencies.hyper-util] version = "0.1" features = [ "server-auto", "client-legacy", ] [dependencies.indexmap] version = "2.2.5" features = ["serde"] [dependencies.log] version = "0.4.22" [dependencies.moka] version = "0.12.5" features = ["future"] [dependencies.pin-project-lite] version = "0.2.13" [dependencies.rand] version = "0.8.5" [dependencies.ratatui] version = "0.28.1" features = ["unstable-rendered-line-info"] [dependencies.rcgen] version = "0.13.0" features = [ "x509-parser", "pem", "ring", ] default-features = false [dependencies.rsa] version = "0.9.6" [dependencies.rustls-pemfile] version = "2.0.0" [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" features = ["preserve_order"] [dependencies.shell-words] version = "1.1.0" [dependencies.simplelog] version = "0.12.2" [dependencies.time] version = "0.3.34" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "net", "macros", "fs", "io-util", "signal", ] [dependencies.tokio-graceful] version = "0.2.2" [dependencies.tokio-rustls] version = "0.26.0" features = [ "ring", "tls12", "logging", ] default-features = false [dependencies.tokio-stream] version = "0.1.14" features = ["sync"] default-features = false [dependencies.tokio-tungstenite] version = "0.24.0" features = [ "rustls", "rustls-tls-webpki-roots", ] [dependencies.tokio-util] version = "0.7" features = [ "io-util", "compat", ] [dependencies.tui-input] version = "0.10.1" [dependencies.unicode-width] version = "0.2.0" [dependencies.url] version = "2.5.0" [dev-dependencies.async-compression] version = "0.4.12" features = [ "gzip", "tokio", ] [dev-dependencies.async-http-proxy] version = "1.2.5" features = ["runtime-tokio"] [dev-dependencies.insta] version = "1.36.1" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.reqwest] version = "0.12.2" features = [ "rustls-tls", "stream", ] default-features = false [target.'cfg(not(any(target_os = "linux", target_os = "android", target_os = "emscripten")))'.dependencies.arboard] version = "3.3.0" default-features = false [target.'cfg(target_os = "linux")'.dependencies.arboard] version = "3.3.0" features = ["wayland-data-control"] default-features = false