Fix no_std compilation
This commit is contained in:
parent
be4dc2749c
commit
ba39c81656
1 changed files with 2 additions and 0 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue