# 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.5.2"
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_integration"
path = "tests/bigram_overlay_integration.rs"

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

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

[[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.bindet]
version = "0.3"

[dependencies.blake3]
version = "1.8.2"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "5.0"

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

[dependencies.fff-query-parser]
version = "0.5.1"
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.libmimalloc-sys]
version = "0.1"
features = ["extended"]
optional = true

[dependencies.memchr]
version = "2"

[dependencies.memmap2]
version = "0.9"

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

[dependencies.notify]
version = "8.1.0"

[dependencies.notify-debouncer-full]
version = "0.7"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pathdiff]
version = "0.2.1"

[dependencies.rayon]
version = "1.8.0"

[dependencies.regex]
version = "1.11"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.smartstring]
version = "1.0.1"
features = ["serde"]

[dependencies.thiserror]
version = "2.0.10"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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

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