3 releases

0.1.2 Mar 16, 2020
0.1.1 Oct 24, 2019
0.1.0 Aug 23, 2018

#11 in #allocator-api

Download history 19947/week @ 2024-06-19 21505/week @ 2024-06-26 23578/week @ 2024-07-03 21915/week @ 2024-07-10 29620/week @ 2024-07-17 29733/week @ 2024-07-24 20864/week @ 2024-07-31 34184/week @ 2024-08-07 32674/week @ 2024-08-14 27062/week @ 2024-08-21 37534/week @ 2024-08-28 36084/week @ 2024-09-04 32413/week @ 2024-09-11 33509/week @ 2024-09-18 28497/week @ 2024-09-25 30179/week @ 2024-10-02

130,040 downloads per month
Used in 23 crates (4 directly)

MIT/Apache

6KB
122 lines

no_std support

This crate has a feature, std, that is enabled by default. To use this crate in a no_std context, add the following to your Cargo.toml (still requires allocator though):

[dependencies]
parity-bytes = { version = "0.1", default-features = false }

Until allocator api is stabilized, this type of use is limited to nightly Rust.


lib.rs:

General bytes-related utilities.

Includes a pretty-printer for bytes, in the form of ToPretty and PrettySlice as

No runtime deps

Features