#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

#66 in Data structures

Download history 459190/week @ 2024-07-21 453651/week @ 2024-07-28 447976/week @ 2024-08-04 463341/week @ 2024-08-11 475604/week @ 2024-08-18 485497/week @ 2024-08-25 443672/week @ 2024-09-01 483442/week @ 2024-09-08 447411/week @ 2024-09-15 508433/week @ 2024-09-22 437115/week @ 2024-09-29 373272/week @ 2024-10-06 400345/week @ 2024-10-13 396303/week @ 2024-10-20 350712/week @ 2024-10-27 363433/week @ 2024-11-03

1,526,019 downloads per month
Used in 961 crates (14 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

~165–380KB