rustne-kretser / noline

IO-agnostic line editor for embedded systems
Mozilla Public License 2.0
96 stars 9 forks source link

Implementing embassy async Editor #16

Closed m5p3nc3r closed 1 year ago

m5p3nc3r commented 1 year ago

Hi Guys

I am looking at reimplementing the no_sync::Editor that is currently based on Tokio (which requires the std crate) to make use of embassy async functions.

I have hit a couple of early problems with my efforts because of some of the visibility decisions made in noline. It may be that I am trying to do this in the wrong way, in which case some pointers would be appreciated, but can I ask why

m5p3nc3r commented 1 year ago

FYI - I have this working now and am preparing a PR.

m5p3nc3r commented 1 year ago

17 implements this functionality. I have it working on my RP2040 using Embassy async.