forked from NOBLES5E/cproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (33 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
[package]
name = "cproxy"
version = "4.3.4"
authors = ["Xiangru Lian <admin@mail.xrlian.com>", "Light Ning <root@i01.io>"]
description = "Transparent proxy built on cgroup net_cls."
homepage = "https://github.com/light4/cproxy"
license = "AGPL-3.0-or-later"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cgroups-rs = "0.3"
clap = { version = "4.4", features = ["derive"] }
color-eyre = "0.6"
ctrlc = "3.4"
directories = "5.0"
flume = { version = "0.11", default-features = false }
kdl = "4.6"
lazy-regex = "3.0"
nix = { version = "0.27", default-features = false, features = ["fs", "user"] }
semver = "1.0"
strum = "0.25"
strum_macros = "0.25"
thiserror = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
with_drop = "0.0.3"
[profile.dev.package.backtrace]
opt-level = 3
[profile.release]
lto = true
codegen-units = 1
# strip = "debuginfo"
split-debuginfo = 'packed' # https://doc.rust-lang.org/rustc/codegen-options/index.html#split-debuginfo