-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (31 loc) · 1.03 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
[package]
name = "pci-info"
version = "0.2.1"
edition = "2021"
rust-version = "1.70"
license = "MIT OR Apache-2.0"
repository = "https://github.com/xanathar/pci-info"
readme = "README.md"
keywords = ['pci', 'device', 'hardware']
categories = ["hardware-support", "os"]
authors = ["Marco Mastropaolo <[email protected]>"]
description = "A crate to enumerate PCI devices on desktop operating systems and/or parse PCI configuration headers"
[dependencies]
[dev-dependencies]
paste = "1.0"
[target.'cfg(target_os = "freebsd")'.dependencies]
libc = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.10"
[target.'cfg(target_os = "windows")'.dependencies]
wmi = "0.14"
windows = { version = "0.58", features = [
"Win32_Devices_DeviceAndDriverInstallation",
"Win32_System",
"Win32_System_Registry",
]}
[features]
pci_class_debug_strings = []
pci_subclass_debug_strings = []
pci_interface_func_debug_strings = []
default = ["pci_class_debug_strings", "pci_subclass_debug_strings", "pci_interface_func_debug_strings"]