Skip to content

Commit e644f82

Browse files
bors[bot]cuviper
andauthored
Merge #392
392: Release 0.3.0 r=cuviper a=cuviper Co-authored-by: Josh Stone <cuviper@gmail.com>
2 parents 4a6873b + bef0050 commit e644f82

File tree

2 files changed

+33
-13
lines changed

2 files changed

+33
-13
lines changed

Cargo.toml

+9-13
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ categories = [ "algorithms", "data-structures", "science", "no-std" ]
88
license = "MIT/Apache-2.0"
99
repository = "https://github.com/rust-num/num"
1010
name = "num"
11-
version = "0.3.0-pre"
11+
version = "0.3.0"
1212
readme = "README.md"
1313
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
14-
publish = false
1514
edition = "2018"
1615

1716
[package.metadata.docs.rs]
@@ -24,32 +23,29 @@ travis-ci = { repository = "rust-num/num" }
2423

2524
[dependencies.num-bigint]
2625
optional = true # needs std until Rust 1.36
27-
version = "0.3.0-pre"
28-
git = "https://github.com/rust-num/num-bigint"
26+
version = "0.3.0"
2927
default-features = false
3028

3129
[dependencies.num-complex]
32-
version = "0.3.0-pre"
33-
git = "https://github.com/rust-num/num-complex"
30+
version = "0.3.0"
3431
default-features = false
3532

3633
[dependencies.num-integer]
37-
version = "0.1.42"
34+
version = "0.1.43"
3835
default-features = false
3936
features = ["i128"]
4037

4138
[dependencies.num-iter]
42-
version = "0.1.40"
39+
version = "0.1.41"
4340
default-features = false
4441
features = ["i128"]
4542

4643
[dependencies.num-rational]
47-
version = "0.3.0-pre"
48-
git = "https://github.com/rust-num/num-rational"
44+
version = "0.3.0"
4945
default-features = false
5046

5147
[dependencies.num-traits]
52-
version = "0.2.11"
48+
version = "0.2.12"
5349
default-features = false
5450
features = ["i128"]
5551

@@ -63,11 +59,11 @@ std = [
6359
"num-complex/std",
6460
"num-integer/std",
6561
"num-iter/std",
66-
"num-rational/std", "num-rational/bigint-std",
62+
"num-rational/std", "num-rational/num-bigint-std",
6763
"num-traits/std",
6864
]
6965

70-
alloc = ["num-bigint", "num-rational/bigint"]
66+
alloc = ["num-bigint", "num-rational/num-bigint"]
7167

7268
libm = [
7369
"num-complex/libm",

RELEASES.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# Release 0.3.0 (2020-06-13)
2+
3+
All items exported from `num-integer`, `num-iter`, and `num-traits` are still
4+
semver-compatible with those exported by `num` 0.1 and 0.2. If you have these
5+
as public dependencies in your own crates, it is not a breaking change to move
6+
to `num` 0.3. However, this is not true of `num-bigint`, `num-complex`, or
7+
`num-rational`, as those exported items are distinct in this release.
8+
9+
### Enhancements
10+
11+
- Updates to `num-integer`, `num-iter`, and `num-traits` are still compatible
12+
with `num` 0.1 and 0.2.
13+
- The "alloc" feature enables `bigint` without `std` on Rust 1.36+.
14+
- The "libm" feature enables `Float` without `std` in `traits` and `complex`.
15+
- Please see the release notes of the individual sub-crates for details.
16+
17+
### Breaking Changes
18+
19+
- `num` now requires rustc 1.31 or greater.
20+
- The "i128" opt-in feature was removed, now always available.
21+
- `rand` support has been updated to 0.7, requiring Rust 1.32.
22+
23+
**Contributors**: @cuviper
24+
125
# Release 0.2.1 (2019-01-09)
226

327
- Updated all sub-crates to their latest versions.

0 commit comments

Comments
 (0)