#no-alloc #irox #stream

no-std irox-bits

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams

12 unstable releases (3 breaking)

0.4.2 Mar 1, 2025
0.4.0 Jan 26, 2025
0.3.0 Dec 14, 2024
0.2.1 Oct 30, 2024
0.1.4 Jul 19, 2024

#1126 in Parser implementations

Download history 120/week @ 2024-12-04 358/week @ 2024-12-11 70/week @ 2024-12-18 21/week @ 2024-12-25 50/week @ 2025-01-01 65/week @ 2025-01-08 52/week @ 2025-01-15 212/week @ 2025-01-22 47/week @ 2025-01-29 160/week @ 2025-02-05 239/week @ 2025-02-12 55/week @ 2025-02-19 343/week @ 2025-02-26 79/week @ 2025-03-05 56/week @ 2025-03-12 28/week @ 2025-03-19

515 downloads per month
Used in 34 crates (13 directly)

MIT/Apache

100KB
2.5K SLoC

IROX-BITS

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams.

The main traits provided by this crate are Bits (analogous to std::io::Read), and MutBits (analogous to std::io::Write).

Also included are multi-OS wrappers SeekRead and SeekWrite, and a more organic UTF-8 encoding/decoding setup for chars.

This is an Irox foundational crate, it has no external dependencies, is no-std/no-alloc by default (but can be augmented by using the std and alloc features), and many other irox crates extend and augment the functionality contained herein. irox_structs is notable as it provides a derivable way to encode/decode structs as a sequence of bytes.

No-STD support:

  • The core traits Bits and MutBits and the majority of the functionality of this crate are available no-std/no-alloc.

Features:

No runtime deps

Features