commit | abd6f7fce2a12432103daa4987d30db5abc052fa | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Tue May 18 03:04:42 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue May 18 03:04:42 2021 +0000 |
tree | b542d91c6067bc477d8e7c59882c3e7db2a7ce25 | |
parent | de766c943071a0bc6bd26a83ad2c89f6d393b6fb [diff] | |
parent | 84bfb2c1fe85aed0f5d2c95521bf9407d327c6b6 [diff] |
Snap for 7372391 from 84bfb2c1fe85aed0f5d2c95521bf9407d327c6b6 to tm-release Change-Id: Ie119f1658a5568f5eff33e2a0dc6eb9a10718842
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.