bytes-expand

Crates.iobytes-expand
lib.rsbytes-expand
version0.4.12
sourcesrc
created_at2019-05-29 16:20:05.479848
updated_at2019-05-29 16:20:05.479848
descriptionTypes and traits for working with bytes
homepagehttps://github.com/carllerche/bytes
repositoryhttps://github.com/carllerche/bytes
max_upload_size
id137726
size230,502
marsqing (marsqing)

documentation

https://docs.rs/bytes/0.4.12/bytes

README

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.4.12"

Next, add this to your crate:

extern crate bytes;

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.4.12", 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.

Commit count: 455

cargo fmt