#int #integer #big #math #no-std

no-std awint_core

Core no-std and no-alloc awint functionality

6 releases (breaking)

Uses new Rust 2021

0.6.0 Jul 20, 2022
0.5.0 Jun 9, 2022
0.4.0 Apr 7, 2022
0.3.0 Mar 2, 2022
0.1.0-pre.0 May 22, 2021

#5 in #int

Download history 17/week @ 2022-04-22 15/week @ 2022-04-29 43/week @ 2022-05-06 83/week @ 2022-05-13 23/week @ 2022-05-20 41/week @ 2022-05-27 52/week @ 2022-06-03 23/week @ 2022-06-10 31/week @ 2022-06-17 15/week @ 2022-06-24 34/week @ 2022-07-01 22/week @ 2022-07-08 35/week @ 2022-07-15 52/week @ 2022-07-22 28/week @ 2022-07-29 31/week @ 2022-08-05

153 downloads per month
Used in 5 crates (3 directly)

MIT/Apache

210KB
3.5K SLoC

../README.md


lib.rs:

Arbitrary width integers library

This is the core library of the awint system of crates. This crate is strictly no-std and no-alloc, not even requiring an allocator to be compiled. This crate supplies the Bits reference type and the InlAwi storage type.

Almost all fallible functions in this crate returns a handleable Option or Result. The only exceptions are some core::ops implementations and the bw function.

Dependencies