diff --git a/src/display/cli.rs b/src/display/cli.rs index ffc8154..3c90567 100644 --- a/src/display/cli.rs +++ b/src/display/cli.rs @@ -1,6 +1,8 @@ use super::JawKind; use crate::display::ToothDisplay; use crate::{NotationKind, QuadrantKind, Tooth, ToothType}; +use alloc::format; +use alloc::string::String; use owo_colors::{OwoColorize, Style}; pub struct ToothCliFormatter; diff --git a/src/display/mod.rs b/src/display/mod.rs index 08590f5..b248f58 100644 --- a/src/display/mod.rs +++ b/src/display/mod.rs @@ -1,6 +1,7 @@ pub use crate::display::cli::*; use crate::NotationKind; use crate::Tooth; +use alloc::string::String; mod cli; pub enum JawKind { diff --git a/src/lib.rs b/src/lib.rs index d52b5b2..8901bb3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,9 @@ +#![no_std] +extern crate alloc; +use crate::alloc::borrow::ToOwned; +use alloc::format; +use alloc::string::{String, ToString}; + pub mod display; #[derive(Copy, Clone)]