mirror of
https://github.com/devmobasa/wayscriber.git
synced 2026-11-01 07:36:42 +01:00
chore: update Rust toolchain to 1.99.1
This commit is contained in:
1 parent
297a84e7a8
commit
0cd97c313c
11 files changed
+20
-20
No files matched your search
@@ -36,7 +36,7 @@ jobs:
|
||||
run: dotnet run tools/wayscriber.cs --no-build -- ci install-dependencies package
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@1.98.1
|
||||
uses: dtolnay/rust-toolchain@1.99.1
|
||||
|
||||
- name: Install nfpm
|
||||
run: dotnet run tools/wayscriber.cs --no-build -- ci install-nfpm
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
run: dotnet run tools/wayscriber.cs --no-build -- ci prepare-gtk4-layer-shell --library-mode both
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@1.98.1
|
||||
uses: dtolnay/rust-toolchain@1.99.1
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
run: dotnet run tools/wayscriber.cs --no-build -- ci prepare-gtk4-layer-shell --library-mode both
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@1.98.1
|
||||
uses: dtolnay/rust-toolchain@1.99.1
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
- This file applies to the whole wayscriber workspace.
|
||||
- wayscriber is a Rust desktop annotation app for Wayland compositors.
|
||||
- The workspace root crate is `wayscriber`; `configurator/` is a separate GTK4/libadwaita (Relm4) desktop configurator crate.
|
||||
- Both crates use Rust 1.98.1 and edition 2024; `rust-toolchain.toml` pins the development toolchain.
|
||||
- Both crates use Rust 1.99.1 and edition 2024; `rust-toolchain.toml` pins the development toolchain.
|
||||
- The workspace default member is only the root crate; use `-p wayscriber-configurator` or `--workspace` when configurator coverage is needed.
|
||||
|
||||
## Architecture
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ module boundary.
|
||||
|
||||
## Workspace and toolchain
|
||||
|
||||
The repository is one Cargo workspace using Rust 1.98.1 and edition 2024.
|
||||
The repository is one Cargo workspace using Rust 1.99.1 and edition 2024.
|
||||
`rust-toolchain.toml` pins the development toolchain, including Clippy and rustfmt; CI uses
|
||||
the same version. The Nix flake selects that version through the `rust-overlay` input pinned
|
||||
in `flake.lock`, using the root package's `rust-version` for both crates and the development
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
name = "wayscriber"
|
||||
version = "0.9.27"
|
||||
edition = "2024"
|
||||
rust-version = "1.98.1"
|
||||
rust-version = "1.99.1"
|
||||
description = "Screen annotation tool for Wayland compositors"
|
||||
homepage = "https://wayscriber.com"
|
||||
repository = "https://github.com/devmobasa/wayscriber"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# wayscriber
|
||||
|
||||
[](LICENSE)
|
||||
[](https://www.rust-lang.org/)
|
||||
[](https://www.rust-lang.org/)
|
||||
|
||||
**English** · [简体中文](README.zh-CN.md)
|
||||
|
||||
@@ -572,7 +572,7 @@ sudo dnf install ./wayscriber-configurator-x86_64.rpm
|
||||
|
||||
### From source
|
||||
|
||||
Rust 1.98.1 or newer is required. If `rustup` is not already installed, install it (this also installs `cargo`), then load Cargo into your current shell:
|
||||
Rust 1.99.1 or newer is required. If `rustup` is not already installed, install it (this also installs `cargo`), then load Cargo into your current shell:
|
||||
|
||||
```bash
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
@@ -584,11 +584,11 @@ Clone the repository. Run the dependency and build commands from its directory:
|
||||
```bash
|
||||
git clone https://github.com/devmobasa/wayscriber.git
|
||||
cd wayscriber
|
||||
rustup toolchain install 1.98.1 --component clippy --component rustfmt
|
||||
rustup toolchain install 1.99.1 --component clippy --component rustfmt
|
||||
cargo --version
|
||||
```
|
||||
|
||||
The repository's `rust-toolchain.toml` selects Rust 1.98.1 inside this checkout. If an older
|
||||
The repository's `rust-toolchain.toml` selects Rust 1.99.1 inside this checkout. If an older
|
||||
directory override is already set, remove it with `rustup override unset` from the checkout
|
||||
so the file can select the toolchain.
|
||||
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
# wayscriber
|
||||
|
||||
[](LICENSE)
|
||||
[](https://www.rust-lang.org/)
|
||||
[](https://www.rust-lang.org/)
|
||||
|
||||
[English](README.md) · **简体中文**
|
||||
|
||||
@@ -581,7 +581,7 @@ sudo dnf install ./wayscriber-configurator-x86_64.rpm
|
||||
|
||||
### 从源码构建
|
||||
|
||||
需要 Rust 1.98.1 或更新版本。如果尚未安装 `rustup`,请先安装它(也会安装 `cargo`),随后在当前 shell 中加载 Cargo:
|
||||
需要 Rust 1.99.1 或更新版本。如果尚未安装 `rustup`,请先安装它(也会安装 `cargo`),随后在当前 shell 中加载 Cargo:
|
||||
|
||||
```bash
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
@@ -594,12 +594,12 @@ source "$HOME/.cargo/env"
|
||||
```bash
|
||||
git clone https://github.com/devmobasa/wayscriber.git
|
||||
cd wayscriber
|
||||
rustup toolchain install 1.98.1 --component clippy --component rustfmt
|
||||
rustup toolchain install 1.99.1 --component clippy --component rustfmt
|
||||
cargo --version
|
||||
```
|
||||
|
||||
|
||||
仓库的 `rust-toolchain.toml` 会在此检出目录中选择 Rust 1.98.1。如果此前为目录设置了旧版覆盖,请在该目录执行 `rustup override unset`,让工具链文件生效。
|
||||
仓库的 `rust-toolchain.toml` 会在此检出目录中选择 Rust 1.99.1。如果此前为目录设置了旧版覆盖,请在该目录执行 `rustup override unset`,让工具链文件生效。
|
||||
|
||||
**依赖:**
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "wayscriber-configurator"
|
||||
version = "0.9.27"
|
||||
edition = "2024"
|
||||
rust-version = "1.98.1"
|
||||
rust-version = "1.99.1"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -15,7 +15,7 @@ This file covers building and running the configurator from source. For screensh
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Rust toolchain 1.98.1 or newer (`../rust-toolchain.toml` pins development builds).
|
||||
- Rust toolchain 1.99.1 or newer (`../rust-toolchain.toml` pins development builds).
|
||||
- System development packages for GTK 4 and libadwaita.
|
||||
|
||||
## Run It
|
||||
|
||||
Generated
+3
-3
@@ -48,11 +48,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1788505699,
|
||||
"narHash": "sha256-PSPDCdbEBEbSDCWcqv5GkbyD2ACQ9Diz6vmEbWdy4dM=",
|
||||
"lastModified": 1793086596,
|
||||
"narHash": "sha256-ObKS44vw4IIVpQ69YJzUGjZ0IwnpWoUlwjJSY7gefdo=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "9eccf73c5b810052f08aa77ae0548c383259f17f",
|
||||
"rev": "c7e9d512653a35ef4d5879c3df4d44d7b78d0e6d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "1.98.1"
|
||||
channel = "1.99.1"
|
||||
profile = "minimal"
|
||||
components = ["clippy", "rustfmt"]
|
||||
Reference in new issue
Block a user