From b7e35ef74470358421febb47c88236de9917cf7a Mon Sep 17 00:00:00 2001 From: Adam Bates Date: Sun, 3 Jan 2021 14:36:42 -0500 Subject: [PATCH] Made gilrs crate public within bevy so we can reference the plugin outside of DefaultPlugins. (#1195) --- crates/bevy_internal/src/lib.rs | 5 +++++ crates/bevy_internal/src/prelude.rs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/crates/bevy_internal/src/lib.rs b/crates/bevy_internal/src/lib.rs index 4f2450bfa6..331a5e90ab 100644 --- a/crates/bevy_internal/src/lib.rs +++ b/crates/bevy_internal/src/lib.rs @@ -82,6 +82,11 @@ pub mod audio { pub use bevy_audio::*; } +#[cfg(feature = "bevy_gilrs")] +pub mod gilrs { + pub use bevy_gilrs::*; +} + #[cfg(feature = "bevy_gltf")] pub mod gltf { //! Support for GLTF file loading. diff --git a/crates/bevy_internal/src/prelude.rs b/crates/bevy_internal/src/prelude.rs index 354ea005f2..ce278aaecc 100644 --- a/crates/bevy_internal/src/prelude.rs +++ b/crates/bevy_internal/src/prelude.rs @@ -26,3 +26,6 @@ pub use crate::ui::prelude::*; #[cfg(feature = "bevy_dynamic_plugin")] pub use crate::dynamic_plugin::*; + +#[cfg(feature = "bevy_gilrs")] +pub use crate::gilrs::*;