summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wgpu-types/Cargo.toml
blob: 792b03dcc8b3229c2f19392929db6d6d98402062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.70"
name = "wgpu-types"
version = "0.19.0"
authors = ["gfx-rs developers"]
description = "WebGPU types"
homepage = "https://wgpu.rs/"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gfx-rs/wgpu"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "x86_64-pc-windows-msvc",
    "wasm32-unknown-unknown",
]

[lib]

[dependencies]
bitflags = "2"

[dependencies.serde]
version = "1"
features = ["serde_derive"]
optional = true

[dev-dependencies]
serde_json = "1.0.113"

[dev-dependencies.serde]
version = "1"
features = ["serde_derive"]

[features]
fragile-send-sync-non-atomic-wasm = []
strict_asserts = []

[target."cfg(target_arch = \"wasm32\")".dependencies]
js-sys = "0.3.67"

[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3.67"
features = [
    "ImageBitmap",
    "HtmlVideoElement",
    "HtmlCanvasElement",
    "OffscreenCanvas",
]