Skip to content

Commit 587a111

Browse files
committed
Increase MSRV to Rust 1.64.0
1 parent e86ebff commit 587a111

File tree

5 files changed

+11
-24
lines changed

5 files changed

+11
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- stable
5151
- beta
5252
- nightly
53-
- 1.57.0 # MSRV
53+
- 1.64.0 # MSRV
5454

5555
name: tests/${{ matrix.rust }}
5656
steps:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name = "ndarray"
44
version = "0.15.6"
55
edition = "2018"
6-
rust-version = "1.57"
6+
rust-version = "1.64"
77
authors = [
88
"Ulrik Sverdrup \"bluss\"",
99
"Jim Turner"

scripts/all-tests.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,6 @@ set -e
66
FEATURES=$1
77
CHANNEL=$2
88

9-
if [ "$CHANNEL" = "1.57.0" ]; then
10-
cargo update --package openblas-src --precise 0.10.5
11-
cargo update --package openblas-build --precise 0.10.5
12-
cargo update --package once_cell --precise 1.14.0
13-
cargo update --package byteorder --precise 1.4.3
14-
cargo update --package rayon --precise 1.5.3
15-
cargo update --package rayon-core --precise 1.9.3
16-
cargo update --package crossbeam-channel --precise 0.5.8
17-
cargo update --package crossbeam-deque --precise 0.8.3
18-
cargo update --package crossbeam-epoch --precise 0.9.15
19-
cargo update --package crossbeam-utils --precise 0.8.16
20-
cargo update --package rmp --precise 0.8.11
21-
cargo update --package serde_json --precise 1.0.99
22-
cargo update --package serde --precise 1.0.156
23-
cargo update --package thiserror --precise 1.0.39
24-
cargo update --package quote --precise 1.0.30
25-
cargo update --package proc-macro2 --precise 1.0.65
26-
fi
27-
289
cargo build --verbose --no-default-features
2910
# Testing both dev and release profiles helps find bugs, especially in low level code
3011
cargo test --verbose --no-default-features

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
//! needs matching memory layout to be efficient (with some exceptions).
7373
//! + Efficient floating point matrix multiplication even for very large
7474
//! matrices; can optionally use BLAS to improve it further.
75-
//! - **Requires Rust 1.57 or later**
75+
//!
76+
//! - **MSRV: Requires Rust 1.64 or later**
7677
//!
7778
//! ## Crate Feature Flags
7879
//!

xtest-serialization/Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ default-features = false
2020
[dev-dependencies.serde_json]
2121
version = "1.0.40"
2222

23+
[dev-dependencies.rmp]
24+
# Old version to work with Rust 1.64+
25+
version = "=0.8.10"
26+
2327
[dev-dependencies.rmp-serde]
24-
version = "0.14.0"
28+
# Old version to work with Rust 1.64+
29+
version = "0.14"
2530

2631
[dependencies.ron]
27-
version = "0.5.1"
32+
version = "0.8.1"
2833
optional = true

0 commit comments

Comments
 (0)