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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# 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"
name = "wgpu-core"
version = "0.16.0"
authors = ["wgpu developers"]
description = "WebGPU core logic on wgpu-hal"
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]
arrayvec = "0.7"
bit-vec = "0.6"
bitflags = "2"
codespan-reporting = "0.11"
log = "0.4"
parking_lot = ">=0.11,<0.13"
rustc-hash = "1.1"
smallvec = "1"
thiserror = "1"
[dependencies.hal]
version = "0.16"
path = "../wgpu-hal"
package = "wgpu-hal"
[dependencies.naga]
version = "0.12.0"
git = "https://github.com/gfx-rs/naga"
rev = "b99d58ea435090e561377949f428bce2c18451bb"
features = [
"clone",
"span",
"validate",
]
[dependencies.profiling]
version = "1"
default-features = false
[dependencies.raw-window-handle]
version = "0.5"
optional = true
[dependencies.ron]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["serde_derive"]
optional = true
[dependencies.wgt]
version = "0.16"
path = "../wgpu-types"
package = "wgpu-types"
[features]
angle = ["hal/gles"]
default = []
dx11 = ["hal/dx11"]
dx12 = ["hal/dx12"]
gles = ["hal/gles"]
id32 = []
metal = ["hal/metal"]
renderdoc = ["hal/renderdoc"]
replay = [
"serde",
"wgt/replay",
"arrayvec/serde",
"naga/deserialize",
]
serial-pass = [
"serde",
"wgt/serde",
"arrayvec/serde",
]
strict_asserts = ["wgt/strict_asserts"]
trace = [
"ron",
"serde",
"wgt/trace",
"arrayvec/serde",
"naga/serialize",
]
vulkan = ["hal/vulkan"]
wgsl = ["naga/wgsl-in"]
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.web-sys]
version = "0.3.60"
features = [
"HtmlCanvasElement",
"OffscreenCanvas",
]
|