Skip to content
/ arbi Public

Arbitrary Precision Integer for Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

OTheDev/arbi

Repository files navigation

Test Static Analysis github docs.rs Crates.io License MSRV crates.io

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 the alloc crate for dynamic memory allocation.

    Enable the std feature if you need std::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.