forked from gfx-rs/wgpu-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (69 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
81 lines (69 loc) · 2.03 KB
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
[package]
name = "wgpu-native"
version = "0.0.0"
authors = [
"Dzmitry Malyshau <[email protected]>",
"Joshua Groves <[email protected]>",
"Noah Charlton <[email protected]>",
"Almar Klein <[email protected]>",
]
edition = "2021"
description = "WebGPU native implementation on gfx-hal"
homepage = "https://github.com/gfx-rs/wgpu-native"
repository = "https://github.com/gfx-rs/wgpu-native"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[features]
default = ["wgsl", "spirv", "glsl", "trace"]
angle = ["wgc/angle"]
vulkan-portability = ["wgc/vulkan"]
wgsl = ["wgc/wgsl"]
spirv = ["naga/spv-in"]
glsl = ["naga/glsl-in"]
trace = ["wgc/trace"]
[dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "21098cdaceee49c22a7e3a9648ce019b4e74beec"
version = "0.17"
features = ["raw-window-handle", "gles"]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "21098cdaceee49c22a7e3a9648ce019b4e74beec"
version = "0.17"
features = ["metal"]
[target.'cfg(windows)'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "21098cdaceee49c22a7e3a9648ce019b4e74beec"
version = "0.17"
features = ["dx11", "dx12"]
[target.'cfg(any(windows, all(unix, not(target_arch = "emscripten"), not(target_os = "ios"), not(target_os = "macos"))))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "21098cdaceee49c22a7e3a9648ce019b4e74beec"
version = "0.17"
features = ["vulkan"]
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "21098cdaceee49c22a7e3a9648ce019b4e74beec"
version = "0.17"
[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "bac2d82a430fbfcf100ee22b7c3bc12f3d593079"
version = "0.13.0"
[dependencies]
raw-window-handle = "0.5"
paste = "1"
log = "0.4"
thiserror = "1"
parking_lot = "0.12"
smallvec = "1"
[build-dependencies]
bindgen = "0.66"
[workspace]
resolver = "2"