mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-03-03 14:32:22 +02:00
This commit updates the `log` crate to 0.4 and drops the dependency on env_logger. In particular, the latest version of env_logger brings in additional non-optional dependencies such as chrono that I don't think is worth including into ripgrep. It turns out ripgrep doesn't need any fancy logging. We just need a concept of log levels and the ability to print to stderr. Therefore, we just roll our own super simple logger. This update is motivated by the persistent configuration task. In particular, we need the ability to toggle the global log level more than once, and this doesn't appear to be possible with older versions of the log crate.
40 lines
923 B
TOML
40 lines
923 B
TOML
[package]
|
|
name = "ignore"
|
|
version = "0.3.1" #: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 = "0.3"
|
|
globset = { version = "0.2.1", path = "../globset" }
|
|
lazy_static = "1"
|
|
log = "0.4"
|
|
memchr = "2"
|
|
regex = "0.2.1"
|
|
same-file = "1"
|
|
thread_local = "0.3.2"
|
|
walkdir = "2"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = ["std", "winnt"]
|
|
|
|
[dev-dependencies]
|
|
tempdir = "0.3.5"
|
|
|
|
[features]
|
|
simd-accel = ["globset/simd-accel"]
|