Add rust-toolchain.toml to uv-build sdist (#19131)

This file was previously missing, causing errors when an older version
was preinstalled.

Renovate should also pick up the new file.
This commit is contained in:
konsti
2026-04-23 15:40:07 -04:00
committed by GitHub
parent d46a7b67b0
commit 992be06f67
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
[[ -z "$file" ]] && continue
[[ "$file" =~ \.rs$ ]] && rust_code_changed=1
[[ "$file" == "Cargo.toml" || "$file" == "Cargo.lock" || "$file" =~ ^crates/.*/Cargo\.toml$ ]] && rust_deps_changed=1
[[ "$file" == "rust-toolchain.toml" || "$file" =~ ^\.cargo/ ]] && rust_config_changed=1
[[ "$file" == "rust-toolchain.toml" || "$file" == "crates/uv-build/rust-toolchain.toml" || "$file" =~ ^\.cargo/ ]] && rust_config_changed=1
[[ "$file" == "pyproject.toml" || "$file" =~ ^crates/.*/pyproject\.toml$ ]] && python_config_changed=1
[[ "$file" =~ ^\.github/workflows/.*\.yml$ ]] && workflow_changed=1
[[ "$file" == ".github/workflows/build-release-binaries.yml" || "$file" == ".github/workflows/release.yml" ]] && release_workflow_changed=1
+1
View File
@@ -48,6 +48,7 @@ strip = true
include = [
{ path = "LICENSE-APACHE", format = "sdist" },
{ path = "LICENSE-MIT", format = "sdist" },
{ path = "rust-toolchain.toml", format = "sdist" },
]
[tool.uv]
+2
View File
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.94.1"