From 87b4dfc8f32cd815ac1e770fdbf336beda9958ce Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 12 Sep 2025 18:24:56 -0400 Subject: [PATCH] Expand `std_shims::prelude` to better match `std::prelude` --- common/std-shims/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/std-shims/src/lib.rs b/common/std-shims/src/lib.rs index 2c2e1090..b627c63d 100644 --- a/common/std-shims/src/lib.rs +++ b/common/std-shims/src/lib.rs @@ -13,6 +13,14 @@ pub use alloc::str; pub use alloc::string; pub mod prelude { + pub use alloc::{ + format, vec, + boxed::Box, + borrow::ToOwned, + vec::Vec, + string::{String, ToString}, + }; + #[rustversion::before(1.73)] #[doc(hidden)] pub trait StdShimsDivCeil {