rotary-add 0.2.1

This crate adds a few simple methods to the three lowest unsigned integer types, u8, u16 and u32 to allow cyclical addition and subtraction around the same 0 to (limit - 1) range or from 1 to a limit
Documentation
1
2
3
4
5
6
7
8

mod cycle;

/// CycleAdd works on range from 0 to a a specified modulus. The max value is 1 less than the modulus
/// with a 0-based system (e.g. minutes in an hour) 
/// and the same as the modulus with a 1-based system (e.g. months in a year).

pub use cycle::*;