Cargo Features

[dependencies]
objc2-health-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-core-location", "objc2-uniform-type-identifiers", "HKActivitySummary", "HKAnchoredObjectQuery", "HKAppleWalkingSteadinessClassification", "HKAttachment", "HKAttachmentStore", "HKAudiogramSample", "HKCDADocumentSample", "HKCategorySample", "HKCategoryValues", "HKCharacteristicObjects", "HKCharacteristicValues", "HKClinicalType", "HKContactsLensSpecification", "HKContactsPrescription", "HKCorrelation", "HKCorrelationQuery", "HKCumulativeQuantitySeriesSample", "HKDefines", "HKDeletedObject", "HKDevice", "HKDiscreteQuantitySample", "HKDocumentQuery", "HKDocumentSample", "HKElectrocardiogram", "HKElectrocardiogramQuery", "HKFHIRRelease", "HKFHIRResource", "HKFHIRVersion", "HKGlassesLensSpecification", "HKGlassesPrescription", "HKHealthStore", "HKHeartbeatSeriesBuilder", "HKHeartbeatSeriesQuery", "HKHeartbeatSeriesSample", "HKLensSpecification", "HKLiveWorkoutBuilder", "HKLiveWorkoutDataSource", "HKMetadata", "HKObject", "HKObjectType", "HKObserverQuery", "HKQuantity", "HKQuantityAggregationStyle", "HKQuantitySample", "HKQuantitySeriesSampleBuilder", "HKQuantitySeriesSampleQuery", "HKQuery", "HKQueryAnchor", "HKQueryDescriptor", "HKSample", "HKSampleQuery", "HKSeriesBuilder", "HKSeriesSample", "HKSource", "HKSourceQuery", "HKSourceRevision", "HKStatistics", "HKStatisticsCollectionQuery", "HKStatisticsQuery", "HKTypeIdentifiers", "HKUnit", "HKVerifiableClinicalRecord", "HKVerifiableClinicalRecordQuery", "HKVerifiableClinicalRecordSubject", "HKVisionPrescription", "HKVisionPrism", "HKWorkout", "HKWorkoutActivity", "HKWorkoutBuilder", "HKWorkoutRoute", "HKWorkoutRouteBuilder", "HKWorkoutRouteQuery", "HKWorkoutSession"] }
default = std

The std feature is set by default whenever objc2-health-kit 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 bitflags, optional block2, objc2, optional objc2-core-location, objc2-foundation, and optional objc2-uniform-type-identifiers

alloc std

Enables alloc of optional block2, objc2, optional objc2-core-location, objc2-foundation, and optional objc2-uniform-type-identifiers

all = HKActivitySummary, HKActivitySummaryQuery, HKAnchoredObjectQuery, HKAppleWalkingSteadinessClassification, HKAttachment, HKAttachmentStore, HKAudiogramSample, HKCDADocumentSample, HKCategorySample, HKCategoryValues, HKCharacteristicObjects, HKCharacteristicValues, HKClinicalRecord, HKClinicalType, HKContactsLensSpecification, HKContactsPrescription, HKCorrelation, HKCorrelationQuery, HKCumulativeQuantitySample, HKCumulativeQuantitySeriesSample, HKDefines, HKDeletedObject, HKDevice, HKDiscreteQuantitySample, HKDocumentQuery, HKDocumentSample, HKElectrocardiogram, HKElectrocardiogramQuery, HKFHIRRelease, HKFHIRResource, HKFHIRVersion, HKGlassesLensSpecification, HKGlassesPrescription, HKHealthStore, HKHeartbeatSeriesBuilder, HKHeartbeatSeriesQuery, HKHeartbeatSeriesSample, HKLensSpecification, HKLiveWorkoutBuilder, HKLiveWorkoutDataSource, HKMetadata, HKObject, HKObjectType, HKObserverQuery, HKQuantity, HKQuantityAggregationStyle, HKQuantitySample, HKQuantitySeriesSampleBuilder, HKQuantitySeriesSampleQuery, HKQuery, HKQueryAnchor, HKQueryDescriptor, HKSample, HKSampleQuery, HKSeriesBuilder, HKSeriesSample, HKSource, HKSourceQuery, HKSourceRevision, HKStatistics, HKStatisticsCollectionQuery, HKStatisticsQuery, HKTypeIdentifiers, HKUnit, HKVerifiableClinicalRecord, HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecordSubject, HKVisionPrescription, HKVisionPrism, HKWorkout, HKWorkoutActivity, HKWorkoutBuilder, HKWorkoutConfiguration, HKWorkoutRoute, HKWorkoutRouteBuilder, HKWorkoutRouteQuery, HKWorkoutSession, bitflags, block2, objc2-core-location, objc2-uniform-type-identifiers
bitflags HKQuery? HKStatistics? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation, optional objc2-core-location, and optional objc2-uniform-type-identifiers

