feat: bump MSRV to 1.83

previous MSRV change was introduced by #11205
to follow the ecosystem and keep our dependencies up to date we must update our MSRV

currently our agreed standard is to keep MSRV to "latest - 3", which currently is 1.83
This commit is contained in:
Lucas Nogueira
2025-04-12 22:03:51 -03:00
parent b8f86669ab
commit d8455da067
20 changed files with 41 additions and 25 deletions

16
.changes/msrv-1.83.md Normal file
View File

@@ -0,0 +1,16 @@
---
"tauri": minor:changes
"tauri-utils": minor:changes
"tauri-runtime": minor:changes
"tauri-runtime-wry": minor:changes
"tauri-codegen": minor:changes
"tauri-macros": minor:changes
"tauri-plugin": minor:changes
"tauri-build": minor:changes
"tauri-cli": minor:changes
"tauri-macos-sign": minor:changes
"tauri-bundler": minor:changes
"tauri-driver": minor:changes
---
Set MSRV to 1.83.

View File

@@ -33,8 +33,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install Rust 1.77.2
uses: dtolnay/rust-toolchain@1.77.2
- name: install Rust 1.83
uses: dtolnay/rust-toolchain@1.83
- name: install Linux dependencies
if: matrix.platform == 'ubuntu-latest'

View File

@@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- name: 'Setup Rust'
uses: dtolnay/rust-toolchain@1.77.2
uses: dtolnay/rust-toolchain@1.83
with:
targets: ${{ matrix.platform.target }}

View File

@@ -37,35 +37,35 @@ jobs:
- {
target: x86_64-pc-windows-msvc,
os: windows-latest,
toolchain: '1.77.2',
toolchain: '1.83',
cross: false,
command: 'test'
}
- {
target: x86_64-unknown-linux-gnu,
os: ubuntu-latest,
toolchain: '1.77.2',
toolchain: '1.83',
cross: false,
command: 'test'
}
- {
target: aarch64-apple-darwin,
os: macos-14,
toolchain: '1.77.2',
toolchain: '1.83',
cross: false,
command: 'test'
}
- {
target: aarch64-apple-ios,
os: macos-latest,
toolchain: '1.77.2',
toolchain: '1.83',
cross: false,
command: 'build'
}
- {
target: aarch64-linux-android,
os: ubuntu-latest,
toolchain: '1.77.2',
toolchain: '1.83',
cross: true,
command: 'build'
}

View File

@@ -43,7 +43,7 @@ repository = "https://github.com/tauri-apps/tauri"
categories = ["gui", "web-programming"]
license = "Apache-2.0 OR MIT"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
# default to small, optimized workspace release binaries
[profile.release]

View File

@@ -3,7 +3,7 @@ name = "tauri_bench"
version = "0.1.0"
authors = ["Tauri Programme within The Commons Conservancy"]
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
license = "Apache-2.0 OR MIT"
description = "Cross-platform WebView rendering library"
repository = "https://github.com/tauri-apps/wry"

View File

@@ -3,7 +3,7 @@ name = "bench_cpu_intensive"
version = "0.1.0"
description = "A very simple Tauri Application"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[build-dependencies]
tauri-build = { path = "../../../../crates/tauri-build", features = [

View File

@@ -3,7 +3,7 @@ name = "bench_files_transfer"
version = "0.1.0"
description = "A very simple Tauri Application"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[build-dependencies]
tauri-build = { path = "../../../../crates/tauri-build", features = [

View File

@@ -3,7 +3,7 @@ name = "bench_helloworld"
version = "0.1.0"
description = "A very simple Tauri Application"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[build-dependencies]
tauri-build = { path = "../../../../crates/tauri-build", features = [

View File

@@ -11,7 +11,7 @@ keywords = ["bundle", "cargo", "tauri"]
repository = "https://github.com/tauri-apps/tauri"
description = "Wrap rust executables in OS-specific app bundles for Tauri"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"]
[dependencies]

View File

@@ -3,7 +3,7 @@ name = "tauri-cli"
version = "2.4.1"
authors = ["Tauri Programme within The Commons Conservancy"]
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
categories = ["gui", "web-programming"]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
@@ -102,7 +102,7 @@ css-color = "0.2"
resvg = "0.45.0"
dunce = "1"
glob = "0.3"
# 0.39 raised msrv to above 1.78 but 0.37+ can't compile on 1.77.2 either.
# 0.39 raised msrv to above 1.78 but 0.37+ can't compile on 1.83 either.
oxc_parser = "0.36"
oxc_span = "0.36"
oxc_allocator = "0.36"

View File

@@ -6,7 +6,7 @@ authors = ["you"]
license = ""
repository = ""
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
authors = [ "{{ author }}" ]
description = ""
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
exclude = ["/examples", "/dist-js", "/guest-js", "/node_modules"]
links = "tauri-plugin-{{ plugin_name }}"

View File

@@ -6,7 +6,7 @@ authors = ["you"]
license = ""
repository = ""
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[lib]
name = "tauri_app_lib"

View File

@@ -6,7 +6,7 @@ authors = ["you"]
license = ""
repository = ""
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[lib]
name = "tauri_app_lib"

View File

@@ -9,7 +9,7 @@ repository = "https://github.com/tauri-apps/tauri"
description = "Webdriver server for Tauri applications"
readme = "README.md"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[dependencies]
anyhow = "1"

View File

@@ -7,7 +7,7 @@ keywords = ["codesign", "signing", "macos", "ios", "tauri"]
repository = "https://github.com/tauri-apps/tauri"
description = "Code signing utilities for macOS and iOS apps"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[dependencies]
anyhow = "1"

View File

@@ -3,7 +3,7 @@ name = "api"
version = "0.1.0"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
license = "Apache-2.0 OR MIT"
[lib]

View File

@@ -3,7 +3,7 @@ name = "tauri-file-associations-demo"
version = "0.1.0"
description = "A Tauri application that associate file types"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[build-dependencies]
tauri-build = { path = "../../../crates/tauri-build", features = ["codegen"] }

View File

@@ -3,7 +3,7 @@ name = "resources"
version = "0.1.0"
description = "A Tauri application that uses Node.js with app resources"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.83"
[build-dependencies]
tauri-build = { path = "../../../crates/tauri-build", features = ["codegen"] }