# 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"
name = "fbi-proxy"
version = "1.17.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast and flexible proxy server for intercepting and modifying HTTP/HTTPS requests"
homepage = "https://github.com/snomiao/fbi-proxy"
documentation = "https://github.com/snomiao/fbi-proxy"
readme = "README.md"
keywords = [
    "proxy",
    "http",
    "https",
    "intercept",
    "network",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/snomiao/fbi-proxy"

[lib]
name = "fbi_proxy"
path = "rs/lib.rs"

[[bin]]
name = "fbi-proxy"
path = "rs/fbi-proxy.rs"

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

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

[dependencies.env_logger]
version = "0.11"

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

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

[dependencies.hyper]
version = "1.7"
features = [
    "http1",
    "client",
    "server",
]

[dependencies.hyper-rustls]
version = "0.27"
features = [
    "http1",
    "ring",
    "webpki-tokio",
    "webpki-roots",
]
default-features = false

[dependencies.hyper-tungstenite]
version = "0.18"

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "server",
    "tokio",
    "http1",
]

[dependencies.log]
version = "0.4"

[dependencies.notify]
version = "8"
features = ["macos_fsevent"]
default-features = false

[dependencies.rcgen]
version = "0.14.8"
features = [
    "crypto",
    "pem",
    "ring",
]
default-features = false

[dependencies.regex]
version = "1.11"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.time]
version = "0.3.47"
default-features = false

[dependencies.tokio]
version = "1.47"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
]

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

[dependencies.tokio-tungstenite]
version = "0.27"
features = ["rustls-tls-webpki-roots"]

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