working base

This commit is contained in:
Michal Humpula
2025-03-16 10:20:48 +01:00
parent 0ddf5f1c36
commit 5fbd72b370
19 changed files with 3261 additions and 0 deletions

21
Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
[package]
name = "route-switcher"
version = "0.1.0"
edition = "2024"
[dependencies]
pnet = "0.35.0"
pnet_sys = "0.35.0"
rand = "0.9.1"
log = "0.4.27"
env_logger = "0.11.8"
libc = "0.2.172"
signal-hook = "0.3.18"
crossbeam-channel = "0.5.15"
netlink-packet-route = "0.23.0"
netlink-packet-core = "0.7.0"
netlink-sys = "0.8.7"
anyhow = "1.0.98"
bytes = "1.10.1"
tokio = { version = "1.42", features = ["full"] }
clap = { version = "4.5", features = ["derive"] }