emerg: clear commits due to fwd server leak
This commit is contained in:
commit
66fa3474b2
12 changed files with 1081 additions and 0 deletions
60
Cargo.toml
Normal file
60
Cargo.toml
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
[package]
|
||||
name = "skylink"
|
||||
version = "0.1.1"
|
||||
edition = "2024"
|
||||
build = "build.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "server"
|
||||
path = "src/bin/server.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "client"
|
||||
path = "src/bin/client.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
futures-util = "0.3"
|
||||
ntapi = "0.4.1"
|
||||
once_cell = "1"
|
||||
reqwest = "0.12.22"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
sysinfo = "0.36.1"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "io-std"] }
|
||||
tokio-tungstenite = "0.23"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
whoami = "1"
|
||||
winapi = { version = "0.3.9", features = ["wtsapi32", "securitybaseapi", "winbase", "errhandlingapi", "userenv"] }
|
||||
windows-service = "0.6"
|
||||
|
||||
|
||||
# only if you actually want the critical-process feature
|
||||
[dependencies.windows-sys]
|
||||
version = "0.59"
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Threading",
|
||||
"Win32_System_WindowsProgramming",
|
||||
"Win32_System_SystemServices"
|
||||
]
|
||||
|
||||
[features]
|
||||
critical = []
|
||||
|
||||
|
||||
[build-dependencies]
|
||||
winresource = "0.1"
|
||||
dotenv = "0.15.0"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z" # Optimize for size
|
||||
lto = true # Or use "fat"
|
||||
codegen-units = 1 # Better optimization at the cost of compile time
|
||||
strip = "symbols" # Rust 1.60+ can strip at compile time
|
||||
|
||||
[package.metadata.winresource]
|
||||
FileDescription = "Network Interface Communications Manager"
|
||||
ProductName = "Network Interface Communications Manager"
|
||||
LegalCopyright = "Copyright © 2025"
|
||||
Loading…
Add table
Add a link
Reference in a new issue