Fix no_std build

This fixes the `no_std` build and also makes sure it's tested properly
in the CI workflow.
This commit is contained in:
Christopher Serr 2024-02-12 17:34:28 +01:00 committed by Jeremy Soller
parent 0cb6eba6e7
commit 8582173128
8 changed files with 31 additions and 10 deletions

View file

@ -2,8 +2,6 @@
use alloc::collections::BTreeSet;
use alloc::sync::Arc;
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
use fontdb::Family;
use unicode_script::Script;