Go to file
Homu d273495cbf Auto merge of #263 - cuviper:revamp-ci, r=hauleth
Bump rustc to 1.8 and revamp all CI

This bumps the minimum rustc to 1.8.0, "fixing" #257.  I normally
consider this a breaking change, but we were already broken due to
external factors, for which I couldn't find a workaround.

This adds 1.15.0 to the CI matrix to build stable num-derive.  We still
need nightly to run its tests though, because of compiletest_rs, and
dev-dependencies can't be optional.

The testing scripts are moved from .travis/ to ci/, as they don't really
need to be hidden.  It's also now consolidated into one test_full.sh
which considers $TRAVIS_RUST_VERSION as needed.
2017-02-10 09:19:34 +09:00
benches bigint: allow `Sub` to work in-place on the RHS 2016-07-08 17:34:12 -07:00
bigint Use the integer32 playground 2016-11-02 19:51:10 +01:00
ci Bump rustc to 1.8 and revamp all CI 2017-02-09 16:09:48 -08:00
complex complex: derive Eq 2016-12-05 23:11:40 -08:00
derive derive: bump to 0.1.39 2017-01-11 16:51:14 -08:00
doc Update repo and doc links 2015-11-12 18:40:13 -08:00
integer Use the integer32 playground 2016-11-02 19:51:10 +01:00
iter Use the integer32 playground 2016-11-02 19:51:10 +01:00
macros macros: bump to 0.1.37 2017-01-11 16:52:06 -08:00
rational rational: test_recip_fail: Correct should_panic syntax 2017-01-06 15:05:01 -05:00
src Made requested changes. 2017-02-07 13:02:32 -07:00
traits Improve documentation comments 2017-02-08 15:10:01 -07:00
.gitignore Update num-macros to Rust master 2015-05-14 10:19:47 -07:00
.travis.yml Bump rustc to 1.8 and revamp all CI 2017-02-09 16:09:48 -08:00
Cargo.toml 0.1.36 bump for num, traits, macros, and the new derive 2016-09-29 23:31:23 -07:00
LICENSE-APACHE Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
LICENSE-MIT Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
README.md Bump rustc to 1.8 and revamp all CI 2017-02-09 16:09:48 -08:00

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.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
num = "0.1"

and this to your crate root:

extern crate num;

Compatibility

Most of the num crates are tested for rustc 1.8 and greater. The exceptions are num-derive which requires at least rustc 1.15, and the deprecated num-macros which requires nightly rustc.