Cargo Features
[dependencies]
objc2-system-configuration = { version = "0.3.2", default-features = false, features = ["std", "alloc", "bitflags", "dispatch2", "libc", "objc2", "objc2-security", "unstable-darwin-objc", "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, dispatch2, libc, objc2, objc2-security, std
-
These default features are set whenever
objc2-system-configurationis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default SCNetworkReachability SCPreferences
-
Enables bitflags
- dispatch2 default
-
Enables dispatch2
Affects
SCDynamicStore::SCDynamicStoreSetDispatchQueue,SCNetworkConnection::SCNetworkConnectionSetDispatchQueue,SCNetworkReachability::SCNetworkReachabilitySetDispatchQueue,SCPreferences::SCPreferencesSetDispatchQueue… - libc default
-
Enables libc
Affects
SCNetwork::SCNetworkCheckReachabilityByAddress,SCNetworkReachability::SCNetworkReachabilityCreateWithAddress,SCNetworkReachability::SCNetworkReachabilityCreateWithAddressPair,SCDynamicStoreCopySpecific::SCDynamicStoreCopyConsoleUser… - objc2 default
-
Enables objc2, objc2 of optional dispatch2, objc2 of objc2-core-foundation and optional objc2-security
- objc2-security default
-
Enables objc2-security
Affects
SCPreferences::SCPreferencesCreateWithAuthorization… - unstable-darwin-objc
- CaptiveNetwork default
-
Enables CFArray and CFDictionary of objc2-core-foundation
- DHCPClientPreferences default
- 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
- 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