-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
138 lines (120 loc) · 4.49 KB
/
Cargo.toml
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
130
131
132
133
134
135
136
137
138
[package]
name = "agentx"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.4.3", features = ["derive"] }
config.workspace = true
dotenv.workspace = true
anyhow.workspace = true
tokio.workspace = true
async-trait.workspace = true
serde_yaml.workspace = true
serde_json.workspace = true
regex.workspace = true
rust_mermaid.workspace = true
agent_actions.workspace = true
agent_document_store.workspace = true
agent_environment.workspace = true
agent_learn.workspace = true
agent_management.workspace = true
agent_memory.workspace = true
agent_planing.workspace = true
agent_prompts.workspace = true
agent_provider.workspace = true
agent_roles.workspace = true
agent_schema.workspace = true
agent_tools.workspace = true
agent_utils.workspace = true
agent_verse.workspace = true
agentx_core.workspace = true
# agent_prompts.workspace = true
# for logging
# chrono.workspace = true
tracing.workspace = true
# tracing-appender.workspace = true
tracing-subscriber.workspace = true
async-openai.workspace = true
futures.workspace = true
# test examples
arxiv-rs.workspace = true
reqwest.workspace = true
url.workspace = true
readability.workspace = true
[workspace]
resolver = "2"
members = [
"crates/*",
]
[workspace.package]
authors = ["AgentX.life <[email protected]>"]
edition = "2021"
homepage = "https://agentx.life"
# include = ["../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sxhxliang/agentx.life"
rust-version = "1.70"
version = "0.1.0"
[workspace.dependencies]
agent_macro = { path = "crates/agent_macro", version = "*", default-features = false }
agent_actions = { path = "crates/agent_actions", version = "*", default-features = false }
agent_document_store = { path = "crates/agent_document_store", version = "*", default-features = false }
agent_environment = { path = "crates/agent_environment", version = "*", default-features = false }
agent_learn = { path = "crates/agent_learn", version = "*", default-features = false }
agent_management = { path = "crates/agent_management", version = "*", default-features = false }
agent_memory = { path = "crates/agent_memory", version = "*", default-features = false }
agent_planing = { path = "crates/agent_planing", version = "*", default-features = false }
agent_prompts = { path = "crates/agent_prompts", version = "*", default-features = false }
agent_provider = { path = "crates/agent_provider", version = "*", default-features = false }
agent_roles = { path = "crates/agent_roles", version = "*", default-features = false }
agent_schema = { path = "crates/agent_schema", version = "*", default-features = false }
agent_tools = { path = "crates/agent_tools", version = "*", default-features = false }
agent_utils = { path = "crates/agent_utils", version = "*", default-features = false }
agent_verse = { path = "crates/agent_verse", version = "*", default-features = false }
agentx_core = { path = "crates/agentx", version = "*", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
config = "0.13.3"
dotenv = "0.15.0"
derivative = "2.2.0"
uuid = {version = "1.4.1", features = ["v4", "fast-rng", "macro-diagnostics"]}
regex = "1.9.3"
lazy_static = "1.4.0"
futures ="0.3.26"
anyhow = "1.0"
async-trait = "0.1.73"
tokio = { version = "1.31.0", features = ["full"] }
num_cpus = "1.16.0"
# for logging
# chrono = "0.4.28"
tracing = "0.1"
# tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["local-time"] }
# for chatgpt
async-openai = "0.14.1"
# for memory storage
qdrant-client = "1.5.0"
# for action
readability = "0.2.0"
rust_mermaid = "0.1.1"
base64 = "0.21.2"
reqwest = {version = "0.11.18", features = ["blocking"]}
scraper = "0.17.1"
url = "2.4.1"
percent-encoding = "2.3.0"
image = "0.24.6"
arxiv-rs = "0.1.5"
termimad = "0.25.2"
[profile.release]
# https://github.com/johnthagen/min-sized-rust
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
panic = "abort"
# indicatif
# # When using alpha-release, always use exact version, e.g. `version = "=0.x.y-alpha.z"
# # This is because we treat alpha-releases as incompatible, but semver doesn't.
# # In particular: if we compile AICommander 0.3.0-alpha.0 we only want it to use