This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
66 lines (57 loc) · 1.43 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "mitmproxy_wireguard"
description = "WireGuard interface for mitmproxy"
license = "MIT"
repository = "https://github.com/decathorpe/mitmproxy_wireguard"
publish = false
version = "0.1.23"
edition = "2021"
rust-version = "1.64.0"
authors = [
"Fabio Valentini <[email protected]>",
"Maximilian Hils <[email protected]>",
]
exclude = [
"/.github/",
"/benches/",
"/dist/",
"/venv/",
"/PUBLISHING.md",
"/architecture.png",
"/coverage.sh",
"/echo_test_server.py",
"/rustfmt.toml",
]
[lib]
name = "mitmproxy_wireguard"
crate-type = ["cdylib"]
[dependencies]
anyhow = "1.0.56"
base64 = "0.13"
boringtun = { version = "0.5", default-features = false }
log = "0.4.16"
once_cell = "1"
pretty-hex = "0.3.0"
pyo3 = { version = "0.18.2", features = ["abi3", "abi3-py37", "extension-module", "anyhow"] }
pyo3-asyncio = { version = "0.18", features = ["tokio-runtime"] }
pyo3-log = "0.8"
rand_core = { version = "0.6.3", features = ["getrandom"] }
smoltcp = "0.8"
tokio = { version = "1.17", features = ["macros", "net", "rt-multi-thread", "sync", "time"] }
x25519-dalek = "=2.0.0-pre.1"
# optional dependencies for tracing support
console-subscriber = { version = "0.1.4", optional = true }
[dev-dependencies]
env_logger = "0.10"
rand = "0.8"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[features]
tracing = ["console-subscriber"]
[workspace]
members = [
".",
"test-client",
]