Traits for implementing generic algorithms over Rust's primitive numeric types
The goals of this crate are similar to that of num-traits
, but without being burdened by the constraints of backwards compatibility.
Usage
Add this to your Cargo.toml
:
[]
= "0.0.1"
and this to your crate root:
extern crate prim_traits;
Compatibility
The prim-traits
currently targets nightly builds. However plan is to very soon add compatibility with recent releases of stable.