diff rust/rhg/Cargo.toml @ 45050:18f8d3b31baa

rhg: add a limited `rhg root` subcommand Clap has been choosen for argument parsing for the following reasons: - it's a wildly used and maintained crate - it can deal with OS encoding making it suitable for any encoding - it supports nonambiguous prefix matching as already available in hg - it will soon allow for structopts-style declarative pattern instead of the currently used builder pattern Differential Revision: https://phab.mercurial-scm.org/D8613
author Antoine Cezar <antoine.cezar@octobus.net>
date Tue, 07 Jul 2020 14:05:15 +0530
parents 513b3ef277a3
children b1cea0dc9db0
line wrap: on
line diff
--- a/rust/rhg/Cargo.toml	Fri Jun 05 09:01:35 2020 +0200
+++ b/rust/rhg/Cargo.toml	Tue Jul 07 14:05:15 2020 +0530
@@ -6,4 +6,5 @@
 
 [dependencies]
 hg-core = { path = "../hg-core"}
+clap = "2.33.1"