Files

32 lines
1.1 KiB
TOML

[package]
name = "wgpu-core-deps-linux-android-bsd"
version.workspace = true
edition.workspace = true
description = "Feature unification helper crate for the Linux/Android/BSD 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.87"
[lints]
workspace = true
[features]
gles = ["wgpu-hal/gles"]
vulkan = ["wgpu-hal/vulkan"]
renderdoc = ["wgpu-hal/renderdoc"]
## Support creating textures from DRM display/window handles.
drm = ["wgpu-hal/drm"]
# Depend on wgpu-hal conditionally, so that the above features only apply to wgpu-hal on this set of platforms.
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd"))'.dependencies]
wgpu-hal = { workspace = true, default-features = true }