tawasuyu

tawasuyu/brahman

Rust 582TOML 222Markdown 73JSON 198635 Sutichaykuna

⎇ 72758e75ce515f355f27615671c95ecaf8c2a8bc crates/modules/nouser/nous-real/Cargo.toml TOML · 40 siq'ikuna · 1.3 KB Ñawpa willay ch'uya

feat(nous-real): cache de embeddings + write-through al CAS de arje b23ddf298 · Sergio ·

1[package]
2name = "nouser-nous-real"
3version.workspace = true
4edition.workspace = true
5rust-version.workspace = true
6license.workspace = true
7authors.workspace = true
8publish.workspace = true
9description = "Nouser — proveedor Nous con LLM real (text-embedding via ONNX). El soporte AI vive detrás del feature `embeddings`; sin él, este crate compila como stub mínimo."
10
11[features]
12# Sin features = stub que arranca y rechaza requests. Compila en
13# segundos, sin descargar nada.
14default = []
15# Con feature embeddings: pulls fastembed + ONNX Runtime descargado.
16# Modelo default: all-MiniLM-L6-v2 (384-d, ~80MB descargado al primer
17# run y cacheado).
18embeddings = ["dep:fastembed"]
19
20[dependencies]
21brahman-card = { path = "../../../core/brahman-card" }
22brahman-sidecar = { path = "../../../shared/brahman-sidecar" }
23ente-cas = { path = "../../../core/ente-cas" }
24nouser-nous = { path = "../nous" }
25serde_json = { workspace = true }
26sled = { workspace = true }
27tokio = { workspace = true }
28tracing = { workspace = true }
29tracing-subscriber = { workspace = true }
30ulid = { workspace = true }
31
32# Opcional: gateado por feature `embeddings`.
33fastembed = { version = "4", optional = true }
34
35[dev-dependencies]
36tempfile = { workspace = true }
37
38[[bin]]
39name = "nouser-nous-real"
40path = "src/main.rs"