Affects HKObserverQuery::HKObserverQueryCompletionHandler

objc2-core-location all?

Enables objc2-core-location

objc2-uniform-type-identifiers all?

Enables objc2-uniform-type-identifiers

HKActivitySummary all?

Enables NSCalendar, NSObject and NSString of objc2-foundation

HKActivitySummaryQuery HKAnchoredObjectQuery all?

Enables NSArray, NSError and NSPredicate of objc2-foundation

HKAppleWalkingSteadinessClassification all?

Enables NSError of objc2-foundation

HKAttachment all?

Enables NSDate, NSDictionary, NSObject, NSString and NSUUID of objc2-foundation, UTType of optional objc2-uniform-type-identifiers

HKAttachmentStore all?

Enables NSArray, NSData, NSDictionary, NSError, NSProgress, NSString and NSURL of objc2-foundation, UTType of optional objc2-uniform-type-identifiers

HKAudiogramSample all?

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

HKCDADocumentSample all?

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

HKCategorySample all?

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

HKCategoryValues all?
HKCharacteristicObjects all?

Enables NSObject of objc2-foundation

HKCharacteristicValues all?
HKClinicalRecord HKClinicalType all?

Enables NSObject and NSString of objc2-foundation

HKContactsLensSpecification all?

Enables NSObject of objc2-foundation

HKContactsPrescription all?

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

HKCorrelation all?

Enables NSDate, NSDictionary, NSObject, NSSet and NSString of objc2-foundation

HKCorrelationQuery all?

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

HKCumulativeQuantitySample HKCumulativeQuantitySeriesSample all?

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

HKDefines all?

Enables NSSet, NSString and NSValue of objc2-foundation

HKDeletedObject all?

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

HKDevice all?

Enables NSObject and NSString of objc2-foundation

HKDiscreteQuantitySample all?

Enables NSDate, NSDateInterval, NSDictionary, NSObject and NSString of objc2-foundation

HKDocumentQuery all?

Enables NSArray, NSError, NSPredicate and NSSortDescriptor of objc2-foundation

HKDocumentSample all?

Enables NSObject of objc2-foundation

HKElectrocardiogram all?

Enables NSObject and NSString of objc2-foundation

HKElectrocardiogramQuery all?

Enables NSDate, NSError and NSObject of objc2-foundation

HKFHIRRelease all?

Enables NSString of objc2-foundation

HKFHIRResource all?

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

HKFHIRVersion all?

Enables NSError, NSObject and NSString of objc2-foundation

HKGlassesLensSpecification all?

Enables NSObject of objc2-foundation

HKGlassesPrescription all?

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

HKHealthStore all?

Enables NSArray, NSCalendar, NSDate, NSDictionary, NSError, NSPredicate, NSSet and NSString of objc2-foundation

HKHeartbeatSeriesBuilder all?

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

HKHeartbeatSeriesQuery all?

Enables NSDate and NSError of objc2-foundation

