-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (87 loc) · 3.58 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (87 loc) · 3.58 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
[package]
name = "terraphim_server"
version = "0.2.3"
edition = "2021"
authors = ["Terraphim Contributors"]
description = "Terraphim service handling the core logic of the Terraphim AI."
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
repository = "https://github.com/terraphim/terraphim-ai"
keywords = ["personal-assistant", "ai", "privacy", "service", "core"]
license = "Apache-2.0"
readme = "../README.md"
[dependencies]
terraphim_persistence = { path = "../crates/terraphim_persistence", version = "0.2.0", features = ["server"] }
terraphim_config = { path = "../crates/terraphim_config", version = "0.2.0" }
terraphim_middleware = { path = "../crates/terraphim_middleware", version = "0.2.0" }
terraphim_rolegraph = { path = "../crates/terraphim_rolegraph", version = "0.2.0" }
terraphim_settings = { path = "../crates/terraphim_settings", version = "0.2.0" }
terraphim_types = { path = "../crates/terraphim_types", version = "0.2.0" }
terraphim_automata = { path = "../crates/terraphim_automata", version = "0.2.0", features = ["tokio-runtime"] }
terraphim_service = { path = "../crates/terraphim_service", version = "0.2.0" }
terraphim_multi_agent = { path = "../crates/terraphim_multi_agent", version = "0.2.0" }
terraphim-truthforge = { path = "../crates/terraphim_truthforge", version = "0.2.0" }
anyhow = "1.0.40"
axum = { version = "0.8.4", features = ["macros", "ws"] }
axum-extra = "0.10.1"
clap = { version = "4.4.18", features = ["derive"] }
log = "0.4.14"
portpicker = "0.1"
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
serde = { version = "1.0.149", features = ["derive"] }
serde_json = "1.0.108"
tokio = { version = "1.35.1", features = ["full"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tower-http = { version = "0.6.1", features = ["cors", "fs", "trace"] }
ulid = { version = "1.0.0", features = ["serde", "uuid"] }
mime_guess = "2.0.4"
tower = { version = "0.4", features = ["util"] }
rust-embed = { version = "8.2.0", features = ["axum", "axum-ex", "mime-guess"] }
env_logger = "0.11.8"
url = "2.5.0"
ahash = "0.8.11"
schemars = "0.8.22"
regex = "1.11.0"
walkdir = "2.4"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
futures-util = "0.3"
rand = "0.8"
[features]
default = []
openrouter = ["terraphim_service/openrouter", "terraphim_config/openrouter"]
ollama = ["terraphim_service/ollama"]
# Optional database backends
sqlite = ["terraphim_persistence/services-sqlite"]
rocksdb = ["terraphim_persistence/services-rocksdb"]
redis = ["terraphim_persistence/services-redis"]
# Enable all database backends
full-db = ["sqlite", "rocksdb", "redis"]
[dev-dependencies]
serial_test = "3.0.0"
tempfile = "3.23.0"
urlencoding = "2.1.3"
tokio = { version = "1.35.1", features = ["full"] }
terraphim_tui = { path = "../crates/terraphim_tui", version = "0.2.0" }
axum-test = "17"
futures-util = "0.3"
[build-dependencies]
static-files = "0.2"
walkdir = "2"
dircpy = "0.3.15"
[package.metadata.deb]
maintainer = "Terraphim Contributors <team@terraphim.ai>"
copyright = "2024, Terraphim Contributors"
license-file = ["../LICENSE", "4"]
extended-description = """
Terraphim AI Server - Privacy-first AI assistant backend.
Provides HTTP API for semantic search and knowledge graphs.
Operates locally with support for multiple knowledge repositories."""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
["target/release/terraphim_server", "usr/bin/", "755"],
["default/*.json", "etc/terraphim-ai/", "644"],
["../README.md", "usr/share/doc/terraphim-ai/README", "644"],
]