commit | 9439ba55a62be221b638b2df27383ded0261f5ba | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Nov 10 18:10:23 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Nov 10 18:10:23 2021 +0000 |
tree | f96fd4907e26c5d6c86d96259550bfe904d686be | |
parent | 205baced3febc66ba7f7ad345cd6dcc5a4753e4a [diff] | |
parent | 0afc9ae59d82e9f313bc499cb957184f0bad2acd [diff] |
Add back missing tests. am: 0afc9ae59d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1886392 Change-Id: I8f6a7c607309820da7550a0da73441b30b48f956
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.