Skip to content

Commit 5ec9be0

Browse files
Document our MSRV policy (#11898)
## Summary Copying astral-sh/ruff#16384 over to uv.
1 parent b5a0b7b commit 5ec9be0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/reference/policies/versioning.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ Cache versions are considered internal to uv, and so may be changed in a minor o
1818
The `uv.lock` schema version is considered part of the public API, and so will only be incremented
1919
in a minor release as a breaking change. See
2020
[Lockfile versioning](../../concepts/resolution.md#lockfile-versioning) for more.
21+
22+
## Minimum supported Rust version
23+
24+
The minimum supported Rust version required to compile uv is listed in the `rust-version` key of the
25+
`[workspace.package]` section in `Cargo.toml`. It may change in any release (minor or patch). It
26+
will never be newer than N-2 Rust versions, where N is the latest stable version. For example, if
27+
the latest stable Rust version is 1.85, uv's minimum supported Rust version will be at most 1.83.
28+
29+
This is only relevant to users who build uv from source. Installing uv from the Python package index
30+
usually installs a pre-built binary and does not require Rust compilation.

0 commit comments

Comments
 (0)