Skip to content

Commit 93251fa

Browse files
authored
Bump MSRV to 1.56 and update to the 2021 edition (#1098)
1 parent fd70f81 commit 93251fa

54 files changed

Lines changed: 65 additions & 57 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.54"
1+
msrv = "1.56"

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@ jobs:
8888
command: test
8989
args: --all --all-features --all-targets
9090

91-
# some examples doesn't support 1.54 (such as async-graphql)
92-
# so we only test axum itself on 1.54
91+
# some examples doesn't support 1.56 (such as async-graphql)
92+
# so we only test axum itself on 1.56
9393
test-msrv:
9494
needs: check
9595
runs-on: ubuntu-latest
9696
steps:
9797
- uses: actions/checkout@master
9898
- uses: actions-rs/toolchain@v1
9999
with:
100-
toolchain: 1.54
100+
toolchain: 1.56
101101
override: true
102102
profile: minimal
103103
- uses: Swatinem/rust-cache@v1
@@ -110,7 +110,7 @@ jobs:
110110
-p axum-extra
111111
-p axum-core
112112
--all-features --all-targets
113-
# the compiler errors are different on 1.54 which makes
113+
# the compiler errors are different on 1.56 which makes
114114
# the trybuild tests in axum-macros fail, so just run the doc
115115
# tests
116116
- name: Run axum-macros doc tests

axum-core/CHANGELOG.md

Lines changed: 3 additions & 1 deletion

axum-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
categories = ["asynchronous", "network-programming", "web-programming"]
33
description = "Core types and traits for axum"
4-
edition = "2018"
4+
edition = "2021"
55
homepage = "https://github.com/tokio-rs/axum"
66
keywords = ["http", "web", "framework"]
77
license = "MIT"

axum-core/README.md

Lines changed: 1 addition & 1 deletion

axum-extra/CHANGELOG.md

Lines changed: 3 additions & 1 deletion

axum-extra/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
categories = ["asynchronous", "network-programming", "web-programming"]
33
description = "Extra utilities for axum"
4-
edition = "2018"
4+
edition = "2021"
55
homepage = "https://github.com/tokio-rs/axum"
66
keywords = ["http", "web", "framework"]
77
license = "MIT"

axum-extra/README.md

Lines changed: 1 addition & 1 deletion

axum-macros/CHANGELOG.md

Lines changed: 3 additions & 1 deletion

axum-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
categories = ["asynchronous", "network-programming", "web-programming"]
33
description = "Macros for axum"
4-
edition = "2018"
4+
edition = "2021"
55
homepage = "https://github.com/tokio-rs/axum"
66
keywords = ["axum"]
77
license = "MIT"

0 commit comments

Comments
 (0)