bastion-rs / agnostik

Executor Agnostic Runtime that can run your futures with your favourite Executor
https://docs.rs/agnostik
Apache License 2.0
143 stars 11 forks source link

Support no_std executors #3

Open Stupremee opened 4 years ago

Stupremee commented 4 years ago

Since async / await is available in no_std environment now, agnostik should add a no_std runtime.

I'm not sure if it should implement an own no_std executor or using an already existing crate.

richardanaya commented 4 years ago

I have one written here if it helps at all.

https://github.com/richardanaya/executor

I'm pretty interested in collaborating. I had a similar idea in my own package, but i'd be willing to conform to Agnostik's interface if its possible.

vertexclique commented 4 years ago

Hi @richardanaya ! Great news, I would be very happy to incorporate your executor. The first thing comes into my mind is using your executor as defacto no_std executor. Is it ok at your end? Feel free to open a PR if that suits to you :)

richardanaya commented 4 years ago

Absolutely!

Stupremee commented 4 years ago

if you want you can open a PR and implement your executor. You just have to uncomment the runtime_nostd in Cargo.toml and ci.sh and remove the core dependency.

richardanaya commented 4 years ago

Thanks! I tried integrating it this afternoon, I found some changes i need to make to my library to be more compliant.

On Tue, Mar 24, 2020 at 1:21 PM stu notifications@github.com wrote:

if you want you can open a PR and implement your executor. You just have to uncomment the runtime_nostd in Cargo.toml and ci.sh and remove the core dependency.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bastion-rs/agnostik/issues/3#issuecomment-603484396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACHZGSXMNZWHDEZNQN5JMTRJEI5TANCNFSM4LSHQR6Q .

richardanaya commented 4 years ago

https://github.com/bastion-rs/agnostik/pull/7

richardanaya commented 4 years ago

FYI, i'm no longer working on this as per #7. Someone else is free to take over.