Cargo Features
[dependencies]
objc2-core-motion = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-core-location", "CMAbsoluteAltitude", "CMAccelerometer", "CMAltimeter", "CMAltitude", "CMAmbientPressure", "CMAttitude", "CMAvailability", "CMBatchedSensorManager", "CMDeviceMotion", "CMError", "CMErrorDomain", "CMFallDetectionEvent", "CMFallDetectionManager", "CMGyro", "CMHeadphoneMotionManager", "CMHeadphoneMotionManagerDelegate", "CMHighFrequencyHeartRateData", "CMLogItem", "CMMagnetometer", "CMMotionActivity", "CMMotionActivityManager", "CMMotionManager", "CMMovementDisorderManager", "CMOdometer", "CMPedometer", "CMRecordedPressureData", "CMRotationRateData", "CMSensorRecorder", "CMStepCounter", "CMWaterSubmersionData", "CMWaterSubmersionManager"] }
- default = CMAbsoluteAltitude, CMAccelerometer, CMAltimeter, CMAltitude, CMAmbientPressure, CMAttitude, CMAuthorization, CMAvailability, CMBatchedSensorManager, CMDeviceMotion, CMError, CMErrorDomain, CMFallDetectionEvent, CMFallDetectionManager, CMGyro, CMHeadphoneActivityManager, CMHeadphoneMotionManager, CMHeadphoneMotionManagerDelegate, CMHighFrequencyHeartRateData, CMLogItem, CMMagnetometer, CMMotionActivity, CMMotionActivityManager, CMMotionManager, CMMovementDisorderManager, CMOdometer, CMPedometer, CMRecordedAccelerometerData, CMRecordedPressureData, CMRotationRateData, CMSensorRecorder, CMStepCounter, CMWaterSubmersionData, CMWaterSubmersionManager, bitflags, block2, objc2-core-location, std
-
These default features are set whenever
objc2-core-motion
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default CMAttitude
-
Enables bitflags
- block2 default
-
Enables block2
Affects
CMHeadphoneActivityManager::CMHeadphoneActivityStatusHandler
,CMMovementDisorderManager::CMDyskineticSymptomResultHandler
,CMMovementDisorderManager::CMTremorResultHandler
,CMPedometer::CMPedometerHandler
,CMPedometer::CMPedometerEventHandler
,CMStepCounter::CMStepQueryHandler
,CMStepCounter::CMStepUpdateHandler
,CMAltimeter::CMAltitudeHandler
,CMAltimeter::CMAbsoluteAltitudeHandler
,CMHeadphoneActivityManager::CMHeadphoneActivityHandler
,CMHeadphoneMotionManager::CMHeadphoneDeviceMotionHandler
,CMMotionActivityManager::CMMotionActivityHandler
,CMMotionActivityManager::CMMotionActivityQueryHandler
,CMMotionManager::CMAccelerometerHandler
,CMMotionManager::CMGyroHandler
,CMMotionManager::CMDeviceMotionHandler
,CMMotionManager::CMMagnetometerHandler
… - objc2-core-location default
-
Enables objc2-core-location
- CMAbsoluteAltitude default
-
Enables NSObject of objc2-foundation
Affects
CMAltimeter::CMAbsoluteAltitudeHandler
… - CMAccelerometer default
-
Enables NSObject of objc2-foundation
Affects
CMMotionManager::CMAccelerometerHandler
… - CMAltimeter default
-
Enables NSError and NSOperation of objc2-foundation
- CMAltitude default
-
Enables NSObject and NSValue of objc2-foundation
Affects
CMAltimeter::CMAltitudeHandler
… - CMAmbientPressure default
-
Enables NSMeasurement, NSObject and NSUnit of objc2-foundation
- CMAttitude default = bitflags
-
Enables NSObject of objc2-foundation
- CMAuthorization CMAvailability default
- CMBatchedSensorManager default
-
Enables NSArray and NSError of objc2-foundation
- CMDeviceMotion default
-
Enables NSObject of objc2-foundation
Affects
CMHeadphoneMotionManager::CMHeadphoneDeviceMotionHandler
,CMMotionManager::CMDeviceMotionHandler
… - CMError default
- CMErrorDomain default
-
Enables NSString of objc2-foundation
- CMFallDetectionEvent default
-
Enables NSDate of objc2-foundation
- CMFallDetectionManager default
- CMGyro default
-
Enables NSObject of objc2-foundation
Affects
CMMotionManager::CMGyroHandler
… - CMHeadphoneActivityManager CMHeadphoneMotionManager default
-
Enables NSError and NSOperation of objc2-foundation
- CMHeadphoneMotionManagerDelegate default
- CMHighFrequencyHeartRateData default
-
Enables NSDate and NSObject of objc2-foundation
- CMLogItem default
-
Enables NSDate and NSObject of objc2-foundation
Affects
CMAltimeter::CMAltitudeHandler
,CMAltimeter::CMAbsoluteAltitudeHandler
,CMHeadphoneActivityManager::CMHeadphoneActivityHandler
,CMHeadphoneMotionManager::CMHeadphoneDeviceMotionHandler
,CMMotionActivityManager::CMMotionActivityHandler
,CMMotionActivityManager::CMMotionActivityQueryHandler
,CMMotionManager::CMAccelerometerHandler
,CMMotionManager::CMGyroHandler
,CMMotionManager::CMDeviceMotionHandler
,CMMotionManager::CMMagnetometerHandler
… - CMMagnetometer default
-
Enables NSObject of objc2-foundation
Affects
CMDeviceMotion::CMCalibratedMagneticField
,CMMotionManager::CMMagnetometerHandler
… - CMMotionActivity default
-
Enables NSDate and NSObject of objc2-foundation
Affects
CMHeadphoneActivityManager::CMHeadphoneActivityHandler
,CMMotionActivityManager::CMMotionActivityHandler
,CMMotionActivityManager::CMMotionActivityQueryHandler
… - CMMotionActivityManager default
-
Enables NSArray, NSDate, NSError and NSOperation of objc2-foundation
- CMMotionManager default
-
Enables NSDate, NSError and NSOperation of objc2-foundation
- CMMovementDisorderManager default
-
Enables NSArray, NSDate, NSError, NSObject and NSString of objc2-foundation
- CMOdometer default
-
Enables NSDate, NSObject and NSValue of objc2-foundation
- CMPedometer default
-
Enables NSDate, NSError, NSObject and NSValue of objc2-foundation
- CMRecordedAccelerometerData CMRecordedPressureData default
-
Enables NSDate and NSObject of objc2-foundation
- CMRotationRateData default
-
Enables NSDate and NSObject of objc2-foundation
- CMSensorRecorder default
-
Enables NSDate and NSEnumerator of objc2-foundation
- CMStepCounter default
-
Enables NSDate, NSError and NSOperation of objc2-foundation
- CMWaterSubmersionData default
-
Enables NSDate, NSMeasurement, NSObject and NSUnit of objc2-foundation
- CMWaterSubmersionManager default
-
Enables NSError, NSMeasurement and NSUnit of objc2-foundation