mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 09:50:34 +01:00
51aea57a6a
* Adding support for multiple paths. (panic) - Started adding multiple file support - fd panics with multiple files right now * Moved the ctrlc handler to main. - Moved the ctrlc handler to main so we can search multiple files * Tests now allow custom directory setup - TestEnv::new() now takes two arguments, the directories to create and the files to create inside those directories. * rust-fmt changes * rust-fmt changes * Moving code around, no need to do everything in one big loop - PathDisplay was never actually used for anything, removed it during refactor of main - Removed redundant logic for absolute paths - Moved code placed needlessly inside a loop in the last commit outside of that loop. * Moving code around, no need to do everything in one big loop - PathDisplay was never actually used for anything, removed it during refactor of main - Removed redundant logic for absolute paths - Moved code placed needlessly inside a loop in the last commit outside of that loop. * Removed commented code in testenv * Refactored walk::scan to accept the path buffer vector. Using the ParallelWalker allows for multithreaded searching of multiple directories * Moved ctrlc handler back into walker, it is only called once from main now. * Moved the colored output check back to it's original place * Removing shell-escape, not sure how it got added... * Added test for `fd 'a.foo' test1` to show that a.foo is only found in the test1 and not the test2 direcotry * Removing side effect from walk::scan, `dir_vec` is no longer a mutable reference and an iterator is being used instead. * Running rustfmt to format code correctly
54 lines
1 KiB
TOML
54 lines
1 KiB
TOML
[package]
|
|
authors = ["David Peter <mail@david-peter.de>"]
|
|
build = "build.rs"
|
|
categories = ["command-line-utilities"]
|
|
description = "fd is a simple, fast and user-friendly alternative to find."
|
|
exclude = ["/benchmarks/*"]
|
|
homepage = "https://github.com/sharkdp/fd"
|
|
keywords = [
|
|
"search",
|
|
"find",
|
|
"file",
|
|
"filesystem",
|
|
"tool",
|
|
]
|
|
license = "MIT/Apache-2.0"
|
|
name = "fd-find"
|
|
readme = "README.md"
|
|
repository = "https://github.com/sharkdp/fd"
|
|
version = "6.0.0"
|
|
|
|
[[bin]]
|
|
name = "fd"
|
|
path = "src/main.rs"
|
|
[badges.appveyor]
|
|
repository = "sharkdp/fd"
|
|
|
|
[badges.travis-ci]
|
|
repository = "sharkdp/fd"
|
|
|
|
[build-dependencies]
|
|
clap = "2.26.0"
|
|
version_check = "0.1.3"
|
|
|
|
[dependencies]
|
|
ansi_term = "0.9"
|
|
atty = "0.2"
|
|
clap = "2.26.0"
|
|
ignore = "0.2"
|
|
lazy_static = "0.2.9"
|
|
num_cpus = "1.6.2"
|
|
regex = "0.2"
|
|
regex-syntax = "0.4"
|
|
ctrlc = "3.0"
|
|
|
|
[target.'cfg(all(unix, not(target_os = "redox")))'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2"
|
|
winapi = "0.2"
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
tempdir = "0.3"
|