Cargo Features

[dependencies]
objc2-network-extension = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "libc", "NEAppProxyFlow", "NEAppProxyProvider", "NEAppProxyProviderManager", "NEAppProxyTCPFlow", "NEAppProxyUDPFlow", "NEAppPushManager", "NEAppPushProvider", "NEAppRule", "NEDNSProxyManager", "NEDNSProxyProvider", "NEDNSProxyProviderProtocol", "NEDNSSettings", "NEDNSSettingsManager", "NEEthernetTunnelNetworkSettings", "NEEthernetTunnelProvider", "NEFilterControlProvider", "NEFilterDataProvider", "NEFilterFlow", "NEFilterManager", "NEFilterPacketProvider", "NEFilterProvider", "NEFilterProviderConfiguration", "NEFilterRule", "NEFilterSettings", "NEFlowMetaData", "NEHotspotConfigurationManager", "NEHotspotHelper", "NEHotspotNetwork", "NEIPv4Settings", "NEIPv6Settings", "NENetworkRule", "NEOnDemandRule", "NEPacket", "NEPacketTunnelFlow", "NEPacketTunnelNetworkSettings", "NEPacketTunnelProvider", "NEProvider", "NEProxySettings", "NERelay", "NERelayManager", "NETransparentProxyManager", "NETransparentProxyNetworkSettings", "NETransparentProxyProvider", "NETunnelNetworkSettings", "NETunnelProvider", "NETunnelProviderManager", "NETunnelProviderProtocol", "NETunnelProviderSession", "NEVPNConnection", "NEVPNManager", "NEVPNProtocol", "NEVPNProtocolIKEv2", "NEVPNProtocolIPSec", "NWBonjourServiceEndpoint", "NWEndpoint", "NWHostEndpoint", "NWPath", "NWTCPConnection", "NWTLSParameters", "NWUDPSession"] }
default = std

The std feature is set by default whenever objc2-network-extension is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of optional block2, optional libc, objc2, and objc2-foundation

alloc std

Enables alloc of optional block2, objc2, and objc2-foundation

all = NEAppProxyFlow, NEAppProxyProvider, NEAppProxyProviderManager, NEAppProxyTCPFlow, NEAppProxyUDPFlow, NEAppPushManager, NEAppPushProvider, NEAppRule, NEDNSProxyManager, NEDNSProxyProvider, NEDNSProxyProviderProtocol, NEDNSSettings, NEDNSSettingsManager, NEEthernetTunnelNetworkSettings, NEEthernetTunnelProvider, NEFilterControlProvider, NEFilterDataProvider, NEFilterFlow, NEFilterManager, NEFilterPacketProvider, NEFilterProvider, NEFilterProviderConfiguration, NEFilterRule, NEFilterSettings, NEFlowMetaData, NEHotspotConfigurationManager, NEHotspotHelper, NEHotspotNetwork, NEIPv4Settings, NEIPv6Settings, NENetworkRule, NEOnDemandRule, NEPacket, NEPacketTunnelFlow, NEPacketTunnelNetworkSettings, NEPacketTunnelProvider, NEProvider, NEProxySettings, NERelay, NERelayManager, NETransparentProxyManager, NETransparentProxyNetworkSettings, NETransparentProxyProvider, NETunnelNetworkSettings, NETunnelProvider, NETunnelProviderManager, NETunnelProviderProtocol, NETunnelProviderSession, NEVPNConnection, NEVPNManager, NEVPNProtocol, NEVPNProtocolIKEv2, NEVPNProtocolIPSec, NWBonjourServiceEndpoint, NWEndpoint, NWHostEndpoint, NWPath, NWTCPConnection, NWTLSParameters, NWUDPSession, block2, libc
block2 all?

Enables block2, block2 of objc2-foundation

Affects NEHotspotHelper::NEHotspotHelperHandler

libc all?

Enables libc, libc of objc2-foundation

NEAppProxyFlow all?

Enables NSError and NSString of objc2-foundation

NEAppProxyProvider all?

Enables NSDictionary, NSError and NSString of objc2-foundation

NEAppProxyProviderManager all?

Enables NSArray and NSError of objc2-foundation

NEAppProxyTCPFlow all?

Enables NSData and NSError of objc2-foundation

NEAppProxyUDPFlow all?

Enables NSArray, NSData and NSError of objc2-foundation

NEAppPushManager all?

Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation

NEAppPushProvider all?

Enables NSDictionary, NSError and NSString of objc2-foundation

NEAppRule all?

Enables NSArray, NSObject and NSString of objc2-foundation

NEDNSProxyManager all?

