[package]
name = "objc2-ar-kit"
version.workspace = true
description = "Bindings to the ARKit framework"
edition.workspace = true
rust-version.workspace = true
keywords = ["cocoa", "apple", "framework", "ios"]
categories.workspace = true
repository.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
bitflags = { workspace = true, optional = true, features = ["std"] }
block2 = { workspace = true, optional = true, features = ["alloc"] }
dispatch2 = { workspace = true, optional = true, features = ["alloc"] }
objc2 = { workspace = true, optional = true, features = ["std"] }
objc2-av-foundation = { workspace = true, optional = true, features = [
"AVCaptureDevice",
"AVCapturePhotoOutput",
"AVDepthData",
] }
objc2-core-foundation = { workspace = true, optional = true, features = ["CFCGTypes"] }
objc2-core-graphics = { workspace = true, optional = true, features = ["CGImage"] }
objc2-core-location = { workspace = true, optional = true, features = ["CLLocation"] }
objc2-core-media = { workspace = true, optional = true, features = ["CMSampleBuffer"] }
objc2-core-video = { workspace = true, optional = true, features = [
"CVBuffer",
"CVImageBuffer",
"CVPixelBuffer",
] }
objc2-foundation = { workspace = true, optional = true, features = [
"NSArray",
"NSBundle",
"NSCoder",
"NSData",
"NSDate",
"NSDictionary",
"NSError",
"NSObject",
"NSSet",
"NSString",
"NSURL",
"NSUUID",
"NSValue",
"alloc",
] }
objc2-image-io = { workspace = true, optional = true, features = ["CGImageProperties"] }
objc2-metal = { workspace = true, optional = true, features = [
"MTLAllocation",
"MTLBuffer",
"MTLCommandBuffer",
"MTLDevice",
"MTLResource",
"MTLTexture",
"MTLVertexDescriptor",
] }
objc2-quartz-core = { workspace = true, optional = true, features = ["CALayer"] }
objc2-scene-kit = { workspace = true, optional = true, features = [
"SCNAnimation",
"SCNBoundingVolume",
"SCNGeometry",
"SCNNode",
"SCNSceneRenderer",
"SCNShadable",
] }
objc2-sprite-kit = { workspace = true, optional = true, features = ["SKView"] }
objc2-ui-kit = { workspace = true, optional = true, features = [
"UIAppearance",
"UIDynamicBehavior",
"UIFocus",
"UIImage",
"UIOrientation",
"UIResponder",
"UITraitCollection",
"UIView",
] }
objc2-vision = { workspace = true, optional = true, features = ["VNTypes"] }
[package.metadata.docs.rs]
default-target = "aarch64-apple-ios"
rustc-args = ["--cfg", "docsrs"]
targets = [
"aarch64-apple-ios",
"x86_64-apple-ios",
"aarch64-apple-ios-macabi",
"aarch64-apple-visionos",
]
[features]
default = [
"std",
"ARAnchor",
"ARAppClipCodeAnchor",
"ARBody2D",
"ARBodyAnchor",
"ARCamera",
"ARCoachingOverlayView",
"ARCollaborationData",
"ARConfiguration",
"ARDepthData",
"AREnvironmentProbeAnchor",
"ARError",
"ARFaceAnchor",
"ARFaceGeometry",
"ARFrame",
"ARGeoAnchor",
"ARGeoTrackingTypes",
"ARHitTestResult",
"ARImageAnchor",
"ARKitCore",
"ARKitFoundation",
"ARKitUI",
"ARLightEstimate",
"ARMatteGenerator",
"ARMeshAnchor",
"ARMeshGeometry",
"ARObjectAnchor",
"ARParticipantAnchor",
"ARPlaneAnchor",
"ARPlaneDetectionTypes",
"ARPlaneGeometry",
"ARPointCloud",
"ARRaycastQuery",
"ARRaycastResult",
"ARReferenceImage",
"ARReferenceObject",
"ARSCNFaceGeometry",
"ARSCNPlaneGeometry",
"ARSCNView",
"ARSKView",
"ARSession",
"ARSkeleton",
"ARSkeletonDefinition",
"ARTrackedRaycast",
"ARTrackingStatusTypes",
"ARVideoFormat",
"ARWorldMap",
"bitflags",
"block2",
"dispatch2",
"objc2",
"objc2-av-foundation",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-core-location",
"objc2-core-media",
"objc2-core-video",
"objc2-foundation",
"objc2-image-io",
"objc2-metal",
"objc2-quartz-core",
"objc2-scene-kit",
"objc2-sprite-kit",
"objc2-ui-kit",
"objc2-vision",
]
std = ["alloc"]
alloc = []
bitflags = ["dep:bitflags"]
block2 = ["dep:block2"]
dispatch2 = ["dep:dispatch2"]
objc2 = [
"dep:objc2",
"dispatch2?/objc2",
"objc2-core-foundation?/objc2",
"objc2-core-graphics?/objc2",
"objc2-core-media?/objc2",
"objc2-core-video?/objc2",
"objc2-image-io?/objc2",
]
objc2-av-foundation = ["dep:objc2-av-foundation"]
objc2-core-foundation = ["dep:objc2-core-foundation"]
objc2-core-graphics = ["dep:objc2-core-graphics"]
objc2-core-location = ["dep:objc2-core-location"]
objc2-core-media = ["dep:objc2-core-media"]
objc2-core-video = ["dep:objc2-core-video"]
objc2-foundation = ["dep:objc2-foundation"]
objc2-image-io = ["dep:objc2-image-io"]
objc2-metal = ["dep:objc2-metal"]
objc2-quartz-core = ["dep:objc2-quartz-core"]
objc2-scene-kit = ["dep:objc2-scene-kit"]
objc2-sprite-kit = ["dep:objc2-sprite-kit"]
objc2-ui-kit = ["dep:objc2-ui-kit"]
objc2-vision = ["dep:objc2-vision"]
unstable-darwin-objc = []
ARAnchor = []
ARAppClipCodeAnchor = []
ARBody2D = []
ARBodyAnchor = []
ARCamera = []
ARCoachingOverlayView = []
ARCollaborationData = []
ARConfiguration = ["bitflags"]
ARDepthData = []
AREnvironmentProbeAnchor = []
ARError = []
ARFaceAnchor = []
ARFaceGeometry = []
ARFrame = []
ARGeoAnchor = []
ARGeoTrackingTypes = []
ARHitTestResult = ["bitflags"]
ARImageAnchor = []
ARKitCore = []
ARKitFoundation = []
ARKitUI = []
ARLightEstimate = []
ARMatteGenerator = []
ARMeshAnchor = []
ARMeshGeometry = []
ARObjectAnchor = []
ARParticipantAnchor = []
ARPlaneAnchor = []
ARPlaneDetectionTypes = ["bitflags"]
ARPlaneGeometry = []
ARPointCloud = []
ARRaycastQuery = []
ARRaycastResult = []
ARReferenceImage = []
ARReferenceObject = []
ARSCNFaceGeometry = []
ARSCNPlaneGeometry = []
ARSCNView = []
ARSKView = []
ARSession = ["bitflags"]
ARSkeleton = []
ARSkeletonDefinition = []
ARTrackedRaycast = []
ARTrackingStatusTypes = []
ARVideoFormat = []
ARWorldMap = []