-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (78 loc) · 2.16 KB
/
Copy pathCargo.toml
File metadata and controls
101 lines (78 loc) · 2.16 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "mana"
version = "0.7.3"
edition = "2021"
authors = ["MANA Autonomous Agent"]
description = "Memory-Augmented Neural Assistant - High-performance learning system for Claude Code"
license = "Apache-2.0"
repository = "https://github.com/jedarden/MANA"
keywords = ["ai", "learning", "claude", "context-injection"]
categories = ["command-line-utilities", "development-tools"]
[[bin]]
name = "mana"
path = "src/main.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Database
rusqlite = { version = "0.31", features = ["bundled"] }
# Connection pooling
r2d2 = "0.8"
r2d2_sqlite = "0.24"
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
anyhow = "1"
thiserror = "1"
# File system utilities
dirs = "5"
# Signal handling for daemon
ctrlc = "3.4"
# Lazy initialization for caching
lazy_static = "1.4"
# Unix process control (for proper daemonization)
[target.'cfg(unix)'.dependencies]
libc = "0.2"
# HNSW for fast approximate nearest neighbor search
instant-distance = "0.6"
# SIMD-accelerated vector operations
simsimd = "6"
# Sync module dependencies
regex = "1"
toml = "0.8"
aes-gcm = "0.10"
argon2 = "0.5"
base64 = "0.22"
rand = "0.8"
# Cryptographic hashing for provenance
sha2 = "0.10"
hex = "0.4"
# S3 sync backend (optional, compile with --features s3)
aws-config = { version = "1.5", optional = true }
aws-sdk-s3 = { version = "1.56", optional = true }
# Supabase/PostgreSQL backend (optional, compile with --features supabase)
reqwest = { version = "0.12", features = ["json"], optional = true }
uuid = { version = "1", features = ["v4", "serde"], optional = true }
[features]
default = []
s3 = ["aws-config", "aws-sdk-s3"]
supabase = ["reqwest", "uuid"]
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
[[bench]]
name = "comprehensive"
harness = false
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true