Add Windows impl

This commit is contained in:
Andrej Mihajlov
2025-05-29 18:14:55 +02:00
parent 4eedbb235a
commit c225511f95
6 changed files with 403 additions and 115 deletions
+17 -2
View File
@@ -8,12 +8,27 @@ license.workspace = true
workspace = true
[dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time", "fs"] }
tokio = { workspace = true, features = [
"rt-multi-thread",
"macros",
"time",
"fs",
] }
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite"] }
log.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
proc_pidinfo.workspace = true
[target.'cfg(windows)'.dependencies]
windows = { version = "0.61", features = [
"Win32",
"Win32_System",
"Win32_System_Memory",
"Win32_System_Threading",
"Win32_Storage_FileSystem",
"Wdk_System_SystemInformation",
] }
[dev-dependencies]
tempfile = { workspace = true }
tempfile = { workspace = true }