-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (75 loc) · 2.83 KB
/
Copy pathCargo.toml
File metadata and controls
87 lines (75 loc) · 2.83 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
[package]
name = "terraphim_rlm"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors = ["Terraphim AI Team <team@terraphim.ai>"]
description = "Recursive Language Model (RLM) orchestration for Terraphim AI"
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
license = "MIT"
repository = "https://github.com/terraphim/terraphim-ai"
keywords = ["rlm", "llm", "code-execution", "firecracker", "ai"]
categories = ["development-tools", "asynchronous"]
readme = "../../README.md"
[dependencies]
# Workspace dependencies
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
ulid = { version = "1.1", features = ["serde"] }
jiff = { version = "0.2", features = ["serde"] }
async-trait.workspace = true
thiserror.workspace = true
anyhow.workspace = true
log.workspace = true
# Terraphim crates
terraphim_service = { version = "1.20.4", optional = true }
terraphim_config = { version = "1.20.4", optional = true }
terraphim_automata = { version = "1.20.4", optional = true }
terraphim_types = { version = "1.20.4", optional = true }
terraphim_rolegraph = { version = "1.20.4", optional = true }
terraphim_agent_supervisor = { version = "1.19.2", optional = true }
# Firecracker-rust core for VM and snapshot management (private repo).
# Uncomment when building with --features firecracker on a machine with
# access to the private firecracker-rust repository.
# fcctl-core = { git = "https://github.com/terraphim/firecracker-rust", branch = "main", optional = true }
# Async utilities
tokio-util = "0.7"
futures = "0.3"
# HTTP for LLM bridge
hyper = { version = "1.0", features = ["server", "http1"], optional = true }
hyper-util = { version = "0.1", features = ["tokio"], optional = true }
# Alternative execution backends
bollard = { version = "0.20", optional = true }
reqwest = { workspace = true, optional = true }
# MCP (Model Context Protocol)
rmcp = { version = "0.9.0", features = ["server"], optional = true }
# Utilities
parking_lot = "0.12"
dashmap = "6.1"
# CLI
clap = { version = "4.5", features = ["derive"], optional = true }
env_logger = { version = "0.11", optional = true }
[[bin]]
name = "terraphim_rlm"
path = "src/main.rs"
required-features = ["cli"]
[features]
default = ["full"]
full = ["llm", "kg-validation", "supervision", "llm-bridge", "docker-backend", "e2b-backend", "mcp", "cli"]
llm = ["dep:terraphim_service", "dep:terraphim_config"]
kg-validation = ["dep:terraphim_automata", "dep:terraphim_types", "dep:terraphim_rolegraph"]
supervision = ["dep:terraphim_agent_supervisor"]
llm-bridge = ["dep:hyper", "dep:hyper-util"]
docker-backend = ["dep:bollard"]
firecracker = []
e2b-backend = ["dep:reqwest"]
mcp = ["dep:rmcp"]
cli = ["dep:clap", "dep:env_logger"]
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
test-log = "0.2"
ahash = "0.8"
terraphim_config = { version = "1.20.4" }