-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (105 loc) · 2.96 KB
/
Copy pathCargo.toml
File metadata and controls
129 lines (105 loc) · 2.96 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
120
121
122
123
124
125
126
127
128
129
[package]
name = "rust-langgraph"
version = "0.1.0"
edition = "2024"
authors = ["LangGraph Rust Team"]
description = "A Rust implementation of LangGraph - stateful graph orchestration for LLM applications"
license = "MIT"
repository = "https://github.com/rust-langgraph/rust-langgraph"
[dependencies]
langgraph-core = { path = "crates/langgraph-core" }
langgraph-checkpoint = { path = "crates/langgraph-checkpoint" }
langgraph-macros = { path = "crates/langgraph-macros" }
langgraph-runtime = { path = "crates/langgraph-runtime" }
langgraph-prebuilt = { path = "crates/langgraph-prebuilt" }
langgraph-observability = { path = "crates/langgraph-observability" }
# LLM / langchain integration
langchain-rust = { workspace = true, features = ["ollama"] }
# Re-export common dependencies
tokio = { workspace = true, features = ["full"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
async-trait = "0.1"
anyhow = { workspace = true }
uuid = { workspace = true, features = ["v4", "serde"] }
futures = "0.3.32"
num_cpus = "1.17.0"
chrono = "0.4.45"
[workspace]
members = [
"crates/langgraph-core",
"crates/langgraph-checkpoint",
"crates/langgraph-macros",
"crates/langgraph-runtime",
"crates/langgraph-prebuilt",
"crates/langgraph-observability",
]
[workspace.dependencies]
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.150"
async-trait = "0.1"
anyhow = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
rand = "0.10.1"
tokio-util = "0.7.18"
reqwest = { version = "0.13.4", features = ["json", "stream"] }
langchain-rust = { package = "langchain-ai-rust", git = "https://github.com/sandyz1000/langchain-rust", features = [
"ollama",
] }
[dev-dependencies]
tokio-test = "0.4.5"
[[example]]
name = "basic_agent"
path = "examples/basic_agent.rs"
[[example]]
name = "advanced_workflow"
path = "examples/advanced_workflow.rs"
[[example]]
name = "streaming"
path = "examples/streaming.rs"
[[example]]
name = "managed"
path = "examples/managed.rs"
[[example]]
name = "branching"
path = "examples/branching.rs"
[[example]]
name = "configuration"
path = "examples/configuration.rs"
[[example]]
name = "state_model"
path = "examples/state_model.rs"
[[example]]
name = "recursion_limit"
path = "examples/recursion_limit.rs"
[[example]]
name = "checkpoint"
path = "examples/checkpoint.rs"
[[example]]
name = "tool_node"
path = "examples/tool_node.rs"
[[example]]
name = "cross_thread_store"
path = "examples/cross_thread_store.rs"
[[example]]
name = "map_reduce"
path = "examples/map_reduce.rs"
[[example]]
name = "node_retry"
path = "examples/node_retry.rs"
[[example]]
name = "task_macro"
path = "examples/task_macro.rs"
[[example]]
name = "chatbot"
path = "examples/chatbot.rs"
[[example]]
name = "reflection"
path = "examples/reflection.rs"
[[example]]
name = "multi_agent"
path = "examples/multi_agent.rs"
[[example]]
name = "subgraph"
path = "examples/subgraph.rs"