ector 0.1.1

Ector is an open source async, no-alloc actor framework for embedded devices.
Documentation
#![macro_use]
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(dead_code)]
#![feature(type_alias_impl_trait)]
#![doc = include_str!("../README.md")]
pub(crate) mod fmt;

mod actor;

pub use actor::*;
pub use ector_macros::*;

#[cfg(feature = "std")]
pub mod testutil;

/// Spawn an actor given a spawner and the actors name, type and instance.
#[macro_export]
macro_rules! spawn_actor {
    ($spawner:ident, $name:ident, $ty:ty, $instance:expr) => {{
        static $name: ::ector::ActorContext<$ty> = ::ector::ActorContext::new();
        $name.mount($spawner, $instance)
    }};
}