commit | e78bcc53294fda42ef99acb3d04d16b8f9501c10 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Dec 08 19:30:58 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Dec 08 19:30:58 2022 +0000 |
tree | f076aa0469c4503eed1329b45d8a42af241ffb3b | |
parent | 3488e56e69f017c445137dc744dca49203fdcd67 [diff] | |
parent | 61e66a44bc92c925ada24e2765572e5de1b827fe [diff] |
Upgrade bytes to 1.3.0 am: 61e66a44bc Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2335362 Change-Id: Iad65833e9cc77eafd8b9219fee9ea5a277361479 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.