# 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" rust-version = "1.70" name = "pci-info" version = "0.2.1" authors = ["Marco Mastropaolo "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A crate to enumerate PCI devices on desktop operating systems and/or parse PCI configuration headers" readme = "README.md" keywords = [ "pci", "device", "hardware", ] categories = [ "hardware-support", "os", ] license = "MIT OR Apache-2.0" repository = "https://github.com/xanathar/pci-info" [lib] name = "pci_info" path = "src/lib.rs" [[example]] name = "enumpci" path = "examples/enumpci.rs" [[example]] name = "enumpci-linux-fastest" path = "examples/enumpci-linux-fastest.rs" [[example]] name = "enumpci-windows-wmi" path = "examples/enumpci-windows-wmi.rs" [[example]] name = "read-pci-header" path = "examples/read-pci-header.rs" [dependencies] [dev-dependencies.paste] version = "1.0" [features] default = [ "pci_class_debug_strings", "pci_subclass_debug_strings", "pci_interface_func_debug_strings", ] pci_class_debug_strings = [] pci_interface_func_debug_strings = [] pci_subclass_debug_strings = [] [target.'cfg(target_os = "freebsd")'.dependencies.libc] version = "0.2" [target.'cfg(target_os = "macos")'.dependencies.core-foundation] version = "0.9.4" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.56.0" features = [ "Win32_Devices_DeviceAndDriverInstallation", "Win32_System", "Win32_System_Registry", ] [target.'cfg(target_os = "windows")'.dependencies.wmi] version = "0.13.3"