Skip to content

Commit

Permalink
chore: change MSRV to 1.77.2 to support Windows 7 (#1873)
Browse files Browse the repository at this point in the history
* chore: change MSRV to 1.77.2 to support Windows 7

* fmt
  • Loading branch information
lucasfernog authored Oct 3, 2024
1 parent dc49de5 commit a1a8220
Show file tree
Hide file tree
Showing 34 changed files with 86 additions and 52 deletions.
34 changes: 34 additions & 0 deletions .changes/msrv-1.77.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
"api-example": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"fs": patch
"dialog": patch
"geolocation": patch
"global-shortcut": patch
"haptics": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---

Downgrade MSRV to 1.77.2 to support Windows 7.
2 changes: 1 addition & 1 deletion .github/workflows/test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev
- uses: dtolnay/rust-toolchain@1.78.0
- uses: dtolnay/rust-toolchain@1.77.2
with:
targets: ${{ matrix.platform.target }}

Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
tauri = { version = "2.0.0", default-features = false }
tauri-build = "2.0.0"
tauri-plugin = "2.0.0"
tauri-utils = "2.0.0"
tauri = { version = "2.0.1", default-features = false }
tauri-build = "2.0.1"
tauri-plugin = "2.0.1"
tauri-utils = "2.0.1"
serde_json = "1"
thiserror = "1"
url = "2"
Expand All @@ -27,7 +27,7 @@ specta = "=2.0.0-rc.20"
edition = "2021"
authors = ["Tauri Programme within The Commons Conservancy"]
license = "Apache-2.0 OR MIT"
rust-version = "1.78"
rust-version = "1.77.2"
repository = "https://github.com/tauri-apps/plugins-workspace"

# default to small, optimized release binaries
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. |||| ? | ? |
| [window-state](plugins/window-state) | Persist window sizes and positions. |||| ? | ? |

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

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion plugins/autostart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Automatically launch your application at startup.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Parse arguments from your Command Line Interface.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/clipboard-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Read and write to the system clipboard.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/deep-link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Set your Tauri application as the default handler for an URL.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/deep-link/examples/app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["you"]
license = ""
repository = ""
edition = "2021"
rust-version = "1.78"
rust-version = "1.77.2"

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/dialog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Native system dialogs for opening and saving files along with message dialogs.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Access the file system.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/geolocation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This plugin provides APIs for getting and tracking the device's current position

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/global-shortcut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Register global shortcuts.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/haptics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ There are no standards/requirements for vibration support on Android, so the `fe

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Access the HTTP client written in Rust.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/localhost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Expose your apps assets through a localhost server instead of the default custom
## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Configurable logging for your Tauri app.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/notification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Send message notifications (brief auto-expiring OS window element) to your user.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/os/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Read information about the operating system.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/persisted-scope/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Save filesystem and asset scopes and restore them when the app is reopened.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/positioner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This plugin is a port of [electron-positioner](https://github.com/jenslind/elect

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/process/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This plugin provides APIs to access the current process. To spawn child processe

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Access the system shell. Allows you to spawn child processes and manage files an

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/single-instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Ensure a single instance of your tauri app is running.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A Tauri App"
authors = ["You"]
repository = ""
edition = "2021"
rust-version = "1.78"
rust-version = "1.77.2"

[dependencies]
serde = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion plugins/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Interface with SQL databases through [sqlx](https://github.com/launchbadge/sqlx)

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Simple, persistent key-value store.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/stronghold/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Store secrets and keys using the [IOTA Stronghold](https://github.com/iotaledger

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In-app updates for Tauri applications.

## Install

_This plugin requires a Rust version of at least **1.78**_
_This plugin requires a Rust version of at least **1.77.2**_

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

Expand Down
Loading

0 comments on commit a1a8220

Please sign in to comment.