commit | 699acae798a0dc7c2bc37dfa810fb44f94fa8966 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Jan 22 22:45:22 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Jan 22 22:45:22 2022 +0000 |
tree | f96fd4907e26c5d6c86d96259550bfe904d686be | |
parent | 864f2937cc97d36bd9244c672b6f1433ff9233a9 [diff] | |
parent | 5847678d9c57f11ab65edbeb208a831879f44b76 [diff] |
Snap for 8105537 from 5847678d9c57f11ab65edbeb208a831879f44b76 to t-keystone-qcom-release Change-Id: Ieb89f69e9b39bba6088d119c41cef1177011aa2d
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.