commit | 71a27c276bb9be9a39d10d082d01411f3ab82a2b | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Thu Sep 23 14:36:41 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Sep 23 14:36:41 2021 +0000 |
tree | 8e48eb122f9388d510dacf7066a11e16c9b411d3 | |
parent | 4793c4dfd140da5df7a79394901aa8454ba46f76 [diff] | |
parent | 12f62b94d6ccdca90dcd0edfbff82031fec3912f [diff] |
Upgrade rust/crates/bytes to 1.1.0 am: 12f62b94d6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1833594 Change-Id: Ic4433b68fef32c41a08a00a829f93be105cc4e8b
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.