-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Cargo.toml
46 lines (39 loc) · 1.12 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 = "mitmproxy_rs"
license = "MIT"
authors.workspace = true
version.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true
publish.workspace = true
[lints]
workspace = true
[lib]
name = "mitmproxy_rs"
crate-type = ["lib", "cdylib"]
[dependencies]
mitmproxy = { path = "../" }
anyhow = { version = "1.0.93", features = ["backtrace"] }
data-encoding = "2.6.0"
log = "0.4.22"
once_cell = "1"
pyo3 = { version = "0.23", features = ["abi3", "abi3-py310", "anyhow"] }
pyo3-async-runtimes = { version = "0.23", features = ["tokio-runtime", "testing", "attributes"] }
pyo3-log = "0.12.0"
rand_core = { version = "0.6.4", features = ["getrandom"] }
tokio = { version = "1.41", features = ["macros", "net", "rt-multi-thread", "sync"] }
boringtun = "0.6"
tar = "0.4.43"
console-subscriber = { version = "0.4.1", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
nix = { version = "0.29.0", features = ["user"] }
[dev-dependencies]
env_logger = "0.11"
[features]
tracing = ["console-subscriber"]
docs = []
[[test]]
name = "test_task"
path = "pytests/test_task.rs"
harness = false