commit | eecb860ac451d042b999b59a2baba15beb72021d | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Nov 17 20:19:50 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Nov 17 20:19:50 2021 +0000 |
tree | f96fd4907e26c5d6c86d96259550bfe904d686be | |
parent | 41341b4b5a81074d83064bc10c8d73769095cb39 [diff] | |
parent | 82217e3f0b068a647626e8daae192d0579e00f82 [diff] |
[automerger skipped] Merge "Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918" into stage-aosp-master am: 5168419754 -s ours am: af9f97dd06 -s ours am: 82217e3f0b -s ours am skip reason: Merged-In Ie9530839cafc65f1370ab30e46f6027f92bfe09b with SHA-1 5cf68aff60 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/16278287 Change-Id: I6fb101111a60d9efa602d827664e22e960411b7d
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.