-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (40 loc) · 841 Bytes
/
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
[package]
name = "IPv6PrefixFilter"
version = "0.9.0"
edition = "2021"
[dependencies]
clap = { version = "4.5.21", features = ["derive"] }
#ctrlc = "3.4.5"
env_logger = "0.11.5"
ipnet = "2.10.1"
log = "0.4.22"
once_cell = "1.20.2"
pnet = "0.35.0"
pnet_macros = "0.35.0"
pnet_macros_support = "0.35.0"
thiserror = "2.0.3"
tokio = {version = "1.42.0",features = ["full"]}
[target.'cfg(unix)'.dependencies]
daemonize = "0.5.0"
nfq = "0.2.5"
nftables = "0.5.0"
[target.'cfg(windows)'.dependencies]
#windivert-sys = "0.10.0"
windivert = "0.6.0"
[profile.release]
opt-level = "z"
strip = true
lto = true
codegen-units = 1
panic = "abort"
[profile.dist]
inherits = "release"
opt-level = "z"
debug = false
strip = true
lto = true
codegen-units = 1
incremental = false
panic = "abort"
[build]
rustflags = ["-Ctarget-feature=+crt-static"]