embassy/embassy-hal-internal
Dario Nieuwenhuis b13ad7e80b Fix PeripheralRef soundness issue allowing &T.
Fix soundness issue introduced in a previous soundness fix https://github.com/embassy-rs/embassy/pull/2602 .
PeripheralRef must not implement DerefMut itself, but the blanket impl must still require DerefMut. Otherwise
you can create two instances of a driver on the same uart by using `&my_uart`.
2024-05-07 23:26:15 +02:00
..
src Fix PeripheralRef soundness issue allowing &T. 2024-05-07 23:26:15 +02:00
build.rs Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700) 2023-07-28 13:23:22 +02:00
Cargo.toml Fix invalid "async" crates.io category. 2024-01-12 00:39:01 +01:00
README.md Centralize license and MSRV boilerplate into the repo readme. 2024-01-11 18:18:35 +01:00

embassy-hal-internal

An Embassy project.

Internal implementation details for Embassy HALs. DO NOT USE DIRECTLY. Embassy HALs (embassy-nrf, embassy-stm32, embassy-rp) already reexport everything you need to use them effectively.