From 42f721382c85ecc91f8872bb52bbb6c828e7cf14 Mon Sep 17 00:00:00 2001 From: Doonv <58695417+doonv@users.noreply.github.com> Date: Thu, 21 Dec 2023 16:05:27 +0200 Subject: [PATCH] Add SystemTime to bevy_utils (#11054) # Objective https://github.com/bevyengine/bevy/pull/10702 has overridden the changes that https://github.com/bevyengine/bevy/pull/10980 did. ## Solution Re-add `SystemTime` to `bevy_utils`, along with a few other types. --- ## Changelog - Rexported `SystemTime`, `SystemTimeError`, and `TryFromFloatSecsError` from `bevy_utils`. --- crates/bevy_utils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_utils/src/lib.rs b/crates/bevy_utils/src/lib.rs index 78e3a449a249e..2fd056f4ac2d4 100644 --- a/crates/bevy_utils/src/lib.rs +++ b/crates/bevy_utils/src/lib.rs @@ -34,7 +34,7 @@ pub use hashbrown; pub use petgraph; pub use thiserror; pub use tracing; -pub use web_time::{Duration, Instant}; +pub use web_time::{Duration, Instant, SystemTime, SystemTimeError, TryFromFloatSecsError}; #[allow(missing_docs)] pub mod nonmax {