Cargo Features

[dependencies]
objc2-map-kit = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-app-kit", "objc2-contacts", "objc2-core-foundation", "objc2-core-graphics", "objc2-core-location", "MKAddressFilter", "MKAnnotation", "MKAnnotationView", "MKCircleRenderer", "MKClusterAnnotation", "MKCompassButton", "MKDirections", "MKDirectionsRequest", "MKDirectionsResponse", "MKDirectionsTypes", "MKDistanceFormatter", "MKFoundation", "MKGeoJSONSerialization", "MKGeodesicPolyline", "MKGeometry", "MKGradientPolylineRenderer", "MKHybridMapConfiguration", "MKImageryMapConfiguration", "MKLocalPointsOfInterestRequest", "MKLocalSearch", "MKLocalSearchCompleter", "MKLocalSearchRequest", "MKLocalSearchResponse", "MKLookAroundScene", "MKLookAroundSceneRequest", "MKLookAroundSnapshot", "MKLookAroundSnapshotOptions", "MKLookAroundSnapshotter", "MKLookAroundViewController", "MKMapCamera", "MKMapCameraBoundary", "MKMapConfiguration", "MKMapItem", "MKMapItemAnnotation", "MKMapItemDetailViewController", "MKMapItemIdentifier", "MKMapItemRequest", "MKMapSnapshot", "MKMapSnapshotOptions", "MKMapSnapshotter", "MKMapView", "MKMarkerAnnotationView", "MKMultiPoint", "MKMultiPolygon", "MKMultiPolygonRenderer", "MKMultiPolyline", "MKOverlay", "MKOverlayPathRenderer", "MKOverlayRenderer", "MKPinAnnotationView", "MKPitchControl", "MKPlacemark", "MKPointOfInterestCategory", "MKPointOfInterestFilter", "MKPolygon", "MKPolyline", "MKSelectionAccessory", "MKShape", "MKStandardMapConfiguration", "MKTileOverlay", "MKTileOverlayRenderer", "MKUserLocation", "MKUserLocationView", "MKZoomControl", "NSUserActivity_MKMapItem"] }
default = MKAddressFilter, MKAnnotation, MKAnnotationView, MKCircle, MKCircleRenderer, MKClusterAnnotation, MKCompassButton, MKDirections, MKDirectionsRequest, MKDirectionsResponse, MKDirectionsTypes, MKDistanceFormatter, MKFoundation, MKGeoJSONSerialization, MKGeodesicPolyline, MKGeometry, MKGradientPolylineRenderer, MKHybridMapConfiguration, MKImageryMapConfiguration, MKLocalPointsOfInterestRequest, MKLocalSearch, MKLocalSearchCompleter, MKLocalSearchRequest, MKLocalSearchResponse, MKLookAroundScene, MKLookAroundSceneRequest, MKLookAroundSnapshot, MKLookAroundSnapshotOptions, MKLookAroundSnapshotter, MKLookAroundViewController, MKMapCamera, MKMapCameraBoundary, MKMapCameraZoomRange, MKMapConfiguration, MKMapItem, MKMapItemAnnotation, MKMapItemDetailViewController, MKMapItemIdentifier, MKMapItemRequest, MKMapSnapshot, MKMapSnapshotOptions, MKMapSnapshotter, MKMapView, MKMarkerAnnotationView, MKMultiPoint, MKMultiPolygon, MKMultiPolygonRenderer, MKMultiPolyline, MKMultiPolylineRenderer, MKOverlay, MKOverlayPathRenderer, MKOverlayRenderer, MKPinAnnotationView, MKPitchControl, MKPlacemark, MKPointAnnotation, MKPointOfInterestCategory, MKPointOfInterestFilter, MKPolygon, MKPolygonRenderer, MKPolyline, MKPolylineRenderer, MKSelectionAccessory, MKShape, MKStandardMapConfiguration, MKTileOverlay, MKTileOverlayRenderer, MKTypes, MKUserLocation, MKUserLocationView, MKZoomControl, NSUserActivity_MKMapItem, bitflags, block2, objc2-app-kit, objc2-contacts, objc2-core-foundation, objc2-core-graphics, objc2-core-location, std

These default features are set whenever objc2-map-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default MKAddressFilter MKDirectionsTypes MKLocalSearchCompleter MKLocalSearchRequest

Enables bitflags

block2 default

Enables block2

Affects MKDirections::MKDirectionsHandler, MKDirections::MKETAHandler, MKLocalSearch::MKLocalSearchCompletionHandler, MKMapSnapshotter::MKMapSnapshotCompletionHandler

objc2-app-kit default

Enables objc2-app-kit

objc2-contacts default

Enables objc2-contacts

objc2-core-foundation default

Enables objc2-core-foundation

Affects MKGeometry::MKZoomScale, MKGeometry::MKMapRectDivide, MKTileOverlay::MKTileOverlayPath, MKOverlayRenderer::MKRoadWidthAtZoomScale

objc2-core-graphics default

Enables objc2-core-graphics

objc2-core-location default

Enables objc2-core-location

