Cargo Features

Pcitool has no features set by default.

[dependencies]
pcitool = { version = "0.1.0", features = ["sudo", "expensive_tests", "pciutils_3_7", "ls_ecaps_rclink_eltype", "ls_ecaps_rclink_cfgspace", "ls_caps_agp_isoch_support", "ls_caps_pm_bridge", "lib_proc_baseaddr_parse", "pciutils_make_opt_zlib", "pciutils_make_opt_libkmod", "pciutils_make_opt_hwdb", "clap"] }
sudo
expensive_tests

Integration CPU and memory expensive tests

pciutils_3_7 = lib_proc_baseaddr_parse, ls_caps_agp_isoch_support, ls_caps_pm_bridge, ls_ecaps_rclink_cfgspace, ls_ecaps_rclink_eltype

Features (bugs) for pciutils version version 3.7.0

ls_caps_agp_isoch_support pciutils_3_7?
ls_caps_pm_bridge pciutils_3_7?

https://github.com/pciutils/pciutils/pull/94

lib_proc_baseaddr_parse pciutils_3_7?

/proc/bus/pci/devices parser takes only 8 chars (#define PCIADDR_T_FMT "%08" PCI_U64_FMT_X) https://github.com/pciutils/pciutils/blob/0478e1f3928bfaa34eb910ba2cbaf1dda8f84aab/lib/types.h#L58 Although it 16 chars in linux kernel https://github.com/torvalds/linux/blob/c3e0e1e23c70455916ff3472072437b3605c6cfe/drivers/pci/proc.c#L385

pciutils_make_opt_zlib

pciutils compile options (ZLIB=, DNS=, LIBKMOD=, HWDB=)

pciutils_make_opt_dns pciutils_make_opt_libkmod
pciutils_make_opt_hwdb

Features from optional dependencies

clap implicit feature

Enables clap ^3.2.20

clap:

A simple to use, efficient, and full-featured Command Line Argument Parser