-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (45 loc) · 1.31 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
40
41
42
43
44
45
46
47
48
[package]
name = "gl-wrapper"
version = "0.1.0"
authors = ["Nathan Stoddard <[email protected]>"]
edition = "2021"
[dependencies]
log = { version = "0.4.14", features = ["std"] }
cgmath = { version = "0.18.0", features = ["serde"] }
serde = { version = "1.0.130", features = ["derive"] }
uid = "0.1.5"
glow = "0.11.0"
wasm-stopwatch = "0.2.1"
lyon_tessellation = { version = "0.17.10", optional = true }
fxhash = "0.2.1"
# TODO: remove this when this is fixed: https://github.com/alexcrichton/cmake-rs/issues/131
cmake = "=0.1.45"
ab_glyph = "0.2.13"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
glfw = "0.42.0"
image = { version = "0.23.14", default-features = false, features = ["png"] }
time = { version = "0.3.3", features = ["formatting"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.78"
wasm-bindgen-futures = "0.4.28"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
js-sys = "0.3.55"
web-sys = { version = "0.3.55", features = [
"Window",
"Document",
"Element",
"HtmlCanvasElement",
"WebGl2RenderingContext",
"WebGlContextAttributes",
"HtmlImageElement",
"EventTarget",
"KeyboardEvent",
"MouseEvent",
"RequestInit",
"RequestMode",
"Request",
"Response",
"HtmlImageElement",
"HtmlElement",
"WheelEvent",
] }