whycodes-storage 0.6.31

SQLite storage for WhyCodes sessions, messages and memories
Documentation
[package]
name = "whycodes-storage"
description = "SQLite storage for WhyCodes sessions, messages and memories"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

[features]
# Unix: system sqlite (pkg-config) by default for fast dev builds.
# Windows: always bundled — MSVC has no sqlite3.lib unless the SDK is
# installed by hand (LNK1181). CI/release still pass `bundled` /
# `whycodes-cli/bundled-sqlite` so Linux runners without libsqlite3-dev
# link. Compiling the amalgamation is ~43s cold, cached afterwards.
default = []
bundled = ["rusqlite/bundled"]
# Test-only helpers (drop a table so a caller can hit a SQL error). Off
# unless a crate's dev-dependency opts in. Never enable on the CLI binary.
test-util = []

[dependencies]
whycodes-core = { path = "../core", version = "0.6" }
rusqlite.workspace = true
serde.workspace = true
serde_json.workspace = true
chrono.workspace = true
uuid.workspace = true
thiserror.workspace = true
tracing.workspace = true

# Windows has no system sqlite3.lib on a typical MSVC install. Feature
# unification turns on rusqlite/bundled for this target only.
[target.'cfg(windows)'.dependencies]
rusqlite = { workspace = true, features = ["bundled"] }

[dev-dependencies]
tempfile.workspace = true

[lints]
workspace = true