[package] name = "quicksearch-core" version.workspace = true edition.workspace = true license.workspace = true authors.workspace = true repository.workspace = true description = "Indexing, storage and search engine behind QuickSearch." [lib] name = "quicksearch_core" path = "src/lib.rs" [dependencies] # `bundled-sqlcipher-vendored-openssl` compiles the SQLCipher amalgamation # (a superset of the stock SQLite `bundled` build — FTS5 etc. included) and # statically links a vendored OpenSSL libcrypto, so encryption support adds # no runtime library dependencies. With no `PRAGMA key` applied, SQLCipher # behaves identically to stock SQLite, so unencrypted indexes are unaffected. rusqlite = { version = "0.39", features = ["bundled-sqlcipher-vendored-openssl"] } argon2 = { version = "0.5", features = ["zeroize"] } zeroize = { version = "1", features = ["derive"] } getrandom = "0.2" sha2 = "0.10.8" walkdir = "2.5.0" # Default features pull in zstd 0.11, which cannot unify with our zstd 0.13 below # and so builds a second copy of the wrapper crates. We only read OOXML/ODF # containers (docx/xlsx/pptx/odt/ods/odp), whose entries are always deflate or # stored, so zstd/bzip2/aes-crypto are all dead weight here. zip = { version = "0.6", default-features = false, features = ["deflate"] } quick-xml = "0.31" serde = { version = "1.0", features = ["derive"] } toml = "0.8" mime_guess = "2.0" infer = "0.15" pdf-extract = "0.12" lopdf = "0.32" lofty = "0.19" kamadak-exif = "0.5" notify = "6.1" ctrlc = "3.4" zstd = "0.13" globset = "0.4" regex = "1" # `GetDriveTypeW` (a mapped drive letter is the only way to spot an SMB share # that isn't written as UNC) plus the FILE_ATTRIBUTE_* constants for hidden # detection. Pinned to 0.52 deliberately: walkdir → winapi-util already # resolves exactly that version, so this adds no new crate compilations. [target.'cfg(windows)'.dependencies] # GetDriveTypeW and the FILE_ATTRIBUTE_* constants live in # Win32_Storage_FileSystem; DRIVE_REMOTE, oddly, is filed under # Win32_System_WindowsProgramming. windows-sys = { version = "0.52", features = [ "Win32_Storage_FileSystem", "Win32_System_WindowsProgramming", ] }