Skip to content

Commit a1a8220

Browse files
authored
chore: change MSRV to 1.77.2 to support Windows 7 (#1873)
* chore: change MSRV to 1.77.2 to support Windows 7 * fmt
1 parent dc49de5 commit a1a8220

File tree

34 files changed

+86
-52
lines changed

34 files changed

+86
-52
lines changed

.changes/msrv-1.77.2.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
"api-example": patch
3+
"autostart": patch
4+
"barcode-scanner": patch
5+
"biometric": patch
6+
"cli": patch
7+
"clipboard-manager": patch
8+
"deep-link": patch
9+
"fs": patch
10+
"dialog": patch
11+
"geolocation": patch
12+
"global-shortcut": patch
13+
"haptics": patch
14+
"http": patch
15+
"localhost": patch
16+
"log-plugin": patch
17+
"nfc": patch
18+
"notification": patch
19+
"os": patch
20+
"persisted-scope": patch
21+
"positioner": patch
22+
"process": patch
23+
"shell": patch
24+
"single-instance": patch
25+
"sql": patch
26+
"store": patch
27+
"stronghold": patch
28+
"updater": patch
29+
"upload": patch
30+
"websocket": patch
31+
"window-state": patch
32+
---
33+
34+
Downgrade MSRV to 1.77.2 to support Windows 7.

.github/workflows/test-rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
sudo apt-get update
203203
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev
204204
205-
- uses: dtolnay/rust-toolchain@1.78.0
205+
- uses: dtolnay/rust-toolchain@1.77.2
206206
with:
207207
targets: ${{ matrix.platform.target }}
208208

Cargo.lock

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ resolver = "2"
1111
[workspace.dependencies]
1212
serde = { version = "1", features = ["derive"] }
1313
log = "0.4"
14-
tauri = { version = "2.0.0", default-features = false }
15-
tauri-build = "2.0.0"
16-
tauri-plugin = "2.0.0"
17-
tauri-utils = "2.0.0"
14+
tauri = { version = "2.0.1", default-features = false }
15+
tauri-build = "2.0.1"
16+
tauri-plugin = "2.0.1"
17+
tauri-utils = "2.0.1"
1818
serde_json = "1"
1919
thiserror = "1"
2020
url = "2"
@@ -27,7 +27,7 @@ specta = "=2.0.0-rc.20"
2727
edition = "2021"
2828
authors = ["Tauri Programme within The Commons Conservancy"]
2929
license = "Apache-2.0 OR MIT"
30-
rust-version = "1.78"
30+
rust-version = "1.77.2"
3131
repository = "https://github.com/tauri-apps/plugins-workspace"
3232

3333
# default to small, optimized release binaries

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. |||| ? | ? |
3131
| [window-state](plugins/window-state) | Persist window sizes and positions. |||| ? | ? |
3232

33-
_This repo and all plugins require a Rust version of at least **1.78**_
33+
_This repo and all plugins require a Rust version of at least **1.77.2**_
3434

3535
## Contributing
3636

plugins/autostart/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Automatically launch your application at startup.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Parse arguments from your Command Line Interface.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/clipboard-manager/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Read and write to the system clipboard.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/deep-link/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Set your Tauri application as the default handler for an URL.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/deep-link/examples/app/src-tauri/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["you"]
66
license = ""
77
repository = ""
88
edition = "2021"
9-
rust-version = "1.78"
9+
rust-version = "1.77.2"
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

plugins/dialog/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Native system dialogs for opening and saving files along with message dialogs.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/fs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Access the file system.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/geolocation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This plugin provides APIs for getting and tracking the device's current position
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/global-shortcut/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Register global shortcuts.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/haptics/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are no standards/requirements for vibration support on Android, so the `fe
1414

1515
## Install
1616

17-
_This plugin requires a Rust version of at least **1.78**_
17+
_This plugin requires a Rust version of at least **1.77.2**_
1818

1919
There are three general methods of installation that we can recommend.
2020

plugins/http/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Access the HTTP client written in Rust.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/localhost/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Expose your apps assets through a localhost server instead of the default custom
1414
1515
## Install
1616

17-
_This plugin requires a Rust version of at least **1.78**_
17+
_This plugin requires a Rust version of at least **1.77.2**_
1818

1919
There are three general methods of installation that we can recommend.
2020

plugins/log/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Configurable logging for your Tauri app.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/notification/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Send message notifications (brief auto-expiring OS window element) to your user.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/os/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Read information about the operating system.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/persisted-scope/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Save filesystem and asset scopes and restore them when the app is reopened.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/positioner/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This plugin is a port of [electron-positioner](https://github.com/jenslind/elect
1414

1515
## Install
1616

17-
_This plugin requires a Rust version of at least **1.78**_
17+
_This plugin requires a Rust version of at least **1.77.2**_
1818

1919
There are three general methods of installation that we can recommend.
2020

plugins/process/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This plugin provides APIs to access the current process. To spawn child processe
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/shell/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Access the system shell. Allows you to spawn child processes and manage files an
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/single-instance/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Ensure a single instance of your tauri app is running.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/single-instance/examples/vanilla/src-tauri/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "A Tauri App"
55
authors = ["You"]
66
repository = ""
77
edition = "2021"
8-
rust-version = "1.78"
8+
rust-version = "1.77.2"
99

1010
[dependencies]
1111
serde = { workspace = true }

plugins/sql/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Interface with SQL databases through [sqlx](https://github.com/launchbadge/sqlx)
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/store/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Simple, persistent key-value store.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/stronghold/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Store secrets and keys using the [IOTA Stronghold](https://github.com/iotaledger
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

plugins/updater/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In-app updates for Tauri applications.
1212

1313
## Install
1414

15-
_This plugin requires a Rust version of at least **1.78**_
15+
_This plugin requires a Rust version of at least **1.77.2**_
1616

1717
There are three general methods of installation that we can recommend.
1818

0 commit comments

Comments
 (0)