#unsafe #bit #bytemuck #bits #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

#46 in No standard library

Download history 108/week @ 2024-07-12 134/week @ 2024-07-19 82/week @ 2024-07-26 118/week @ 2024-08-02 254/week @ 2024-08-09 113/week @ 2024-08-16 125/week @ 2024-08-23 191/week @ 2024-08-30 144/week @ 2024-09-06 179/week @ 2024-09-13 146/week @ 2024-09-20 138/week @ 2024-09-27 85/week @ 2024-10-04 140/week @ 2024-10-11 133/week @ 2024-10-18 99/week @ 2024-10-25

471 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