-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (64 loc) · 2.98 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
69
70
71
72
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.1.0"
authors = ["Teoh Han Hui <teohhanhui@gmail.com>"]
edition = "2021"
rust-version = "1.80.0"
description = "Civ VI inspired game"
repository = "https://github.com/teohhanhui/hexciv"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
bevy = { version = "0.14.2", default-features = false }
bevy_ecs_tilemap = { version = "0.14.0", default-features = false }
bevy_matchbox = { version = "0.10.0", default-features = false }
bevy_pancam = { version = "0.14.0", default-features = false }
bitvec = { version = "1.0.1", default-features = false }
bon = { version = "3.0.0", default-features = false }
derive_more = { version = "1.0.0", default-features = false }
fastlem = { version = "0.1.4", default-features = false }
fastlem-random-terrain = { path = "crates/fastlem-random-terrain", default-features = false }
fastrand = { version = "2.1.1", default-features = false }
fastrand-contrib = { version = "0.1.0", default-features = false }
indexmap = { version = "2.6.0", default-features = false }
itertools = { version = "0.13.0", default-features = false }
leafwing-input-manager = { version = "0.15.1", default-features = false }
log = { version = "0.4.22", default-features = false }
noise = { version = "0.9.0", default-features = false }
num_enum = { version = "0.7.3", default-features = false }
ordered-float = { version = "4.4.0", default-features = false }
pathfinding = { version = "4.11.0", default-features = false }
serde = { version = "1.0.213", default-features = false }
serde_json = { version = "1.0.132", default-features = false }
strum = { version = "0.26.3", default-features = false }
terrain-graph = { version = "1.0.1", default-features = false }
tracing = { version = "0.1.40", default-features = false }
uuid = { version = "1.11.0", default-features = false }
[workspace.lints.clippy]
arithmetic_side_effects = "warn"
[patch.crates-io]
bevy_ecs_tilemap = { git = "https://github.com/StarArawn/bevy_ecs_tilemap", branch = "main" }
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
# Enable more optimization in the release profile at the cost of compile time.
[profile.release]
# Do a second optimization pass over the entire program, including dependencies.
# Slows compile times, marginal improvements.
lto = "thin"
# Compile the entire crate as one unit.
# Slows compile times, marginal improvements.
codegen-units = 1
# Optimize for size in the wasm-release profile to reduce load times and bandwidth usage on web.
[profile.wasm-release]
# Default to release profile values.
inherits = "release"
# Optimize with size in mind (also try "z", sometimes it is better).
# Slightly slows compile times, great improvements to file size and runtime performance.
opt-level = "s"
# Strip all debugging information from the binary to slightly reduce file size.
strip = "debuginfo"