Browse Source

feat: update MSRV to 1.65 (#6883)

Lucas Fernandes Nogueira 2 years ago
parent
commit
3188f37649

+ 13 - 0
.changes/msrv-1.65.md

@@ -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.

+ 5 - 5
.github/workflows/test-core.yml

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

+ 1 - 1
core/tauri-build/Cargo.toml

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

+ 1 - 1
core/tauri-codegen/Cargo.toml

@@ -8,7 +8,7 @@ homepage = "https://tauri.app"
 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`"
 edition = "2021"
-rust-version = "1.64"
+rust-version = "1.65"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
 

+ 1 - 1
core/tauri-macros/Cargo.toml

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

+ 1 - 1
core/tauri-runtime-wry/Cargo.toml

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

+ 1 - 1
core/tauri-runtime/Cargo.toml

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

+ 1 - 1
core/tauri-utils/Cargo.toml

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

+ 1 - 1
core/tauri/Cargo.toml

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

File diff suppressed because it is too large
+ 204 - 171
examples/api/src-tauri/Cargo.lock


+ 1 - 1
examples/api/src-tauri/Cargo.toml

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

+ 1 - 1
examples/resources/src-tauri/Cargo.toml

@@ -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.64"
+rust-version = "1.65"
 
 [build-dependencies]
 tauri-build = { path = "../../../core/tauri-build", features = [ "codegen" ] }

+ 1 - 1
examples/sidecar/src-tauri/Cargo.toml

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

+ 1 - 1
examples/tauri-dynamic-lib/src-app1/Cargo.toml

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

+ 1 - 1
examples/tauri-dynamic-lib/src-tauri/Cargo.toml

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

+ 1 - 1
examples/updater/src-tauri/Cargo.toml

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

+ 1 - 1
examples/web/core/tauri/Cargo.toml

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

+ 1 - 1
examples/workspace/src-tauri/Cargo.toml

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

+ 1 - 1
tooling/bench/Cargo.toml

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

+ 1 - 1
tooling/bench/tests/cpu_intensive/src-tauri/Cargo.toml

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

+ 1 - 1
tooling/bench/tests/files_transfer/src-tauri/Cargo.toml

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

+ 1 - 1
tooling/bench/tests/helloworld/src-tauri/Cargo.toml

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

+ 1 - 1
tooling/bundler/Cargo.toml

@@ -13,7 +13,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.64"
+rust-version = "1.65"
 exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ]
 
 [dependencies]

+ 1 - 1
tooling/cli/Cargo.toml

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

+ 1 - 1
tooling/cli/node/test/jest/fixtures/app/src-tauri/Cargo.toml

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

+ 1 - 1
tooling/cli/templates/app/src-tauri/Cargo.crate-manifest

@@ -6,7 +6,7 @@ authors = ["you"]
 license = ""
 repository = ""
 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
 

+ 1 - 1
tooling/cli/templates/plugin/Cargo.crate-manifest

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

Some files were not shown because too many files changed in this diff