build fixes

This commit is contained in:
koe 2024-09-01 23:14:45 -05:00 committed by Jeremy Soller
parent 9dc024616b
commit 069d3404bf
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
#[cfg(not(feature = "std"))]
use alloc::{string::String, vec::Vec};
use core::{cmp, fmt};
use unicode_segmentation::UnicodeSegmentation;

View file

@ -1,3 +1,5 @@
#[cfg(not(feature = "std"))]
use alloc::{string::String, vec::Vec};
use core::mem;
use crate::{