##// END OF EJS Templates
rhg: read [paths] for `--repository` value...
rhg: read [paths] for `--repository` value hg parses `-R` and `--repository` CLI arguments "early" in order to know which local repository to load config from. (Config can then affect whether or how to fall back.) The value of of those arguments can be not only a filesystem path, but also an alias configured in the `[paths]` section. This part was missing in rhg and this patch implements that. The current patch still lacks functionality to read config of current repository if we are not at root of repo. That will be fixed in upcoming patches. A new crate `home` is added to get path of home directory. Differential Revision: https://phab.mercurial-scm.org/D10296

File last commit:

r48171:fad504cf default
r48196:ebdef628 default
Show More
Cargo.toml
44 lines | 935 B | text/plain | TOMLLexer
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307 [package]
name = "hg-core"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
Raphaël Gomès
rust: switch hg-core and hg-cpython to rust 2018 edition...
r42828 edition = "2018"
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307
[lib]
name = "hg"
Georges Racinet
rust: translated random test of missingancestors...
r41841
Raphaël Gomès
rust-dirstate: add rust implementation of `parse_dirstate` and `pack_dirstate`...
r42488 [dependencies]
Simon Sapin
dirstate-tree: Serialize to disk...
r47872 bytes-cast = "0.2"
Raphaël Gomès
rust: update all dependencies...
r45090 byteorder = "1.3.4"
Simon Sapin
rust: replace trivial `impl From …` with `#[derive(derive_more::From)]`...
r47164 derive_more = "0.99"
Simon Sapin
rust: Parse system and user configuration...
r47212 home = "0.5"
copies-rust: use immutable "OrdMap" to store copies information...
r46577 im-rc = "15.0.*"
Simon Sapin
dirstate-tree: Add the new `status()` algorithm...
r47883 itertools = "0.9"
Raphaël Gomès
rust: update all dependencies...
r45090 lazy_static = "1.4.0"
rand = "0.7.3"
rand_pcg = "0.2.1"
rand_distr = "0.2.2"
Raphaël Gomès
rust-dependencies: update rayon...
r44618 rayon = "1.3.0"
Raphaël Gomès
rust-dependencies: update `regex` to 1.3.9...
r45405 regex = "1.3.9"
Simon Sapin
rust: Use a maintained crate for SHA-1 hashing...
r48171 sha-1 = "0.9.6"
Raphaël Gomès
rust-performance: introduce FastHashMap type alias for HashMap...
r44278 twox-hash = "1.5.0"
Raphaël Gomès
rust-utils: add util for canonical path...
r44783 same-file = "1.0.6"
Simon Sapin
dirstate-v2: Skip readdir in status based on directory mtime...
r48138 tempfile = "3.1.0"
Simon Sapin
rust: use crossbeam-channel crate directly...
r46669 crossbeam-channel = "0.4"
Raphaël Gomès
rust-dependencies: upgrade `micro-timer` dependency...
r45461 micro-timer = "0.3.0"
Raphaël Gomès
rust: add logging utils...
r45027 log = "0.4.8"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 memmap = "0.7.0"
zstd = "0.5.3"
Simon Sapin
rhg: Align with Python on some more error messages...
r47469 format-bytes = "0.2.2"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097
Raphaël Gomès
rust: update minimum supported Rust compiler version...
r46189 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
# we have a clearer view of which backend is the fastest.
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 [dependencies.flate2]
version = "1.0.16"
features = ["zlib"]
default-features = false
Raphaël Gomès
rust-pathauditor: add Rust implementation of the `pathauditor`...
r44737
[dev-dependencies]
Georges Racinet
rust-nodemap: pure Rust example...
r44870 clap = "*"
pretty_assertions = "0.6.1"