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
1,526,019 downloads per month
Used in 961 crates
(14 directly)
59KB
1K
SLoC
Additional utils for the bytes crate
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 multipleBuf
s into a bigger one without copying.Str
andStrMut
, string wrappers aroundBytes
andBytesMut
.
Features
no_std
builds are supported by disabling the std
feature, which is enabled by default.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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