diff options
Diffstat (limited to 'third_party/rust/gfx-backend-metal/Cargo.toml')
-rw-r--r-- | third_party/rust/gfx-backend-metal/Cargo.toml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/third_party/rust/gfx-backend-metal/Cargo.toml b/third_party/rust/gfx-backend-metal/Cargo.toml new file mode 100644 index 0000000000..1bb343d7fe --- /dev/null +++ b/third_party/rust/gfx-backend-metal/Cargo.toml @@ -0,0 +1,53 @@ +[package] +name = "gfx-backend-metal" +version = "0.6.0" +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 = [] +auto-capture = [] +signpost = [] + +[lib] +name = "gfx_backend_metal" + +[dependencies] +auxil = { path = "../../auxil/auxil", version = "0.5", package = "gfx-auxil", features = ["spirv_cross"] } +hal = { path = "../../hal", version = "0.6", package = "gfx-hal" } +range-alloc = { path = "../../auxil/range-alloc", version = "0.1" } +arrayvec = "0.5" +bitflags = "1.0" +copyless = "0.1.4" +log = { version = "0.4" } +dispatch = { version = "0.2", optional = true } +metal = { version = "0.20", features = ["private"] } +foreign-types = "0.3" +objc = "0.2.5" +block = "0.1" +cocoa-foundation = "0.1" +spirv_cross = { version = "0.22", features = ["msl"] } +parking_lot = "0.11" +storage-map = "0.3" +lazy_static = "1" +raw-window-handle = "0.3" + +[dependencies.naga] +#path = "../../../../naga" +git = "https://github.com/gfx-rs/naga" +rev = "0893d912be268298ae2ed784beb541a23b9d6b31" +features = ["spv-in", "msl-out"] +optional = true + +# This forces docs.rs to build the crate on mac, otherwise the build fails +# and we get no docs at all. +[package.metadata.docs.rs] +default-target = "x86_64-apple-darwin" |