Skip to content

Instantly share code, notes, and snippets.

@obfusk
Created June 23, 2020 22:26
Show Gist options
  • Select an option

  • Save obfusk/861f2908d58435a56fc6959d77684b0f to your computer and use it in GitHub Desktop.

Select an option

Save obfusk/861f2908d58435a56fc6959d77684b0f to your computer and use it in GitHub Desktop.
.cargo/config to use local/offline debian packages instead of crates.io
[source.crates-io]
replace-with = "debian-local"
[source.debian-local]
directory = "/usr/share/cargo/registry"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment