diff --git a/src/lib.rs b/src/lib.rs index a4905ae..2a9d360 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +#![no_std] //! **Typed distributed plugin registration.** //! //! This crate provides a way to set up a plugin registry into which plugins @@ -94,6 +95,9 @@ //! There is no guarantee about the order that plugins of the same type are //! visited by the iterator. They may be visited in any order. +extern crate alloc; +use alloc::boxed::Box; + // Not public API. #[doc(hidden)] pub use ctor::ctor;