fixing rebuild of rustbpe, if its is changed

This commit is contained in:
Ruhollah Majdoddin 2025-10-30 19:34:47 +01:00
parent 47960bdbf2
commit bdeacffdae
No known key found for this signature in database
GPG Key ID: A28D46DCC3E05D49
2 changed files with 8 additions and 2 deletions

View File

@ -70,8 +70,6 @@ conflicts = [
{ extra = "gpu" },
],
]
# rebuild if rustbpe is modified
cache-keys = [{ file = "pyproject.toml" }, {file = "rustbpe/**"}]
[tool.uv.workspace]
members = ["rustbpe"]

View File

@ -15,3 +15,11 @@ module-name = "rustbpe"
bindings = "pyo3"
manifest-path = "Cargo.toml"
features = ["pyo3/extension-module"]
[tool.uv]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "src/**/*.rs" },
{ file = "Cargo.toml" },
{ file = "Cargo.lock" }
]