From 0686f72dc6ad32a3ad8a684c82b2eda6fee1e5fa Mon Sep 17 00:00:00 2001 From: dennis zhuang Date: Tue, 29 Sep 2026 00:37:34 +0000 Subject: [PATCH] chore: add cargo min-publish-age of 7 days (#9384) Signed-off-by: Dennis Zhuang --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 9ffc1961b09..fd372c95b84 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,6 +7,11 @@ linker = "riscv64-linux-gnu-gcc" [alias] sqlness = "run --bin sqlness-runner --target-dir target/sqlness --" +[registry] +# Requires cargo 1.100+; older cargo ignores this key. Only registry crates +# carry a publish time, so git dependencies (our GreptimeTeam forks) are exempt. +global-min-publish-age = "7 days" + [unstable.git] shallow_index = true shallow_deps = true