feat: update MSRV to 1.65 (#6883)

This commit is contained in:
Lucas Fernandes Nogueira 2023-05-06 13:16:52 -07:00 committed by GitHub
parent 6d1fa49fce
commit 3188f37649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 495 additions and 431 deletions

13
.changes/msrv-1.65.md Normal file
View File

@ -0,0 +1,13 @@
---
"cli.rs": minor
"tauri-bundler": minor
"tauri": minor
"tauri-build": minor
"tauri-codegen": minor
"tauri-macros": minor
"tauri-utils": minor
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
Bump the MSRV to 1.65.

View File

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

View File

@ -8,7 +8,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-build" repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-build"
description = "build time code to pair with https://crates.io/crates/tauri" description = "build time code to pair with https://crates.io/crates/tauri"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -8,7 +8,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-codegen" repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-codegen"
description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -8,7 +8,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri" repository = "https://github.com/tauri-apps/tauri"
description = "Macros for the tauri crate." description = "Macros for the tauri crate."
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -8,7 +8,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri" repository = "https://github.com/tauri-apps/tauri"
description = "Wry bindings to the Tauri runtime" description = "Wry bindings to the Tauri runtime"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -8,7 +8,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri" repository = "https://github.com/tauri-apps/tauri"
description = "Runtime for Tauri applications" description = "Runtime for Tauri applications"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -7,7 +7,7 @@ homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri" repository = "https://github.com/tauri-apps/tauri"
description = "Utilities for Tauri" description = "Utilities for Tauri"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ] exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"

View File

@ -3,7 +3,7 @@ authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ] categories = [ "gui", "web-programming" ]
description = "Make tiny, secure apps for all desktop platforms with Tauri" description = "Make tiny, secure apps for all desktop platforms with Tauri"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
homepage = "https://tauri.app" homepage = "https://tauri.app"
license = "Apache-2.0 OR MIT" license = "Apache-2.0 OR MIT"

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

@ -3,7 +3,7 @@ name = "sidecar"
version = "0.1.0" version = "0.1.0"
description = "A Tauri application with a sidecar binary" description = "A Tauri application with a sidecar binary"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { path = "../../../core/tauri-build", features = ["codegen"] } tauri-build = { path = "../../../core/tauri-build", features = ["codegen"] }

View File

@ -3,7 +3,7 @@ name = "app1"
version = "0.1.0" version = "0.1.0"
description = "A simple app that makes a dll call" description = "A simple app that makes a dll call"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[workspace] [workspace]

View File

@ -3,7 +3,7 @@ name = "tauri_app"
version = "0.1.0" version = "0.1.0"
description = "A very simple Dll Library that runs tauri and launches a webview window" description = "A very simple Dll Library that runs tauri and launches a webview window"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[workspace] [workspace]

View File

@ -3,7 +3,7 @@ name = "updater-example"
version = "0.1.0" version = "0.1.0"
description = "A very simple Tauri Application" description = "A very simple Tauri Application"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
license = "Apache-2.0 OR MIT" license = "Apache-2.0 OR MIT"
[build-dependencies] [build-dependencies]

View File

@ -7,7 +7,7 @@ license = ""
repository = "" repository = ""
default-run = "app" default-run = "app"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { path = "../../../../core/tauri-build", features = [] } tauri-build = { path = "../../../../core/tauri-build", features = [] }

View File

@ -7,7 +7,7 @@ license = ""
repository = "" repository = ""
default-run = "app" default-run = "app"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { workspace = true } tauri-build = { workspace = true }

View File

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

View File

@ -3,7 +3,7 @@ name = "bench_cpu_intensive"
version = "0.1.0" version = "0.1.0"
description = "A very simple Tauri Application" description = "A very simple Tauri Application"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] } tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }

View File

@ -3,7 +3,7 @@ name = "bench_files_transfer"
version = "0.1.0" version = "0.1.0"
description = "A very simple Tauri Application" description = "A very simple Tauri Application"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] } tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }

View File

@ -3,7 +3,7 @@ name = "bench_helloworld"
version = "0.1.0" version = "0.1.0"
description = "A very simple Tauri Application" description = "A very simple Tauri Application"
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[build-dependencies] [build-dependencies]
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] } tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }

View File

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

View File

@ -6,7 +6,7 @@ name = "tauri-cli"
version = "2.0.0-alpha.8" version = "2.0.0-alpha.8"
authors = [ "Tauri Programme within The Commons Conservancy" ] authors = [ "Tauri Programme within The Commons Conservancy" ]
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
categories = [ "gui", "web-programming" ] categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT" license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app" homepage = "https://tauri.app"

View File

@ -8,7 +8,7 @@ authors = [ "Tauri Programme within The Commons Conservancy" ]
license = "" license = ""
repository = "" repository = ""
edition = "2021" edition = "2021"
rust-version = "1.64" rust-version = "1.65"
[package.metadata.bundle] [package.metadata.bundle]
identifier = "com.tauri.dev" identifier = "com.tauri.dev"

View File

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

View File

@ -4,7 +4,7 @@ version = "0.0.0"
authors = [ "{{ author }}" ] authors = [ "{{ author }}" ]
description = "" description = ""
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.65"
exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"] exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"]
[dependencies] [dependencies]