commit | e24cecbe53003f85afe035c0165506a190389587 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Dec 23 02:05:00 2021 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Dec 23 02:05:00 2021 +0000 |
tree | 29c69c110aaf5efc6b32f04caa2b948b3f38c076 | |
parent | 212871688e58c3734257781a97fcdf4312dda8e1 [diff] | |
parent | c786ce5225ffd0f05e2f2b0479909dee25ccc4d3 [diff] |
Snap for 8023588 from c786ce5225ffd0f05e2f2b0479909dee25ccc4d3 to tm-d1-release Change-Id: Ia545f8b06355067cf7a611fd3715efb5e1bfb19d
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.