Mercurial > hg-stable
view rust/rhg/Cargo.toml @ 49758:37bc3edef76f
rhg: upgrade `clap` dependency
This one is the worst one to upgrade since v2 -> v4 broke a ton of API,
which thankfully seems saner now.
Contrary to what was done in the `hg-core/src/examples/nodemap` rewrite,
we're not switching from the "builder" pattern to the "derive" pattern,
since that would imply a much larger diff. It can be done incrementally.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 15 Nov 2022 00:02:43 +0100 |
parents | 1b6be761c23d |
children | ab6151e1f468 |
line wrap: on
line source
[package] name = "rhg" version = "0.1.0" authors = [ "Antoine Cezar <antoine.cezar@octobus.net>", "Raphaël Gomès <raphael.gomes@octobus.net>", ] edition = "2021" [dependencies] atty = "0.2.14" hg-core = { path = "../hg-core"} chrono = "0.4.19" clap = { version = "4.0.24", features = ["cargo"] } derive_more = "0.99.17" home = "0.5.3" lazy_static = "1.4.0" log = "0.4.14" micro-timer = "0.4.0" regex = "1.5.5" env_logger = "0.9.0" format-bytes = "0.3.0" users = "0.11.0" which = "4.2.5" rayon = "1.5.1"