-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
48 lines (34 loc) · 980 Bytes
/
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
40
41
42
43
44
45
46
47
48
[package]
name = "surreal"
version = "0.0.1"
authors = ["swerdloj <swerdloj@andrews.edu>"]
edition = "2018"
[[example]]
name = "android"
crate-type = ["cdylib"]
[features]
default = ["embed-resources"]
embed-resources = []
frame-time = []
[dependencies]
wgpu = "0.6.0"
winit = { version = "0.23.0", features = ["web-sys"] }
futures = "0.3.7"
# TEMP: Update to official wgpu_glyph if they do something about StagingBelt
# wgpu_glyph = "0.10.0"
wgpu_glyph = { git = "https://github.com/rukai/wgpu_glyph/", branch = "update_wgpu" }
glyph_brush = "0.7.0"
bytemuck = "1.4.1"
cgmath = "0.17.0"
image = "0.23.11"
proc-macros = { path = "./proc_macros" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "=0.2.62"
wasm-bindgen-futures = "=0.4.12"
web-sys = "=0.3.39"
log = "0.4"
console_error_panic_hook = "0.1.6"
console_log = "0.1.2"
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = "0.2.1"
ndk = { version = "0.2.1", features = ["trace"] }