commit | c38834ffa52f8a1abd5e1e4866281e924096b496 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jun 15 22:28:31 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jun 15 22:28:31 2022 +0000 |
tree | a9a4347d7442002be9ee6d69bb0a0cb5b7e2cc8b | |
parent | 3e1315ba261a18e7a0ffcca2df23eae885292b73 [diff] | |
parent | 6cf5576778642c883023135d99ce00377c57dabd [diff] |
Merge "Update TEST_MAPPING" am: 13a53c7570 am: 06dd03b784 am: 5625868cb1 am: 6cf5576778 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2125735 Change-Id: I48b2c562b0f71eac805dc6ba0f3fe39600e28a7f 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.