Cargo Features

[dependencies]
hw = { version = "0.1.23", 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 default-features = false somewhere in the dependency tree.

log

Enables log of e-log

tracing default

Enables tracing of e-log

ohm default = system, wmi

Affects hw::ohm

aida64 default = system, wmi

Affects hw::aida64

cli default = structopt

Affects hw::cli

system aida64 ohm os

Enables system of sysinfo

Affects api::system_query, api::system

user os = desktop

Enables user of sysinfo

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

Enables network of sysinfo

Affects api::network_query, os_more::net_manage

multithread os

Enables multithread of sysinfo

disk os

Enables disk of sysinfo

Affects hw::disk

component os

Enables component of sysinfo

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

Enables build of e-utils

built

Enables built, fs of e-utils

Affects build::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