Skip to content

Commit ed5f747

Browse files
Xuanwosylvestre
authored andcommitted
refactor: Bump MSRV to 1.75 for async in trait
Signed-off-by: Xuanwo <[email protected]>
1 parent 565a08b commit ed5f747

File tree

4 files changed

+48
-48
lines changed

4 files changed

+48
-48
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ci
2-
on: [push, pull_request]
2+
on: [ push, pull_request ]
33

44
jobs:
55
lint:
@@ -9,8 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [ubuntu-latest, macOS-latest, windows-latest]
13-
component: [clippy]
12+
os: [ ubuntu-latest, macOS-latest, windows-latest ]
13+
component: [ clippy ]
1414
include:
1515
- component: rustfmt
1616
cargo_cmd: fmt -- --check
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
components: ${{ matrix.component }}
2828
# Oldest supported version, keep in sync with README.md
29-
toolchain: "1.70.0"
29+
toolchain: "1.75.0"
3030

3131
- name: clippy version
3232
run: cargo clippy --version
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:
42-
feature: [azure, gcs, gha, memcached, redis, s3, webdav]
42+
feature: [ azure, gcs, gha, memcached, redis, s3, webdav ]
4343
steps:
4444
- name: Clone repository
4545
uses: actions/checkout@v4
@@ -67,10 +67,10 @@ jobs:
6767
include:
6868
- os: ubuntu-20.04
6969
# Oldest supported version, keep in sync with README.md
70-
rustc: "1.70.0"
70+
rustc: "1.75.0"
7171
- os: ubuntu-22.04
7272
# Oldest supported version, keep in sync with README.md
73-
rustc: "1.70.0"
73+
rustc: "1.75.0"
7474
extra_desc: dist-server
7575
extra_args: --no-default-features --features=dist-tests test_dist_ -- --test-threads 1
7676
- os: ubuntu-20.04
@@ -91,7 +91,7 @@ jobs:
9191
- os: macos-14
9292
- os: windows-2019
9393
# Oldest supported version, keep in sync with README.md
94-
rustc: "1.70.0"
94+
rustc: "1.75.0"
9595
- os: windows-2019
9696
rustc: nightly
9797
allow_failure: true
@@ -330,7 +330,7 @@ jobs:
330330
release:
331331
name: release
332332
runs-on: ubuntu-latest
333-
needs: [build, lint, test]
333+
needs: [ build, lint, test ]
334334
if: ${{ startsWith(github.ref, 'refs/tags/') }}
335335
steps:
336336
- name: Clone repository

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "sccache"
4-
rust-version = "1.70.0"
4+
rust-version = "1.75.0"
55
version = "0.8.1"
66

77
categories = ["command-line-utilities", "development-tools::build-utils"]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ And you can build code as usual without any additional flags in the command line
176176
Build Requirements
177177
------------------
178178

179-
sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus`rustc`). sccache currently requires **Rust 1.70.0**. We recommend you install Rust via [Rustup](https://rustup.rs/).
179+
sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus`rustc`). sccache currently requires **Rust 1.75.0**. We recommend you install Rust via [Rustup](https://rustup.rs/).
180180

181181
Build
182182
-----

snap/snapcraft.yaml

+37-37
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,49 @@ adopt-info: sccache
44

55
summary: sccache is ccache with cloud storage
66
description: |
7-
sccache is a ccache-like compiler caching tool. It is used as a compiler
8-
wrapper and avoids compilation when possible, storing cached results either
9-
on local disk or in one of several cloud storage backends.
10-
11-
sccache includes support for caching the compilation of C/C++ code, Rust, as
12-
well as NVIDIA's CUDA using nvcc.
13-
14-
sccache also provides icecream-style distributed compilation (automatic
15-
packaging of local toolchains) for all supported compilers (including Rust).
16-
The distributed compilation system includes several security features that
17-
icecream lacks such as authentication, transport layer encryption, and
18-
sandboxed compiler execution on build servers. See the distributed quickstart
19-
guide for more information.
20-
21-
sccache is also available as a GitHub Actions to facilitate the deployment
22-
using GitHub Actions cache.
7+
sccache is a ccache-like compiler caching tool. It is used as a compiler
8+
wrapper and avoids compilation when possible, storing cached results either
9+
on local disk or in one of several cloud storage backends.
10+
11+
sccache includes support for caching the compilation of C/C++ code, Rust, as
12+
well as NVIDIA's CUDA using nvcc.
13+
14+
sccache also provides icecream-style distributed compilation (automatic
15+
packaging of local toolchains) for all supported compilers (including Rust).
16+
The distributed compilation system includes several security features that
17+
icecream lacks such as authentication, transport layer encryption, and
18+
sandboxed compiler execution on build servers. See the distributed quickstart
19+
guide for more information.
20+
21+
sccache is also available as a GitHub Actions to facilitate the deployment
22+
using GitHub Actions cache.
2323
website: https://github.com/mozilla/sccache
2424
contact: https://github.com/mozilla/sccache/issues
2525
license: "Apache-2.0"
2626
grade: stable
2727
confinement: classic
2828

2929
apps:
30-
sccache:
31-
command: bin/sccache
32-
sccache-dist:
33-
command: bin/sccache-dist
30+
sccache:
31+
command: bin/sccache
32+
sccache-dist:
33+
command: bin/sccache-dist
3434

3535
parts:
36-
sccache:
37-
plugin: rust
38-
rust-channel: 1.70.0
39-
rust-use-global-lto: true
40-
source: .
41-
override-pull: |
42-
craftctl default
43-
craftctl set version="$( git -C "${CRAFT_PART_SRC}" describe --tags )"
44-
build-packages:
45-
- libssl-dev
46-
- make
47-
- pkg-config
48-
rust-features:
49-
- all
50-
- dist-server
51-
build-attributes:
52-
- enable-patchelf
36+
sccache:
37+
plugin: rust
38+
rust-channel: 1.75.0
39+
rust-use-global-lto: true
40+
source: .
41+
override-pull: |
42+
craftctl default
43+
craftctl set version="$( git -C "${CRAFT_PART_SRC}" describe --tags )"
44+
build-packages:
45+
- libssl-dev
46+
- make
47+
- pkg-config
48+
rust-features:
49+
- all
50+
- dist-server
51+
build-attributes:
52+
- enable-patchelf

0 commit comments

Comments
 (0)