Enables NSError and NSString of objc2-foundation

NEDNSProxyProvider all?

Enables NSArray, NSDictionary, NSError and NSString of objc2-foundation

NEDNSProxyProviderProtocol all?

Enables NSDictionary, NSObject and NSString of objc2-foundation

NEDNSSettings all?

Enables NSArray, NSData, NSObject, NSString and NSURL of objc2-foundation

NEDNSSettingsManager all?

Enables NSArray, NSError and NSString of objc2-foundation

NEEthernetTunnelNetworkSettings all?

Enables NSObject and NSString of objc2-foundation

NEEthernetTunnelProvider all?
NEFilterControlProvider all?

Enables NSDictionary and NSString of objc2-foundation

NEFilterDataProvider all?

Enables NSData, NSError, NSObject and NSString of objc2-foundation

NEFilterFlow all?

Enables NSData, NSObject, NSString, NSURL, NSURLRequest, NSURLResponse and NSUUID of objc2-foundation

NEFilterManager all?

Enables NSError and NSString of objc2-foundation

NEFilterPacketProvider all?
NEFilterProvider all?

Enables NSError, NSObject and NSString of objc2-foundation

NEFilterProviderConfiguration all?

Enables NSData, NSDictionary, NSObject and NSString of objc2-foundation

NEFilterRule all?

Enables NSObject of objc2-foundation

NEFilterSettings all?

Enables NSArray and NSObject of objc2-foundation

NEFlowMetaData all?

Enables NSData, NSObject, NSString and NSUUID of objc2-foundation

NEHotspotConfigurationManager all?

Enables NSArray, NSError, NSObject, NSString and NSValue of objc2-foundation

NEHotspotHelper all?

Enables NSArray, NSString and NSURLRequest of objc2-foundation

NEHotspotNetwork all?

Enables NSString of objc2-foundation

NEIPv4Settings all?

Enables NSArray, NSObject and NSString of objc2-foundation

NEIPv6Settings all?

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

NENetworkRule all?

Enables NSObject of objc2-foundation

NEOnDemandRule all?

Enables NSArray, NSObject, NSString and NSURL of objc2-foundation

NEPacket all?

Enables NSData and NSObject of objc2-foundation

NEPacketTunnelFlow all?

Enables NSArray, NSData and NSValue of objc2-foundation

NEPacketTunnelNetworkSettings all?

Enables NSObject, NSString and NSValue of objc2-foundation

NEPacketTunnelProvider all?

Enables NSDictionary, NSError and NSString of objc2-foundation

NEProvider all?

Enables NSString of objc2-foundation

NEProxySettings all?

Enables NSArray, NSObject, NSString and NSURL of objc2-foundation

NERelay all?

Enables NSArray, NSData, NSDictionary, NSObject, NSString and NSURL of objc2-foundation

NERelayManager all?

Enables NSArray, NSError and NSString of objc2-foundation

NETransparentProxyManager all?

Enables NSArray and NSError of objc2-foundation

NETransparentProxyNetworkSettings all?

Enables NSArray, NSObject and NSString of objc2-foundation

NETransparentProxyProvider all?
NETunnelNetworkSettings all?

Enables NSObject and NSString of objc2-foundation

NETunnelProvider all?

Enables NSArray, NSData, NSError and NSString of objc2-foundation

NETunnelProviderManager all?

Enables NSArray, NSError and NSString of objc2-foundation

NETunnelProviderProtocol all?

Enables NSDictionary, NSObject and NSString of objc2-foundation

NETunnelProviderSession all?

Enables NSData, NSDictionary, NSError and NSString of objc2-foundation

NEVPNConnection all?

Enables NSDate, NSDictionary, NSError and NSString of objc2-foundation

NEVPNManager all?

Enables NSArray, NSError and NSString of objc2-foundation

NEVPNProtocol all?

Enables NSData, NSObject and NSString of objc2-foundation

NEVPNProtocolIKEv2 all?

Enables NSObject and NSString of objc2-foundation

NEVPNProtocolIPSec all?

Enables NSData, NSObject and NSString of objc2-foundation

NWBonjourServiceEndpoint all?

Enables NSObject and NSString of objc2-foundation

NWEndpoint all?

Enables NSObject of objc2-foundation

NWHostEndpoint all?

Enables NSObject and NSString of objc2-foundation

NWPath all?
NWTCPConnection all?

Enables NSData and NSError of objc2-foundation

NWTLSParameters all?

Enables NSData, NSSet and NSValue of objc2-foundation

NWUDPSession all?

Enables NSArray, NSData and NSError of objc2-foundation