Alternative to io::Cursor in no_std environments


#1

Hi!

I’m working in a no_std environment and was wondering if there are any recommendations on a replacement for io::Cursor in no_std land.

Thanks!


#2

The core_io crate makes available those parts of std::io that are usable with core. In particular, you can use Cursor over a mutable slice backed by a regular array. I’ve been meaning to update it to the latest nightly, but you need to use nightly-2017-06-15 or older right now.