3 releases

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

#117 in Magic Beans

Download history 7035/week @ 2023-12-20 6600/week @ 2023-12-27 14134/week @ 2024-01-03 18993/week @ 2024-01-10 24105/week @ 2024-01-17 22723/week @ 2024-01-24 16451/week @ 2024-01-31 22017/week @ 2024-02-07 25539/week @ 2024-02-14 25149/week @ 2024-02-21 24179/week @ 2024-02-28 20869/week @ 2024-03-06 20889/week @ 2024-03-13 27091/week @ 2024-03-20 24097/week @ 2024-03-27 27106/week @ 2024-04-03

103,099 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