-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathCargo.toml
41 lines (35 loc) · 1.13 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
[package]
name = "mitmproxy-linux"
license = "MIT"
authors.workspace = true
version.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true
publish.workspace = true
[lints]
workspace = true
[[bin]]
name = "mitmproxy-linux-redirector"
path = "src/main.rs"
[target.'cfg(target_os = "linux")'.dependencies]
mitmproxy = { path = "../" }
mitmproxy-linux-ebpf-common = { path = "../mitmproxy-linux-ebpf-common"}
tun = { workspace = true, features = ["async"] }
aya = { workspace = true }
aya-log = { workspace = true }
tokio = { version = "1.40", features = ["macros", "net", "rt-multi-thread", "sync", "io-util", "signal"] }
anyhow = { version = "1.0.89", features = ["backtrace"] }
log = "0.4.22"
env_logger = "0.11.5"
prost = "0.13.3"
internet-packet = { version = "0.2.0", features = ["checksums"] }
libc = "0.2.155"
const-sha1 = "0.3.0"
[target.'cfg(target_os = "linux")'.build-dependencies]
cargo_metadata = { version = "0.19.0", default-features = false }
mitmproxy-linux-ebpf = { path = "../mitmproxy-linux-ebpf" }
[target.'cfg(target_os = "linux")'.dev-dependencies]
hex = "0.4.3"
[features]
root-tests = []