hazard3-executor-timer-queue 0.2.0

Timer queue item and interface between embassy-executor and timer queues
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

Fork for RISC-V. 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.2.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.2"

Use compatible new versions of the other Hazard3 crates together. These versions are pending publication; older published versions may use different library names. Rename calls to TimerQueueItem::from_embassy_waker to from_hazard3_waker.

Acknowledgements

This crate is a derivative work of the Embassy project (embassy-rs), Copyright (c) Embassy project contributors, used under the MIT OR Apache-2.0 licenses. The original copyright and license notices are kept (see LICENSE-MIT and LICENSE-APACHE). Embassy and its authors are not affiliated with, and do not endorse, this fork. Thank you to the Embassy team and contributors for their work.