commit | b3637d484ccee5bb672f5c0d1d63f904f8adacc8 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Thu Sep 23 15:25:33 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Sep 23 15:25:33 2021 +0000 |
tree | 8e48eb122f9388d510dacf7066a11e16c9b411d3 | |
parent | 89bf13783a9ff10b0bc0ed11dd9153f97749d8da [diff] | |
parent | 40de18409c3678f9f5dc74fe85c15381f7cabed4 [diff] |
Upgrade rust/crates/bytes to 1.1.0 am: 12f62b94d6 am: 71a27c276b am: 7da1f6753d am: 5cf68aff60 am: 40de18409c Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1833594 Change-Id: Id8d8c910f95605dac246d0cc294cf1442a36e5e9
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.