greenthread-future-rs
Convert closures into futures based on greenthread on bare-metal (no_std + no_alloc).
In a word, this is a #![no_std]
version of Futurify.
I'm exploring to use it to implement bare-metal threading.
Example
TODO.
Now just take a unit test as an example:
async
Output:
1.1
2.1
1.2
2.2
join 1 => 1
join 2 => 2