| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 1 | -114/+0 |
| | | |||||
| * | executor: add support for main/task macros in stable (allocates tasks in an ↵ | Dario Nieuwenhuis | 2023-11-24 | 1 | -0/+9 |
| | | | | | arena) | ||||
| * | Allow arbitrary expressions as pool_size | Dániel Buga | 2023-06-25 | 1 | -9/+9 |
| | | |||||
| * | Update darling | Dániel Buga | 2023-06-25 | 1 | -2/+3 |
| | | |||||
| * | macros: better validation of function signatures. | Dario Nieuwenhuis | 2023-03-08 | 1 | -1/+22 |
| | | | | | Fixes #1266 | ||||
| * | Hide doc comments from inner function include doc comments on outer function | Brendon Fallquist | 2022-12-24 | 1 | -5/+13 |
| | | |||||
| * | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | 2022-08-18 | 1 | -2/+2 |
| | | |||||
| * | macros: remove embassy_prefix attr. | Dario Nieuwenhuis | 2022-08-17 | 1 | -8/+2 |
| | | | | | | | | This was used in the past for reexporting the macros from drogue-device, which is no longer using it. Also, it is a pain to support, so we don't want it. | ||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 1 | -1/+1 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -4/+1 |
| | | |||||
| * | executor: "send-spawn is OK if the args are Send" only holds for async fn ↵ | Dario Nieuwenhuis | 2022-04-27 | 1 | -1/+1 |
| | | | | | | | | | futures. The normal `spawn()` methods can be called directly by the user, with arbitrary hand-implemented futures. We can't enforce they're only called with `async fn` futures. Therefore, make these require `F: Send`, and add a "private" one only for use in the macro, which can enforce it. | ||||
| * | executor: make send-spawning only require the task args to be Send, not the ↵ | Dario Nieuwenhuis | 2022-04-27 | 1 | -17/+4 |
| | | | | | whole future. | ||||
| * | executor: add raw::TaskPool. | Dario Nieuwenhuis | 2022-04-27 | 1 | -6/+3 |
| | | | | | This simplifies the macro code a bit. | ||||
| * | macros: simplify task macro using "TAIT laundering". | Dario Nieuwenhuis | 2022-04-26 | 1 | -17/+14 |
| | | |||||
| * | macros: isolate the TAIT into its own mod. | Dario Nieuwenhuis | 2022-04-25 | 1 | -34/+33 |
| | | | | | | This fixes type inference issues due to the TAIT's defining scope being the whole parent mod. | ||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-04-24 | 1 | -8/+22 |
| | | | | | | | | | | Fixes a new opaque type error in the task macro. Full error is "opaque type's hidden type cannot be another opaque type from the same scope". This got disallwed by the lazy-TAIT PR: https://github.com/rust-lang/rust/pull/94081 Sadly there's now some weird type inference errors with pre-lazy-TAIT nightlies, so support for those is dropped. | ||||
| * | macros: cleanup, make work in stable. | Dario Nieuwenhuis | 2022-02-12 | 1 | -0/+90 |
