commit | 4ad8f64feb7e17a7217f247ce93ffed7c4a66daa | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Feb 11 06:15:07 2022 +0000 |
committer | Xin Li <delphij@google.com> | Fri Feb 11 06:15:07 2022 +0000 |
tree | 0398c46dd980c4f297ce623d0bd7074bdf0c46ba | |
parent | 4925daf1b42f51cfe8f81b575990eeba5a8b0bb6 [diff] | |
parent | b15e80c995695f9f15e7fc6351612fff26c37621 [diff] |
Empty merge of sc-v2-dev-plus-aosp-without-vendor@8084891 Bug: 214455710 Merged-In: I54dc21712c4c79b978fe36a05e0e3e9c7c284c63 Change-Id: I968aa09c36634c863d5feebcde64fdffa1c10ce9
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.