-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All the prior `num` history is kept, so old `num-bigint` tags are still valid, but future development here will be just for `num-bigint`.
- Loading branch information
Showing
68 changed files
with
168 additions
and
10,585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,38 @@ | ||
[package] | ||
authors = ["The Rust Project Developers"] | ||
description = "A collection of numeric types and traits for Rust, including bigint,\ncomplex, rational, range iterators, generic integers, and more!\n" | ||
documentation = "http://rust-num.github.io/num" | ||
homepage = "https://github.com/rust-num/num" | ||
description = "Big integer implementation for Rust" | ||
documentation = "https://docs.rs/num-bigint" | ||
homepage = "https://github.com/rust-num/num-bigint" | ||
keywords = ["mathematics", "numerics", "bignum"] | ||
categories = [ "algorithms", "data-structures", "science" ] | ||
license = "MIT/Apache-2.0" | ||
repository = "https://github.com/rust-num/num" | ||
name = "num" | ||
name = "num-bigint" | ||
repository = "https://github.com/rust-num/num-bigint" | ||
version = "0.1.41" | ||
|
||
[badges] | ||
travis-ci = { repository = "rust-num/num" } | ||
|
||
[[bench]] | ||
name = "bigint" | ||
|
||
[[bench]] | ||
harness = false | ||
name = "shootout-pidigits" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
|
||
[dependencies.num-bigint] | ||
optional = true | ||
path = "bigint" | ||
version = "0.1.41" | ||
|
||
[dependencies.num-complex] | ||
optional = true | ||
path = "complex" | ||
version = "0.1.41" | ||
|
||
[dependencies.num-integer] | ||
path = "./integer" | ||
version = "0.1.35" | ||
version = "0.1.32" | ||
|
||
[dependencies.num-iter] | ||
optional = false | ||
path = "iter" | ||
version = "0.1.34" | ||
[dependencies.num-traits] | ||
version = "0.1.32" | ||
|
||
[dependencies.num-rational] | ||
[dependencies.rand] | ||
optional = true | ||
path = "rational" | ||
version = "0.1.40" | ||
version = "0.3.14" | ||
|
||
[dependencies.num-traits] | ||
path = "./traits" | ||
version = "0.1.41" | ||
[dependencies.rustc-serialize] | ||
optional = true | ||
version = "0.3.19" | ||
|
||
[dev-dependencies] | ||
[dependencies.serde] | ||
optional = true | ||
version = ">= 0.7.0, < 0.9.0" | ||
|
||
[dev-dependencies.rand] | ||
version = "0.3.8" | ||
version = "0.3.14" | ||
|
||
[features] | ||
bigint = ["num-bigint"] | ||
complex = ["num-complex"] | ||
rational = ["num-rational"] | ||
default = ["bigint", "complex", "rational", "rustc-serialize"] | ||
|
||
serde = [ | ||
"num-bigint/serde", | ||
"num-complex/serde", | ||
"num-rational/serde" | ||
] | ||
rustc-serialize = [ | ||
"num-bigint/rustc-serialize", | ||
"num-complex/rustc-serialize", | ||
"num-rational/rustc-serialize" | ||
] | ||
default = ["rand", "rustc-serialize"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
# num | ||
# num-bigint | ||
|
||
[![](https://travis-ci.org/rust-num/num.svg)](https://travis-ci.org/rust-num/num) | ||
[![crate](https://img.shields.io/crates/v/num-bigint.svg)](https://crates.io/crates/num-bigint) | ||
[![documentation](https://docs.rs/num-bigint/badge.svg)](https://docs.rs/num-bigint) | ||
[![Travis status](https://travis-ci.org/rust-num/num-bigint.svg?branch=master)](https://travis-ci.org/rust-num/num-bigint) | ||
|
||
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. | ||
|
||
[Documentation](http://rust-num.github.io/num) | ||
Big integer types for Rust, `BigInt` and `BigUint`. | ||
|
||
## Usage | ||
|
||
Add this to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
num = "0.1" | ||
num-bigint = "0.1" | ||
``` | ||
|
||
and this to your crate root: | ||
|
||
```rust | ||
extern crate num; | ||
extern crate num_bigint; | ||
``` | ||
|
||
## Compatibility | ||
|
||
Most of the `num` crates are tested for rustc 1.8 and greater. | ||
The exception is `num-derive` which requires at least rustc 1.15. | ||
The `num-bigint` crate is tested for rustc 1.8 and greater. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.