commit | 49f37ac424d7df1f8ee1989d8f3b5ceb6b6a9ea0 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Mon Jan 11 19:30:56 2021 -0800 |
committer | Haibo Huang <hhb@google.com> | Mon Jan 11 19:30:56 2021 -0800 |
tree | 9fee875946571b5e3156284b964bf3617ced0ca1 | |
parent | 2b95745e709cfb52a81074e4882d0a2cbaaea2ed [diff] |
Upgrade rust/crates/bytes to 1.0.1 Test: make Change-Id: Ie9751d0251a3844858395badc8546303dcddeb24
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.