736c41ecd6
* feat: MCP * chore: Update docs for - feat: MCP * feat: Perf optimizations * chore: Update docs for - feat: Perf optimizations
68 lines
1.9 KiB
TOML
68 lines
1.9 KiB
TOML
[package]
|
|
name = "fff-core"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "High-performance file finder core library"
|
|
license = "MIT"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
crate-type = ["rlib", "staticlib", "cdylib"]
|
|
|
|
[features]
|
|
default = []
|
|
# Enable C FFI exports
|
|
ffi = []
|
|
# Use zlob (Zig-compiled C globbing library) for glob matching.
|
|
# Requires Zig to be installed. When disabled, falls back to globset (pure Rust).
|
|
zlob = ["dep:zlob", "fff-query-parser/zlob"]
|
|
|
|
[dependencies]
|
|
# Workspace dependencies
|
|
ahash = { workspace = true }
|
|
rayon = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
# Local crates
|
|
fff-query-parser = { path = "../fff-query-parser", default-features = false }
|
|
|
|
# External dependencies
|
|
bindet = { workspace = true }
|
|
blake3 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
dirs = { workspace = true }
|
|
git2 = { workspace = true }
|
|
glidesort = { workspace = true }
|
|
globset = { workspace = true }
|
|
grep-matcher = { workspace = true }
|
|
grep-searcher = { workspace = true }
|
|
aho-corasick = "1"
|
|
memchr = "2"
|
|
heed = { workspace = true }
|
|
ignore = { workspace = true }
|
|
memmap2 = { workspace = true }
|
|
neo_frizbee = { workspace = true }
|
|
notify = { workspace = true }
|
|
notify-debouncer-full = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
pathdiff = { workspace = true }
|
|
regex = { workspace = true }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
smartstring = { version = "1.0.1", features = ["serde"] }
|
|
toml = "0.8"
|
|
tracing-appender = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
zlob = { workspace = true, optional = true }
|
|
# Platform-specific: dunce for Windows to avoid \\?\ extended path prefix
|
|
[target.'cfg(windows)'.dependencies]
|
|
dunce = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
tempfile = "3.8"
|