-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
117 lines (91 loc) · 2.47 KB
/
Cargo.toml
File metadata and controls
117 lines (91 loc) · 2.47 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "fractalmind"
version = "0.1.0"
edition = "2021"
authors = ["MadKoding"]
description = "Fractal-Mind: Sistema de IA con memoria evolutiva y aprendizaje autónomo"
[dependencies]
# Async Runtime
tokio = { version = "1.40", features = ["full"] }
tokio-util = "0.7"
tokio-stream = "0.1"
async-trait = "0.1"
async-stream = "0.3"
# Web Framework
axum = { version = "0.7", features = ["macros", "multipart", "ws"] }
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.5", features = ["trace", "cors", "timeout"] }
http = "1.1"
# Database
# Nota: usa kv-mem para desarrollo rápido. Para producción con persistencia,
# usa kv-rocksdb después de instalar: base-devel, clang, cmake
surrealdb = { version = "1.5", features = ["kv-mem", "protocol-ws", "protocol-http"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Embeddings & Vector Search
fastembed = { version = "5.12", default-features = false, features = ["online"], optional = true }
ndarray = "0.17"
# Graph Algorithms
petgraph = "0.8"
# Cache
lru = "0.12"
lazy_static = "1.5"
# HTTP Client (para búsqueda web en fase REM)
reqwest = { version = "0.12", features = ["json", "stream"] }
# URL parsing y encoding
url = "2.5"
urlencoding = "2.1"
# Logging & Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Configuration
dotenv = "0.15"
config = "0.15"
# Error Handling
anyhow = "1.0"
thiserror = "1.0"
# UUID Generation
uuid = { version = "1.10", features = ["v4", "serde"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# OCR para ingesta de imágenes
tesseract = { version = "0.14", optional = true }
# PDF parsing
pdf-extract = { version = "0.10", optional = true }
# Clustering algorithms para RAPTOR
linfa = { version = "0.8", optional = true }
linfa-clustering = { version = "0.8", optional = true }
# GGUF model parsing
byteorder = "1.5"
memmap2 = "0.9"
# Checksum verification for uploads
sha2 = "0.10"
# Bytes for streaming uploads
bytes = "1.5"
half = "2.0"
[dev-dependencies]
mockall = "0.13"
criterion = "0.5"
tempfile = "3"
[features]
default = []
embeddings = ["fastembed"]
ocr = ["tesseract"]
pdf = ["pdf-extract"]
clustering = ["linfa", "linfa-clustering"]
[profile.dev]
opt-level = 0
debug = true
codegen-units = 256
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[lib]
name = "fractalmind"
path = "src/lib.rs"
[[bin]]
name = "fractalmind"
path = "src/main.rs"