Files
another-boids-in-rust/vendor/objc2-metal/Cargo.toml

410 lines
9.5 KiB
TOML

# 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-metal"
version = "0.2.2"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to the Metal 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_metal"
path = "src/lib.rs"
[[example]]
name = "triangle"
path = "examples/triangle.rs"
required-features = [
"objc2-app-kit/NSGraphics",
"objc2-app-kit/NSWindow",
"objc2-app-kit/NSResponder",
"objc2-app-kit/NSApplication",
"objc2-app-kit/NSRunningApplication",
"objc2-app-kit/NSView",
"objc2-foundation/NSError",
"objc2-foundation/NSString",
"objc2-foundation/NSDate",
"objc2-foundation/NSNotification",
"objc2-foundation/NSThread",
"objc2-foundation/NSGeometry",
"MTLAccelerationStructureTypes",
"MTLLibrary",
"MTLRenderPipeline",
"MTLRenderCommandEncoder",
"MTLCommandBuffer",
"MTLCommandEncoder",
"MTLCommandQueue",
"MTLPixelFormat",
"MTLDevice",
"MTLDrawable",
"MTLRenderPass",
"objc2-quartz-core/objc2-metal",
"objc2-metal-kit/MTKView",
"objc2-metal-kit/objc2-app-kit",
"objc2-metal-kit/objc2-quartz-core",
]
[[test]]
name = "runs_with_core_graphics"
path = "tests/runs_with_core_graphics.rs"
[dependencies.bitflags]
version = "2.5.0"
optional = true
default-features = false
[dependencies.block2]
version = "0.5.1"
optional = true
default-features = false
[dependencies.objc2]
version = "0.5.2"
default-features = false
[dependencies.objc2-foundation]
version = "0.2.2"
default-features = false
[dev-dependencies]
[features]
MTLAccelerationStructure = [
"bitflags",
"objc2-foundation/NSArray",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLAccelerationStructureCommandEncoder = [
"bitflags",
"objc2-foundation/NSObject",
]
MTLAccelerationStructureTypes = []
MTLArgument = [
"objc2-foundation/NSArray",
"objc2-foundation/NSString",
]
MTLArgumentEncoder = [
"objc2-foundation/NSRange",
"objc2-foundation/NSString",
]
MTLBinaryArchive = [
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
"objc2-foundation/NSURL",
]
MTLBlitCommandEncoder = [
"bitflags",
"objc2-foundation/NSRange",
]
MTLBlitPass = ["objc2-foundation/NSObject"]
MTLBuffer = [
"objc2-foundation/NSRange",
"objc2-foundation/NSString",
]
MTLCaptureManager = [
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
"objc2-foundation/NSURL",
]
MTLCaptureScope = ["objc2-foundation/NSString"]
MTLCommandBuffer = [
"bitflags",
"objc2-foundation/NSArray",
"objc2-foundation/NSEnumerator",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLCommandEncoder = [
"bitflags",
"objc2-foundation/NSString",
]
MTLCommandQueue = ["objc2-foundation/NSString"]
MTLComputeCommandEncoder = ["objc2-foundation/NSRange"]
MTLComputePass = ["objc2-foundation/NSObject"]
MTLComputePipeline = [
"objc2-foundation/NSArray",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLCounters = [
"objc2-foundation/NSArray",
"objc2-foundation/NSData",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
"objc2-foundation/NSString",
]
MTLDefines = []
MTLDepthStencil = [
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLDevice = [
"bitflags",
"objc2-foundation/NSArray",
"objc2-foundation/NSBundle",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
"objc2-foundation/NSURL",
]
MTLDrawable = []
MTLDynamicLibrary = [
"objc2-foundation/NSError",
"objc2-foundation/NSString",
"objc2-foundation/NSURL",
]
MTLEvent = [
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLFence = ["objc2-foundation/NSString"]
MTLFunctionConstantValues = [
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
"objc2-foundation/NSString",
]
MTLFunctionDescriptor = [
"bitflags",
"objc2-foundation/NSArray",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLFunctionHandle = ["objc2-foundation/NSString"]
MTLFunctionLog = [
"objc2-foundation/NSEnumerator",
"objc2-foundation/NSString",
"objc2-foundation/NSURL",
]
MTLFunctionStitching = [
"objc2-foundation/NSArray",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLHeap = [
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLIOCommandBuffer = [
"objc2-foundation/NSError",
"objc2-foundation/NSString",
]
MTLIOCommandQueue = [
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLIOCompressor = []
MTLIndirectCommandBuffer = [
"bitflags",
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
]
MTLIndirectCommandEncoder = []
MTLIntersectionFunctionTable = [
"bitflags",
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
]
MTLLibrary = [
"objc2-foundation/NSArray",
"objc2-foundation/NSDictionary",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLLinkedFunctions = [
"objc2-foundation/NSArray",
"objc2-foundation/NSDictionary",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLParallelRenderCommandEncoder = []
MTLPipeline = ["objc2-foundation/NSObject"]
MTLPixelFormat = []
MTLRasterizationRate = [
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
"objc2-foundation/NSValue",
]
MTLRenderCommandEncoder = [
"bitflags",
"objc2-foundation/NSRange",
]
MTLRenderPass = [
"bitflags",
"objc2-foundation/NSObject",
]
MTLRenderPipeline = [
"bitflags",
"objc2-foundation/NSArray",
"objc2-foundation/NSError",
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLResource = [
"bitflags",
"objc2-foundation/NSString",
]
MTLResourceStateCommandEncoder = []
MTLResourceStatePass = ["objc2-foundation/NSObject"]
MTLSampler = [
"objc2-foundation/NSObject",
"objc2-foundation/NSString",
]
MTLStageInputOutputDescriptor = ["objc2-foundation/NSObject"]
MTLTexture = [
"bitflags",
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
"objc2-foundation/NSString",
]
MTLTypes = []
MTLVertexDescriptor = ["objc2-foundation/NSObject"]
MTLVisibleFunctionTable = [
"objc2-foundation/NSObject",
"objc2-foundation/NSRange",
]
all = [
"MTLAccelerationStructure",
"MTLAccelerationStructureCommandEncoder",
"MTLAccelerationStructureTypes",
"MTLArgument",
"MTLArgumentEncoder",
"MTLBinaryArchive",
"MTLBlitCommandEncoder",
"MTLBlitPass",
"MTLBuffer",
"MTLCaptureManager",
"MTLCaptureScope",
"MTLCommandBuffer",
"MTLCommandEncoder",
"MTLCommandQueue",
"MTLComputeCommandEncoder",
"MTLComputePass",
"MTLComputePipeline",
"MTLCounters",
"MTLDefines",
"MTLDepthStencil",
"MTLDevice",
"MTLDrawable",
"MTLDynamicLibrary",
"MTLEvent",
"MTLFence",
"MTLFunctionConstantValues",
"MTLFunctionDescriptor",
"MTLFunctionHandle",
"MTLFunctionLog",
"MTLFunctionStitching",
"MTLHeap",
"MTLIOCommandBuffer",
"MTLIOCommandQueue",
"MTLIOCompressor",
"MTLIndirectCommandBuffer",
"MTLIndirectCommandEncoder",
"MTLIntersectionFunctionTable",
"MTLLibrary",
"MTLLinkedFunctions",
"MTLParallelRenderCommandEncoder",
"MTLPipeline",
"MTLPixelFormat",
"MTLRasterizationRate",
"MTLRenderCommandEncoder",
"MTLRenderPass",
"MTLRenderPipeline",
"MTLResource",
"MTLResourceStateCommandEncoder",
"MTLResourceStatePass",
"MTLSampler",
"MTLStageInputOutputDescriptor",
"MTLTexture",
"MTLTypes",
"MTLVertexDescriptor",
"MTLVisibleFunctionTable",
"bitflags",
"block2",
]
alloc = [
"block2?/alloc",
"objc2/alloc",
"objc2-foundation/alloc",
]
bitflags = [
"dep:bitflags",
"objc2-foundation/bitflags",
]
block2 = [
"dep:block2",
"objc2-foundation/block2",
]
default = ["std"]
std = [
"alloc",
"bitflags?/std",
"block2?/std",
"objc2/std",
"objc2-foundation/std",
]
unstable-private = [
"objc2-foundation/NSString",
"objc2-foundation/NSError",
]
[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"