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

Lines changed: 34 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)