diff --git a/rust/pyproject.toml b/rust/pyproject.toml index 939bce5..bae6c91 100644 --- a/rust/pyproject.toml +++ b/rust/pyproject.toml @@ -13,3 +13,13 @@ license = "MIT" manifest-path = "Cargo.toml" module-name = "asanypath_native" features = ["pyo3/extension-module"] + +[tool.uv] +# Rebuild local installs when native sources change; the version alone does not. +cache-keys = [ + { file = "pyproject.toml" }, + { file = "Cargo.toml" }, + { file = "Cargo.lock" }, + { file = "asanypath_native.pyi" }, + { file = "src/**/*.rs" }, +]