| Crates.io | slice-cell |
| lib.rs | slice-cell |
| version | 0.1.1 |
| created_at | 2023-01-07 06:23:52.052286+00 |
| updated_at | 2025-07-04 05:59:00.734772+00 |
| description | A `Cell<[T]>`-like mutable slice, that allows slice-like APIs. |
| homepage | |
| repository | https://github.com/zachs18/slice-cell |
| max_upload_size | |
| id | 752811 |
| size | 54,777 |
slice-cellslice_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.