From c3bbeb629719d4f9d538b67ddafb31fd31cbe3ed Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Tue, 4 Oct 2022 05:05:36 +0300 Subject: [PATCH] update cargo config for offline build --- .cargo/config | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.cargo/config b/.cargo/config index 3b5b6e4..cfeb5e6 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,5 +1,10 @@ [source] -[source.debian-packages] -directory = "/usr/share/cargo/registry" +#[source.debian-packages] +#directory = "/usr/share/cargo/registry" [source.crates-io] -replace-with = "debian-packages" +#replace-with = "debian-packages" + +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"