slice-cell

Crates.ioslice-cell
lib.rsslice-cell
version0.0.5
sourcesrc
created_at2023-01-07 06:23:52.052286
updated_at2023-01-24 08:01:30.012202
descriptionA `Cell<[T]>`-like mutable slice, that allows slice-like APIs.
homepage
repositoryhttps://github.com/zachs18/slice-cell
max_upload_size
id752811
size51,192
(zachs18)

documentation

README

slice-cell

slice_cell::SliceCell<T> is much like Cell<[T]>, but with some additional features.

In particular, &SliceCell<u8> implements std::io::Read and Write (under the "std" cargo feature), tokio::io::AsyncRead and AsyncWrite (under the "tokio" cargo feature), and slice_cell::io::Cursor<&SliceCell<u8>> implements those as well as std::io::Seek and tokio::io::AsyncSeek.

Commit count: 7

cargo fmt