annotate rust/rhg/Cargo.toml @ 50683:d39ac3468ad4

rust-dependencies: switch from `users` to `whoami` `users` is unmaintained, with the maintainer apparently MIA. `whoami` is a popular crate that does simple wrapping of platform-specific calls. This makes the overhead from using `blackbox` lower. It used to be up 10ms on slower hardware for both calls, now down to <1ms which is always good.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 13 Jun 2023 14:35:36 +0200
parents 3f31b8526d66
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
44981
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
diff changeset
1 [package]
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
diff changeset
2 name = "rhg"
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
diff changeset
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 ]
49630
1b6be761c23d rust: move all crates in the main workspace to edition 2021
Raphaël Gomès <rgomes@octobus.net>
parents: 49517
diff changeset
8 edition = "2021"
44981
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
diff changeset
9
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
diff changeset
10 [dependencies]
48952
8848c3453661 rhg: upgrade dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 48733
diff changeset
11 atty = "0.2.14"
45049
513b3ef277a3 rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`
Antoine Cezar <antoine.cezar@octobus.net>
parents: 44981
diff changeset
12 hg-core = { path = "../hg-core"}
49641
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
13 chrono = "0.4.23"
49640
37bc3edef76f rhg: upgrade `clap` dependency
Raphaël Gomès <rgomes@octobus.net>
parents: 49630
diff changeset
14 clap = { version = "4.0.24", features = ["cargo"] }
48952
8848c3453661 rhg: upgrade dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 48733
diff changeset
15 derive_more = "0.99.17"
49641
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
16 home = "0.5.4"
46729
6cd9f53aaed8 rhg: Fall back to Python on --repository with an URL
Simon Sapin <simon.sapin@octobus.net>
parents: 46601
diff changeset
17 lazy_static = "1.4.0"
49641
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
18 log = "0.4.17"
49913
c15b415d1bff rust: use `logging_timer` instead of `micro_timer`
Raphaël Gomès <rgomes@octobus.net>
parents: 49641
diff changeset
19 logging_timer = "1.1.0"
49641
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
20 regex = "1.7.0"
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
21 env_logger = "0.9.3"
48492
d3ec82016104 rust: Upgrade to format-bytes 0.3
Simon Sapin <simon.sapin@octobus.net>
parents: 47404
diff changeset
22 format-bytes = "0.3.0"
50683
d39ac3468ad4 rust-dependencies: switch from `users` to `whoami`
Raphaël Gomès <rgomes@octobus.net>
parents: 50297
diff changeset
23 whoami = "1.4"
49641
ab6151e1f468 rhg: upgrade the remainder of the dependencies
Raphaël Gomès <rgomes@octobus.net>
parents: 49640
diff changeset
24 which = "4.3.0"
50297
3f31b8526d66 rust: upgrade `rayon` dependency
Raphaël Gomès <rgomes@octobus.net>
parents: 50174
diff changeset
25 rayon = "1.7.0"