diff --git a/src/swash.rs b/src/swash.rs index 28dfe27..a69b4a9 100644 --- a/src/swash.rs +++ b/src/swash.rs @@ -2,6 +2,8 @@ #[cfg(not(feature = "std"))] use alloc::collections::BTreeMap as Map; +#[cfg(not(feature = "std"))] +use alloc::vec::Vec; #[cfg(feature = "std")] use std::collections::HashMap as Map; use swash::scale::{ScaleContext, image::Content};