hazard3-executor-timer-queue 0.3.1

Timer queue interface for async executors on RISC-V embedded systems.
Documentation

hazard3-executor-timer-queue

Published replacement: hazard3-executor-timer-queue replaces the formerly published embassy-executor-timer-queue-riscv. See the project repository for the publication status of the Hazard3 packages. Upstream license and attribution notices are retained.

Crates.io docs.rs License: MIT OR Apache-2.0

Unofficial, RISC-V-first fork. hazard3-executor-timer-queue is an independent fork of the upstream executor timer queue, maintained by Jorge Andre Castro at https://github.com/jorgeandrecastro/Hazard3. It was originally republished under another name because hazard3-rp needs these unreleased changes and crates.io does not accept git dependencies. Add hazard3-executor-timer-queue directly in Cargo.toml and import it as hazard3_executor_timer_queue. Use the related Hazard3 crates together to avoid duplicate/incompatible copies in your build.

This crate defines the timer queue item that hazard3-executor provides, and a way to access it, for executor-integrated timer queues. The crate decouples the release cycle of hazard3-executor from that of the queue implementations'.

As a HAL implementer, you only need to depend on this crate if you want to implement executor-integrated timer queues yourself, without using hazard3-time-queue-utils.

As a HAL user, you should not need to depend on this crate.

Migration to 0.3.0

The Rust library is now hazard3_executor_timer_queue instead of embassy_executor_timer_queue. Update imports and macro paths; this is a source-breaking change. Add the package directly without a package alias:

[dependencies]
hazard3-executor-timer-queue = "0.3"

Use compatible versions of the other Hazard3 crates together; older releases may use different library names. Rename calls to TimerQueueItem::from_embassy_waker to from_hazard3_waker.

Acknowledgements

This crate is part of Hazard3, an unofficial, independent RISC-V-first fork of the Embassy project. Credit for the original work remains with Embassy and its contributors. The original MIT OR Apache-2.0 terms and copyright notices are retained (see LICENSE-MIT and LICENSE-APACHE). Hazard3 is not affiliated with or endorsed by Embassy. Thank you to the Embassy team and contributors for their work.