Allow Rust build using locally supplied crates or crates.io

This adds a couple of configure commands to control whether we're
requiring all dependencies to be available locally (default) or not
(--enable-cargo-online-mode). When building from a tarball, we require
the RUST_DEPENDENCIES variable to point to the local repository of
crates. This also adds src/ext/rust as a git submodule that contains
such a local repository for easy setup.
This commit is contained in:
Sebastian Hahn
2017-05-02 04:21:42 +02:00
committed by Nick Mathewson
parent aeba64efad
commit 70c067102b
11 changed files with 52 additions and 9 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "src/ext/rust"]
path = src/ext/rust
url = https://git.torproject.org/user/sebastian/tor-rust-dependencies