Bug: 178993122

Clone this repo:
  1. bba013d Make num-integer available to product and vendor am: ebdc3400e6 by Matthew Maurer · 3 months ago main master android-u-beta-1-gpl
  2. ebdc340 Make num-integer available to product and vendor by Matthew Maurer · 3 months ago
  3. d061feb Update TEST_MAPPING am: 203e05a129 by Jeff Vander Stoep · 4 months ago
  4. 203e05a Update TEST_MAPPING by Jeff Vander Stoep · 4 months ago
  5. 2cfadf0 Update TEST_MAPPING am: 58a8a32e96 by David Brazdil · 5 months ago

num-integer

crate documentation minimum rustc 1.8 build status

Integer trait and functions for Rust.

Usage

Add this to your Cargo.toml:

[dependencies]
num-integer = "0.1"

and this to your crate root:

extern crate num_integer;

Features

This crate can be used without the standard library (#![no_std]) by disabling the default std feature. Use this in Cargo.toml:

[dependencies.num-integer]
version = "0.1.36"
default-features = false

There is no functional difference with and without std at this time, but there may be in the future.

Implementations for i128 and u128 are only available with Rust 1.26 and later. The build script automatically detects this, but you can make it mandatory by enabling the i128 crate feature.

Releases

Release notes are available in RELEASES.md.

Compatibility

The num-integer crate is tested for rustc 1.8 and greater.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.