Set cache-keys for sane uv run rebuilds (#39)

This commit is contained in:
Zanie Blue 2025-05-05 15:48:39 -05:00 committed by GitHub
parent 3f7fc751fb
commit 90ed50975b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,15 @@ authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
requires-python = ">=3.8"
dependencies = []
[tool.uv]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "dist-workspace.toml" },
{ file = "ruff/Cargo.toml" },
{ file = "ruff/Cargo.lock" },
{ file = "**/*.rs" }
]
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"