-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
52 lines (46 loc) · 1.58 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
[package]
name = "mijocraft"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = { version = "0.14.0", features = ["dynamic_linking"] }
bevy_ecs = "0.14.0"
bevy_dylib = "0.14.0"
bevy-inspector-egui = "0.25.0"
bevy_simple_text_input = "0.8.0"
bevy_xpbd_2d = "0.5.0"
bincode = "1.3.3"
enum-iterator = "2.1.0"
filenamify = "0.1.0"
noise = "0.9.0"
opener = "0.7.1"
serde = "1.0.204"
serde-big-array = "0.5.1"
sickle_ui = { git = "https://github.com/dead-money/sickle_ui" }
toml = "0.8.14"
rand = "0.8.5"
futures-util = "0.3.30"
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
# Enable more optimization in release mode at the cost of compile time.
[profile.release]
# Compile the entire crate as one unit.
# Significantly slows compile times, marginal improvements.
codegen-units = 1
# Do a second optimization pass over the entire program, including dependencies.
# Slightly slows compile times, marginal improvements.
lto = "thin"
# Optimize for size in wasm-release mode to reduce load times and bandwidth usage on web.
[profile.wasm-release]
# Use release profile as default values.
inherits = "release"
# Optimize with size in mind (also try "s", sometimes it is better).
# This doesn't increase compilation times compared to -O3, great improvements.
opt-level = "z"
# Strip all debugging information from the binary to reduce file size.
strip = "debuginfo"