typenum-prime

This is a rust crate that provides a marker trait for compile-time primality testing of type-level integers from the typenum crate. The test is defined for all unsigned integers.

Usage

The crate is published on https://crates.io/ as typenum-prime. Add it to your Cargo.toml in the usual way.

[dependencies]
typenum-prime = "0.2"

License

Licensed under either of * Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) * MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) 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.

I would prefer it if you included language to this effect in the commit message of your first pull request.