commit | 0afc9ae59d82e9f313bc499cb957184f0bad2acd | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Nov 10 08:41:44 2021 -0800 |
committer | Joel Galenson <jgalenson@google.com> | Wed Nov 10 08:41:44 2021 -0800 |
tree | f96fd4907e26c5d6c86d96259550bfe904d686be | |
parent | bd87b64fbfd1f4f0e681096514a89167a393d8c4 [diff] |
Add back missing tests. Test: TreeHugger Change-Id: I87ae63757e3870208aa41e0d1aad2244f1f05ec4
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.