# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "fdf"
version = "0.8.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, multi-threaded filesystem search tool with regex/glob support and extremely pretty colours!"
documentation = "https://docs.rs/fdf"
readme = "README.md"
keywords = [
    "search",
    "filesystem",
    "glob",
    "regex",
    "cli",
]
categories = [
    "filesystem",
    "command-line-utilities",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/alexcu2718/fdf"

[package.metadata.cargo-allocation]
exclusive = true

[lib]
name = "fdf"
path = "src/lib.rs"

[[bin]]
name = "fdf"
path = "src/main.rs"

[[bench]]
name = "dirent_bench"
path = "benches/dirent_bench.rs"
harness = false

[dependencies.chrono]
version = "0.4.42"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4.5.53"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.61"

[dependencies.compile_time_ls_colours]
version = "0.5.1"
features = ["phf"]

[dependencies.dashmap]
version = "6.1.0"
features = ["inline"]

[dependencies.libc]
version = "0.2.175"

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.12.2"
features = ["perf"]

[dependencies.thread_local]
version = "1.1.9"

[dev-dependencies.criterion]
version = "0.7.0"
features = [
    "cargo_bench_support",
    "real_blackbox",
    "html_reports",
]

[dev-dependencies.env_home]
version = "0.1.0"

[dev-dependencies.filetime]
version = "0.2"

[build-dependencies.libc]
version = "0.2.178"

[target.'cfg(any(target_os = "linux",target_os="macos",target_os="android"))'.dependencies.mimalloc]
version = "0.1.48"
features = ["extended"]

[profile.dev]
opt-level = 0
lto = false
codegen-units = 16
debug = 2
panic = "unwind"
overflow-checks = true
incremental = true

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "abort"
overflow-checks = false
strip = true
