commit | 7ac11c6d84254e0030363161c90a1c746a565da6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Feb 12 04:05:36 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Feb 12 04:05:36 2022 +0000 |
tree | 0398c46dd980c4f297ce623d0bd7074bdf0c46ba | |
parent | 3811ce173651f62096319de1b3e1f1daff4ece31 [diff] | |
parent | b1de609d6fd68b87c1a05f8167b8e4ef1a1fbb5d [diff] |
Snap for 8176975 from b1de609d6fd68b87c1a05f8167b8e4ef1a1fbb5d to tm-release Change-Id: I55b2c6b31123a5382c21f6dd02677a0e0dfe6afe
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.