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.4.0 #405

Merged
merged 1 commit into from Mar 6, 2021
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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -14,8 +14,7 @@ jobs:
matrix:
rust: [
1.31.0, # 2018!
1.32.0, # rand
1.36.0, # alloc
1.36.0, # alloc, rand
stable,
beta,
nightly
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Expand Up @@ -8,7 +8,7 @@ categories = [ "algorithms", "data-structures", "science", "no-std" ]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-num/num"
name = "num"
version = "0.3.1"
version = "0.4.0"
readme = "README.md"
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
edition = "2018"
Expand All @@ -23,11 +23,11 @@ travis-ci = { repository = "rust-num/num" }

[dependencies.num-bigint]
optional = true # needs std until Rust 1.36
version = "0.3.1"
version = "0.4.0"
default-features = false

[dependencies.num-complex]
version = "0.3.1"
version = "0.4.0"
default-features = false

[dependencies.num-integer]
Expand All @@ -41,7 +41,7 @@ default-features = false
features = ["i128"]

[dependencies.num-rational]
version = "0.3.1"
version = "0.4.0"
default-features = false

[dependencies.num-traits]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -32,7 +32,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
num = "0.3"
num = "0.4"
```

## Features
Expand All @@ -42,7 +42,7 @@ the default `std` feature. Use this in `Cargo.toml`:

```toml
[dependencies.num]
version = "0.3"
version = "0.4"
default-features = false
```

Expand Down
9 changes: 9 additions & 0 deletions RELEASES.md
@@ -1,3 +1,12 @@
# Release 0.4.0 (2021-03-05)

- Updated `num-bigint`, `num-complex`, and `num-rational` to 0.4.0.
- Updated to `rand` 0.8 in `num-bigint` and `num-complex`.
- `Rational` is deprecated in favor of explicit `Rational32` or `Rational64`.
- As with prior release bumps, all items exported from `num-integer`,
`num-iter`, and `num-traits` are still semver-compatible with those exported
by earlier version of `num`.

# Release 0.3.1 (2020-11-03)

- Updated all sub-crates to their latest versions.
Expand Down
1 change: 0 additions & 1 deletion bors.toml
@@ -1,6 +1,5 @@
status = [
"Test (1.31.0)",
"Test (1.32.0)",
"Test (1.36.0)",
"Test (stable)",
"Test (beta)",
Expand Down
2 changes: 1 addition & 1 deletion ci/rustup.sh
Expand Up @@ -5,6 +5,6 @@
set -ex

ci=$(dirname $0)
for version in 1.31.0 1.32.0 1.36.0 stable beta nightly; do
for version in 1.31.0 1.36.0 stable beta nightly; do
rustup run "$version" "$ci/test_full.sh"
done
2 changes: 1 addition & 1 deletion ci/test_full.sh
Expand Up @@ -29,7 +29,7 @@ fi

STD_FEATURES=(libm serde)
NO_STD_FEATURES=(libm)
check_version 1.32 && STD_FEATURES+=(rand)
check_version 1.36 && STD_FEATURES+=(rand)
check_version 1.36 && ALLOC_FEATURES=(libm serde rand)
echo "Testing supported features: ${STD_FEATURES[*]}"
echo " no_std supported features: ${NO_STD_FEATURES[*]}"
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Expand Up @@ -56,7 +56,7 @@
//!
//! The `num` crate is tested for rustc 1.31 and greater.

#![doc(html_root_url = "https://docs.rs/num/0.3")]
#![doc(html_root_url = "https://docs.rs/num/0.4")]
#![no_std]

#[cfg(any(feature = "alloc", feature = "std"))]
Expand All @@ -66,7 +66,9 @@ pub use num_complex::Complex;

#[cfg(any(feature = "alloc", feature = "std"))]
pub use num_rational::BigRational;
#[allow(deprecated)]
pub use num_rational::Rational;
pub use num_rational::{Rational32, Rational64};

pub use num_integer::Integer;

Expand Down