sapling/lib/manifest/Cargo.toml
Stefan Filip 7c511ba610 manifest: add matcher filtering to the files iterator
Summary:
Most operations do not work on iterate on all the files of the repository.
Most operations filter the data set in some way. In many cases this filtering
is to a set of files and in some cases using patterns or subdirectories.

The Python code uses `match.py` to represent this filtering. The parallel
data structure in the rust code is `pathmatcher::Matcher`.

This diff adds `files` integration with `pathmatcher::Matcher`.

Reviewed By: quark-zju

Differential Revision: D16352527

fbshipit-source-id: 8b61ac7399f581773bf61ff648634cbc6e1a27b6
2019-07-22 13:03:02 -07:00

23 lines
559 B
TOML

[package]
name = "manifest"
version = "0.1.0"
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
edition = "2018"
[features]
default = []
for-tests = ["quickcheck"]
[dependencies]
bytes = { version = "0.4.11", features = ["serde"] }
failure = "0.1.3"
once_cell = "0.2.0"
quickcheck = { version = "0.6.2", optional = true }
pathmatcher = { path = "../pathmatcher" }
rust-crypto = "0.2"
types = { path = "../types" }
[dev-dependencies]
quickcheck = "0.6.2"
types = { path = "../types", default-features = false, features = ["for-tests"] }