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
|
run: dotnet run tools/wayscriber.cs --no-build -- ci install-dependencies package
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: dtolnay/rust-toolchain@1.98.1
|
uses: dtolnay/rust-toolchain@1.99.1
|
||||||
|
|
||||||
- name: Install nfpm
|
- name: Install nfpm
|
||||||
run: dotnet run tools/wayscriber.cs --no-build -- ci 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
|
run: dotnet run tools/wayscriber.cs --no-build -- ci prepare-gtk4-layer-shell --library-mode both
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: dtolnay/rust-toolchain@1.98.1
|
uses: dtolnay/rust-toolchain@1.99.1
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
run: dotnet run tools/wayscriber.cs --no-build -- ci prepare-gtk4-layer-shell --library-mode both
|
run: dotnet run tools/wayscriber.cs --no-build -- ci prepare-gtk4-layer-shell --library-mode both
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: dtolnay/rust-toolchain@1.98.1
|
uses: dtolnay/rust-toolchain@1.99.1
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
- This file applies to the whole wayscriber workspace.
|
- This file applies to the whole wayscriber workspace.
|
||||||
- wayscriber is a Rust desktop annotation app for Wayland compositors.
|
- 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.
|
- 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.
|
- The workspace default member is only the root crate; use `-p wayscriber-configurator` or `--workspace` when configurator coverage is needed.
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ module boundary.
|
|||||||
|
|
||||||
## Workspace and toolchain
|
## 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
|
`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
|
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
|
in `flake.lock`, using the root package's `rust-version` for both crates and the development
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
name = "wayscriber"
|
name = "wayscriber"
|
||||||
version = "0.9.27"
|
version = "0.9.27"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.98.1"
|
rust-version = "1.99.1"
|
||||||
description = "Screen annotation tool for Wayland compositors"
|
description = "Screen annotation tool for Wayland compositors"
|
||||||
homepage = "https://wayscriber.com"
|
homepage = "https://wayscriber.com"
|
||||||
repository = "https://github.com/devmobasa/wayscriber"
|
repository = "https://github.com/devmobasa/wayscriber"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# wayscriber
|
# wayscriber
|
||||||
|
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://www.rust-lang.org/)
|
[](https://www.rust-lang.org/)
|
||||||
|
|
||||||
**English** · [简体中文](README.zh-CN.md)
|
**English** · [简体中文](README.zh-CN.md)
|
||||||
|
|
||||||
@@ -572,7 +572,7 @@ sudo dnf install ./wayscriber-configurator-x86_64.rpm
|
|||||||
|
|
||||||
### From source
|
### 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
|
```bash
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
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
|
```bash
|
||||||
git clone https://github.com/devmobasa/wayscriber.git
|
git clone https://github.com/devmobasa/wayscriber.git
|
||||||
cd wayscriber
|
cd wayscriber
|
||||||
rustup toolchain install 1.98.1 --component clippy --component rustfmt
|
rustup toolchain install 1.99.1 --component clippy --component rustfmt
|
||||||
cargo --version
|
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
|
directory override is already set, remove it with `rustup override unset` from the checkout
|
||||||
so the file can select the toolchain.
|
so the file can select the toolchain.
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -1,7 +1,7 @@
|
|||||||
# wayscriber
|
# wayscriber
|
||||||
|
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://www.rust-lang.org/)
|
[](https://www.rust-lang.org/)
|
||||||
|
|
||||||
[English](README.md) · **简体中文**
|
[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
|
```bash
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
@@ -594,12 +594,12 @@ source "$HOME/.cargo/env"
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/devmobasa/wayscriber.git
|
git clone https://github.com/devmobasa/wayscriber.git
|
||||||
cd wayscriber
|
cd wayscriber
|
||||||
rustup toolchain install 1.98.1 --component clippy --component rustfmt
|
rustup toolchain install 1.99.1 --component clippy --component rustfmt
|
||||||
cargo --version
|
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"
|
name = "wayscriber-configurator"
|
||||||
version = "0.9.27"
|
version = "0.9.27"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.98.1"
|
rust-version = "1.99.1"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ This file covers building and running the configurator from source. For screensh
|
|||||||
|
|
||||||
## Prerequisites
|
## 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.
|
- System development packages for GTK 4 and libadwaita.
|
||||||
|
|
||||||
## Run It
|
## Run It
|
||||||
|
|||||||
Generated
+3
-3
@@ -48,11 +48,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1788505699,
|
"lastModified": 1793086596,
|
||||||
"narHash": "sha256-PSPDCdbEBEbSDCWcqv5GkbyD2ACQ9Diz6vmEbWdy4dM=",
|
"narHash": "sha256-ObKS44vw4IIVpQ69YJzUGjZ0IwnpWoUlwjJSY7gefdo=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "9eccf73c5b810052f08aa77ae0548c383259f17f",
|
"rev": "c7e9d512653a35ef4d5879c3df4d44d7b78d0e6d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.98.1"
|
channel = "1.99.1"
|
||||||
profile = "minimal"
|
profile = "minimal"
|
||||||
components = ["clippy", "rustfmt"]
|
components = ["clippy", "rustfmt"]
|
||||||
Reference in new issue
Block a user