##// END OF EJS Templates
rust-matchers: improve `Matcher` trait ergonomics...
rust-matchers: improve `Matcher` trait ergonomics `VisitChildrenSet` has no need to own the set, this will save allocations. The `file_set` return type change is motivated by both ergonomics and... being able to compile code. The `AlwaysMatcher` does not store a `file_set`, which requires it to return an owned `HashSet`, which in turn would change our return type to `Cow<&HgPath>` (lifetimes omitted). This is both un-ergonomic and troublesome for more complex lifetime issues (especially with the upcoming `FileMatcher` in the following patch). Differential Revision: https://phab.mercurial-scm.org/D7525

File last commit:

r44278:5ac243a9 default
r44284:1bb4e9b0 default
Show More
Cargo.toml
19 lines | 387 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]
Raphaël Gomès
rust-filepatterns: add a Rust implementation of pattern-related utils...
r42514 byteorder = "1.3.1"
lazy_static = "1.3.0"
Augie Fackler
rust: sort dependencies entries in Cargo.toml...
r42518 memchr = "2.2.0"
Raphaël Gomès
rust-dependencies: pin the dependencies of hg-core to prevent breakage...
r43530 rand = "0.6.5"
rand_pcg = "0.1.1"
Raphaël Gomès
rust-performance: introduce FastHashMap type alias for HashMap...
r44278 rayon = "1.2.0"
Raphaël Gomès
rust-dependencies: pin the dependencies of hg-core to prevent breakage...
r43530 regex = "1.1.0"
Raphaël Gomès
rust-performance: introduce FastHashMap type alias for HashMap...
r44278 twox-hash = "1.5.0"