Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
benches/ | 04-Jul-2025 | - | 753 | 593 | ||
src/ | 04-Jul-2025 | - | 1,854 | 1,158 | ||
tests/ | 04-Jul-2025 | - | 366 | 311 | ||
.android-checksum.json | D | 04-Jul-2025 | 1.6 KiB | 1 | 1 | |
.cargo-checksum.json | D | 04-Jul-2025 | 1.1 KiB | 1 | 1 | |
Android.bp | D | 04-Jul-2025 | 2.4 KiB | 109 | 101 | |
Cargo.toml | D | 04-Jul-2025 | 1.2 KiB | 50 | 45 | |
LICENSE | D | 04-Jul-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-APACHE | D | 04-Jul-2025 | 10.6 KiB | 202 | 169 | |
METADATA | D | 04-Jul-2025 | 384 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 04-Jul-2025 | 0 | |||
README.md | D | 04-Jul-2025 | 1.5 KiB | 55 | 35 | |
RELEASES.md | D | 04-Jul-2025 | 4.1 KiB | 126 | 78 | |
TEST_MAPPING | D | 04-Jul-2025 | 712 | 39 | 38 | |
cargo_embargo.json | D | 04-Jul-2025 | 363 | 22 | 22 | |
rules.mk | D | 04-Jul-2025 | 484 | 16 | 9 |
README.md
1# num-integer 2 3[](https://crates.io/crates/num-integer) 4[](https://docs.rs/num-integer) 5[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) 6[](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