rust/rhg/Cargo.toml
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 18 Apr 2023 01:12:00 +0200
branchstable
changeset 50346 54f68495ab2a
parent 50297 3f31b8526d66
child 50683 d39ac3468ad4
permissions -rw-r--r--
revlog-split: show manifest data loss situation when using clonebundle After the commit of the transaction from applying the clone bundle, changes to the manifest from the subsequent pull would write index data in the wrong file. This lead to data being "lost" after the pull and the repository to be corrupted. We add a test checking this specific scenario. In practice, the issue only affects the manifest but we also test the issue with a file for future proofing things up. See test documentation and failure for details.
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"
46601
755c31a1caf9 rhg: Add support for the blackbox extension
Simon Sapin <simon.sapin@octobus.net>
parents: 46499
diff changeset
    23
users = "0.11.0"
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"