-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathCargo.toml
54 lines (51 loc) · 1.67 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "good-mitm"
version = "0.2.4"
authors = ["zu1k <i@lgf.im>"]
edition = "2021"
description = "Use MITM technology to provide features like rewrite, redirect."
readme = "README.md"
homepage = "https://github.com/zu1k/good-mitm"
repository = "https://github.com/zu1k/good-mitm"
license = "MIT"
keywords = ["proxy", "MITM"]
exclude = [".github/", "docs/", "rules/"]
[profile.release]
strip = true
lto = true
opt-level = "s"
codegen-units = 1
[dependencies]
anyhow = "1.0"
async-compression = { version = "0.3", features = ["tokio", "brotli", "gzip", "zlib", "zstd"] }
bytes = { version = "1", features = ["serde"] }
chrono = "0.4"
clap = { version = "3.0", features = ["derive"] }
cookie = "0.16"
enum_dispatch = "0.3"
env_logger = "0.9"
fancy-regex = "0.8"
futures = "0.3"
http = "0.2"
hyper = { version = "0.14", features = ["full"] }
hyper-proxy = { version = "0.9", default-features = false, features = ["rustls-webpki"] }
hyper-rustls = { version = "0.23", features = ["http2", "webpki-tokio"] }
hyper-tungstenite = "0.6"
lazy_static = "1.4"
log = "0.4"
moka = { version = "0.7", features = ["future"] }
rcgen = { version = "0.9", features = ["x509-parser"] }
rustls-pemfile = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
thiserror = "1"
time = "0.3"
tokio = { version = "1", features = ["full"] }
tokio-rustls = { version = "0.23", default-features = false, features = ["tls12"] }
tokio-tungstenite = { version = "0.17", features = ["rustls-tls-webpki-roots"] }
tokio-util = { version = "0.7", features = ["io"] }
wildmatch = "2.1"
quick-js = { version = "0.4", features = ["log"], optional = true }
[features]
default = ["plugin-js"]
plugin-js = ["quick-js"]