Skip to content

Commit

Permalink
chore: update MSRV to 1.70
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed May 11, 2024
1 parent 3147dbe commit f4139a0
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

- name: tests
if: matrix.target.os != 'ubuntu-latest'
run: just test-code
run: just test
- name: tests
if: matrix.target.os == 'ubuntu-latest'
run: >-
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ members = [
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.65"
rust-version = "1.70"

[patch.crates-io]
actix-codec = { path = "actix-codec" }
Expand Down
2 changes: 2 additions & 0 deletions actix-codec/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 0.5.2

- Minimum supported Rust version (MSRV) is now 1.65.
Expand Down
2 changes: 2 additions & 0 deletions actix-macros/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 0.2.4

- Update `syn` dependency to `2`.
Expand Down
3 changes: 2 additions & 1 deletion actix-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ proc-macro2 = "1.0.60"
actix-rt = "2"

futures-util = { version = "0.3.17", default-features = false }
rustversion = "1"
# rustversion = "1"
rustversion = { path = "/Users/rob/Development/forks/rustversion" }
trybuild = "1"
2 changes: 1 addition & 1 deletion actix-macros/tests/trybuild.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[rustversion::stable(1.65)] // MSRV
#[rustversion::stable(1.70)] // MSRV
#[test]
fn compile_macros() {
let t = trybuild::TestCases::new();
Expand Down
2 changes: 2 additions & 0 deletions actix-rt/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 2.9.0

- Add `actix_rt::System::runtime()` method to retrieve the underlying `actix_rt::Runtime` runtime.
Expand Down
2 changes: 2 additions & 0 deletions actix-server/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 2.3.0

- Add support for MultiPath TCP (MPTCP) with `MpTcp` enum and `ServerBuilder::mptcp()` method.
Expand Down
2 changes: 1 addition & 1 deletion actix-service/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.65.
- Minimum supported Rust version (MSRV) is now 1.70.

## 2.0.2

Expand Down
2 changes: 2 additions & 0 deletions actix-tls/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 3.3.0

- Add `rustls-0_22` create feature which excludes any root certificate methods or re-exports.
Expand Down
2 changes: 1 addition & 1 deletion actix-tracing/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.65.
- Minimum supported Rust version (MSRV) is now 1.70.

## 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion actix-utils/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.65.
- Minimum supported Rust version (MSRV) is now 1.70.

## 3.0.1

Expand Down
2 changes: 2 additions & 0 deletions bytestring/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 1.3.1

- No significant changes since `1.3.0`.
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ downgrade-for-msrv:

msrv := ```
cargo metadata --format-version=1 \
| jq -r 'first(.packages[] | .name = "actix-tls") | .rust_version'
| jq -r 'first(.packages[] | select(.source == null and .name == "actix-tls")) | .rust_version'
```
msrv_full := msrv + ".0" # comment out if the MSRV has a patch version specified
msrv_rustup := "+" + msrv_full
Expand Down
2 changes: 2 additions & 0 deletions local-channel/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 0.1.5

- No significant changes since `0.1.4`.
Expand Down
2 changes: 2 additions & 0 deletions local-waker/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Minimum supported Rust version (MSRV) is now 1.70.

## 0.1.4

- Minimum supported Rust version (MSRV) is now 1.65.
Expand Down

0 comments on commit f4139a0

Please sign in to comment.