mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:37:09 +00:00
feat: bump MSRV to 1.59 (#5296)
This commit is contained in:
parent
1dd722c4a7
commit
7d9aa3987e
12
.changes/msrv-1.59.md
Normal file
12
.changes/msrv-1.59.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
"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
|
||||
---
|
||||
|
||||
2
.github/workflows/artifacts-updater.yml
vendored
2
.github/workflows/artifacts-updater.yml
vendored
@ -72,7 +72,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
|
||||
2
.github/workflows/bench.yml
vendored
2
.github/workflows/bench.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
|
||||
2
.github/workflows/lint-fmt-core.yml
vendored
2
.github/workflows/lint-fmt-core.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
|
||||
10
.github/workflows/test-core.yml
vendored
10
.github/workflows/test-core.yml
vendored
@ -39,12 +39,12 @@ jobs:
|
||||
- {
|
||||
target: x86_64-unknown-linux-gnu,
|
||||
os: ubuntu-latest,
|
||||
toolchain: '1.57.0'
|
||||
toolchain: '1.59.0'
|
||||
}
|
||||
- {
|
||||
target: x86_64-apple-darwin,
|
||||
os: macos-latest,
|
||||
toolchain: '1.57.0'
|
||||
toolchain: '1.59.0'
|
||||
}
|
||||
|
||||
steps:
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
@ -100,10 +100,6 @@ jobs:
|
||||
${{ matrix.platform.os }}-${{ matrix.platform.toolchain }}-
|
||||
${{ matrix.platform.os }}-
|
||||
|
||||
- name: pin time
|
||||
run: |
|
||||
cargo update -p time --precise 0.3.13
|
||||
|
||||
- name: test
|
||||
run: |
|
||||
cargo test --target ${{ matrix.platform.target }}
|
||||
|
||||
2
.github/workflows/udeps.yml
vendored
2
.github/workflows/udeps.yml
vendored
@ -161,7 +161,7 @@ jobs:
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo_core
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ homepage = "https://tauri.app"
|
||||
repository = "https://github.com/tauri-apps/tauri"
|
||||
description = "Utilities for Tauri"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target" ]
|
||||
readme = "README.md"
|
||||
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
|
||||
homepage = "https://tauri.app"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
||||
7
examples/api/src-tauri/Cargo.lock
generated
7
examples/api/src-tauri/Cargo.lock
generated
@ -301,12 +301,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "cargo_toml"
|
||||
version = "0.11.7"
|
||||
version = "0.12.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1946427680719501a282850618d74a03a8f456801ef805e0f083ab8325494384"
|
||||
checksum = "ee685beed1fe2ab3cb9eb95d65727413b5e27f2b34014a3ea9c92053f8c230fc"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"toml",
|
||||
]
|
||||
|
||||
@ -3213,7 +3212,6 @@ dependencies = [
|
||||
"gtk",
|
||||
"http",
|
||||
"http-range",
|
||||
"infer 0.7.0",
|
||||
"rand 0.8.5",
|
||||
"raw-window-handle",
|
||||
"serde",
|
||||
@ -3254,6 +3252,7 @@ dependencies = [
|
||||
"glob",
|
||||
"heck 0.4.0",
|
||||
"html5ever",
|
||||
"infer 0.7.0",
|
||||
"json-patch",
|
||||
"kuchiki",
|
||||
"memchr",
|
||||
|
||||
@ -3,7 +3,7 @@ name = "api"
|
||||
version = "0.1.0"
|
||||
description = "An example Tauri Application showcasing the api"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { path = "../../../core/tauri-build", features = [ "codegen" ] }
|
||||
|
||||
@ -3,7 +3,7 @@ name = "sidecar"
|
||||
version = "0.1.0"
|
||||
description = "A Tauri application with a sidecar binary"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { path = "../../../core/tauri-build", features = ["codegen"] }
|
||||
|
||||
@ -3,7 +3,7 @@ name = "app1"
|
||||
version = "0.1.0"
|
||||
description = "A simple app that makes a dll call"
|
||||
edition = "2021"
|
||||
rust-version = "1.56"
|
||||
rust-version = "1.59"
|
||||
|
||||
[workspace]
|
||||
|
||||
|
||||
@ -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.56"
|
||||
rust-version = "1.59"
|
||||
|
||||
[workspace]
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ name = "updater-example"
|
||||
version = "0.1.0"
|
||||
description = "A very simple Tauri Application"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@ -5,7 +5,7 @@ name = "tauri_bench"
|
||||
version = "0.1.0"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
description = "Cross-platform WebView rendering library"
|
||||
repository = "https://github.com/tauri-apps/wry"
|
||||
|
||||
@ -3,7 +3,7 @@ name = "bench_cpu_intensive"
|
||||
version = "0.1.0"
|
||||
description = "A very simple Tauri Application"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }
|
||||
|
||||
@ -3,7 +3,7 @@ name = "bench_files_transfer"
|
||||
version = "0.1.0"
|
||||
description = "A very simple Tauri Application"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }
|
||||
|
||||
@ -3,7 +3,7 @@ name = "bench_helloworld"
|
||||
version = "0.1.0"
|
||||
description = "A very simple Tauri Application"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { path = "../../../../../core/tauri-build", features = [ "codegen" ] }
|
||||
|
||||
@ -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.57"
|
||||
rust-version = "1.59"
|
||||
exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@ -6,7 +6,7 @@ name = "tauri-cli"
|
||||
version = "1.1.1"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
homepage = "https://tauri.app"
|
||||
|
||||
@ -8,7 +8,7 @@ authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
license = ""
|
||||
repository = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[package.metadata.bundle]
|
||||
identifier = "com.tauri.dev"
|
||||
|
||||
@ -7,7 +7,7 @@ license = ""
|
||||
repository = ""
|
||||
default-run = "app"
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ version = "0.0.0"
|
||||
authors = [ "{{ author }}" ]
|
||||
description = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
exclude = ["/examples"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@ -5,7 +5,7 @@ description = "A Tauri App"
|
||||
authors = [ "{{ author }}" ]
|
||||
repository = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0"
|
||||
|
||||
@ -4,7 +4,7 @@ version = "0.0.0"
|
||||
authors = [ "{{ author }}" ]
|
||||
description = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
exclude = ["/examples", "/webview-dist", "/webview-src", "node_modules"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@ -5,7 +5,7 @@ description = "A Tauri App"
|
||||
authors = [ "{{ author }}" ]
|
||||
repository = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.59"
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user