3 releases

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

#71 in Magic Beans

Download history 5735/week @ 2023-12-23 9594/week @ 2023-12-30 17071/week @ 2024-01-06 22962/week @ 2024-01-13 22535/week @ 2024-01-20 19950/week @ 2024-01-27 19150/week @ 2024-02-03 21037/week @ 2024-02-10 29123/week @ 2024-02-17 25649/week @ 2024-02-24 20052/week @ 2024-03-02 22553/week @ 2024-03-09 22877/week @ 2024-03-16 22730/week @ 2024-03-23 33250/week @ 2024-03-30 26524/week @ 2024-04-06

109,121 downloads per month
Used in 21 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