Skip to content

Commit

Permalink
📝 (README): Update Rust version number
Browse files Browse the repository at this point in the history
更新Rust版本号
  • Loading branch information
czy-29 committed Sep 19, 2024
1 parent db183d8 commit f9a4670
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ cargo add opensound
本项目的版本发布没有固定的周期,但是版本号会遵循[SemVer](https://semver.org/lang/zh-CN/):在v0.1之后,每个修订版本会仅包含bug修复,而每个小版本会包含小的功能更新,而每个大版本则会包含重大功能更新(但是在没有达到v0.1 PoC的目标之前,所有的小功能更新都只会增加版本号的最后一位,也就是修订版本)。

## Rust版本策略
作为官方,我们始终使用最新稳定版的Rust(当前是1.78.0)来构建和测试本项目。但是任何高于[Cargo.toml](Cargo.toml)中指定的[MSRV](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-rust-version-field)(当前是1.76.0,因为依赖项中MSRV最高的“[salvo](https://crates.io/crates/salvo)”的MSRV是1.76.0)的Rust版本,均应正常构建,但是行为是否正确,官方不予保证。
作为官方,我们始终使用最新稳定版的Rust(当前是1.81.0)来构建和测试本项目。但是任何高于[Cargo.toml](Cargo.toml)中指定的[MSRV](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-rust-version-field)(当前是1.76.0,因为依赖项中MSRV最高的“[salvo](https://crates.io/crates/salvo)”的MSRV是1.76.0)的Rust版本,均应正常构建,但是行为是否正确,官方不予保证。

如果您使用低于最新稳定版的Rust构建本项目后,遇到一些问题,请先尝试升级到最新稳定版的Rust之后,再来看看问题是否依然存在。如果问题依然存在,请到[GitLab](https://gitlab.com/opensound-org/opensound/-/issues)[Github](https://github.com/opensound-org/opensound/issues)发起issue。

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This project adopts a "[centralized workflow](https://git-scm.com/book/en/v2/Dis
The version release of this project does not have a fixed cycle, but the version number will follow [SemVer](https://semver.org/): after v0.1, each revised version will only contain bug fixes, each minor version will contain minor feature updates, and each major version will contain major feature updates (but before reaching the goal of v0.1 PoC, all small feature updates will only increase the last digit of the version number, which is the revision).

## Rust Version Policy
As an official, we always use the latest stable version of Rust (currently 1.78.0) to build and test this project. However, any version of Rust that is higher than the [MSRV](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-rust-version-field) specified in [Cargo.toml](Cargo.toml) (currently 1.76.0, as the MSRV of "[salvo](https://crates.io/crates/salvo)" with the highest MSRV among dependencies is 1.76.0) should be built normally, but the official does not guarantee the correctness of the behavior.
As an official, we always use the latest stable version of Rust (currently 1.81.0) to build and test this project. However, any version of Rust that is higher than the [MSRV](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-rust-version-field) specified in [Cargo.toml](Cargo.toml) (currently 1.76.0, as the MSRV of "[salvo](https://crates.io/crates/salvo)" with the highest MSRV among dependencies is 1.76.0) should be built normally, but the official does not guarantee the correctness of the behavior.

If you encounter some problems after building this project using a version of Rust that is lower than the latest stable version, please try upgrading to the latest stable version of Rust first and then see if the problem still exists. If the problem persists, please initiate an issue at [GitLab](https://gitlab.com/opensound-org/opensound/-/issues) or [Github](https://github.com/opensound-org/opensound/issues).

Expand Down

0 comments on commit f9a4670

Please sign in to comment.