Need help with bytes?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tokio-rs
703 Stars 125 Forks MIT License 397 Commits 62 Opened issues

Description

Utilities for working with bytes

Services available

!
?

Need anything else?

Contributors list

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 = "1"

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 = "1", 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.