mirror of
https://github.com/sharkdp/fd.git
synced 2026-08-28 18:20:32 +08:00
116 lines
2.9 KiB
TOML
116 lines
2.9 KiB
TOML
[package]
|
|
authors = ["David Peter <mail@david-peter.de>"]
|
|
categories = ["command-line-utilities"]
|
|
description = "fd is a simple, fast and user-friendly alternative to find."
|
|
exclude = ["/benchmarks/*"]
|
|
homepage = "https://github.com/sharkdp/fd"
|
|
documentation = "https://docs.rs/fd-find"
|
|
keywords = [
|
|
"search",
|
|
"find",
|
|
"file",
|
|
"filesystem",
|
|
"tool",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
name = "fd-find"
|
|
readme = "README.md"
|
|
repository = "https://github.com/sharkdp/fd"
|
|
version = "10.5.0"
|
|
edition= "2024"
|
|
rust-version = "1.90.0"
|
|
|
|
[badges.appveyor]
|
|
repository = "sharkdp/fd"
|
|
|
|
[badges.travis-ci]
|
|
repository = "sharkdp/fd"
|
|
|
|
[[bin]]
|
|
name = "fd"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
aho-corasick = "1.1"
|
|
nu-ansi-term = "0.50"
|
|
argmax = "0.4.0"
|
|
ignore = "0.4.25"
|
|
regex = "1.12.2"
|
|
regex-syntax = "0.8"
|
|
ctrlc = "3.5"
|
|
globset = "0.4"
|
|
anyhow = "1.0"
|
|
etcetera = "0.11"
|
|
normpath = "1.5.1"
|
|
crossbeam-channel = "0.5.15"
|
|
clap_complete = {version = "4.6.5", optional = true}
|
|
faccess = "0.2.4"
|
|
jiff = "0.2.27"
|
|
|
|
[dependencies.clap]
|
|
version = "4.6.1"
|
|
features = ["suggestions", "color", "wrap_help", "cargo", "derive"]
|
|
|
|
[dependencies.lscolors]
|
|
version = "0.21"
|
|
default-features = false
|
|
features = ["nu-ansi-term"]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = { version = "0.31.1", default-features = false, features = ["signal", "user", "hostname"] }
|
|
|
|
[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.
|
|
# This has to be kept in sync with src/main.rs where the allocator for
|
|
# the program is set.
|
|
[target.'cfg(all(not(windows), not(target_os = "android"), not(target_os = "macos"), not(target_os = "freebsd"), not(target_os = "openbsd"), not(target_os = "illumos"), not(all(target_env = "musl", target_pointer_width = "32")), not(target_arch = "riscv64")))'.dependencies]
|
|
tikv-jemallocator = {version = "0.7.0", optional = true}
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
tempfile = "3.27"
|
|
filetime = "0.2"
|
|
test-case = "3.3"
|
|
|
|
[profile.dev]
|
|
debug = "line-tables-only"
|
|
|
|
[profile.dev.package."*"]
|
|
debug = false
|
|
|
|
[profile.debugging]
|
|
inherits = "dev"
|
|
debug = true
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
codegen-units = 1
|
|
|
|
[features]
|
|
use-jemalloc = ["tikv-jemallocator"]
|
|
completions = ["clap_complete"]
|
|
base = ["use-jemalloc"]
|
|
default = ["completions"]
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.{ archive-format }"
|
|
bin-dir = "{ bin }-v{ version }-{ target }/{ bin }{ binary-ext }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
|
pkg-fmt = "zip"
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-gnu]
|
|
pkg-fmt = "zip"
|
|
|
|
[package.metadata.binstall.overrides.i686-pc-windows-msvc]
|
|
pkg-fmt = "zip"
|
|
|
|
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
|
|
pkg-fmt = "zip"
|