[package]
edition = "2024"
name = "wmi"
version = "0.18.2"
authors = ["Ohad Ravid <ohad.rv@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
WMI crate for rust.\r
"""
homepage = "https://github.com/ohadravid/wmi-rs"
documentation = "https://docs.rs/crate/wmi"
readme = "README.md"
keywords = [
"wmi",
"com",
"win32",
]
categories = [
"api-bindings",
"os::windows-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ohadravid/wmi-rs"
resolver = "2"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
[features]
default = ["chrono"]
test = []
[lib]
name = "wmi"
path = "src/lib.rs"
[[bin]]
name = "wmiq"
path = "src/bin/wmiq.rs"
[[bench]]
name = "benchmark"
path = "src/benches/benchmark.rs"
harness = false
[dev-dependencies.async-std]
version = "1"
features = ["attributes"]
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.rusty-fork]
version = "0.3.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempdir]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
[target.'cfg(target_os = "windows")'.dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
"serde",
]
optional = true
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.futures]
version = "0.3"
[target.'cfg(target_os = "windows")'.dependencies.log]
version = "0.4"
[target.'cfg(target_os = "windows")'.dependencies.serde]
version = "1.0"
features = ["derive"]
[target.'cfg(target_os = "windows")'.dependencies.thiserror]
version = "^2"
[target.'cfg(target_os = "windows")'.dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"macros",
"serde",
]
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = ">=0.59, <0.63"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Com",
"Win32_System_Ole",
"Win32_System_Rpc",
"Win32_System_Wmi",
"Win32_System_Variant",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = ">=0.59, <0.63"