HKHeartbeatSeriesSample all?

Enables NSObject of objc2-foundation

HKLensSpecification all?
HKLiveWorkoutBuilder all?

Enables NSDate and NSSet of objc2-foundation

HKLiveWorkoutDataSource all?

Enables NSPredicate and NSSet of objc2-foundation

HKMetadata all?

Enables NSString of objc2-foundation

HKObject all?

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

HKObjectType all?

Enables NSDate, NSObject and NSString of objc2-foundation

HKObserverQuery all?

Enables NSArray, NSError, NSPredicate and NSSet of objc2-foundation

HKQuantity all?

Enables NSObjCRuntime and NSObject of objc2-foundation

Affects HKAppleWalkingSteadinessClassification::HKAppleWalkingSteadinessClassificationForQuantity, HKAppleWalkingSteadinessClassification::HKAppleWalkingSteadinessMinimumQuantityForClassification, HKAppleWalkingSteadinessClassification::HKAppleWalkingSteadinessMaximumQuantityForClassification

HKQuantityAggregationStyle all?
HKQuantitySample all?

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

HKQuantitySeriesSampleBuilder all?

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

HKQuantitySeriesSampleQuery all?

Enables NSDate, NSDateInterval, NSError and NSPredicate of objc2-foundation

HKQuery all? = bitflags

Enables NSArray, NSCalendar, NSComparisonPredicate, NSDate, NSDateInterval, NSPredicate, NSSet, NSString, NSUUID and NSValue of objc2-foundation

HKQueryAnchor all?

Enables NSObject of objc2-foundation

HKQueryDescriptor all?

Enables NSObject and NSPredicate of objc2-foundation

HKSample all?

Enables NSDate, NSObject and NSString of objc2-foundation

HKSampleQuery all?

Enables NSArray, NSError, NSPredicate and NSSortDescriptor of objc2-foundation

HKSeriesBuilder all?
HKSeriesSample all?

Enables NSObject of objc2-foundation

HKSource all?

Enables NSObject and NSString of objc2-foundation

HKSourceQuery all?

Enables NSError, NSPredicate and NSSet of objc2-foundation

HKSourceRevision all?

Enables NSObject, NSProcessInfo and NSString of objc2-foundation

HKStatistics all? = bitflags

Enables NSArray, NSDate, NSDateInterval and NSObject of objc2-foundation

HKStatisticsCollectionQuery all?

Enables NSArray, NSCalendar, NSDate, NSError, NSPredicate and NSSet of objc2-foundation

HKStatisticsQuery all?

Enables NSError and NSPredicate of objc2-foundation

HKTypeIdentifiers all?

Enables NSString of objc2-foundation

HKUnit all?

Enables NSEnergyFormatter, NSLengthFormatter, NSMassFormatter, NSObject and NSString of objc2-foundation

HKVerifiableClinicalRecord all?

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

HKVerifiableClinicalRecordQuery all?

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

HKVerifiableClinicalRecordSubject all?

Enables NSCalendar, NSObject and NSString of objc2-foundation

HKVisionPrescription all?

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

HKVisionPrism all?

Enables NSObject of objc2-foundation

HKWorkout all?

Enables NSArray, NSDate, NSDateInterval, NSDictionary, NSObject and NSString of objc2-foundation

HKWorkoutActivity all?

Enables NSArray, NSDate, NSDictionary, NSObject, NSString and NSUUID of objc2-foundation

HKWorkoutBuilder all?

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

HKWorkoutConfiguration HKWorkoutRoute all?

Enables NSObject of objc2-foundation

HKWorkoutRouteBuilder all?

Enables NSArray, NSDictionary, NSError and NSString of objc2-foundation, CLLocation of optional objc2-core-location

HKWorkoutRouteQuery all?

Enables NSArray, NSDateInterval and NSError of objc2-foundation, CLLocation of optional objc2-core-location

HKWorkoutSession all?

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