Skip to content

Commit

Permalink
Merge #392
Browse files Browse the repository at this point in the history
392: Release 0.3.0 r=cuviper a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
  • Loading branch information
bors[bot] and cuviper committed Jun 13, 2020
2 parents 4a6873b + bef0050 commit e644f82
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 13 deletions.
22 changes: 9 additions & 13 deletions Cargo.toml
Expand Up @@ -8,10 +8,9 @@ categories = [ "algorithms", "data-structures", "science", "no-std" ]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-num/num"
name = "num"
version = "0.3.0-pre"
version = "0.3.0"
readme = "README.md"
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
publish = false
edition = "2018"

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

[dependencies.num-bigint]
optional = true # needs std until Rust 1.36
version = "0.3.0-pre"
git = "https://github.com/rust-num/num-bigint"
version = "0.3.0"
default-features = false

[dependencies.num-complex]
version = "0.3.0-pre"
git = "https://github.com/rust-num/num-complex"
version = "0.3.0"
default-features = false

[dependencies.num-integer]
version = "0.1.42"
version = "0.1.43"
default-features = false
features = ["i128"]

[dependencies.num-iter]
version = "0.1.40"
version = "0.1.41"
default-features = false
features = ["i128"]

[dependencies.num-rational]
version = "0.3.0-pre"
git = "https://github.com/rust-num/num-rational"
version = "0.3.0"
default-features = false

[dependencies.num-traits]
version = "0.2.11"
version = "0.2.12"
default-features = false
features = ["i128"]

Expand All @@ -63,11 +59,11 @@ std = [
"num-complex/std",
"num-integer/std",
"num-iter/std",
"num-rational/std", "num-rational/bigint-std",
"num-rational/std", "num-rational/num-bigint-std",
"num-traits/std",
]

alloc = ["num-bigint", "num-rational/bigint"]
alloc = ["num-bigint", "num-rational/num-bigint"]

libm = [
"num-complex/libm",
Expand Down
24 changes: 24 additions & 0 deletions RELEASES.md
@@ -1,3 +1,27 @@
# Release 0.3.0 (2020-06-13)

All items exported from `num-integer`, `num-iter`, and `num-traits` are still
semver-compatible with those exported by `num` 0.1 and 0.2. If you have these
as public dependencies in your own crates, it is not a breaking change to move
to `num` 0.3. However, this is not true of `num-bigint`, `num-complex`, or
`num-rational`, as those exported items are distinct in this release.

### Enhancements

- Updates to `num-integer`, `num-iter`, and `num-traits` are still compatible
with `num` 0.1 and 0.2.
- The "alloc" feature enables `bigint` without `std` on Rust 1.36+.
- The "libm" feature enables `Float` without `std` in `traits` and `complex`.
- Please see the release notes of the individual sub-crates for details.

### Breaking Changes

- `num` now requires rustc 1.31 or greater.
- The "i128" opt-in feature was removed, now always available.
- `rand` support has been updated to 0.7, requiring Rust 1.32.

**Contributors**: @cuviper

# Release 0.2.1 (2019-01-09)

- Updated all sub-crates to their latest versions.
Expand Down

0 comments on commit e644f82

Please sign in to comment.