- add a transport client for one current backend protocol with loopback http, TLS-only remote endpoints, explicit remote consent, disabled redirects, bounded timeout/batch/payload/response/dimension and no credential in URLs - validate responses strictly (count, index order, dimension, finite values, non-zero norm, mixed-model rejection) and abort publication when any vector is missing so a mixed index is never stored - embed search units in the same transaction that writes the projection, with content-digest/model-digest guarded reuse for incremental compiles; the build metadata records endpoint/model/revision/dimension/distance/chunking - add the semantic query channel behind explicit --semantic using an exact cosine scan with a bounded vector budget; default queries stay completely offline even when vectors exist - add a local mock-server integration test proving protocol handling, cross-vocabulary recall, offline default behaviour, remote consent rules and all-or-nothing failure; real-model quality remains NOT RUN and is not claimed
36 lines
890 B
TOML
36 lines
890 B
TOML
[package]
|
|
name = "marqdo-knowledge"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.89"
|
|
license = "Apache-2.0"
|
|
description = "Deterministic, offline knowledge compiler for Markdown and Marqdo documents"
|
|
repository = "https://github.com/cflmy/marqdo-knowledge"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "marqdo_knowledge"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "marqdo-knowledge"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "=4.6.9", features = ["derive", "env"] }
|
|
comrak = { version = "=1.0.0", default-features = false }
|
|
glob = "=0.3.4"
|
|
hex = "=0.4.3"
|
|
rusqlite = { version = "=0.37.0", features = ["bundled"] }
|
|
serde = { version = "=1.0.229", features = ["derive"] }
|
|
serde_json = "=1.0.154"
|
|
serde_yaml = "=0.9.34"
|
|
sha2 = "=0.10.9"
|
|
tempfile = "=3.27.0"
|
|
unicode-normalization = "=0.1.26"
|
|
ureq = { version = "=3.5.2", features = ["json"] }
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = "thin"
|