commit | c9f2a2b8cc708d4e14bf029e4a3fcebc642bd65a | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Dec 08 21:08:29 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Dec 08 21:08:29 2022 +0000 |
tree | f076aa0469c4503eed1329b45d8a42af241ffb3b | |
parent | 3207e47642baca9046bcf1c91b6af0e7aabc0f6f [diff] | |
parent | 5c0f91390fdbb419f95358046200b568bb02de0a [diff] |
Upgrade bytes to 1.3.0 am: 61e66a44bc am: e78bcc5329 am: 5c0f91390f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2335362 Change-Id: Ib4a7a510bc46a180a358e71b36a664ec53b7565a 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.