-
Notifications
You must be signed in to change notification settings - Fork 103
/
Cargo.toml
46 lines (41 loc) · 1.17 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
[package]
name = "good-mitm"
version = "0.4.1"
authors = ["zu1k <[email protected]>"]
edition = "2021"
description = "Good Man in the Middle: 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]
mitm-core = { path = "crates/core", package = "good-mitm-core" }
rule = { path = "crates/rule", package = "good-mitm-rule", features = ["js"] }
anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
thiserror = "1"
log = "0.4"
env_logger = "0.10"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
hyper-proxy = { version = "0.9", default-features = false }
rustls-pemfile = "1.0"
tokio = { version = "1", features = ["rt-multi-thread", "signal"] }
rustls = "0.21"
trust_cert = { path = "crates/trust_cert", optional = true }
[features]
default = []
trust-cert = ["dep:trust_cert"]
[workspace]
members = [
"crates/core",
"crates/rule",
"crates/trust_cert"
]