diff --git a/src/lib.rs b/src/lib.rs index 17b01027..9c1212ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,9 @@ mod raw; mod string; mod vec; +#[cfg(feature="std")] use std::any::Any; +#[cfg(feature="std")] use std::error::Error; use std::fmt;