update cargo config for offline build

This commit is contained in:
Алексей Шабалин 2022-10-04 05:05:36 +03:00
parent f5dd6d5176
commit c3bbeb6297

View File

@ -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"