-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (36 loc) · 831 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
[package]
name = "tet-rs"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "tetrs"
path = "src/main.rs"
[dependencies.getrandom]
features = ["js"]
[dependencies]
anyhow = "1.0.68"
bytemuck = {version = "1.13.0", features = ["derive"]}
glyph_brush = "0.7.5"
instant = {version = "0.1.12", features = [ "stdweb" ]}
log = "0.4.17"
pollster = "0.2.5"
random-number = "0.1.8"
simple_logger = "4.0.0"
wgpu = {version = "0.14.2", features = ["webgl"]}
wgpu_text = "0.6.5"
winit = "0.28.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "0.2.0"
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.34"
web-sys = {version = "0.3.61", features = [
"Document",
"Window",
"Element",
]}
wee_alloc = "0.4.5"
[profile.release]
opt-level = "s"