Commit Graph

64 Commits

Author SHA1 Message Date
Łukasz Jan Niemier 8450782413 Revert old `num` crate description 2016-04-11 12:30:16 +02:00
Łukasz Jan Niemier 3d11940538 Better descriptions for subcrates 2016-04-10 10:31:22 +02:00
Łukasz Jan Niemier 7c0ab30bdc Fix subpackages metadata 2016-03-11 10:22:26 +01:00
Łukasz Jan Niemier 96e9166b0a Extract iter 2016-03-11 01:06:37 +01:00
Łukasz Jan Niemier ed076070e6 Extract complex 2016-03-11 01:06:37 +01:00
Łukasz Jan Niemier 54685c46a1 Extract rational 2016-03-11 01:06:37 +01:00
Łukasz Jan Niemier 2176b7048c Extract bigint 2016-03-11 01:06:05 +01:00
Łukasz Jan Niemier f1a80857ee Extract integer module 2016-03-11 01:06:05 +01:00
Łukasz Jan Niemier c124be549f Move traits to separate crate 2016-03-11 01:06:05 +01:00
Erick Tryzelaar 112923eec5 Add support for Serde 0.7.
Serde 0.7 dropped it's dependency on num, so this patch moves
the implementations here. For the sake of a better implementation,
this just serializes BigUint as a `Vec<u32>`, `BigInt` as a
`(u8, Vec<u32>)`, `Complex<T>` as a `(T, T)`, and `Ratio<T>`
as a `(T, T)`.
2016-02-27 00:07:32 -08:00
Josh Stone 7a33808b07 Publish num 0.1.31 2016-02-17 00:44:20 -08:00
Josh Stone 838b4e42b3 Publish num 0.1.30 2016-01-08 15:22:54 -08:00
Brian Smith 9e3e8552ac Make `rand` and `rustc-serialize` dependencies optional.
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.
2016-01-07 16:30:50 -10:00
Josh Stone 477cbc87c9 Publish num 0.1.29 2015-12-16 22:48:45 -08:00
Josh Stone 659c1a73c3 Publish num 0.1.28 2015-11-21 17:00:15 -08:00
Josh Stone 7fa80f7786 Update intros to better reflect the breadth of num
Closes #132.
2015-11-21 16:39:00 -08:00
Josh Stone b4026b9fec Update repo and doc links 2015-11-12 18:40:13 -08:00
Murarth d1df121640 Explicitly enable `bigint` benchmarks 2015-11-09 13:54:48 -07:00
Huon Wilson 4d7cb95740 Bump to 0.1.27. 2015-08-19 10:15:50 -07:00
Alex Crichton 1f298e233c Bump versions to 0.1.26 2015-08-10 12:12:08 -07:00
Alex Crichton d4e7a6654f Bump num to 0.1.25 2015-06-02 16:52:31 -07:00
root 4c123a9e71 Make rustc-serialize, bignum, rational, complex into opt-out features
Making bignum optional allows skipping the rustc-serialize and rand
dependencies too, and it makes a big difference in num's build time.

With default (all) features, clean build time including dependencies: 27
seconds.

With no default features, clean build time including dependencies (none):
5 seconds.
2015-06-02 23:48:06 +02:00
Alex Crichton 82645a31df Don't print to stdout on `cargo bench` 2015-05-26 07:21:12 -07:00
Alex Crichton a6a399d52e Enable testing on stable Rust 2015-05-19 09:22:06 -07:00
Alex Crichton b75dbbdfcb Rename num_macros to num-macros 2015-05-01 18:00:02 -07:00
Alex Crichton dc0a0452c6 Merge branch 'master' of https://github.com/erickt/num
Conflicts:
	Cargo.toml
2015-05-01 17:59:53 -07:00
mitchmindtree f8fd49c375 Use latest version of rand crate 2015-04-24 04:22:23 +10:00
mitchmindtree e3557d61e7 Use latest rustc-serialize and increment version for crates.io 2015-04-24 04:11:12 +10:00
mitchmindtree f70a07bab7 Incremented version for crates.io 2015-04-22 22:27:51 +10:00
Erick Tryzelaar f4a69a6f01 Export the #[derive(FromPrimitive)] from rust proper
This changes the name to #[derive(NumFromPrimitive)]
in order to not conflict with the libsyntax macro.
2015-04-12 11:19:48 -07:00
Alex Crichton 44dfed32b7 Bump to 0.1.22 2015-04-04 23:49:41 -07:00
Alex Crichton 24b7793174 Bump to 0.1.21 2015-04-03 10:26:45 -07:00
Alex Crichton 32d15093b0 Bump to 0.1.20 2015-04-02 09:37:41 -07:00
Alex Crichton 0fa0b75e68 Bump to 0.1.19 2015-03-26 11:52:27 -07:00
Nathan Stoddard efe8adf144 Update to new version of 'rand'. Fixes compilation on Windows. 2015-03-26 14:32:33 -04:00
Huon Wilson 1558f944ff Bump to 0.1.18. 2015-03-26 12:00:49 +11:00
Huon Wilson 8e69c54e1b Bump to 0.1.17.
Closes #68.
2015-03-23 22:04:59 +11:00
Alex Crichton 575cc09136 Bump to 0.1.16 2015-03-17 23:57:51 -07:00
Darin Morrison 2086b40893 Update rand and rustc-serialize deps to fix build 2015-03-17 22:12:59 -06:00
Alex Crichton fbd7d81b44 Bump to 0.1.15 2015-03-04 09:45:28 -08:00
Alex Crichton 7c203e27d3 Bump to 0.1.14 2015-02-20 10:51:02 -08:00
Huon Wilson 92ef1a4b66 Bump to 0.1.13. 2015-02-19 12:47:45 +11:00
Alex Crichton e2f0b0d327 Update to rust master 2015-02-05 08:20:16 -08:00
Alex Crichton 0811c72bac Bump to 0.1.12 2015-02-03 12:37:01 -08:00
Huon Wilson 14082ffb48 Bump to 0.1.11. 2015-02-02 12:22:57 +11:00
Alex Crichton c05cd530db Bump to 0.1.10 2015-01-23 08:54:55 -08:00
NAKASHIMA, Makoto 5e49142e64 Bump to 0.1.9 2015-01-21 22:55:10 +09:00
Alex Crichton cbf04cf664 Bump to 0.1.8 2015-01-09 14:02:01 -08:00
Huon Wilson 139cf8cf66 Bump to 0.1.7. 2015-01-09 22:36:03 +11:00
Alex Crichton bfa91ee92a Bump to 0.1.6 2015-01-07 12:09:44 -08:00