objc2-metal-kit 0.3.0

Bindings to the MetalKit framework
Documentation
# This file has been automatically generated by `objc2`'s `header-translator`.
# DO NOT EDIT

[package]
name = "objc2-metal-kit"
version.workspace = true
description = "Bindings to the MetalKit framework"
edition.workspace = true
rust-version.workspace = true
keywords = ["cocoa", "apple", "framework", "macos", "ios"]
categories.workspace = true
repository.workspace = true
license.workspace = true

[lints]
workspace = true

[dependencies]
block2 = { path = "../../crates/block2", version = "0.6.0", default-features = false, optional = true, features = ["alloc"] }
objc2 = { path = "../../crates/objc2", version = "0.6.0", default-features = false, features = ["std"] }
objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.3.0", default-features = false, optional = true, features = [
    "CFCGTypes",
    "objc2",
] }
objc2-core-graphics = { path = "../objc2-core-graphics", version = "0.3.0", default-features = false, optional = true, features = [
    "CGColorSpace",
    "CGImage",
    "objc2",
] }
objc2-foundation = { path = "../objc2-foundation", version = "0.3.0", default-features = false, features = ["alloc"] }
objc2-metal = { path = "../objc2-metal", version = "0.3.0", default-features = false }
objc2-model-io = { path = "../objc2-model-io", version = "0.3.0", default-features = false, optional = true, features = [
    "MDLAsset",
    "MDLMesh",
    "MDLMeshBuffer",
    "MDLObject",
    "MDLTexture",
    "MDLVertexDescriptor",
] }
objc2-quartz-core = { path = "../objc2-quartz-core", version = "0.3.0", default-features = false, optional = true, features = [
    "CALayer",
    "CAMetalLayer",
    "objc2-metal",
] }

[target.'cfg(target_os = "macos")'.dependencies]
objc2-app-kit = { path = "../objc2-app-kit", version = "0.3.0", default-features = false, optional = true, features = [
    "NSAccessibilityProtocols",
    "NSAnimation",
    "NSAppearance",
    "NSDragging",
    "NSGraphics",
    "NSResponder",
    "NSUserInterfaceItemIdentification",
    "NSView",
] }

[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
    "aarch64-apple-ios",
    "aarch64-apple-tvos",
    "aarch64-apple-ios-macabi",
    "aarch64-apple-visionos",
]

[features]
default = [
    "std",
    "MTKDefines",
    "MTKModel",
    "MTKTextureLoader",
    "MTKView",
    "block2",
    "objc2-app-kit",
    "objc2-core-foundation",
    "objc2-core-graphics",
    "objc2-model-io",
    "objc2-quartz-core",
]
std = ["alloc"]
alloc = []
block2 = ["dep:block2"]
objc2-app-kit = ["dep:objc2-app-kit"]
objc2-core-foundation = ["dep:objc2-core-foundation"]
objc2-core-graphics = ["dep:objc2-core-graphics"]
objc2-model-io = ["dep:objc2-model-io"]
objc2-quartz-core = ["dep:objc2-quartz-core"]

MTKDefines = []
MTKModel = [
    "objc2-foundation/NSArray",
    "objc2-foundation/NSError",
    "objc2-foundation/NSObject",
    "objc2-foundation/NSString",
    "objc2-metal/MTLAllocation",
    "objc2-metal/MTLBuffer",
    "objc2-metal/MTLDevice",
    "objc2-metal/MTLRenderCommandEncoder",
    "objc2-metal/MTLResource",
    "objc2-metal/MTLStageInputOutputDescriptor",
    "objc2-metal/MTLVertexDescriptor",
]
MTKTextureLoader = [
    "objc2-foundation/NSArray",
    "objc2-foundation/NSBundle",
    "objc2-foundation/NSData",
    "objc2-foundation/NSDictionary",
    "objc2-foundation/NSError",
    "objc2-foundation/NSString",
    "objc2-foundation/NSURL",
    "objc2-metal/MTLAllocation",
    "objc2-metal/MTLDevice",
    "objc2-metal/MTLResource",
    "objc2-metal/MTLTexture",
]
MTKView = [
    "objc2-foundation/NSCoder",
    "objc2-foundation/NSGeometry",
    "objc2-foundation/NSObject",
    "objc2-foundation/objc2-core-foundation",
    "objc2-metal/MTLAllocation",
    "objc2-metal/MTLDevice",
    "objc2-metal/MTLPixelFormat",
    "objc2-metal/MTLRenderPass",
    "objc2-metal/MTLResource",
    "objc2-metal/MTLTexture",
]