Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.0 #392

Merged
merged 1 commit into from Jun 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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