-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
119 lines (101 loc) · 2.69 KB
/
Cargo.toml
File metadata and controls
119 lines (101 loc) · 2.69 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
118
119
[workspace]
resolver = "2"
members = [
"crates/matric-core",
"crates/matric-db",
"crates/matric-search",
"crates/matric-inference",
"crates/matric-crypto",
"crates/matric-jobs",
"crates/matric-api",
]
[workspace.package]
version = "2026.5.13"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/fortemi/fortemi"
authors = ["Fortémi Contributors"]
homepage = "https://github.com/fortemi/fortemi"
[workspace.dependencies]
# Internal crates
matric-core = { path = "crates/matric-core" }
matric-db = { path = "crates/matric-db" }
matric-search = { path = "crates/matric-search" }
matric-inference = { path = "crates/matric-inference" }
matric-crypto = { path = "crates/matric-crypto" }
matric-jobs = { path = "crates/matric-jobs" }
matric-api = { path = "crates/matric-api" }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Database
sqlx = { version = "0.8.6", default-features = false, features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
"macros",
"bigdecimal",
"migrate"
]}
pgvector = { version = "0.4.1", features = ["sqlx", "postgres"] }
# Async runtime
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
# HTTP client (for inference backends)
reqwest = { version = "0.12", features = ["json", "multipart"] }
# Utilities
uuid = { version = "1", features = ["v4", "v7", "serde"] }
chrono = { version = "0.4", features = ["clock", "serde"] }
sha2 = "0.10"
hex = "0.4"
md5 = "0.7"
similar = "2"
regex = "1"
rand = "0.8"
base64 = "0.22"
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
infer = "0.16"
dotenvy = "0.15"
blake3 = "1.5"
# Extraction adapters
mailparse = "0.16"
calamine = "0.26"
zip = "2"
tar = "0.4"
flate2 = "1"
# JSON Schema generation (for AsyncAPI)
schemars = { version = "0.8", features = ["chrono", "uuid1"] }
# YAML serialization
serde_yaml = "0.9"
# Error handling
thiserror = "1"
anyhow = "1"
# Logging/tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# Async utilities
async-trait = "0.1"
futures = "0.3"
# Tree-sitter for code-aware chunking
tree-sitter = "0.24"
tree-sitter-rust = "0.23"
tree-sitter-python = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
[workspace.metadata.tests]
# Test categorization for selective execution
fast = ["--lib", "--doc"]
integration = ["--tests"]
slow = ["--", "--ignored"]
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
lto = "thin"
# Profile for test coverage (optimized for coverage tools)
[profile.coverage]
inherits = "dev"
opt-level = 0
debug = true