mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
f158a42a71
This commit fixes a bug where ripgrep only treated files beginning with a `.` as hidden. On Windows, we continue this tradition, but additionally check whether a file has the special Windows "hidden" attribute set. If so, we treat it as a hidden file. In order to make this work without an additional stat call, we had to rearrange some of the plumbing from the directory traverser. Fixes #1154
39 lines
925 B
TOML
39 lines
925 B
TOML
[package]
|
|
name = "ignore"
|
|
version = "0.4.6" #:version
|
|
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]
|
|
crossbeam-channel = "0.3.6"
|
|
globset = { version = "0.4.2", path = "../globset" }
|
|
lazy_static = "1.1"
|
|
log = "0.4.5"
|
|
memchr = "2.1"
|
|
regex = "1.1"
|
|
same-file = "1.0.4"
|
|
thread_local = "0.3.6"
|
|
walkdir = "2.2.7"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi-util]
|
|
version = "0.1.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0.5"
|
|
|
|
[features]
|
|
simd-accel = ["globset/simd-accel"]
|