Skip to content

Commit 183ec61

Browse files
committed
change imports
1 parent cbcfd5f commit 183ec61

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

crates/bevy_api_gen/src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn main() {
6868
let plugin_subdir = format!("plugin-{}", env!("RUSTC_CHANNEL"));
6969
let plugin_target_dir = metadata.target_directory.join(plugin_subdir);
7070

71-
info!("Computing wokrspace metadata");
71+
info!("Computing workspace metadata");
7272

7373
// inform the deps about the workspace crates, this is going to be useful when working with meta files as we will be able to
7474
// know when to panic if a crate is not found

crates/bevy_mod_scripting_functions/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ core_functions = ["bevy_mod_scripting_core"]
1717

1818

1919
[dependencies]
20-
bevy = { workspace = true, default-features = false, features = [
20+
bevy = { workspace = true, features = [
2121
"reflect_functions",
2222
] }
23+
uuid = "*"
2324
bevy_mod_scripting_core = { workspace = true, optional = true }

crates/bevy_mod_scripting_functions/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
use bevy::prelude::*;
2-
1+
use ::bevy::prelude::*;
2+
#[cfg(feature = "core_functions")]
3+
pub mod bevy;
34
#[cfg(feature = "core_functions")]
45
pub mod core;
56

0 commit comments

Comments
 (0)