Skip to content

Commit

Permalink
Add support for no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
jam1garner committed Apr 8, 2020
1 parent b94ef8c commit 9e2edfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9e2edfe

Please sign in to comment.