Affects MKGeometry::MKCoordinateSpan, MKGeometry::MKCoordinateRegion, MKGeometry::MKCoordinateRegionMakeWithDistance, MKGeometry::MKMapPointForCoordinate, MKGeometry::MKCoordinateForMapPoint, MKGeometry::MKMetersPerMapPointAtLatitude, MKGeometry::MKMapPointsPerMeterAtLatitude, MKGeometry::MKMetersBetweenMapPoints, MKGeometry::MKCoordinateRegionForMapRect, MKLocalPointsOfInterestRequest::MKPointsOfInterestRequestMaxRadius, MKMapCameraZoomRange::MKMapCameraZoomDefault

MKAddressFilter default = bitflags

Enables NSObject of objc2-foundation

MKAnnotation default

Enables NSString of objc2-foundation

MKAnnotationView default

Enables NSCoder, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

MKCircle MKCircleRenderer default
MKClusterAnnotation default

Enables NSArray and NSString of objc2-foundation

MKCompassButton default

Enables NSCoder, NSGeometry, NSObject and objc2-core-foundation of objc2-foundation

MKDirections default

Enables NSError of objc2-foundation

MKDirectionsRequest default

Enables NSDate and NSURL of objc2-foundation

MKDirectionsResponse default

Enables NSArray, NSDate and NSString of objc2-foundation

Affects MKDirections::MKDirectionsHandler, MKDirections::MKETAHandler

MKDirectionsTypes default = bitflags
MKDistanceFormatter default

Enables NSFormatter, NSLocale, NSObject and NSString of objc2-foundation

MKFoundation default
MKGeoJSONSerialization default

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

MKGeodesicPolyline default
MKGeometry default

Enables NSValue of objc2-foundation

Affects MKOverlayRenderer::MKRoadWidthAtZoomScale

MKGradientPolylineRenderer default

Enables NSArray and NSValue of objc2-foundation

MKHybridMapConfiguration default

Enables NSObject of objc2-foundation

MKImageryMapConfiguration default

Enables NSObject of objc2-foundation

MKLocalPointsOfInterestRequest default

Enables NSObject of objc2-foundation

MKLocalSearch default

Enables NSError of objc2-foundation

MKLocalSearchCompleter default = bitflags

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

MKLocalSearchRequest default = bitflags

Enables NSObject and NSString of objc2-foundation

MKLocalSearchResponse default

Enables NSArray of objc2-foundation

Affects MKLocalSearch::MKLocalSearchCompletionHandler

MKLookAroundScene default

Enables NSObject of objc2-foundation

MKLookAroundSceneRequest default

Enables NSError of objc2-foundation

MKLookAroundSnapshot default
MKLookAroundSnapshotOptions default
MKLookAroundSnapshotter default

Enables NSError of objc2-foundation

MKLookAroundViewController default

Enables NSBundle, NSCoder, NSObject and NSString of objc2-foundation

MKMapCamera default

Enables NSObject of objc2-foundation

MKMapCameraBoundary default

Enables NSCoder and NSObject of objc2-foundation

MKMapCameraZoomRange MKMapConfiguration default

Enables NSObject of objc2-foundation

MKMapItem default

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

MKMapItemAnnotation default
MKMapItemDetailViewController default

Enables NSBundle, NSCoder and NSObject of objc2-foundation

MKMapItemIdentifier default

Enables NSObject and NSString of objc2-foundation

MKMapItemRequest default

Enables NSError of objc2-foundation

MKMapSnapshot default

Enables NSGeometry and objc2-core-foundation of objc2-foundation

Affects MKMapSnapshotter::MKMapSnapshotCompletionHandler

MKMapSnapshotOptions default

Enables NSGeometry, NSObject and objc2-core-foundation of objc2-foundation

MKMapSnapshotter default

Enables NSError of objc2-foundation

MKMapView default

Enables NSArray, NSCoder, NSError, NSGeometry, NSObject, NSSet, NSString and objc2-core-foundation of objc2-foundation

MKMarkerAnnotationView default

Enables NSCoder, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

MKMultiPoint default

Enables NSArray, NSIndexSet, NSRange and NSValue of objc2-foundation

MKMultiPolygon default

Enables NSArray of objc2-foundation

MKMultiPolygonRenderer default
MKMultiPolyline default

Enables NSArray of objc2-foundation

MKMultiPolylineRenderer MKOverlay default
MKOverlayPathRenderer default

Enables NSArray and NSValue of objc2-foundation

MKOverlayRenderer default
MKPinAnnotationView default

Enables NSCoder, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

MKPitchControl default

Enables NSCoder, NSGeometry, NSObject and objc2-core-foundation of objc2-foundation

MKPlacemark default

Enables NSDictionary, NSObject and NSString of objc2-foundation

MKPointAnnotation MKPointOfInterestCategory default

Enables NSString of objc2-foundation

MKPointOfInterestFilter default

Enables NSArray, NSObject and NSString of objc2-foundation

MKPolygon default

Enables NSArray of objc2-foundation

MKPolygonRenderer MKPolyline default
MKPolylineRenderer MKSelectionAccessory default
MKShape default

Enables NSString of objc2-foundation

MKStandardMapConfiguration default

Enables NSObject of objc2-foundation

MKTileOverlay default

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

MKTileOverlayRenderer default
MKTypes MKUserLocation default

Enables NSString of objc2-foundation

MKUserLocationView default

Enables NSCoder, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

MKZoomControl default

Enables NSCoder, NSGeometry, NSObject and objc2-core-foundation of objc2-foundation

NSUserActivity_MKMapItem default

Enables NSUserActivity of objc2-foundation