• Home
Name Date Size #Lines LOC

..--

benches/04-Jul-2025-753593

src/04-Jul-2025-1,8541,158

tests/04-Jul-2025-366311

.android-checksum.jsonD04-Jul-20251.6 KiB11

.cargo-checksum.jsonD04-Jul-20251.1 KiB11

Android.bpD04-Jul-20252.4 KiB109101

Cargo.tomlD04-Jul-20251.2 KiB5045

LICENSED04-Jul-202510.6 KiB202169

LICENSE-APACHED04-Jul-202510.6 KiB202169

METADATAD04-Jul-2025384 1817

MODULE_LICENSE_APACHE2D04-Jul-20250

README.mdD04-Jul-20251.5 KiB5535

RELEASES.mdD04-Jul-20254.1 KiB12678

TEST_MAPPINGD04-Jul-2025712 3938

cargo_embargo.jsonD04-Jul-2025363 2222

rules.mkD04-Jul-2025484 169

README.md

1# num-integer
2
3[![crate](https://img.shields.io/crates/v/num-integer.svg)](https://crates.io/crates/num-integer)
4[![documentation](https://docs.rs/num-integer/badge.svg)](https://docs.rs/num-integer)
5[![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
6[![build status](https://github.com/rust-num/num-integer/workflows/master/badge.svg)](https://github.com/rust-num/num-integer/actions)
7
8`Integer` trait and functions for Rust.
9
10## Usage
11
12Add this to your `Cargo.toml`:
13
14```toml
15[dependencies]
16num-integer = "0.1"
17```
18
19## Features
20
21This crate can be used without the standard library (`#![no_std]`) by disabling
22the default `std` feature.  Use this in `Cargo.toml`:
23
24```toml
25[dependencies.num-integer]
26version = "0.1.36"
27default-features = false
28```
29
30There is no functional difference with and without `std` at this time, but
31there may be in the future.
32
33## Releases
34
35Release notes are available in [RELEASES.md](RELEASES.md).
36
37## Compatibility
38
39The `num-integer` crate is tested for rustc 1.31 and greater.
40
41## License
42
43Licensed under either of
44
45 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
46 * [MIT license](http://opensource.org/licenses/MIT)
47
48at your option.
49
50### Contribution
51
52Unless you explicitly state otherwise, any contribution intentionally submitted
53for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
54dual licensed as above, without any additional terms or conditions.
55