31 lines
676 B
Markdown
31 lines
676 B
Markdown
# num-traits
|
|
|
|
[](https://crates.io/crates/num-traits)
|
|
[](https://docs.rs/num-traits)
|
|
[](https://travis-ci.org/rust-num/num-traits)
|
|
|
|
Numeric traits for generic mathematics in Rust.
|
|
|
|
## Usage
|
|
|
|
Add this to your `Cargo.toml`:
|
|
|
|
```toml
|
|
[dependencies]
|
|
num-traits = "0.1"
|
|
```
|
|
|
|
and this to your crate root:
|
|
|
|
```rust
|
|
extern crate num_traits;
|
|
```
|
|
|
|
## Releases
|
|
|
|
Release notes are available in [RELEASES.md](RELEASES.md).
|
|
|
|
## Compatibility
|
|
|
|
The `num-traits` crate is tested for rustc 1.8 and greater.
|