technocreatives / core2

The bare essentials of std::io for use in no_std. Alloc support is optional.
https://docs.rs/core2
Apache License 2.0
71 stars 23 forks source link

IoSlice and IoSliceMut #10

Open sunfishcode opened 2 years ago

sunfishcode commented 2 years ago

Thanks for core2! I was able to port a std::io-using codebase to it very easily.

The one thing I needed that was missing was IoSlice and IoSliceMut, though for my project, I was able to just disable vectored I/O in no_std builds.

bbqsrc commented 2 years ago

It was hard and I didn't feel like putting in the work since I don't know the real world use cases. If someone wants to patch it in, they may be my guest. :smile: