[package]
name = "gfx-backend-metal"
version = "0.9.1"
description = "Metal API backend for gfx-rs"
homepage = "https://github.com/gfx-rs/gfx"
repository = "https://github.com/gfx-rs/gfx"
keywords = ["graphics", "gamedev"]
license = "MIT OR Apache-2.0"
authors = ["The Gfx-rs Developers"]
readme = "README.md"
documentation = "https://docs.rs/gfx-backend-metal"
workspace = "../../.."
edition = "2018"
[features]
default = []
signpost = []
cross = ["spirv_cross", "auxil", "naga/spv-out"]
pipeline-cache = ["tempfile", "serde", "bincode", "naga/serialize", "naga/deserialize", "naga/spv-out"]
[lib]
name = "gfx_backend_metal"
[dependencies]
hal = { package = "gfx-hal", path = "../../hal", version = "0.9" }
range-alloc = { path = "../../auxil/range-alloc", version = "0.1" }
arrayvec = "0.5"
bitflags = "1.0"
copyless = "0.1.4"
core-graphics-types = "0.1.1"
fxhash = "0.2.1"
log = "0.4"
dispatch = { version = "0.2", optional = true }
metal = { version = "0.23", features = ["private"] }
foreign-types = "0.3"
objc = "0.2.5"
block = "0.1"
cocoa-foundation = "0.1"
parking_lot = "0.11"
storage-map = "0.3"
raw-window-handle = "0.3"
profiling = { version = "1", default-features = false }
tempfile = { version = "3.2", optional = true }
serde = { version = "1", features = ["serde_derive"], optional = true }
bincode = { version = "1", optional = true }
[dependencies.auxil]
package = "gfx-auxil"
path = "../../auxil/auxil"
version = "0.10"
features = ["spirv_cross"]
optional = true
[dependencies.spirv_cross]
version = "0.23"
features = ["msl"]
optional = true
[dependencies.naga]
version = "0.5"
features = ["spv-in", "msl-out"]
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"