-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
43 lines (36 loc) · 1.05 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
[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.92", features = ["backtrace"] }
data-encoding = "2.6.0"
log = "0.4.22"
once_cell = "1"
pyo3 = { version = "0.21", features = ["abi3", "abi3-py310", "anyhow", "experimental-declarative-modules"] }
pyo3-asyncio-0-21 = { version = "0.21", features = ["tokio-runtime", "testing", "attributes"] }
pyo3-log = "0.11.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.42"
console-subscriber = { version = "0.4.1", optional = true }
[dev-dependencies]
env_logger = "0.11"
[features]
tracing = ["console-subscriber"]
[[test]]
name = "test_task"
path = "pytests/test_task.rs"
harness = false