[Updated] D8440: rust-chg: exclude futures-dependent modules from build and break things
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Thu Apr 23 18:02:08 UTC 2020
Herald added a subscriber: mercurial-patches.
Closed by commit rHG8685add122ff: rust-chg: exclude futures-dependent modules from build and break things (authored by yuja).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8440?vs=21117&id=21184
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8440/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8440
AFFECTED FILES
rust/chg/Cargo.toml
rust/chg/src/lib.rs
CHANGE DETAILS
diff --git a/rust/chg/src/lib.rs b/rust/chg/src/lib.rs
--- a/rust/chg/src/lib.rs
+++ b/rust/chg/src/lib.rs
@@ -3,13 +3,13 @@
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.
-mod attachio;
-mod clientext;
-pub mod locator;
+//mod attachio;
+//mod clientext;
+//pub mod locator;
pub mod message;
pub mod procutil;
-mod runcommand;
-mod uihandler;
+//mod runcommand;
+//mod uihandler;
-pub use clientext::ChgClientExt;
-pub use uihandler::{ChgUiHandler, SystemHandler};
+//pub use clientext::ChgClientExt;
+//pub use uihandler::{ChgUiHandler, SystemHandler};
diff --git a/rust/chg/Cargo.toml b/rust/chg/Cargo.toml
--- a/rust/chg/Cargo.toml
+++ b/rust/chg/Cargo.toml
@@ -6,6 +6,9 @@
license = "GPL-2.0+"
edition = "2018"
+# TODO: enable auto discovery
+autobins = false
+
[dependencies]
bytes = "0.4"
futures = "0.1"
To: yuja, #hg-reviewers, Alphare
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200423/d08db375/attachment.html>
More information about the Mercurial-patches
mailing list