-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (58 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
edition = "2021"
name = "forgotten"
version = "0.1.0"
[workspace]
members = [
"launchers/wasm",
"launchers/native",
"app",
"forgotten",
"util/rational",
"util/rand-range",
]
[[bin]]
name = "native-launcher"
path = "launchers/native/src/main.rs"
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1
# Optimizations for WASM
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z'
panic = 'abort'
# [features]
[dependencies]
audio_data = { path = "audio-data" }
forgotten_app = { path = "app" }
gridbugs = { version = "0.2", features = [
"chargrid_wgpu",
"chargrid_ansi_terminal",
"chargrid",
"backend_serialize",
"chargrid_serialize",
"coord_2d",
"grid_2d",
"rgb_int",
"storage_format_json",
"storage_format_bincode",
"audio",
"direction",
"direction_rand",
"chargrid_gamepad",
"storage_backend_file",
"audio_backend_native",
"audio_format_native_vorbis",
] }
clap = { version = "3", features = ["derive", "cargo"] }
log = "0.4"
maplit = "1"
serde = { version = "1.0", features = ["serde_derive"] }
# Random number generator
getrandom = { version = "0.2", features = ["js"] }
rand = "0.8"
rand_isaac = { version = "0.3", features = ["serde1"] }
rand_xorshift = { version = "0.3", features = ["serde1"] }