commit | fa7c68d934f176c87c286158bdbc3a059e02f0d2 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Aug 25 07:51:58 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Aug 25 07:51:58 2022 +0000 |
tree | 3fee6af0dccc64fa7a924a5a7b9c420f777cecf8 | |
parent | bf241bb18d537c141d69d4c4a4cb0a212628e1c2 [diff] | |
parent | a8cac4dbb79bd0c8317dc7e8442cd02578df10ca [diff] |
Snap for 8992082 from a8cac4dbb79bd0c8317dc7e8442cd02578df10ca to gki13-boot-release Change-Id: I920137a1c6ae72ae57669165ece4c4af90f2ec96
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.