-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
65 lines (49 loc) · 1.28 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
[package]
name = "fallingsand"
version = "0.1.0"
edition = "2021"
exclude = ["dist/", "res/", "assets/", ".github/"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"fallingsand_net",
"fallingsand_sim",
"fallingsand_server",
]
[features]
dev = [
"bevy/dynamic_linking",
"bevy/filesystem_watcher"
]
[dependencies]
fallingsand_sim = { path = "fallingsand_sim" }
fallingsand_net = { path = "fallingsand_net" }
bevy = { version = "0.11", default-features = true, features = [] }
bevy_pancam = "0.9"
# bevy_kira_audio = { version = "0.13" }
bevy_pixel_buffer = { version = "0.5" }
console_error_panic_hook = "0.1"
zorder = "0.1"
flate2 = { version = "1.0", features = [], default-features = true }
[build-dependencies]
embed-resource = "2.3"
[profile.dev]
opt-level = 1
[profile.dev.package.fallingsand_net]
opt-level = 1
[profile.dev.package.fallingsand_sim]
opt-level = 1
[profile.dev.package.fallingsand_server]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "thin"
## Optional stuff to reduce size
# lto = "fat"
# strip = true
# panic = "abort"
# TODO Remove in the future
[patch.crates-io]
proc-macro2 = { git = "https://github.com/dtolnay/proc-macro2" }