From e7053f7e8bed1ad1815cb59639d83ef5170d7cc9 Mon Sep 17 00:00:00 2001 From: chompaa Date: Wed, 3 Apr 2024 19:05:17 -0400 Subject: [PATCH] Fix CI --- crates/bevy_window/src/lib.rs | 2 +- crates/bevy_winit/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/bevy_window/src/lib.rs b/crates/bevy_window/src/lib.rs index 921e6a8d970e7..2abbaf4d662ac 100644 --- a/crates/bevy_window/src/lib.rs +++ b/crates/bevy_window/src/lib.rs @@ -1,3 +1,4 @@ +#![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![doc( html_logo_url = "https://bevyengine.org/assets/icon.png", @@ -28,7 +29,6 @@ pub use window::*; #[allow(missing_docs)] pub mod prelude { - #[allow(deprecated)] #[doc(hidden)] pub use crate::{ CursorEntered, CursorIcon, CursorLeft, CursorMoved, FileDragAndDrop, Ime, MonitorSelection, diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index 9de6073649b65..2d130b0cfa2c9 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -41,6 +41,7 @@ use bevy_math::{ivec2, DVec2, Vec2}; #[cfg(not(target_arch = "wasm32"))] use bevy_tasks::tick_global_task_pools_on_main_thread; use bevy_utils::tracing::{error, trace, warn}; +#[allow(deprecated)] use bevy_window::{ exit_on_all_closed, ApplicationLifetime, CursorEntered, CursorLeft, CursorMoved, FileDragAndDrop, Ime, ReceivedCharacter, RequestRedraw, Window,