bytes

by tokio-rs

tokio-rs /bytes

Utilities for working with bytes

568 Stars 107 Forks Last release: 3 months ago (v0.5.6) MIT License 371 Commits 22 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Bytes

A utility library for working with bytes.

Crates.io Build Status

Documentation

Usage

To use

bytes
, first add this to your
Cargo.toml
:
[dependencies]
bytes = "0.5"

Next, add this to your crate:

use bytes::{Bytes, BytesMut, Buf, BufMut};

Serde support

Serde support is optional and disabled by default. To enable use the feature

serde
.
[dependencies]
bytes = { version = "0.5", features = ["serde"] }

License

This project is licensed under the MIT license.

Contribution

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.