forked from ruffle-rs/ruffle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (35 loc) · 1.05 KB
/
Cargo.toml
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
[package]
name = "ruffle_render_wgpu"
version = "0.1.0"
authors = ["Nathan Adams <[email protected]>"]
edition.workspace = true
license = "MIT OR Apache-2.0"
[dependencies]
wgpu = "0.14.0"
# Pin `wgpu-hal` and `wgpu-types` to include https://github.com/gfx-rs/wgpu/pull/3165.
# TODO: Remove when upgrading `wgpu`.
wgpu-hal = "0.14.1"
wgpu-types = "0.14.1"
log = "0.4"
ruffle_render = { path = "..", features = ["tessellator"] }
bytemuck = { version = "1.12.2", features = ["derive"] }
raw-window-handle = "0.5"
clap = { version = "4.0.18", features = ["derive"], optional = true }
enum-map = "2.4.1"
fnv = "1.0.7"
swf = { path = "../../swf" }
image = { version = "0.24.4", default-features = false }
ouroboros = "0.15.5"
typed-arena = "2.0.1"
once_cell = "1.16.0"
# desktop
[target.'cfg(not(target_family = "wasm"))'.dependencies.futures]
version = "0.3.25"
# wasm
[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.60"
features = ["HtmlCanvasElement"]
[features]
render_debug_labels = []
render_trace = ["wgpu/trace"]
webgl = ["wgpu/webgl"]