diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40cd9bd..eb54f16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,10 +8,10 @@ repos: language: system files: '[.]rs$' pass_filenames: false - entry: rustup run --install nightly cargo-clippy -- -- -D warnings + entry: rustup run --install nightly-2023-03-01 cargo-clippy -- -- -D warnings - id: format name: Check rustfmt language: system files: '[.]rs$' pass_filenames: false - entry: rustup run --install nightly cargo-fmt --check + entry: rustup run --install nightly-2023-03-01 cargo-fmt --check diff --git a/README.md b/README.md index 87d7f30..658aec9 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ within the library or want to request a feature, it's better to do so here rathe on Discord. ## Usage -Minimum Supported Rust Version is `1.56.1` and the code is cross-platform. +Minimum Supported Rust Version is `1.60.0` and the code is cross-platform. Pick a game/service/protocol (check the [GAMES](GAMES.md), [SERVICES](SERVICES.md) and [PROTOCOLS](PROTOCOLS.md) files to see the currently supported ones), provide the ip and the port (be aware that some game servers use a separate port for the info queries, the port can also be optional if the server is running the default ports) then query on it. diff --git a/VERSIONS.md b/VERSIONS.md new file mode 100644 index 0000000..3a00406 --- /dev/null +++ b/VERSIONS.md @@ -0,0 +1,26 @@ +# MSRV (Minimum Supported Rust Version) + +Current: `1.60.0` + +Places to update: +- `Cargo.toml` +- `README.md` +- `.github/workflows/ci.yml` + +# rustfmt version + +Current: `1.5.2` + +Places to update: +- `.rustfmt.toml` +- The nightly rust version + +# The nightly rust version + +The toolchain version used to run rustfmt in CI + +Current: `nightly-2023-03-01` + +Places to update: +- `./.github/workflows/ci.yml` +- `./.pre-commit-config.yaml`