Cargo Features

[dependencies]
sysinfo = { version = "0.33.0", default-features = false, features = ["component", "disk", "system", "network", "user", "apple-sandbox", "apple-app-store", "c-interface", "multithread", "linux-tmpfs", "debug", "unknown-ci", "serde"] }
default c-interface? = component, disk, multithread, network, system, user

These default features are set whenever sysinfo is added without default-features = false somewhere in the dependency tree.

component default

Enables Win32_Foundation, Win32_Security, Win32_System_Com, Win32_System_Rpc, Win32_System_Variant and Win32_System_Wmi of windows >=0.54, <=0.57

Affects app_store::component

disk default

Enables Win32_Foundation, Win32_Security, Win32_Storage_FileSystem, Win32_System_IO, Win32_System_Ioctl, Win32_System_SystemServices and Win32_System_WindowsProgramming of windows >=0.54, <=0.57

Affects ffi::IORegistryEntryGetParentEntry, ffi::IOBSDNameMatching, ffi::IOObjectConformsTo, common::DiskUsage, ffi::io_registry_entry_t, ffi::io_name_t, ffi::IOOptionBits, ffi::IORegistryEntryCreateCFProperty

system default

Enables memchr and ntapi, Wdk_System_SystemInformation, Wdk_System_SystemServices, Wdk_System_Threading, Win32_Foundation, Win32_Security_Authorization, Win32_System_Diagnostics_Debug, Win32_System_Kernel, Win32_System_Memory, Win32_System_Performance, Win32_System_Power, Win32_System_ProcessStatus, Win32_System_Registry, Win32_System_RemoteDesktop, Win32_System_SystemInformation, Win32_System_SystemServices, Win32_System_Threading and Win32_UI_Shell of windows >=0.54, <=0.57

Affects app_store::process, ffi::IORegistryEntryGetName, utils::init_mib, common::DiskUsage, ffi::io_registry_entry_t, ffi::io_name_t, ffi::IOOptionBits, ffi::IORegistryEntryCreateCFProperty

network default

Enables Win32_Foundation, Win32_NetworkManagement_IpHelper, Win32_NetworkManagement_Ndis and Win32_Networking_WinSock of windows >=0.54, <=0.57

user default

Enables Win32_Foundation, Win32…NetManagement, Win32_Security, Win32_Security…Identity and Win32_Security_Authorization of windows >=0.54, <=0.57

apple-sandbox apple-app-store?
apple-app-store = apple-sandbox
c-interface = default
multithread default

Enables rayon

linux-netdevs linux-tmpfs
debug

Enables extra_traits of libc

unknown-ci

This feature is used on CI to emulate unknown/unsupported target.

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.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

windows win component disk network system user

Enables windows >=0.54, <=0.57