Numeric traits for generic mathematics in Rust.
Add this to your Cargo.toml
:
[dependencies]
num-traits = "0.1"
and this to your crate root:
extern crate num_traits;
Release notes are available in RELEASES.md.
The num-traits
crate is tested for rustc 1.8 and greater.