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

login
register
mail settings
Submitter Yuya Nishihara
Date April 1, 2018, 11:14 a.m.
Message ID <65b2f119fd08c4ee12f2.1522581258@mimosa>
Download mbox | patch
Permalink /patch/30118/
State Accepted
Headers show

Comments

Yuya Nishihara - April 1, 2018, 11:14 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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.

Patch

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"]