summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 7cb4c029e24ed8170a67806b720d3a52f4dd43be (plain)
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
[package]
name = "nsc"
version = "0.1.0"
edition = "2024"
description = "Tun-in interface for Mesh networks like Tor/I2P with traffic-routing support (DIRECT/PROXY/BLOCK etc.)"
repository = "https://codeberg.org/NamelessTeam/nsc"
build = "build.rs"

[build-dependencies]
prost-build = "0.14.3"

[dependencies]
arti-client = "0.40.0"
bytes = { version = "1.11.1", features = ["serde"] }
ipnet = "2.12.0"
iptables = "0.6.0"
maxminddb = "0.27.3"
prost = "0.14.3"
prost-types = "0.14.3"
rtnetlink = "0.20.0"
serde = { version = "1.0.228", features = ["derive"] }
tokio = { version = "1.50.0", features = ["full"] }
toml = { version = "1.0.6", features = ["serde"] }
tun = { version = "0.8.6", features = ["async", "tokio"] }

[profile.release]
strip = true
lto = true
codegen-units = 1
opt-level = 3

[dev-dependencies]
ureq = "2.12"