mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
27 lines
972 B
TOML
27 lines
972 B
TOML
[package]
|
|
name = "wgpu-core-deps-apple"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Feature unification helper crate for Apple platforms"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
|
|
# Override the workspace's `rust-version` key. Firefox uses `cargo vendor` to
|
|
# copy the crates it actually uses out of the workspace, so it's meaningful for
|
|
# them to have less restrictive MSRVs individually than the workspace as a
|
|
# whole, if their code permits. See `../README.md` for details.
|
|
rust-version = "1.76"
|
|
|
|
[features]
|
|
metal = ["wgpu-hal/metal"]
|
|
angle = ["wgpu-hal/gles", "wgpu-hal/renderdoc"]
|
|
vulkan-portability = ["wgpu-hal/vulkan", "wgpu-hal/renderdoc"]
|
|
|
|
# Depend on wgpu-hal conditionally, so that the above features only apply to wgpu-hal on this set of platforms.
|
|
[target.'cfg(target_vendor = "apple")'.dependencies]
|
|
wgpu-hal.workspace = true
|