mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 01:40:34 +01:00
a851570b15
Disabling jemalloc for Android fixes a build failure since jemalloc does not build out of the box for that platform on older API versions. Android started using jemalloc as the system allocator around 2014 for most devices. In the latest Android version (11) the system allocator has been switched to Scudo, which while not being jemalloc is modern and actively maintained and should be used for most software on Android. See: - https://android-developers.googleblog.com/2020/06/system-hardening-in-android-11.html - https://blog.nsogroup.com/a-tale-of-two-mallocs-on-android-libc-allocators-part-2-jemalloc/ - https://stackoverflow.com/questions/2266762/android-libc-version-and-malloc-implementation
74 lines
1.6 KiB
TOML
74 lines
1.6 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 = "8.1.1"
|
|
edition= "2018"
|
|
|
|
[badges.appveyor]
|
|
repository = "sharkdp/fd"
|
|
|
|
[badges.travis-ci]
|
|
repository = "sharkdp/fd"
|
|
|
|
[[bin]]
|
|
name = "fd"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
clap = "2.31.2"
|
|
version_check = "0.9"
|
|
|
|
[dependencies]
|
|
ansi_term = "0.12"
|
|
atty = "0.2"
|
|
ignore = "0.4.3"
|
|
lazy_static = "1.1.0"
|
|
num_cpus = "1.8"
|
|
regex = "1.0.0"
|
|
regex-syntax = "0.6"
|
|
ctrlc = "3.1"
|
|
humantime = "2.0"
|
|
lscolors = "0.7"
|
|
globset = "0.4"
|
|
anyhow = "1.0"
|
|
dirs = "2.0"
|
|
|
|
[dependencies.clap]
|
|
version = "2.31.2"
|
|
features = ["suggestions", "color", "wrap_help"]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
users = "0.10.0"
|
|
|
|
[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_env = "musl")))'.dependencies]
|
|
jemallocator = "0.3.0"
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
tempdir = "0.3"
|
|
filetime = "0.2.1"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|