9e3e8552ac
Previously, the `rand` and `rustc-serialize` dependencies were optional except they were required for the `bigint` feature. Make the dependency on the `rand` crate optional in all cases. including when the `bigint` feature is selected. Some of the tests for the bigint feature are randomized so, while `rand` is now an optional dependency, it is a non-optional dev-dependency. Similarly, make the dependency on the `rustc-serialize` crate optional in all cases, including when the `bigint` feature is selected. |
||
---|---|---|
.travis | ||
benches | ||
doc | ||
num-macros | ||
src | ||
.gitignore | ||
.multirust.sh | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
num
A collection of numeric types and traits for Rust.
This includes new types for big integers, rationals, and complex numbers, new traits for generic programming on numeric properties like `Integer, and generic range iterators.
Usage
Add this to your Cargo.toml
:
[dependencies]
num = "0.1"
and this to your crate root:
extern crate num;