Skip to content

Commit 9c08dd6

Browse files
committed
Merge #356
356: Move all of the num sub-crates to their own repos r=cuviper a=cuviper The separate repos are all in place, so now it's time to trim this one back. Fixes #354.
2 parents f172ef3 + 7bcceae commit 9c08dd6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+41
-18947
lines changed

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: rust
22
rust:
3-
- 1.15.0
3+
- stable
44
- beta
55
- nightly
66
matrix:
@@ -14,12 +14,6 @@ sudo: false
1414
script:
1515
- cargo build --verbose
1616
- ./ci/test_full.sh
17-
- cargo doc
18-
after_success: |
19-
[ $TRAVIS_BRANCH = master ] &&
20-
[ $TRAVIS_PULL_REQUEST = false ] &&
21-
[ $TRAVIS_RUST_VERSION = nightly ] &&
22-
ssh-agent ./ci/deploy.sh
2317
notifications:
2418
email:
2519
on_success: never

Cargo.toml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,44 @@
11
[package]
22
authors = ["The Rust Project Developers"]
33
description = "A collection of numeric types and traits for Rust, including bigint,\ncomplex, rational, range iterators, generic integers, and more!\n"
4-
documentation = "http://rust-num.github.io/num"
4+
documentation = "https://docs.rs/num"
55
homepage = "https://github.com/rust-num/num"
66
keywords = ["mathematics", "numerics", "bignum"]
77
categories = [ "algorithms", "data-structures", "science" ]
88
license = "MIT/Apache-2.0"
99
repository = "https://github.com/rust-num/num"
1010
name = "num"
1111
version = "0.1.41"
12+
readme = "README.md"
1213

1314
[badges]
1415
travis-ci = { repository = "rust-num/num" }
1516

16-
[[bench]]
17-
name = "bigint"
18-
19-
[[bench]]
20-
harness = false
21-
name = "shootout-pidigits"
22-
2317
[dependencies]
2418

2519
[dependencies.num-bigint]
2620
optional = true
27-
path = "bigint"
2821
version = "0.1.41"
2922

3023
[dependencies.num-complex]
3124
optional = true
32-
path = "complex"
3325
version = "0.1.41"
3426

3527
[dependencies.num-integer]
36-
path = "./integer"
3728
version = "0.1.35"
3829

3930
[dependencies.num-iter]
40-
optional = false
41-
path = "iter"
4231
version = "0.1.34"
4332

4433
[dependencies.num-rational]
4534
optional = true
46-
path = "rational"
4735
version = "0.1.40"
4836

4937
[dependencies.num-traits]
50-
path = "./traits"
5138
version = "0.1.41"
5239

5340
[dev-dependencies]
5441

55-
[dev-dependencies.rand]
56-
version = "0.3.8"
57-
5842
[features]
5943
bigint = ["num-bigint"]
6044
complex = ["num-complex"]

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,39 @@
11
# num
22

3-
[![](https://travis-ci.org/rust-num/num.svg)](https://travis-ci.org/rust-num/num)
3+
[![crate](https://img.shields.io/crates/v/num.svg)](https://crates.io/crates/num)
4+
[![documentation](https://docs.rs/num/badge.svg)](https://docs.rs/num)
5+
[![Travis status](https://travis-ci.org/rust-num/num.svg?branch=master)](https://travis-ci.org/rust-num/num)
46

57
A collection of numeric types and traits for Rust.
68

79
This includes new types for big integers, rationals, and complex numbers,
810
new traits for generic programming on numeric properties like `Integer`,
911
and generic range iterators.
1012

11-
[Documentation](http://rust-num.github.io/num)
13+
`num` is a meta-crate, re-exporting items from these sub-crates:
14+
15+
- [`num-bigint`](https://github.com/rust-num/num-bigint)
16+
[![crate](https://img.shields.io/crates/v/num-bigint.svg)](https://crates.io/crates/num-bigint)
17+
18+
- [`num-complex`](https://github.com/rust-num/num-complex)
19+
[![crate](https://img.shields.io/crates/v/num-complex.svg)](https://crates.io/crates/num-complex)
20+
21+
- [`num-integer`](https://github.com/rust-num/num-integer)
22+
[![crate](https://img.shields.io/crates/v/num-integer.svg)](https://crates.io/crates/num-integer)
23+
24+
- [`num-iter`](https://github.com/rust-num/num-iter)
25+
[![crate](https://img.shields.io/crates/v/num-iter.svg)](https://crates.io/crates/num-iter)
26+
27+
- [`num-rational`](https://github.com/rust-num/num-rational)
28+
[![crate](https://img.shields.io/crates/v/num-rational.svg)](https://crates.io/crates/num-rational)
29+
30+
- [`num-traits`](https://github.com/rust-num/num-traits)
31+
[![crate](https://img.shields.io/crates/v/num-traits.svg)](https://crates.io/crates/num-traits)
32+
33+
There is also a `proc-macro` crate for deriving some numeric traits:
34+
35+
- [`num-derive`](https://github.com/rust-num/num-derive)
36+
[![crate](https://img.shields.io/crates/v/num-derive.svg)](https://crates.io/crates/num-derive)
1237

1338
## Usage
1439

0 commit comments

Comments
 (0)