diff --git a/templates/package/content/cargo.tmpl b/templates/package/content/cargo.tmpl
index da9fc4ab3..4dd7c3f73 100644
--- a/templates/package/content/cargo.tmpl
+++ b/templates/package/content/cargo.tmpl
@@ -8,7 +8,7 @@
default = "gitea"
[registries.gitea]
-index = "" # Sparse index
+index = "sparse+" # Sparse index
# index = "" # Git
[net]