embedded-io-async seem to be something i would want to use also for crates meant to be used with std just to future-proof portability. great that there is solution for
std::io issue finally. for me the disability to e.g. not being able to use
no_std code has been a huge turndown.
and since these are provided by the Rust HAL team there’s some trust for long-term lifespan. 3rd party solutions in the basic error types and
BufRead is a maintenance risk imho.
this is good enough as far as i’m concerned
I’ve been using Rust professionally way or another for about 2 years now and at least this and also lack of e.g.
BufRead abstraction (sorry trait) has been something that I’ve been cursing to this day because it enforces you to do totally unproductive boilerplate and glue for everything you do with Rust. So definitely a huge improvement is this… Doing some
RidiculousError type for every
no_std thing is just terrible IMHO. For 95% of stuff I’d rather use just predefined error codes. It also improves productivity by factors when all your crates communicate with same error codes.
Abstraction only ever make sense if they have some meaningful functional use. Otherwise, they are just code bloat.