#byte-buffer #byte #buffer #byte-string #zero-copy

no-std bytes-utils

Additional utilities for working with the bytes crate

5 releases

0.1.4 Nov 17, 2023
0.1.3 Sep 2, 2022
0.1.2 Mar 19, 2022
0.1.1 Jan 31, 2021
0.1.0 Jan 22, 2021

#65 in Data structures

Download history 464792/week @ 2024-08-15 476860/week @ 2024-08-22 435796/week @ 2024-08-29 492531/week @ 2024-09-05 469664/week @ 2024-09-12 483949/week @ 2024-09-19 481319/week @ 2024-09-26 379017/week @ 2024-10-03 379401/week @ 2024-10-10 411476/week @ 2024-10-17 365084/week @ 2024-10-24 348628/week @ 2024-10-31 364055/week @ 2024-11-07 393256/week @ 2024-11-14 357516/week @ 2024-11-21 262037/week @ 2024-11-28

1,441,259 downloads per month
Used in 1,002 crates (15 directly)

Apache-2.0/MIT

59KB
1K SLoC

Additional utils for the bytes crate

Actions Status codecov docs

Few utilities to make working with the types and traits in the bytes crate even more convenient and powerful.

Currently contains:

  • SegmentedBuf that can concatenate multiple Bufs into a bigger one without copying.
  • Str and StrMut, string wrappers around Bytes and BytesMut.

Features

no_std builds are supported by disabling the std feature, which is enabled by default.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~170–380KB