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