loony-bean / textplots-rs

Terminal plotting library for Rust
238 stars 24 forks source link

Feature request: no_std #14

Open Kezii opened 4 years ago

Kezii commented 4 years ago

Would be nice to use this in embedded devices

TDHolmes commented 3 years ago

would need to propogate down to drawile-rs & colored too. Might be tricky. drawile-rs looked fine but colored looked potentially tricky.

loony-bean commented 3 years ago

I'm not sure this lib is useful in no_std setting, at least I cannot imagine any use case.. Maybe we should close this one.

Kezii commented 3 years ago

at least I cannot imagine any use case.

The usecase is exactly the same it has for desktops, lol

loony-bean commented 3 years ago

Yeah.. but in most cases the device will not have any display, or it will have some really limited one? This is where my thoughts kind of stop

TDHolmes commented 3 years ago

I currently have a firmware project streaming data, and then a host side project doing the plotting. If this was no_std, I could directly plot in firmware in the serial console

Kezii commented 3 years ago

Yeah.. but in most cases the device will not have any display, or it will have some really limited one? This is where my thoughts kind of stop

that's the most compelling reason to have a library like this, when you have no other options other than a textual interface