commit | 04591ddf9c54f708f919eaf642fbc40415fd4f59 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 14:49:20 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 14:49:20 2021 +0000 |
tree | 1e2edced955b49d54f3cfe3b905af03b45ba0717 | |
parent | 8ffc3112d7ae3c9071de76a903fe134c2705f535 [diff] | |
parent | 12a6f11a4434afbbf00c091acfeeaaaf63e57bf7 [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: e61a023705 -s ours am: cd041f8f80 -s ours am: 12a6f11a44 -s ours am skip reason: Change-Id I10280169a130bcd98707b1a72e5022d1d786987f with SHA-1 c6f8e2a771 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie27092e8a36e368f2258edbc31fe6cb300b77beb
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.