fd/Cargo.toml

95 lines
2.3 KiB
TOML
Raw Normal View History

2017-05-12 11:50:03 +02:00
[package]
authors = ["David Peter <mail@david-peter.de>"]
2017-10-14 18:04:11 +02:00
build = "build.rs"
categories = ["command-line-utilities"]
2017-09-09 19:11:54 +02:00
description = "fd is a simple, fast and user-friendly alternative to find."
2017-10-14 18:30:10 +02:00
exclude = ["/benchmarks/*"]
2017-09-09 19:11:54 +02:00
homepage = "https://github.com/sharkdp/fd"
2017-10-14 18:04:11 +02:00
keywords = [
"search",
"find",
"file",
"filesystem",
"tool",
]
license = "MIT OR Apache-2.0"
2017-10-14 18:04:11 +02:00
name = "fd-find"
readme = "README.md"
repository = "https://github.com/sharkdp/fd"
2024-08-19 06:55:28 +02:00
version = "10.2.0"
edition= "2021"
rust-version = "1.77.2"
2017-09-27 21:47:41 +02:00
2017-10-14 18:04:11 +02:00
[badges.appveyor]
repository = "sharkdp/fd"
[badges.travis-ci]
repository = "sharkdp/fd"
2020-04-03 10:35:30 +02:00
[[bin]]
name = "fd"
path = "src/main.rs"
2017-10-14 18:04:11 +02:00
[build-dependencies]
2019-09-15 17:26:19 +02:00
version_check = "0.9"
2017-05-12 11:50:03 +02:00
[dependencies]
aho-corasick = "1.1"
nu-ansi-term = "0.50"
argmax = "0.3.1"
ignore = "0.4.23"
regex = "1.10.5"
regex-syntax = "0.8"
ctrlc = "3.2"
humantime = "2.1"
globset = "0.4"
2020-04-03 20:55:14 +02:00
anyhow = "1.0"
etcetera = "0.8"
normpath = "1.1.1"
crossbeam-channel = "0.5.13"
clap_complete = {version = "4.5.24", optional = true}
faccess = "0.2.4"
2018-01-01 12:15:39 +01:00
[dependencies.clap]
version = "4.5.13"
features = ["suggestions", "color", "wrap_help", "cargo", "derive"]
2018-01-01 12:15:39 +01:00
[dependencies.chrono]
version = "0.4.38"
default-features = false
features = ["std", "clock"]
[dependencies.lscolors]
version = "0.19"
default-features = false
features = ["nu-ansi-term"]
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", default-features = false, features = ["signal", "user", "hostname"] }
2017-10-15 03:25:56 +02:00
[target.'cfg(all(unix, not(target_os = "redox")))'.dependencies]
libc = "0.2"
# FIXME: Re-enable jemalloc on macOS
# jemalloc is currently disabled on macOS due to a bug in jemalloc in combination with macOS
# Catalina. See https://github.com/sharkdp/fd/issues/498 for details.
[target.'cfg(all(not(windows), not(target_os = "android"), not(target_os = "macos"), not(target_os = "freebsd"), not(target_os = "openbsd"), not(all(target_env = "musl", target_pointer_width = "32")), not(target_arch = "riscv64")))'.dependencies]
jemallocator = {version = "0.5.4", optional = true}
2019-09-15 18:20:36 +02:00
[dev-dependencies]
diff = "0.1"
tempfile = "3.10"
filetime = "0.2"
test-case = "3.3"
[profile.release]
lto = true
2023-03-25 21:59:23 +01:00
strip = true
codegen-units = 1
[features]
use-jemalloc = ["jemallocator"]
completions = ["clap_complete"]
base = ["use-jemalloc"]
default = ["use-jemalloc", "completions"]