# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "objc2-vision" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to the Vision framework" readme = "README.md" keywords = [ "cocoa", "apple", "framework", "macos", "ios", ] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] license = "MIT" repository = "https://github.com/madsmtm/objc2" [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["all"] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-tvos", "aarch64-apple-ios-macabi", ] [lib] name = "objc2_vision" path = "src/lib.rs" [dependencies.block2] version = "0.5.1" optional = true default-features = false [dependencies.objc2] version = "0.5.2" default-features = false [dependencies.objc2-core-image] version = "0.2.2" optional = true default-features = false [dependencies.objc2-core-ml] version = "0.2.2" optional = true default-features = false [dependencies.objc2-foundation] version = "0.2.2" default-features = false [features] VNClassifyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNCoreMLRequest = [ "objc2-core-ml?/MLFeatureProvider", "objc2-core-ml?/MLModel", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDefines = [] VNDetectAnimalBodyPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectBarcodesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectContoursRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSValue", ] VNDetectDocumentSegmentationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceCaptureQualityRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceLandmarksRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectHorizonRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectHumanBodyPose3DRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanBodyPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanHandPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectTextRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectTrajectoriesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectedPoint = [ "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNError = ["objc2-foundation/NSString"] VNFaceLandmarks = [ "objc2-foundation/NSArray", "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", "objc2-foundation/NSValue", ] VNFaceObservationAccepting = ["objc2-foundation/NSArray"] VNGenerateAttentionBasedSaliencyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateForegroundInstanceMaskRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateImageFeaturePrintRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateObjectnessBasedSaliencyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateOpticalFlowRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNGeneratePersonInstanceMaskRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGeneratePersonSegmentationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGeometry = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexPath", "objc2-foundation/NSObject", ] VNGeometryUtils = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", ] VNHumanBodyRecognizedPoint3D = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNImageRegistrationRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNObservation = [ "objc2-core-image?/CIBarcodeDescriptor", "objc2-core-ml?/MLFeatureValue", "objc2-core-ml?/MLMultiArray", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexPath", "objc2-foundation/NSIndexSet", "objc2-foundation/NSObject", "objc2-foundation/NSRange", "objc2-foundation/NSString", "objc2-foundation/NSUUID", "objc2-foundation/NSValue", ] VNRecognizeAnimalsRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRecognizeTextRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRecognizedPoint3D = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRequest = [ "objc2-core-ml?/MLComputeDeviceProtocol", "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexSet", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRequestHandler = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNRequestRevisionProviding = [] VNStatefulRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTargetedImageRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNTrackHomographicImageRegistrationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackObjectRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackOpticalFlowRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackRectangleRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackTranslationalImageRegistrationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackingRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTypes = ["objc2-foundation/NSString"] VNUtils = ["objc2-foundation/NSGeometry"] VNVideoProcessor = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] all = [ "VNClassifyImageRequest", "VNCoreMLRequest", "VNDefines", "VNDetectAnimalBodyPoseRequest", "VNDetectBarcodesRequest", "VNDetectContoursRequest", "VNDetectDocumentSegmentationRequest", "VNDetectFaceCaptureQualityRequest", "VNDetectFaceLandmarksRequest", "VNDetectFaceRectanglesRequest", "VNDetectHorizonRequest", "VNDetectHumanBodyPose3DRequest", "VNDetectHumanBodyPoseRequest", "VNDetectHumanHandPoseRequest", "VNDetectHumanRectanglesRequest", "VNDetectRectanglesRequest", "VNDetectTextRectanglesRequest", "VNDetectTrajectoriesRequest", "VNDetectedPoint", "VNError", "VNFaceLandmarks", "VNFaceObservationAccepting", "VNGenerateAttentionBasedSaliencyImageRequest", "VNGenerateForegroundInstanceMaskRequest", "VNGenerateImageFeaturePrintRequest", "VNGenerateObjectnessBasedSaliencyImageRequest", "VNGenerateOpticalFlowRequest", "VNGeneratePersonInstanceMaskRequest", "VNGeneratePersonSegmentationRequest", "VNGeometry", "VNGeometryUtils", "VNHumanBodyRecognizedPoint3D", "VNImageRegistrationRequest", "VNObservation", "VNRecognizeAnimalsRequest", "VNRecognizeTextRequest", "VNRecognizedPoint3D", "VNRequest", "VNRequestHandler", "VNRequestRevisionProviding", "VNStatefulRequest", "VNTargetedImageRequest", "VNTrackHomographicImageRegistrationRequest", "VNTrackObjectRequest", "VNTrackOpticalFlowRequest", "VNTrackRectangleRequest", "VNTrackTranslationalImageRegistrationRequest", "VNTrackingRequest", "VNTypes", "VNUtils", "VNVideoProcessor", "block2", "objc2-core-image", "objc2-core-ml", ] alloc = [ "block2?/alloc", "objc2/alloc", "objc2-core-image?/alloc", "objc2-core-ml?/alloc", "objc2-foundation/alloc", ] block2 = [ "dep:block2", "objc2-core-image?/block2", "objc2-core-ml?/block2", "objc2-foundation/block2", ] default = ["std"] objc2-core-image = ["dep:objc2-core-image"] objc2-core-ml = ["dep:objc2-core-ml"] std = [ "alloc", "block2?/std", "objc2/std", "objc2-core-image?/std", "objc2-core-ml?/std", "objc2-foundation/std", ] [lints.clippy] cargo = "warn" ptr_as_ptr = "warn" [lints.rust] elided_lifetimes_in_paths = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" non_ascii_idents = "deny" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "deny"