# 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 = "http-mitm-proxy" version = "0.11.0" authors = ["hatoo "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A HTTP proxy server library intended to be a backend of application like Burp proxy." readme = "README.md" keywords = [ "http", "proxy", "http-proxy", ] categories = [ "network-programming", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/hatoo/http-mitm-proxy" [lib] name = "http_mitm_proxy" path = "src/lib.rs" [[example]] name = "dev_proxy" path = "examples/dev_proxy.rs" [[example]] name = "https" path = "examples/https.rs" [[example]] name = "proxy" path = "examples/proxy.rs" [[example]] name = "websocket" path = "examples/websocket.rs" [[test]] name = "test" path = "tests/test.rs" [dependencies.bytes] version = "1.7.1" [dependencies.futures] version = "0.3.29" [dependencies.http-body-util] version = "0.1.0" [dependencies.hyper] version = "1.0.1" features = [ "http1", "http2", "server", "client", ] [dependencies.hyper-util] version = "0.1.7" features = ["tokio"] [dependencies.moka] version = "0.12.8" features = ["sync"] [dependencies.native-tls] version = "0.2.12" features = ["alpn"] [dependencies.rcgen] version = "0.13.1" [dependencies.rustls] version = "0.23.3" [dependencies.thiserror] version = "2.0.2" [dependencies.tokio] version = "1.39.3" features = [ "macros", "rt", "rt-multi-thread", "parking_lot", "io-util", "net", ] [dependencies.tokio-native-tls] version = "0.3.1" [dependencies.tokio-rustls] version = "0.26.0" [dependencies.tracing] version = "0.1.40" [dependencies.winnow] version = "0.6.20" optional = true [dev-dependencies.axum] version = "0.7.2" features = ["http2"] [dev-dependencies.clap] version = "4.5.16" features = ["derive"] [dev-dependencies.rcgen] version = "0.13.1" features = ["x509-parser"] [dev-dependencies.reqwest] version = "0.12.7" features = ["native-tls-alpn"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.winnow] version = "0.6.20"