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