Cargo Features
[dependencies]
hw = { version = "0.1.4", default-features = false, features = ["log", "tracing", "ohm", "aida64", "cli", "system", "user", "desktop", "network", "multithread", "disk", "component", "drive", "file-info", "os-system", "os-office", "build", "built", "net-interface", "os"] }
- default = aida64, cli, drive, file-info, ohm, os, tracing
-
These default features are set whenever
hw
is added without
somewhere in the dependency tree.default-features = false - log
- tracing default
- ohm default = system, wmi
-
Affects
hw::ohm
… - aida64 default = system, wmi
-
Affects
hw::aida64
… - cli default = structopt
-
Affects
hw::cli
… - system aida64 ohm os
-
Affects
api::system_query
,api::system
… - user os = desktop
-
Affects
api::user_query
… - desktop user?
-
Enables Win32_Foundation, Win32…NetManagement and Win32_Storage_FileSystem of windows ^0.30
Affects
os_more::desktop
… - network os = futures, net-interface
-
Affects
api::network_query
,os_more::net_manage
… - multithread os
-
Enables multithread of sysinfo
- disk os
- component os
- drive default
-
Enables libloaderapi, minwinbase, winbase and winuser of winapi
Affects
drive::win
… - file-info default = goblin
-
Enables processenv and winbase of winapi
Affects
file_info::ty
… - os-system os
-
Affects
hw::os_system
… - os-office os
-
Affects
hw::os_office
… - build = static_vcruntime, winresource
- built
- net-interface network? = libc
-
Enables Win32_Foundation, Win32_NetworkManagement_IpHelper and Win32_Networking_WinSock of windows ^0.30
Affects
os_more::net_interface
… - os default = component, disk, multithread, network, os-office, os-system, system, user
-
Affects
hw::os
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- structopt cli
- libc net-interface?
- futures network?
- goblin file-info
- e-log log? tracing
- static_vcruntime build win build?
- winresource build win build?
- winapi win drive file-info
- windows win desktop? net-interface?
-
Enables windows ^0.30
- wmi win aida64 ohm