commit | 1dcc5761cafc4e4a5bb315c83a155069774baa30 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Apr 28 21:19:52 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 21:19:52 2021 +0000 |
tree | b24733b7c7144c7405bc82380b5d5178a0e1b221 | |
parent | e61a0237053bab918fdfdf008bae1a3380fc6ddf [diff] | |
parent | b50f98162e8e899894f1d92c8112b7dc4517c10a [diff] |
Generate apex_available from c2a instead of a patch am: b50f98162e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1688667 Change-Id: I6576ee4981aee0053752e7ed880d60d5ef929691
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.