-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (31 loc) · 1.02 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
[package]
name = "wgpu_graphics-wasm-sample"
description = "A sample project for piston2d-wgpu_graphics running on WebAssembly"
version = "0.1.0"
authors = ["Kuroki Keiichiro <[email protected]>"]
edition = "2018"
repository = "https://github.com/shinmili/wgpu_graphics-wasm-sample"
license = "MIT OR Apache-2.0"
resolver = "2"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
wasm-bindgen = "0.2.63"
console_error_panic_hook = { version = "0.1.6", optional = true }
wee_alloc = { version = "0.4.5", optional = true }
console_log = "0.2"
log = "0.4"
web-sys = "0.3"
wasm-bindgen-futures = "0.4.28"
winit = { version = "0.25", features = ["web-sys"] }
piston = "0.53.0"
piston2d-graphics = "0.40"
piston2d-wgpu_graphics = { git = "https://github.com/shinmili/wgpu_graphics", branch = "wasm" }
wgpu = { version = "0.11", features = ["webgl"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.13"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"