Cargo Features

[dependencies]
objc2-nearby-interaction = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "NIAlgorithmConvergenceStatusReason", "NIConfiguration", "NIDeviceCapability", "NIError", "NIExport", "NINearbyObject", "NISession"] }
default = std

The std feature is set by default whenever objc2-nearby-interaction 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 objc2 and objc2-foundation

alloc std

Enables alloc of objc2 and objc2-foundation

all = NIAlgorithmConvergenceStatusReason, NIConfiguration, NIDeviceCapability, NIError, NIExport, NINearbyObject, NISession
NIAlgorithmConvergenceStatusReason all?

Enables NSString of objc2-foundation

NIConfiguration all?

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

NIDeviceCapability all?
NIError all?

Enables NSError and NSString of objc2-foundation

NIExport all?
NINearbyObject all?

Enables NSObject of objc2-foundation

NISession all?

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