zcash/depends/packages
Jack Grigg 549bf2dfa8 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-18 22:55:57 +01:00
..
bdb.mk Auto merge of #3952 - LongShao007:master, r=daira 2020-08-10 13:31:55 +00:00
boost.mk Fix Boost compilation on macOS 2020-02-07 21:41:02 +02:00
googletest.mk depends: Manually apply build_env to second half of googletest build 2019-12-10 20:40:29 +00:00
libevent.mk depends: Set PIC flags for FreeBSD 2019-05-22 16:56:45 +00:00
libsodium.mk Pass DO_NOT_UPDATE_CONFIG_SCRIPTS=1 to autogen.sh in libsodium dependency, to avoid updating config scripts over the network. 2020-05-18 11:37:04 -06:00
native_ccache.mk Upgrade ccache to 3.3.1 2016-09-29 12:34:40 +13:00
native_cctools.mk depends: bump native_cctools for fixed lto with external clang 2020-07-30 04:36:02 +01:00
native_rust.mk depends: Rework Rust integration 2020-08-10 22:52:23 +01:00
openssl.mk fix dead openssl download path 2020-04-05 02:41:59 +02:00
packages.mk depends: Switch to `cargo vendor` for Rust dependencies 2020-09-18 22:55:57 +01:00
utfcpp.mk depends: Add utfcpp to dependencies 2020-01-29 15:59:52 +00:00
zeromq.mk depends: Set PIC flags for FreeBSD 2019-05-22 16:56:45 +00:00