Crates.io | prim-traits |
lib.rs | prim-traits |
version | 0.0.0 |
source | src |
created_at | 2018-09-01 08:57:44.860223 |
updated_at | 2018-09-01 08:57:44.860223 |
description | Traits for implementing generic algorithms over Rust's primitive numeric types |
homepage | https://github.com/sicking/prim-traits |
repository | https://github.com/sicking/prim-traits |
max_upload_size | |
id | 82453 |
size | 16,387 |
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.
Add this to your Cargo.toml
:
[dependencies]
prim-traits = "0.0.1"
and this to your crate root:
extern crate prim_traits;
The prim-traits
currently targets nightly builds. However plan is to very soon add compatibility with recent releases of stable.