[package]
name = "kon-storage"
version = "0.1.0"
edition = "2021"
description = "SQLite persistence, BM25 search, and file storage for Kon"

[dependencies]
kon-core = { path = "../core" }

# SQLite with compile-time checked queries
# default-features = false strips sqlx's `any`, `macros`, `migrate`, `json` —
# none of which this crate uses (it calls sqlx::query() / query_scalar()
# directly and runs its own migration machinery). Cuts ~40% of sqlx's
# compile graph, most visibly on Windows MSVC where each proc-macro crate
# (which `macros` pulls in) becomes a slow .dll link.
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite"] }

# Async runtime
tokio = { version = "1", features = ["rt", "sync", "macros"] }

# Logging
log = "0.4"

# UUIDs for profile + profile_terms ids (v7 random).
uuid = { version = "1", features = ["v4"] }
