86 lines
1.8 KiB
TOML
86 lines
1.8 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 believe there's an error in this file please file an
|
|
# issue against the rust-lang/cargo repository. If you're
|
|
# editing this file be aware that the upstream Cargo.toml
|
|
# will likely look very different (and much more reasonable)
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "metal"
|
|
version = "0.18.0"
|
|
authors = ["GFX Developers"]
|
|
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]
|
|
default-target = "x86_64-apple-darwin"
|
|
|
|
[[example]]
|
|
name = "window"
|
|
|
|
[[example]]
|
|
name = "library"
|
|
|
|
[[example]]
|
|
name = "reflection"
|
|
|
|
[[example]]
|
|
name = "caps"
|
|
|
|
[[example]]
|
|
name = "argument-buffer"
|
|
|
|
[[example]]
|
|
name = "compute"
|
|
path = "examples/compute/main.rs"
|
|
|
|
[[example]]
|
|
name = "embedded-lib"
|
|
path = "examples/compute/embedded-lib.rs"
|
|
|
|
[[example]]
|
|
name = "compute-argument-buffer"
|
|
path = "examples/compute/compute-argument-buffer.rs"
|
|
|
|
[[example]]
|
|
name = "bind"
|
|
[dependencies.bitflags]
|
|
version = "1"
|
|
|
|
[dependencies.block]
|
|
version = "0.1.5"
|
|
|
|
[dependencies.cocoa]
|
|
version = "0.20"
|
|
|
|
[dependencies.core-graphics]
|
|
version = "0.19"
|
|
|
|
[dependencies.foreign-types]
|
|
version = "0.3"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.objc]
|
|
version = "0.2.4"
|
|
features = ["objc_exception"]
|
|
[dev-dependencies.sema]
|
|
version = "0.1.4"
|
|
|
|
[dev-dependencies.winit]
|
|
version = "0.22"
|
|
|
|
[features]
|
|
default = []
|
|
private = []
|