-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (70 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
79 lines (70 loc) · 1.83 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "httpjail"
version = "0.6.1"
edition = "2024"
license = "CC0-1.0"
description = "Monitor and restrict HTTP/HTTPS requests from processes"
repository = "https://github.com/coder/httpjail"
keywords = ["network", "security", "proxy", "monitoring", "sandbox"]
categories = ["command-line-utilities", "network-programming", "development-tools"]
[features]
# Feature to enable isolated cleanup tests that should run separately in CI
isolated-cleanup-tests = []
[dependencies]
async-trait = "0.1"
clap = { version = "4.5", features = ["derive"] }
tokio = { version = "1.35", features = ["full"] }
hyper = { version = "1.7", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
bytes = "1.11"
tokio-rustls = "0.26"
rustls = "0.23"
rcgen = "0.13"
webpki-roots = "0.26"
lru = "0.12"
rand = "0.8"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "chrono"] }
chrono = "0.4"
dirs = "6.0.0"
hyper-rustls = "0.27.7"
tls-parser = "0.12.2"
camino = "1.1.11"
filetime = "0.2"
ctrlc = "3.4"
url = "2.5"
v8 = "129"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simple-dns = "0.7"
tempfile = "3.8"
arc-swap = "1.7"
[target.'cfg(target_os = "macos")'.dependencies]
libc = "0.2"
atty = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
socket2 = "0.5"
[dev-dependencies]
tempfile = "3.8"
assert_cmd = "2.0"
predicates = "3.0"
serial_test = "3.0"
ctor = "0.2"
criterion = { version = "0.5", features = ["async_tokio"] }
pprof = { version = "0.14", features = ["protobuf-codec", "criterion"] }
[package.metadata.cargo-udeps.ignore]
dev = ["serial_test"]
[profile.fast]
inherits = "release"
opt-level = 1
lto = false
codegen-units = 16
[profile.bench]
inherits = "release"
debug = true
[[bench]]
name = "rule_engines"
harness = false