build: Ensure that cargo uses vendored dependencies for git repos

This commit is contained in:
Jack Grigg 2021-09-20 19:11:55 +01:00
parent 9c20d7405f
commit 49cacbc49f
1 changed files with 30 additions and 0 deletions

View File

@ -1,5 +1,35 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."https://github.com/ZcashFoundation/ed25519-zebra.git"]
git = "https://github.com/ZcashFoundation/ed25519-zebra.git"
rev = "d3512400227a362d08367088ffaa9bd4142a69c7"
replace-with = "vendored-sources"
[source."https://github.com/str4d/redjubjub.git"]
git = "https://github.com/str4d/redjubjub.git"
rev = "416a6a8ebf8bd42c114c938883016c04f338de72"
replace-with = "vendored-sources"
[source."https://github.com/zcash/halo2.git"]
git = "https://github.com/zcash/halo2.git"
rev = "26047eaf323929935fd1e6aa3ae100b1113706e0"
replace-with = "vendored-sources"
[source."https://github.com/zcash/incrementalmerkletree"]
git = "https://github.com/zcash/incrementalmerkletree"
rev = "b7bd6246122a6e9ace8edb51553fbf5228906cbb"
replace-with = "vendored-sources"
[source."https://github.com/zcash/librustzcash.git"]
git = "https://github.com/zcash/librustzcash.git"
rev = "ba3f13bbedd95908419f104f67b9fcd3b3e13111"
replace-with = "vendored-sources"
[source."https://github.com/zcash/orchard.git"]
git = "https://github.com/zcash/orchard.git"
rev = "f8280c98a3d0e41b8ff5b7f615802bd197f781e1"
replace-with = "vendored-sources"
[source.vendored-sources]
# The directory for this source is set to RUST_VENDORED_SOURCES by src/Makefile.am