wgpu/player/Cargo.toml
Bude 4face1c2ba
Feature/serde feature (#5149)
* Add serde, serialize, deserialize features to wgpu and wgpu-core
Remove trace, replay features from wgpu-types

* Do not use trace, replay in wgpu-types anymore

* Make use of deserialize, serialize features in wgpu-core

* Make use of serialize, deserialize features in wgpu

* Run cargo fmt

* Use serde(default) for deserialize only

* Fix serial-pass feature

* Add a comment for new features

* Add CHANGELOG entry

* Run cargo fmt

* serial-pass also needs serde features for Id<T>

* Add feature documentation to lib.rs docs

* wgpu-types implicit serde feature

* wgpu-core explicit serde feature

* wgpu explicit serde feature

* Update CHANGELOG.md

* Fix compilation with default features

* Address review comments
2024-01-28 20:13:04 +00:00

40 lines
826 B
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
[lib]
name = "player"
path = "src/lib.rs"
test = false
[[bin]]
name = "play"
path = "src/bin/play.rs"
test = false
[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 = ["serde"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
workspace = true
features = ["replay", "raw-window-handle", "strict_asserts", "wgsl", "metal", "dx12", "vulkan", "gles"]
[dev-dependencies]
serde.workspace = true