commit | 3e1315ba261a18e7a0ffcca2df23eae885292b73 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue May 31 17:59:01 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 31 17:59:01 2022 +0000 |
tree | fd5a54dedbd0779e33b2ea36a0b5463ff79f95f1 | |
parent | db10ab82f3a0539c8bb44ed6196a97b6d8285a30 [diff] | |
parent | 1e451b571ff09f97579f54dc53247a8805f9dbaa [diff] |
Update TEST_MAPPING am: 915b05c8bc am: 37d179d105 am: f0e7787961 am: 1e451b571f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2107312 Change-Id: Ifbbc947105f5f804159e12fdd1e50e8cdb095429 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.