maybe progress
Browse files- Cargo.toml +9 -7
- src/{main.rs → app/main.rs} +2 -1
Cargo.toml
CHANGED
@@ -14,6 +14,10 @@ license = "MIT"
|
|
14 |
keywords = ["gamedev"]
|
15 |
publish = false
|
16 |
|
|
|
|
|
|
|
|
|
17 |
[lints.rust]
|
18 |
unsafe_code = "warn"
|
19 |
|
@@ -105,8 +109,8 @@ leafwing-input-manager = { git = "https://github.com/ka-de/input-manager", branc
|
|
105 |
#aery = { git = "https://github.com/ka-de/aery", branch = "0.14" }
|
106 |
#bevy_vector_shapes = { git = "https://github.com/ka-de/bevy_vector_shapes", branch = "0.14" }
|
107 |
#big-brain = { git = "https://github.com/ka-de/big-brain" }
|
108 |
-
|
109 |
-
|
110 |
seldom_state = { git = "https://github.com/ka-de/seldom_state" }
|
111 |
# bevy_text_input = { git = "https://github.com/ka-de/bevy_text_input", branch = "0.14" }
|
112 |
# bevy_flurx = { git = "https://github.com/ka-de/bevy_flurx", branch = "0.14" }
|
@@ -150,13 +154,12 @@ features = [
|
|
150 |
"bevy_text",
|
151 |
"subpixel_glyph_atlas",
|
152 |
"bevy_render",
|
153 |
-
|
154 |
-
#"multi-threaded",
|
155 |
"bevy_winit",
|
156 |
"x11",
|
157 |
"wayland",
|
158 |
-
"bevy_state",
|
159 |
-
"sysinfo_plugin",
|
160 |
]
|
161 |
|
162 |
# ☠️ RIP?
|
@@ -172,7 +175,6 @@ branch = "0.14"
|
|
172 |
|
173 |
[dependencies.bevy-inspector-egui]
|
174 |
git = "https://github.com/ka-de/bevy-inspector-egui"
|
175 |
-
branch = "0.14"
|
176 |
optional = true
|
177 |
default-features = false
|
178 |
features = ["highlight_changes"]
|
|
|
14 |
keywords = ["gamedev"]
|
15 |
publish = false
|
16 |
|
17 |
+
[[bin]]
|
18 |
+
name = "separated"
|
19 |
+
path = "src/app/main.rs"
|
20 |
+
|
21 |
[lints.rust]
|
22 |
unsafe_code = "warn"
|
23 |
|
|
|
109 |
#aery = { git = "https://github.com/ka-de/aery", branch = "0.14" }
|
110 |
#bevy_vector_shapes = { git = "https://github.com/ka-de/bevy_vector_shapes", branch = "0.14" }
|
111 |
#big-brain = { git = "https://github.com/ka-de/big-brain" }
|
112 |
+
bevy_mod_debugdump = { git = "https://github.com/ka-de/bevy_mod_debugdump", optional = true }
|
113 |
+
graphviz-rust = { version = "0.9.0", optional = true }
|
114 |
seldom_state = { git = "https://github.com/ka-de/seldom_state" }
|
115 |
# bevy_text_input = { git = "https://github.com/ka-de/bevy_text_input", branch = "0.14" }
|
116 |
# bevy_flurx = { git = "https://github.com/ka-de/bevy_flurx", branch = "0.14" }
|
|
|
154 |
"bevy_text",
|
155 |
"subpixel_glyph_atlas",
|
156 |
"bevy_render",
|
157 |
+
"multi_threaded",
|
|
|
158 |
"bevy_winit",
|
159 |
"x11",
|
160 |
"wayland",
|
161 |
+
"bevy_state", # ⚠️ TODO: Needs research
|
162 |
+
"sysinfo_plugin", # ⚠️ OwO whats this?
|
163 |
]
|
164 |
|
165 |
# ☠️ RIP?
|
|
|
175 |
|
176 |
[dependencies.bevy-inspector-egui]
|
177 |
git = "https://github.com/ka-de/bevy-inspector-egui"
|
|
|
178 |
optional = true
|
179 |
default-features = false
|
180 |
features = ["highlight_changes"]
|
src/{main.rs → app/main.rs}
RENAMED
@@ -69,7 +69,8 @@ fn print_random_value(mut rng: ResMut<GlobalEntropy<WyRand>>) {
|
|
69 |
|
70 |
// 🌍 - Localization
|
71 |
fn get_device_language() {
|
72 |
-
|
|
|
73 |
}
|
74 |
|
75 |
fn main() {
|
|
|
69 |
|
70 |
// 🌍 - Localization
|
71 |
fn get_device_language() {
|
72 |
+
// ⚠️ TODO: Use `sys-locale` instead of bevy_device_lang.
|
73 |
+
//info!("Device language is {:?}", bevy_device_lang::get_lang());
|
74 |
}
|
75 |
|
76 |
fn main() {
|