17 releases (5 breaking)
new 0.6.1 | Jan 19, 2025 |
---|---|
0.6.0 | Jan 16, 2025 |
0.5.0 | Dec 24, 2024 |
0.4.1 | Dec 17, 2024 |
0.1.2 | Nov 30, 2024 |
#449 in Algorithms
245 downloads per month
455KB
10K
SLoC
arbi
arbi
implements an Arbitrary Precision Integer type: Arbi
.
Features
-
No dependencies by default.
If you need to generate random arbitrary integers, enable the
rand
feature, which depends on the rand crate. -
no_std
.This crate is
no_std
and utilizes thealloc
crate for dynamic memory allocation.Enable the
std
feature if you needstd::error::Error
implementations for error types (it is not used for other purposes). -
forbid(unsafe_code)
.Statically guarantees that crate code does not use
unsafe
Rust. -
Pure Rust implementation.
License
This project is dual-licensed under either the Apache License, Version 2.0 or the MIT License, at your option.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be dual-licensed as above, without any additional terms or conditions.