qmd 0.2.4

Lightweight SOTA local search engine for AI agents in Rust.
Documentation
# 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 = "qmd"
version = "0.2.4"
authors = ["QNTX <x@qntx.fun>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight SOTA local search engine for AI agents in Rust."
readme = "README.md"
keywords = [
    "markdown",
    "search",
    "embedding",
    "fts5",
    "ai",
]
categories = [
    "text-processing",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/qmd"

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

[[example]]
name = "collections"
path = "examples/collections.rs"

[[example]]
name = "documents"
path = "examples/documents.rs"

[[example]]
name = "embedding"
path = "examples/embedding.rs"

[[example]]
name = "fts_search"
path = "examples/fts_search.rs"

[[example]]
name = "hybrid_search"
path = "examples/hybrid_search.rs"

[[example]]
name = "maintenance"
path = "examples/maintenance.rs"

[[example]]
name = "models"
path = "examples/models.rs"

[[example]]
name = "query_expansion"
path = "examples/query_expansion.rs"

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "rerank"
path = "examples/rerank.rs"

[[example]]
name = "vector_search"
path = "examples/vector_search.rs"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.colored]
version = "3.0"

[dependencies.dirs]
version = "6.0"

[dependencies.fuzzy-matcher]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.indicatif]
version = "0.18.3"

[dependencies.llama-cpp-2]
version = "0.1"

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.13.1"
features = ["blocking"]

[dependencies.rusqlite]
version = "0.38.0"
features = [
    "bundled",
    "functions",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.walkdir]
version = "2.5"

[dependencies.zerocopy]
version = "0.8"

[lints.clippy]
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
missing_docs_in_private_items = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1