# 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" name = "metal" version = "0.30.0" authors = ["gfx-rs developers"] build = false exclude = [ "guide/**/*", "examples/texture/**/*", "tests/**/*", "Cargo.lock", "target/**/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for Metal" homepage = "https://github.com/gfx-rs/metal-rs" documentation = "https://docs.rs/crate/metal" readme = "README.md" keywords = [ "metal", "graphics", "bindings", ] license = "MIT OR Apache-2.0" repository = "https://github.com/gfx-rs/metal-rs" [package.metadata.docs.rs] targets = [ "aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "x86_64-apple-darwin", "x86_64-apple-ios", ] [lib] name = "metal" path = "src/lib.rs" [[example]] name = "argument-buffer" path = "examples/argument-buffer/main.rs" [[example]] name = "bind" path = "examples/bind/main.rs" [[example]] name = "bindless" path = "examples/bindless/main.rs" [[example]] name = "caps" path = "examples/caps/main.rs" [[example]] name = "circle" path = "examples/circle/main.rs" [[example]] name = "compute" path = "examples/compute/main.rs" [[example]] name = "compute-argument-buffer" path = "examples/compute/compute-argument-buffer.rs" [[example]] name = "embedded-lib" path = "examples/compute/embedded-lib.rs" [[example]] name = "events" path = "examples/events/main.rs" required-features = ["dispatch"] [[example]] name = "fence" path = "examples/fence/main.rs" [[example]] name = "headless-render" path = "examples/headless-render/main.rs" [[example]] name = "library" path = "examples/library/main.rs" [[example]] name = "mesh-shader" path = "examples/mesh-shader/main.rs" [[example]] name = "mps" path = "examples/mps/main.rs" required-features = ["mps"] [[example]] name = "raytracing" path = "examples/raytracing/main.rs" [[example]] name = "reflection" path = "examples/reflection/main.rs" [[example]] name = "shader-dylib" path = "examples/shader-dylib/main.rs" [[example]] name = "window" path = "examples/window/main.rs" [dependencies.bitflags] version = "2" [dependencies.block] version = "0.1.6" [dependencies.core-graphics-types] version = "0.1.3" default-features = false [dependencies.dispatch] version = "0.2" optional = true [dependencies.foreign-types] version = "0.5" [dependencies.log] version = "0.4" [dependencies.objc] version = "0.2.4" [dependencies.paste] version = "1" [dev-dependencies.cocoa] version = "0.25.0" [dev-dependencies.glam] version = "0.27" [dev-dependencies.png] version = "0.17" [dev-dependencies.rand] version = "0.8" [dev-dependencies.sema] version = "0.1.4" [dev-dependencies.winit] version = "0.29" [features] default = ["link"] link = ["core-graphics-types/link"] mps = [] private = []