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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
[workspace]
resolver = "2"
members = ["dungeon", "game", "graphics"]
[workspace.package]
version = "0.1.0"
authors = [
"Freya Murphy <freya@freyacat.org>",
"Audrey Fuller <alf9310@rit.edu>",
"Yusuf Elsharawy <yse2561@rit.edu>",
"Ryan Symons <ras1178@rit.edu>",
]
edition = "2024"
license = "MIT"
publish = false
rust-version = "1.88"
[workspace.dependencies]
dungeon = { path = "dungeon" }
game = { path = "game" }
getrandom = "0.3"
graphics = { path = "graphics" }
strum_macros = "0.27"
[workspace.dependencies.argh]
version = "0.1"
default-features = false
features = ["help"]
[workspace.dependencies.rand]
version = "0.10.0-rc.5"
default-features = false
features = ["os_rng"]
[workspace.dependencies.raylib]
git = "https://github.com/raylib-rs/raylib-rs"
version = "5.7.0"
default-features = false
features = [
"SUPPORT_MODULE_RSHAPES",
"SUPPORT_MODULE_RTEXTURES",
"SUPPORT_MODULE_RAUDIO",
"SUPPORT_FILEFORMAT_BMP",
"SUPPORT_FILEFORMAT_OGG",
"SUPPORT_STANDARD_FILEIO",
"SUPPORT_TRACELOG",
]
[workspace.dependencies.strum]
version = "0.27"
default-features = false
[workspace.lints.clippy]
# nursery
branches_sharing_code = "warn"
collection_is_never_read = "warn"
derive_partial_eq_without_eq = "warn"
missing_const_for_fn = "warn"
needless_collect = "warn"
return_self_not_must_use = "warn"
use_self = "warn"
# pedantic
cast_possible_wrap = "warn"
cast_possible_truncation = "warn"
comparison_chain = "warn"
elidable_lifetime_names = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
inconsistent_struct_constructor = "warn"
large_types_passed_by_value = "warn"
manual_assert = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
unused_self = "warn"
unnecessary_debug_formatting = "warn"
unnecessary_semicolon = "warn"
unnested_or_patterns = "warn"
used_underscore_binding = "warn"
used_underscore_items = "warn"
verbose_bit_mask = "warn"
wildcard_imports = "warn"
# restriction
allow_attributes = "warn"
cfg_not_test = "deny"
expect_used = "deny"
shadow_reuse = "warn"
todo = "deny"
unwrap_used = "deny"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"
[profile.wasm]
inherits = "release"
panic = "unwind"
[profile.small]
inherits = "release"
opt-level = "z"
|