zcashd/qa/zcash
Homu 35bb61be39 Auto merge of #4725 - str4d:cargo-vendor, r=str4d
depends: Switch to `cargo vendor` for Rust dependencies

When we first integrated Rust into our build system, we had two
limitations:

- We were building the `librustzcash` FFI library as a dependency, and
  therefore needed access to its crate dependencies in the depends
  system.
- Gitian builds happen offline, so we needed to fetch any crate
  dependencies ahead of time, and then configure cargo to use these in
  an offline environment.

At the time, `cargo` already had support for "Source Replacement", but
there was no easy way to package the dependencies in the necessary way.
What we implemented was effectively the `cargo-vendor` tool, built using
Makefiles. A noticeable downside was that we were pinning dependencies
twice: once in the `Cargo.lock` for the FFI library, and again in our
depends system.

Since then, `cargo-vendor` has been upstreamed into `cargo` itself, and
we have moved `librustzcash` into this repository. We can therefore use
`cargo vendor` directly from our pinned Rust compiler to fetch the
dependencies, and rely on our local `Cargo.lock` to pin the specific
crates we are relying on.
2020-09-19 12:37:51 +00:00
..
checksec.sh Newer version of checksec.sh from a6df608ac0 2020-08-14 17:49:16 +01:00
create_benchmark_archive.py Updating remaining python3 conventions 2020-02-10 13:15:26 -08:00
create_wallet_200k_utxos.py Fix remaining python3 conventions 2020-02-10 12:38:46 -08:00
full_test_suite.py Repair full_test_suite.py for new checksec.sh. 2020-08-14 18:02:27 +01:00
performance-measurements.sh Add Sapling benchmarks to benchmark runner 2019-02-16 18:44:16 +00:00
postponed-updates.txt Postponed dependency updates, refer to core team sync meeting. 2020-09-16 09:48:55 -07:00
smoke_tests.py qa: Add --automate flag to smoke tests 2020-05-28 23:04:58 +12:00
test-depends-sources-mirror.py Update #! env for python3 2020-02-10 13:34:29 -08:00
updatecheck.py QA: Comment out Rust crate checks in updatecheck.py 2020-09-19 13:35:36 +01:00