embassy/embassy-macros
Dario Nieuwenhuis e7a19a9725 macros/main: copy fn return to task.
This prevents this bad code from compiling.

```rust
async fn main(_spawner: Spawner) -> ! {
    // not really noreturn!
}
```
2023-03-08 02:03:39 +01:00
..
src macros/main: copy fn return to task. 2023-03-08 02:03:39 +01:00
Cargo.toml refactor: autodetect macro variant 2022-11-23 13:54:59 +01:00
README.md doc: add README to embassy-macro 2022-11-22 13:57:41 +01:00

embassy-macros

An Embassy project.

Macros for creating the main entry point and tasks that can be spawned by embassy-executor.

NOTE: The macros are re-exported by the embassy-executor crate which should be used instead of adding a direct dependency on the embassy-macros crate.

Minimum supported Rust version (MSRV)

The task and main macros require the type alias impl trait (TAIT) nightly feature in order to compile.

License

This work is licensed under either of

at your option.