3 releases

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

#18 in #allocator-api

Download history 28347/week @ 2024-07-22 23637/week @ 2024-07-29 27848/week @ 2024-08-05 39269/week @ 2024-08-12 24233/week @ 2024-08-19 34004/week @ 2024-08-26 39375/week @ 2024-09-02 32744/week @ 2024-09-09 31720/week @ 2024-09-16 31875/week @ 2024-09-23 33286/week @ 2024-09-30 34785/week @ 2024-10-07 34902/week @ 2024-10-14 39316/week @ 2024-10-21 29129/week @ 2024-10-28 41579/week @ 2024-11-04

145,846 downloads per month
Used in 30 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