crosswin 0.4.0

Async-friendly Windows primitives for Rust with process management, memory monitoring, and system operations.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "crosswin"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async-friendly Windows primitives for Rust with process management, memory monitoring, and system operations."
documentation = "https://docs.rs/crosswin"
readme = "README.md"
keywords = [
    "windows",
    "win32",
    "async",
    "process",
    "system",
]
categories = [
    "os::windows-apis",
    "api-bindings",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/M1tsumi/crosswin"

[features]
default = [
    "win32",
    "process",
    "tokio",
]
process = []
serde = ["dep:serde"]
tokio = []
win32 = ["windows"]

[lib]
name = "crosswin"
path = "src/lib.rs"

[[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_threads"
path = "examples/list_threads.rs"

[[example]]
name = "list_windows"
path = "examples/list_windows.rs"

[[example]]
name = "memory_status"
path = "examples/memory_status.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"

[[example]]
name = "window_inspector"
path = "examples/window_inspector.rs"

[[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 = "thread_smoke"
path = "tests/thread_smoke.rs"

[[test]]
name = "window_filter_tests"
path = "tests/window_filter_tests.rs"

[[test]]
name = "windows_smoke"
path = "tests/windows_smoke.rs"

[dependencies.num_cpus]
version = "1.0"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.widestring]
version = "0.5"

[dependencies.windows]
version = "0.56"
features = [
    "Win32_Foundation",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_Threading",
    "Win32_System_ProcessStatus",
    "Win32_Security",
    "Win32_UI_WindowsAndMessaging",
    "Win32_System_SystemInformation",
]
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]