-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (46 loc) · 1.15 KB
/
Cargo.toml
File metadata and controls
57 lines (46 loc) · 1.15 KB
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
[package]
name = "dwellers"
version = "0.1.0"
edition = "2024"
[dependencies]
bevy = "0.18.0"
bitcode = "0.6"
dashmap = "6.1"
noise = "0.9"
pathfinding = "4.14"
rand = "0.9"
uuid = "1.20"
[features]
dev = ["bevy/dynamic_linking", "bevy/file_watcher", "bevy/bevy_dev_tools", "bevy/bevy_remote"]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
wildcard_imports = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
type_complexity = "allow"
too_many_lines = "allow"
too_many_arguments = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
cast_lossless = "allow"
needless_pass_by_value = "allow"
match_wildcard_for_single_variants = "allow"
single_match = "allow"
used_underscore_binding = "allow"
unnecessary_wraps = "allow"
# Dev optimizations
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# Release optimizations
[profile.release]
codegen-units = 1
lto = "thin"
[profile.wasm-release]
inherits = "release"
opt-level = "s" # Optimize with size in mind (also try "z", sometimes it is better).
strip = "debuginfo"
# also try wasm-opt -Os