Mercurial > hg
annotate rust/rhg/Cargo.toml @ 46499:eace48b4a786
rust: Use the DisplayBytes trait in config printing
This is similar to `std::fmt::Display`, but for arbitrary bytes instead
of Unicode. Writing to an abstract output stream helps avoid allocating
intermediate `Vec<u8>` buffers.
Differential Revision: https://phab.mercurial-scm.org/D9966
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 08 Feb 2021 11:13:56 +0100 |
parents | 2e2033081274 |
children | 755c31a1caf9 |
rev | line source |
---|---|
44981 | 1 [package] |
2 name = "rhg" | |
3 version = "0.1.0" | |
45984
fada33872b5b
rhg: use `format_bytes!` for error messages
Raphaël Gomès <rgomes@octobus.net>
parents:
45530
diff
changeset
|
4 authors = [ |
fada33872b5b
rhg: use `format_bytes!` for error messages
Raphaël Gomès <rgomes@octobus.net>
parents:
45530
diff
changeset
|
5 "Antoine Cezar <antoine.cezar@octobus.net>", |
fada33872b5b
rhg: use `format_bytes!` for error messages
Raphaël Gomès <rgomes@octobus.net>
parents:
45530
diff
changeset
|
6 "Raphaël Gomès <raphael.gomes@octobus.net>", |
fada33872b5b
rhg: use `format_bytes!` for error messages
Raphaël Gomès <rgomes@octobus.net>
parents:
45530
diff
changeset
|
7 ] |
44981 | 8 edition = "2018" |
9 | |
10 [dependencies] | |
45049
513b3ef277a3
rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`
Antoine Cezar <antoine.cezar@octobus.net>
parents:
44981
diff
changeset
|
11 hg-core = { path = "../hg-core"} |
45050
18f8d3b31baa
rhg: add a limited `rhg root` subcommand
Antoine Cezar <antoine.cezar@octobus.net>
parents:
45049
diff
changeset
|
12 clap = "2.33.1" |
46435
2e2033081274
rust: replace trivial `impl From …` with `#[derive(derive_more::From)]`
Simon Sapin <simon.sapin@octobus.net>
parents:
45984
diff
changeset
|
13 derive_more = "0.99" |
45530
b1cea0dc9db0
rhg: Add debug timing
Antoine Cezar <antoine.cezar@octobus.net>
parents:
45050
diff
changeset
|
14 log = "0.4.11" |
b1cea0dc9db0
rhg: Add debug timing
Antoine Cezar <antoine.cezar@octobus.net>
parents:
45050
diff
changeset
|
15 micro-timer = "0.3.1" |
b1cea0dc9db0
rhg: Add debug timing
Antoine Cezar <antoine.cezar@octobus.net>
parents:
45050
diff
changeset
|
16 env_logger = "0.7.1" |
46499
eace48b4a786
rust: Use the DisplayBytes trait in config printing
Simon Sapin <simon.sapin@octobus.net>
parents:
46435
diff
changeset
|
17 format-bytes = "0.2.0" |