| Crates.io | compact_bytes |
| lib.rs | compact_bytes |
| version | 0.2.1 |
| created_at | 2023-10-31 21:37:54.389996+00 |
| updated_at | 2025-06-14 02:49:01.63825+00 |
| description | A memory efficient bytes container that transparently stores bytes on the stack, when possible |
| homepage | https://github.com/ParkMyCar/compact_bytes |
| repository | https://github.com/ParkMyCar/compact_bytes |
| max_upload_size | |
| id | 1020400 |
| size | 84,875 |
compact_bytesA memory efficient bytes container that can store up to 23 bytes on the stack.
This crate was mostly developed for Materialize out of a need for a more compact bytes container. It entirely borrows implementation from
compact_str which has been thoughtfully maintained over the past few years by a number of dedicated contributors, including:
For now this repository exists separately from compact_str because it's easier to get started that way. But the plan is to eventually merge the two.