summaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
blob: ba45804f4667b85b2f901435ab1d2c37d4d51b0d (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
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2025 Dillution <[email protected]>.
#
# This file is part of DPIBreak.
#
# DPIBreak is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# DPIBreak is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with DPIBreak. If not, see <https://www.gnu.org/licenses/>.

[package]
name = "dpibreak"
version = "0.0.5"
authors = ["Dilluti0n <[email protected]>"]
edition = "2024"
build = "build.rs"
license = "GPL-3.0-or-later"
description = "Simple and efficient DPI circumvention tool in Rust."
repository = "https://github.com/dilluti0n/dpibreak.git"
homepage = "https://github.com/dilluti0n/dpibreak"
readme = "README.md"


[dependencies]
ctrlc = { version = "3.4", features = ["termination"] }
anyhow = "1"
etherparse = "0.18"

[target.'cfg(target_os = "linux")'.dependencies]
iptables = "0.4"
nfq = { package = "nfq-updated", version = "0.2.6" } # nfq-updated: to us as_raw_fd
socket2 = { version = "0.6", features = ["all"] }
nix = { version = "0.27.1", features = ["fs", "poll"] }
serde_json = "1.0.145"

[target.'cfg(windows)'.dependencies]
windivert = { version = "0.6.0" }

[build-dependencies]
winres = "0.1"