tinywake

Crates.iotinywake
lib.rstinywake
version0.2.2
created_at2025-03-14 21:09:52.5092+00
updated_at2025-03-18 18:42:11.259735+00
descriptionA minimal, no_std-compatible waker implementation for Cortex-M async executors.
homepage
repositoryhttps://github.com/ithinuel/TinyWake
max_upload_size
id1592766
size21,514
cargo-geiger admins (github:rust-secure-code:cargo-geiger-admins)

documentation

https://docs.rs/tinywake

README

TinyWake

A minimal, no_std-compatible waker implementation for Cortex-M async executors.

Features

  • No-std support: Designed for bare-metal systems without the Rust standard library.
  • Lightweight: Minimal overhead using heapless and portable-atomic.
  • Cortex-M Optimised: Designed to work efficiently with the cortex-m architecture.

Usage

Add this to your Cargo.toml:

[dependencies]
tinywake = "0.1.0"

Example

use tinywake::run_all;

async fn my_task() {
    // Your async code here
}

fn main() {
    let mut task1 = my_task();
    run_all([&mut task1]);
}

License

This project is licensed under the MIT License.

Commit count: 8

cargo fmt