commit | 391642653efd9ff822871f6263b52c5b2148b4c1 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Apr 28 22:10:49 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 22:10:49 2021 +0000 |
tree | b24733b7c7144c7405bc82380b5d5178a0e1b221 | |
parent | 12a6f11a4434afbbf00c091acfeeaaaf63e57bf7 [diff] | |
parent | ed027bc93fa78b38bc496c09b0b92592ecfdbc2d [diff] |
Generate apex_available from c2a instead of a patch am: b50f98162e am: 1dcc5761ca am: ed027bc93f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1688667 Change-Id: I9fc4895bc706e10523d643274d98fbd4bbb1a7d3
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.