mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:08 +00:00
document MSRV policy (#16384)
This documents our minimum supported Rust version policy. See https://github.com/astral-sh/ruff/issues/16370
This commit is contained in:
parent
87d011e1bd
commit
592532738f
1 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,15 @@ Ruff uses a custom versioning scheme that uses the **minor** version number for
|
||||||
- A new server setting is added
|
- A new server setting is added
|
||||||
- A server setting is deprecated
|
- A server setting is deprecated
|
||||||
|
|
||||||
|
## Minimum supported Rust version
|
||||||
|
|
||||||
|
The minimum supported Rust version required to compile Ruff is listed in the `rust-version` key of
|
||||||
|
the `[workspace.package]` section in `Cargo.toml`. It may change in any release (minor or patch). It
|
||||||
|
will never be newer than N-2 Rust versions, where N is the latest stable version. For example, if
|
||||||
|
the latest stable Rust version is 1.85, Ruff's minimum supported Rust version will be at most 1.83.
|
||||||
|
|
||||||
|
This is only relevant to users who build Ruff from source. Installing Ruff from the Python package
|
||||||
|
index usually installs a pre-built binary and does not require Rust compilation.
|
||||||
|
|
||||||
## Preview mode
|
## Preview mode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue