-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
60 lines (53 loc) · 1.6 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "wmi"
version = "0.14.0"
authors = ["Ohad Ravid <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/crate/wmi"
homepage = "https://github.com/ohadravid/wmi-rs"
repository = "https://github.com/ohadravid/wmi-rs"
description = """
WMI crate for rust.
"""
categories = ["api-bindings", "os::windows-apis"]
keywords = ["wmi", "com", "win32"]
resolver = "2"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
[features]
default = ["chrono"]
# Use { default-features = false, features = ["time"] } to use `time` instead of `chrono`.
# For use in documentation tests
test = []
[target.'cfg(target_os = "windows")'.dependencies]
windows-core = { version = "0.58" }
windows = { version = "0.58", features = [
"implement",
"Win32_Foundation",
"Win32_Security",
"Win32_System_Com",
"Win32_System_Ole",
"Win32_System_Rpc",
"Win32_System_Wmi",
"Win32_System_Variant",
] }
time = { version = "0.3", features = ["formatting", "parsing", "macros", "serde"], optional = true }
chrono = { version = "0.4", features = ["clock", "std", "serde"], optional = true, default-features = false }
serde = { version = "1.0", features = ["derive"] }
futures = { version = "0.3" }
thiserror = "^1"
log = "0.4"
[dev-dependencies]
async-std = { version = "1.10", features = ["attributes"] }
tokio = { version = "1.20.0", features = ["rt", "macros"] }
serde_json = { version = "1.0" }
criterion = "0.5"
tempdir = "0.3"
[[bin]]
name = "wmiq"
[[bench]]
name = "benchmark"
path = "./src/benches/benchmark.rs"
harness = false