# 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"
name = "fff-search"
version = "0.9.3"
authors = ["Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Faboulous & Fast File Finder - a fast and extremely correct file finder SDK with typo resistance, SIMD, prefiltering, and more"
readme = "README.md"
license = "MIT"
resolver = "2"

[features]
default = []
ffi = []
mimalloc-collect = ["dep:libmimalloc-sys"]
zlob = [
    "dep:zlob",
    "fff-query-parser/zlob",
]

[lib]
name = "fff_search"
crate-type = [
    "rlib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

[[test]]
name = "bigram_overlay_coherence_test"
path = "tests/bigram_overlay_coherence_test.rs"

[[test]]
name = "bigram_overlay_integration"
path = "tests/bigram_overlay_integration.rs"

[[test]]
name = "drop_during_post_scan"
path = "tests/drop_during_post_scan.rs"

[[test]]
name = "fs_delete_handler_test"
path = "tests/fs_delete_handler_test.rs"

[[test]]
name = "fuzz_file_operations"
path = "tests/fuzz_file_operations.rs"

[[test]]
name = "fuzz_git_watcher_stress"
path = "tests/fuzz_git_watcher_stress.rs"

[[test]]
name = "fuzz_real_repos"
path = "tests/fuzz_real_repos.rs"

[[test]]
name = "grep_integration"
path = "tests/grep_integration.rs"

[[test]]
name = "lmdb_stale_lock_deadlock"
path = "tests/lmdb_stale_lock_deadlock.rs"

[[test]]
name = "new_directory_watcher_test"
path = "tests/new_directory_watcher_test.rs"

[[test]]
name = "overflow_frecency_segfault"
path = "tests/overflow_frecency_segfault.rs"

[[test]]
name = "path_separator_constraint_test"
path = "tests/path_separator_constraint_test.rs"

[[test]]
name = "real_binary_fixtures"
path = "tests/real_binary_fixtures.rs"

[[test]]
name = "watcher_stop_under_lock"
path = "tests/watcher_stop_under_lock.rs"

[[test]]
name = "watcher_thread_lifecycle_test"
path = "tests/watcher_thread_lifecycle_test.rs"

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

[[bench]]
name = "glob_bench"
path = "benches/glob_bench.rs"
harness = false
required-features = ["zlob"]

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.aho-corasick]
version = "1"

[dependencies.blake3]
version = "1.8.2"

[dependencies.dirs]
version = "5.0"

[dependencies.fff-grep]
version = "0.9.3"

[dependencies.fff-query-parser]
version = "0.9.3"
default-features = false

[dependencies.git2]
version = "0.20.2"
features = ["vendored-libgit2"]
default-features = false

[dependencies.glidesort]
version = "0.1"

[dependencies.globset]
version = "0.4"

[dependencies.heed]
version = "0.22.0"

[dependencies.ignore]
version = "0.4.22"

[dependencies.libc]
version = "0.2"

[dependencies.libmimalloc-sys]
version = "0.1"
features = [
    "extended",
    "local_dynamic_tls",
]
optional = true

[dependencies.memchr]
version = "2"

[dependencies.memmap2]
version = "0.9"

[dependencies.mimalloc]
version = "0.1"
features = ["local_dynamic_tls"]
optional = true

[dependencies.neo_frizbee]
version = "0.10.2"
features = ["match_end_col"]

[dependencies.notify]
version = "9.0.0-rc.3"

[dependencies.notify-debouncer-full]
version = "0.9.4"
package = "fff-notify-debouncer-full"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pathdiff]
version = "0.2.1"

[dependencies.rayon]
version = "1.8.0"

[dependencies.regex]
version = "1.11"

[dependencies.regex-syntax]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.smallvec]
version = "1.13"
features = [
    "const_generics",
    "union",
]

[dependencies.thiserror]
version = "2.0.10"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.zlob]
version = "1.4.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

[dev-dependencies.proptest]
version = "1"
features = [
    "std",
    "fork",
]
default-features = false

[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]

[dev-dependencies.tempfile]
version = "3.8"

[target."cfg(unix)".dependencies.signal-hook-registry]
version = "1.4"

[target."cfg(windows)".dependencies.dunce]
version = "1.0"
