#bit #bytemuck #bits #unsafe #frob

no-std bitfrob

A sibling crate for bytemuck, this is where forbid(unsafe_code) utilities live

12 releases (6 stable)

1.3.2 Aug 12, 2024
1.3.1 May 13, 2023
1.3.0 Apr 6, 2023
1.2.0 Mar 28, 2023
0.1.1 Jul 30, 2022

#52 in No standard library

Download history 136/week @ 2024-09-30 70/week @ 2024-10-07 166/week @ 2024-10-14 124/week @ 2024-10-21 102/week @ 2024-10-28 131/week @ 2024-11-04 150/week @ 2024-11-11 208/week @ 2024-11-18 135/week @ 2024-11-25 118/week @ 2024-12-02 227/week @ 2024-12-09 152/week @ 2024-12-16 81/week @ 2024-12-23 90/week @ 2024-12-30 197/week @ 2025-01-06 193/week @ 2025-01-13

572 downloads per month
Used in 7 crates (3 directly)

Zlib OR Apache-2.0 OR MIT

28KB
477 lines

docs.rs Documentation

bitfrob

Helps you frob those bits


lib.rs:

A crate to help with bit manipulation of integers.

Features

  • track_caller adds the #[track_caller] attribute on all the functions that assert stuff.

No runtime deps

Features