rust/rhg/Cargo.toml
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Thu, 11 Apr 2024 19:57:36 +0100
branchstable
changeset 51564 f5c367dc6541
parent 50683 d39ac3468ad4
child 51751 48fd4d23c867
permissions -rw-r--r--
tests: add tests and document expectations from visit_children_set in rust The tests this patch are adding have the form of formal spec in invariants::visit_children_set::holds, and then a series of checks that all examples must satisfy this formal spec. I tried to make the spec consistent with how this function is used and how it was originally conceived. This is in conflict with how it's documented in Rust. Some of the implementations also fail to implement this spec, which leads to bugs, in particular when complicated patterns are used with `hg status`.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"