-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (58 loc) · 2.05 KB
/
Cargo.toml
File metadata and controls
80 lines (58 loc) · 2.05 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
[workspace]
members = ["ethos-core", "ethos-server", "ethos-ingest", "ethos-cli"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["Modern Method Inc."]
license = "UNLICENSED"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Database
# default-features = false removes mysql/sqlite backends (eliminates rsa RUSTSEC-2023-0071 via sqlx-mysql)
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json", "macros"] }
# pgvector extension for sqlx
pgvector = { version = "0.4", features = ["sqlx", "serde"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1" # MessagePack for IPC
# Config
config = { version = "0.14", features = ["toml"] }
# Error handling
thiserror = "1"
anyhow = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Utilities
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
tokio-util = { version = "0.7", features = ["codec"] }
# CLI arg parsing
clap = { version = "4", features = ["derive"] }
# Async stream utilities
futures = "0.3"
# Byte buffer utilities
bytes = "1"
# HTTP client for embeddings API
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
# Async retry with backoff
tokio-retry = "0.3"
# Async trait support
async-trait = "0.1"
# ONNX Runtime for local inference
ort = { version = "2.0.0-rc.11", features = ["load-dynamic"] }
# N-dimensional arrays for ONNX tensor I/O
ndarray = "0.17"
# Tokenizers for ONNX model preprocessing
tokenizers = { version = "0.21", default-features = false, features = ["fancy-regex"] }
# CPU count for idle detection
num_cpus = "1"
# Shell expansion for review inbox paths
shellexpand = "3"
# Regular expressions for fact extraction
regex = "1"
# Python FFI (for spreading activation — Phase 1, feature-gated)
# pyo3 = { version = "0.21", features = ["auto-initialize"] }