bounded-integer 0.2.0

Bounded integers
Documentation

Provides a macro to generate bounded integers, integers which are restricted to a range of values.

This crate provides the bounded_integer macro to generate bounded integers, as well as examples (behind the example feature which isn't activated by default).

The integers generated from bounded-integer depend only on libcore and so work in #![no_std] environments.