-
-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.21 KB
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
[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.48", features = ["macros", "net", "rt-multi-thread", "sync", "io-util", "signal"] }
anyhow = { version = "1.0.100", features = ["backtrace"] }
log = "0.4.29"
env_logger = "0.11.5"
prost = "0.14.3"
internet-packet = { version = "0.2.0", features = ["checksums"] }
libc = "0.2.176"
const-sha1 = "0.3.0"
[target.'cfg(target_os = "linux")'.build-dependencies]
anyhow = { version = "1.0.100", features = ["backtrace"] }
aya-build = "0.1.3"
mitmproxy-linux-ebpf = { path = "../mitmproxy-linux-ebpf" }
cargo_metadata = { version = "0.23.1", default-features = false }
[target.'cfg(target_os = "linux")'.dev-dependencies]
hex = "0.4.3"
[features]
root-tests = []