-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
172 lines (150 loc) · 4.08 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
cargo-features = [
"codegen-backend",
]
[workspace]
resolver = "2" # Important! wgpu/bevy needs this!
members = [
"crates/angle",
"crates/min_len_vec",
"crates/percentage",
"crates/unit_interval",
"crates/gbp_linalg",
"crates/gbp_multivariate_normal",
# "crates/bevy_undo_redo",
"crates/magics",
"crates/bevy_notify",
"crates/units",
"crates/repeating_array",
"crates/bevy_fullscreen",
"crates/bevy_touchpad",
"crates/seq",
"crates/as_variant",
"crates/interleave_evenly",
"crates/gbp_schedule",
"crates/env_to_png",
"crates/gbp_environment",
"crates/gbp_geometry",
"crates/gbp_global_planner",
"crates/gbp_config",
"crates/bevy_tracking",
]
[workspace.package]
version = "2.0.0"
edition = "2021"
repository = "https://github.com/AU-Master-Thesis/gbp-rs"
authors = [
"Jens Høigaard Jensen <jens.jens@live.dk>",
"Kristoffer Plagborg Bak Sørensen <kristoffer.pbs@tuta.io>",
]
rust-version = "1.78"
license = "MIT"
[workspace.dependencies]
pretty_assertions = "1.4.0"
ndarray = { version = "0.15.6", features = [
# "blas",
] }
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = [
"derive",
] }
bevy = { version = "0.13", default-features = true, features = [
"wayland",
# "dynamic_linking",
] }
derive_more = "0.99.17"
typed_floats = { version = "1.0.0", features = [
"serde",
] }
# clap = { version = "4.4.18", no-default-features = true, features = [
clap = { version = "4.5", default-features = false, features = [
"derive",
] }
ron = "0.8.1"
toml = "0.8.8"
serde_yaml = "0.9.34"
rrt = { git = "https://github.com/AU-Master-Thesis/rrt", branch = "main" }
parry3d = { git = "https://github.com/AU-Master-Thesis/parry", branch = "feat/bevy-conversions", features = [
"bevy",
# "serde",
"serde-serialize",
] }
parry2d = { git = "https://github.com/AU-Master-Thesis/parry", branch = "feat/bevy-conversions", features = [
"bevy",
# "serde",
"serde-serialize",
] }
bevy_rand = "0.6"
bevy_prng = { version = "0.6", features = [
"rand_chacha",
"wyrand",
] }
struct_iterable = "0.1.1"
strum = "0.26.1"
strum_macros = "0.26.1"
rand = "0.8.5"
num-traits = "0.2.18"
itertools = "0.13"
delegate = "0.12.0"
# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# clap = { version = "4.5", default-features = false, features = [
# "derive",
# ] }
[workspace.lints.rust]
# unsafe_code = "forbid"
missing_debug_implementations = "allow"
missing_docs = "allow"
[workspace.lints.clippy]
undocumented_unsafe_blocks = "warn"
enum_glob_use = "warn"
cast_possible_truncation = "warn"
tests_outside_test_module = "warn"
assertions_on_result_states = "warn"
pedantic = "warn"
nursery = "warn"
unwrap_used = "deny"
inline_always = "allow"
default_constructed_unit_structs = "allow" # nice for adding plugins, that may later have config values
needless_pass_by_value = "allow" # bevy uses a lot of pass by value wrapper types like `Query`, `Res` etc.
module_name_repetitions = "allow"
must_use_candidate = "allow"
# expect_used = "deny"
dbg_macro = "warn"
todo = "warn"
[profile.release-optimized]
inherits = "release"
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
lto = "fat"
opt-level = 3
panic = "abort"
rpath = false
# strip = true
# strip = "debuginfo"
strip = "symbols"
incremental = true
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
incremental = true
# codegen-backend = "cranelift" # requires nightly
# debug = false
# strip = "debuginfo"
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.wasm]
inherits = "release"
opt-level = "z"
debug = false
strip = true
lto = true
codegen-units = 1
incremental = false
panic = "abort"
[profile.flamegraph]
inherits = "release"
debug = true
# strip = false