Add base subcrates

This commit is contained in:
DaZuo0122
2026-01-16 00:38:03 +08:00
commit 240107e00f
17 changed files with 5081 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
[package]
name = "wtfnet-cli"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "wtfn"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
wtfnet-core = { path = "../wtfnet-core" }
wtfnet-platform = { path = "../wtfnet-platform" }
[target.'cfg(windows)'.dependencies]
wtfnet-platform-windows = { path = "../wtfnet-platform-windows" }
[target.'cfg(target_os = "linux")'.dependencies]
wtfnet-platform-linux = { path = "../wtfnet-platform-linux" }