commit | c8feb9025f784afa7faf10f7137593b36badc78a | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 15 12:05:36 2023 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 15 12:05:36 2023 -0800 |
tree | bc916d77ff4abffd28ebc6040f8a732aca0311e7 | |
parent | c053c3b17fa635b1445cd91f9e16c67b9682d236 [diff] | |
parent | 7a0823a3f021a4ba8d372981e615358667f7961d [diff] |
Merge 7a0823a3f021a4ba8d372981e615358667f7961d on remote branch Change-Id: Ibba0f82728487a84c14ab7bc63d0bd9ba5c676d9
A utility library for working with bytes.
To use bytes
, first add this to your Cargo.toml
:
[dependencies] bytes = "1"
Next, add this to your crate:
use bytes::{Bytes, BytesMut, Buf, BufMut};
Serde support is optional and disabled by default. To enable use the feature serde
.
[dependencies] bytes = { version = "1", features = ["serde"] }
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in bytes
by you, shall be licensed as MIT, without any additional terms or conditions.