embassy_mock/lib.rs
1//! This crate provides traits that match the public API of the Embassy types.
2//! These traits are implemented in this crate for the Embassy types, the implementation is a
3//! simple wrapper for the public API. This crate also provides mocked versions of these types
4//! which also implement the traits provided so they can be used to replace the real types in unit
5//! tests.
6
7#![no_std]
8#![warn(missing_docs)]
9
10#[cfg(feature = "executor")]
11pub mod executor;
12
13#[cfg(feature = "time")]
14pub mod time;