[PATCH 2 of 8] rust-hglib: allow build out of the root crate

Yuya Nishihara yuya at tcha.org
Sun Apr 1 07:14:18 EDT 2018


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1522477694 -32400
#      Sat Mar 31 15:28:14 2018 +0900
# Node ID 65b2f119fd08c4ee12f271da6bb575875167fc99
# Parent  9e25c96124d51e11022b0ce64783f5f333ede7fb
rust-hglib: allow build out of the root crate

It's unclear whether the rust-hglib should be a member of the root workspace
because the hgcli executable will never depend on hglib. So leave it alone
until we can determine the source layout.

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -57,6 +57,8 @@ locale/*/LC_MESSAGES/hg.mo
 hgext/__index__.py
 
 rust/target/
+rust/*/target/
+rust/hglib/Cargo.lock
 
 # Generated wheels
 wheelhouse/
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -1,2 +1,3 @@
 [workspace]
 members = ["hgcli"]
+exclude = ["hglib"]


More information about the Mercurial-devel mailing list