Avoid pulling in std for no-std.

This commit is contained in:
Stephen Chung
2020-07-20 20:23:35 +08:00
parent 700060b6e7
commit a5fa8322e9
4 changed files with 8 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ use crate::token::Position;
#[cfg(not(feature = "no_float"))]
use crate::parser::FLOAT;
#[cfg(not(feature = "no_float"))]
use num_traits::*;
use crate::stdlib::{boxed::Box, format, i32, i64};
#[cfg(feature = "only_i32")]