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