commit | 4793c4dfd140da5df7a79394901aa8454ba46f76 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Mon Aug 30 20:52:00 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Aug 30 20:52:00 2021 +0000 |
tree | a55269f8a586ae024f84842d61af15894d457b89 | |
parent | 7024acd7253e8e5837942db695731e613f6fba34 [diff] | |
parent | 199730d90816980d7cac4cb1dabcce07bc548a38 [diff] |
Update TEST_MAPPING am: 199730d908 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1813598 Change-Id: Ife5b5ddfbd3a92f09435c7d396889135841c22ff
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.