2016-10-12 01:57:09 +02:00
|
|
|
[package]
|
|
|
|
name = "ignore"
|
2017-07-17 23:56:33 +02:00
|
|
|
version = "0.2.2" #:version
|
2016-10-12 01:57:09 +02:00
|
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
|
|
description = """
|
|
|
|
A fast library for efficiently matching ignore files such as `.gitignore`
|
|
|
|
against file paths.
|
|
|
|
"""
|
|
|
|
documentation = "https://docs.rs/ignore"
|
|
|
|
homepage = "https://github.com/BurntSushi/ripgrep/tree/master/ignore"
|
|
|
|
repository = "https://github.com/BurntSushi/ripgrep/tree/master/ignore"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["glob", "ignore", "gitignore", "pattern", "file"]
|
|
|
|
license = "Unlicense/MIT"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "ignore"
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[dependencies]
|
2016-11-06 03:44:15 +02:00
|
|
|
crossbeam = "0.2"
|
2017-05-12 01:08:59 +02:00
|
|
|
globset = { version = "0.2.0", path = "../globset" }
|
2016-10-12 01:57:09 +02:00
|
|
|
lazy_static = "0.2"
|
|
|
|
log = "0.3"
|
2017-10-22 00:45:39 +02:00
|
|
|
memchr = "2"
|
2017-01-14 06:46:21 +02:00
|
|
|
regex = "0.2.1"
|
ignore: upgrade to walkdir 2
The uninteresting bits of this commit involve mechanical changes for
updates to walkdir 2. The more interesting bits of this commit are the
breaking changes, although none of them should require any significant
change on users of this library. The breaking changes are as follows:
* `DirEntry::path_is_symbolic_link` has been renamed to
`DirEntry::path_is_symlink`. This matches the conventions in the
standard library, and also the corresponding name change in walkdir.
* Removed the `From<walkdir::Error> for ignore::Error` impl. This was
intended to only be used internally, but was the only thing that
made `walkdir` a public dependency of `ignore`. Therefore, we remove
it since it seems unnecessary.
* Renamed `WalkBuilder::sort_by` to `WalkBuilder::sort_by_file_name`,
and changed the type of the comparator from
Fn(&OsString, &OsString) -> cmp::Ordering + 'static
to
Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static
The corresponding change in `walkdir` retains the `sort_by` name, but
gives the comparator a pair of `&DirEntry` values instead of a pair
of `&OsStr` values. Ideally, `ignore` would hand off its own pair of
`&ignore::DirEntry` values, but this requires more design work. So for
now, we retain previous functionality, but leave room to make a proper
`sort_by` method.
[breaking-change]
2017-10-22 01:27:04 +02:00
|
|
|
same-file = "1"
|
2016-12-30 22:43:29 +02:00
|
|
|
thread_local = "0.3.2"
|
ignore: upgrade to walkdir 2
The uninteresting bits of this commit involve mechanical changes for
updates to walkdir 2. The more interesting bits of this commit are the
breaking changes, although none of them should require any significant
change on users of this library. The breaking changes are as follows:
* `DirEntry::path_is_symbolic_link` has been renamed to
`DirEntry::path_is_symlink`. This matches the conventions in the
standard library, and also the corresponding name change in walkdir.
* Removed the `From<walkdir::Error> for ignore::Error` impl. This was
intended to only be used internally, but was the only thing that
made `walkdir` a public dependency of `ignore`. Therefore, we remove
it since it seems unnecessary.
* Renamed `WalkBuilder::sort_by` to `WalkBuilder::sort_by_file_name`,
and changed the type of the comparator from
Fn(&OsString, &OsString) -> cmp::Ordering + 'static
to
Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static
The corresponding change in `walkdir` retains the `sort_by` name, but
gives the comparator a pair of `&DirEntry` values instead of a pair
of `&OsStr` values. Ideally, `ignore` would hand off its own pair of
`&ignore::DirEntry` values, but this requires more design work. So for
now, we retain previous functionality, but leave room to make a proper
`sort_by` method.
[breaking-change]
2017-10-22 01:27:04 +02:00
|
|
|
walkdir = "2"
|
2016-10-12 01:57:09 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempdir = "0.3.5"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
simd-accel = ["globset/simd-accel"]
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|