rcbytes

Crates.iorcbytes
lib.rsrcbytes
version1.2.2
sourcesrc
created_at2022-08-01 07:27:04.427375
updated_at2022-08-01 07:28:19.901593
descriptionRc version bytes crate
homepage
repositoryhttps://github.com/al8n/rcbytes
max_upload_size
id636596
size296,180
Al Liu (al8n)

documentation

README

RcBytes

The aim for this crate is to implement a Rc version bytes, which means that the structs in this crate does not implement the Sync and Send.

This crate is heavily based on the bytes (A utility library for working with bytes).

Crates.io Build Status

Documentation

Usage

To use rcbytes, first add this to your Cargo.toml:

[dependencies]
rcbytes = "1"

Next, add this to your crate:

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

Serde support

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

[dependencies]
rcbytes = { 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 rcbytes by you, shall be licensed as MIT, without any additional terms or conditions.

Commit count: 3

cargo fmt