Cargo Features

[dependencies]
objc2-system-configuration = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "libc", "objc2", "objc2-security", "CaptiveNetwork", "DHCPClientPreferences", "SCDynamicStore", "SCDynamicStoreCopyDHCPInfo", "SCDynamicStoreCopySpecific", "SCNetwork", "SCNetworkConfiguration", "SCNetworkConnection", "SCNetworkReachability", "SCPreferences", "SCPreferencesPath", "SCPreferencesSetSpecific", "SCSchemaDefinitions"] }
default = CaptiveNetwork, DHCPClientPreferences, SCDynamicStore, SCDynamicStoreCopyDHCPInfo, SCDynamicStoreCopySpecific, SCDynamicStoreKey, SCNetwork, SCNetworkConfiguration, SCNetworkConnection, SCNetworkReachability, SCPreferences, SCPreferencesPath, SCPreferencesSetSpecific, SCSchemaDefinitions, bitflags, libc, objc2, objc2-security, std

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

std default = alloc
alloc std
bitflags default SCNetworkReachability SCPreferences

Enables bitflags

libc default

Enables libc

Affects SCNetwork::SCNetworkCheckReachabilityByAddress, SCNetworkReachability::SCNetworkReachabilityCreateWithAddress, SCNetworkReachability::SCNetworkReachabilityCreateWithAddressPair, SCDynamicStoreCopySpecific::SCDynamicStoreCopyConsoleUser

objc2 default

Enables objc2, objc2 of objc2-core-foundation and optional objc2-security

objc2-security default

Enables objc2-security

Affects SCPreferences::SCPreferencesCreateWithAuthorization

CaptiveNetwork default

Enables CFArray and CFDictionary of objc2-core-foundation

DHCPClientPreferences default

Enables objc2-core-foundation

SCDynamicStore default

Enables CFArray, CFDictionary and CFRunLoop of objc2-core-foundation

Affects SCDynamicStoreCopyDHCPInfo::SCDynamicStoreCopyDHCPInfo, SCDynamicStoreCopySpecific::SCDynamicStoreCopyComputerName, SCDynamicStoreCopySpecific::SCDynamicStoreCopyLocalHostName, SCDynamicStoreCopySpecific::SCDynamicStoreCopyLocation, SCDynamicStoreCopySpecific::SCDynamicStoreCopyProxies, SCDynamicStoreCopySpecific::SCDynamicStoreCopyConsoleUser

SCDynamicStoreCopyDHCPInfo default

Enables CFData, CFDate and CFDictionary of objc2-core-foundation

SCDynamicStoreCopySpecific default

Enables CFDictionary and CFString of objc2-core-foundation

SCDynamicStoreKey SCNetwork default

Enables objc2-core-foundation

SCNetworkConfiguration default

Enables CFArray, CFDictionary and CFNumber of objc2-core-foundation

SCNetworkConnection default

Enables CFDictionary and CFRunLoop of objc2-core-foundation

SCNetworkReachability default = bitflags

Enables CFRunLoop of objc2-core-foundation

SCPreferences default = bitflags

Enables CFArray, CFData and CFRunLoop of objc2-core-foundation

Affects SCNetworkConfiguration::SCBondInterfaceCopyAll, SCNetworkConfiguration::SCBondInterfaceCopyAvailableMemberInterfaces, SCNetworkConfiguration::SCBondInterfaceCreate, SCNetworkConfiguration::SCVLANInterfaceCopyAll, SCNetworkConfiguration::SCVLANInterfaceCreate, SCNetworkConfiguration::SCNetworkServiceCopyAll, SCNetworkConfiguration::SCNetworkServiceCreate, SCNetworkConfiguration::SCNetworkServiceCopy, SCNetworkConfiguration::SCNetworkSetCopyAll, SCNetworkConfiguration::SCNetworkSetCopyCurrent, SCNetworkConfiguration::SCNetworkSetCreate, SCNetworkConfiguration::SCNetworkSetCopy, SCPreferencesPath::SCPreferencesPathCreateUniqueChild, SCPreferencesPath::SCPreferencesPathGetValue, SCPreferencesPath::SCPreferencesPathGetLink, SCPreferencesPath::SCPreferencesPathSetValue, SCPreferencesPath::SCPreferencesPathSetLink, SCPreferencesPath::SCPreferencesPathRemoveValue, SCPreferencesSetSpecific::SCPreferencesSetComputerName, SCPreferencesSetSpecific::SCPreferencesSetLocalHostName

SCPreferencesPath default

Enables CFDictionary of objc2-core-foundation

SCPreferencesSetSpecific default

Enables CFString of objc2-core-foundation

SCSchemaDefinitions default

Enables objc2-core-foundation