[dependencies.num_cpus]
version = "1.0"
[dependencies.tokio]
features = ["rt-multi-thread", "macros", "time"]
version = "1"
[dependencies.widestring]
version = "0.5"
[dependencies.windows]
features = ["Win32_Foundation", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Threading", "Win32_System_ProcessStatus", "Win32_Security", "Win32_UI_WindowsAndMessaging", "Win32_System_SystemInformation"]
optional = true
version = "0.56"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros"]
version = "1"
[[example]]
name = "find_window"
path = "examples/find_window.rs"
[[example]]
name = "kill_process"
path = "examples/kill_process.rs"
[[example]]
name = "list_processes"
path = "examples/list_processes.rs"
[[example]]
name = "list_windows"
path = "examples/list_windows.rs"
[[example]]
name = "monitor_memory"
path = "examples/monitor_memory.rs"
[[example]]
name = "process_tree"
path = "examples/process_tree.rs"
[[example]]
name = "system_info"
path = "examples/system_info.rs"
[[example]]
name = "top_cpu"
path = "examples/top_cpu.rs"
[features]
default = ["win32", "process", "tokio"]
process = []
tokio = []
win32 = ["windows"]
[lib]
name = "crosswin"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["os::windows-apis", "api-bindings", "development-tools"]
description = "Async-friendly Windows primitives for Rust with process management, memory monitoring, and system operations."
documentation = "https://docs.rs/crosswin"
edition = "2021"
keywords = ["windows", "win32", "async", "process", "system"]
license = "MIT OR Apache-2.0"
name = "crosswin"
readme = "README.md"
repository = "https://github.com/M1tsumi/crosswin"
version = "0.3.0"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "process_info_tests"
path = "tests/process_info_tests.rs"
[[test]]
name = "process_operations_tests"
path = "tests/process_operations_tests.rs"
[[test]]
name = "processes_smoke"
path = "tests/processes_smoke.rs"
[[test]]
name = "windows_smoke"
path = "tests/windows_smoke.rs"