mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
* enable doc_auto_cfg for docs.rs This should expose more feature labels in the generated documentation and removes the needs for the manually labeling the features for a type, function or enum variants. * enable docsrs cfg when building docs for master
29 lines
649 B
TOML
29 lines
649 B
TOML
[package]
|
|
name = "wgpu-types"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "WebGPU types"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
trace = ["serde", "bitflags_serde_shim"]
|
|
replay = ["serde", "bitflags_serde_shim"]
|
|
|
|
[dependencies]
|
|
bitflags.workspace = true
|
|
serde = { workspace = true, features = ["serde_derive"], optional = true }
|
|
bitflags_serde_shim = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json.workspace = true
|