ntex-bytes

Crates.iontex-bytes
lib.rsntex-bytes
version0.1.27
sourcesrc
created_at2021-06-27 01:22:22.37568
updated_at2024-04-08 09:44:35.795938
descriptionTypes and traits for working with bytes (bytes crate fork)
homepage
repositoryhttps://github.com/ntex-rs/ntex
max_upload_size
id415314
size291,488
Nikolay Kim (fafhrd91)

documentation

https://docs.rs/ntex-bytes

README

Bytes

A utility library for working with bytes. This is fork of bytes crate (https://github.com/tokio-rs/bytes)

Crates.io

Documentation

Usage

To use ntex-bytes, first add this to your Cargo.toml:

[dependencies]
ntex-bytes = "0.1"

Next, add this to your crate:

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

Serde support

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

[dependencies]
ntex-bytes = { version = "0.1", features = ["serde"] }

License

Commit count: 4730

cargo fmt