diff --git a/examples/wgpu/wgpu_compute_shader/wgpu_compute_shader.rs b/examples/wgpu/wgpu_compute_shader/wgpu_compute_shader.rs index 7b743f3ba..af26ced8f 100644 --- a/examples/wgpu/wgpu_compute_shader/wgpu_compute_shader.rs +++ b/examples/wgpu/wgpu_compute_shader/wgpu_compute_shader.rs @@ -5,7 +5,6 @@ //! with a gray value equal to the amplitude. Real-time interaction is demonstrated by providing //! access to time, frequency (mouse `x`) and the number of oscillators via uniform data. -use nannou::prelude::futures_lite::future; use nannou::prelude::*; use nannou::wgpu::BufferInitDescriptor; use std::sync::{Arc, Mutex}; diff --git a/nannou/src/prelude.rs b/nannou/src/prelude.rs index eb1cbb465..dde52ec0f 100644 --- a/nannou/src/prelude.rs +++ b/nannou/src/prelude.rs @@ -4,7 +4,9 @@ pub use bevy::asset as bevy_asset; pub use bevy::ecs as bevy_ecs; pub use bevy::reflect as bevy_reflect; pub use bevy::render as bevy_render; -pub use bevy::tasks::prelude::*; +pub use bevy::tasks::{Task, futures_lite::future}; +pub use bevy::tasks::prelude::{block_on, AsyncComputeTaskPool, IoTaskPool}; + #[cfg(feature = "egui")] pub use bevy_egui::egui;