From 03a3d3d25f23dac11bb9a984cce028820b960da5 Mon Sep 17 00:00:00 2001 From: li-long315 Date: Thu, 23 Mar 2023 14:25:10 +0800 Subject: [PATCH] Modify cargo confign file Signed-off-by: li-long315 --- .cargo/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.cargo/config b/.cargo/config index cea9e5be..930525eb 100644 --- a/.cargo/config +++ b/.cargo/config @@ -19,5 +19,7 @@ verbose = true directory = "/usr/share/cargo/registry" [source.crates-io] -registry = "https://crates.io" -replace-with = "local-registry" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" -- 2.39.1