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](https://img.shields.io/crates/v/hazard3-executor-timer-queue.svg)](https://crates.io/crates/hazard3-executor-timer-queue)
[![docs.rs](https://docs.rs/hazard3-executor-timer-queue/badge.svg)](https://docs.rs/hazard3-executor-timer-queue)
[![License: MIT OR Apache-2.0](https://img.shields.io/badge/License-MIT%20or%20Apache--2.0-blue.svg)](https://opensource.org/licenses/MIT)

> **Fork for RISC-V.** `hazard3-executor-timer-queue` is an independent fork of the upstream executor timer queue,
> maintained by [Jorge Andre Castro]https://github.com/jorgeandrecastro at <https://github.com/jorgeandrecastro/Hazard3>.
> It was originally republished under another name because [`hazard3-rp`]https://crates.io/crates/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`](https://crates.io/crates/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:

```toml
[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](https://embassy.dev) project ([embassy-rs](https://github.com/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.