commit | ef6f9933a3baa67638cb1da44defb0208da84c20 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat Jan 29 04:04:57 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat Jan 29 04:04:57 2022 +0000 |
tree | 0398c46dd980c4f297ce623d0bd7074bdf0c46ba | |
parent | e24cecbe53003f85afe035c0165506a190389587 [diff] | |
parent | 12dc5f191ecfeb2ddefccd6831b472c2522334ef [diff] |
Snap for 8130893 from 12dc5f191ecfeb2ddefccd6831b472c2522334ef to tm-d1-release Change-Id: I6636ba69ed8639fce700adbde62f9f5fcd14b23a
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.