mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "player"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "WebGPU trace player"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[features]
|
|
angle = ["wgc/angle"]
|
|
vulkan-portability = ["wgc/vulkan"]
|
|
|
|
[dependencies]
|
|
env_logger.workspace = true
|
|
log.workspace = true
|
|
raw-window-handle.workspace = true
|
|
ron.workspace = true
|
|
winit = { workspace = true, optional = true }
|
|
|
|
[dependencies.wgt]
|
|
workspace = true
|
|
features = ["replay"]
|
|
|
|
[dependencies.wgc]
|
|
workspace = true
|
|
features = ["replay", "raw-window-handle", "strict_asserts", "wgsl"]
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.wgc]
|
|
workspace = true
|
|
features = ["metal"]
|
|
|
|
[target.'cfg(windows)'.dependencies.wgc]
|
|
workspace = true
|
|
features = ["dx11", "dx12"]
|
|
|
|
[target.'cfg(any(windows, all(unix, not(target_os = "emscripten"), not(target_os = "ios"), not(target_os = "macos"))))'.dependencies.wgc]
|
|
workspace = true
|
|
features = ["vulkan"]
|
|
|
|
[dev-dependencies]
|
|
serde.workspace = true
|