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