Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (41 loc) · 2.01 KB
/
Copy pathCargo.toml
File metadata and controls
49 lines (41 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "abraxas"
version = "0.1.0"
edition = "2021"
description = "A local second brain: it watches what you build, write, and look at, then continuously reprograms a website that is a deep dive into you. Named for the gnostic Abraxas, who unites the fragments into one."
license = "GPL-3.0-only"
repository = "https://github.com/fmzbl/abraxas"
# abraxas is its own standalone workspace root.
[workspace]
[dependencies]
# The model seam. kaos routes prompts to local ollama, the claude CLI, or an
# HTTP API and is tuned for small local models — exactly what the cortex loop
# needs. We take the library only: `default-features = false` drops the TUI
# (ratatui/crossterm); `api` keeps the HTTP providers + ollama sampling control.
# To develop against a local kaos checkout, patch it in .cargo/config.toml —
# see CONTRIBUTING.md.
kaos = { git = "https://github.com/fmzbl/kaos", default-features = false, features = ["api"] }
# Serialization: events and derived state are JSON in SQLite; the user config
# is YAML; `export`/`import` is one portable JSON file.
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
argon2 = "0.5"
rand_core = { version = "0.6", features = ["getrandom"] }
# Blocking HTTP with rustls in one crate — used to send screenshots to a local
# vision model. The website itself is a hand-rolled std TcpListener server, so
# no async runtime or web framework is pulled in.
ureq = { version = "2", features = ["json", "tls"] }
# The record: durable, queryable persistence. `bundled` compiles SQLite from
# source (no system libsqlite needed), and brings FTS5 for full-text search over
# everything abraxas has gathered.
rusqlite = { version = "0.32", features = ["bundled-sqlcipher-vendored-openssl"] }
# Unix process control for the detached daemon: `setsid` (survive the terminal
# closing) and signals (stop by pidfile). Already in the tree via rusqlite.
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[[bin]]
name = "abraxas"
path = "src/main.rs"
[profile.release]
opt-level = 3