tmpfs / binary-stream

Read and write to binary streams
MIT License
2 stars 0 forks source link

no_std Support #11

Open adelynne-brito opened 1 month ago

adelynne-brito commented 1 month ago

It would be nice if there was support for this for embedded contexts

tmpfs commented 1 month ago

Hi @adelynne-brito, I don't have a use case for no_std support using this library but would be happy to review and work on a PR if you want to add it. Cheers 👍

adelynne-brito commented 1 month ago

I found a workaround using VecDeque but my use case was for an embedded project. I'm working on a flight computer that uses various asynchronus tasks to gather data which is compiled into packets. These packets are then sent to a buffer/stream. A seperate task handles reading from this stream and outputting the data through an RF module.

I may look into extending this project using alloc but at the moment it doesnt seem neccessary.