-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (49 loc) · 2.34 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (49 loc) · 2.34 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
[workspace]
members = ["crates/openab-core", "crates/openab-gateway", "crates/openab-mcp"]
exclude = ["openab-agent", "crates/platform-schema"]
[package]
name = "openab"
version = "0.10.0"
edition = "2021"
license = "MIT"
[dependencies]
openab-core = { path = "crates/openab-core", default-features = false }
openab-gateway = { path = "crates/openab-gateway", default-features = false, optional = true }
# OAB MCP Facade: in-process loopback Streamable HTTP MCP server, enabled by
# `[mcp]` in config.toml (OAB MCP Adapter ADR §6.2).
openab-mcp = { path = "crates/openab-mcp" }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
clap = { version = "4", features = ["derive"] }
anyhow = "1"
axum = { version = "0.8", optional = true }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "0.1"
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "model", "rustls_backend", "cache"], optional = true }
[features]
# Default: core only (Discord + Slack). Gateway ships as separate binary.
default = ["discord", "slack", "secrets-aws", "agentcore", "config-s3", "pre-seed", "filestore"]
# Opt-in: compile all gateway adapters into a single unified binary
unified = ["telegram", "line", "feishu", "googlechat", "wecom", "teams", "acp"]
# Core adapters
discord = ["dep:serenity", "openab-core/discord"]
slack = ["openab-core/slack"]
# Core optional features
secrets-aws = ["openab-core/secrets-aws"]
agentcore = ["openab-core/agentcore"]
config-s3 = ["openab-core/config-s3"]
pre-seed = ["openab-core/pre-seed"]
filestore = ["openab-core/filestore"]
# Gateway adapters (each pulls in the gateway crate + axum for embedded server)
telegram = ["dep:openab-gateway", "dep:axum", "openab-gateway/telegram"]
line = ["dep:openab-gateway", "dep:axum", "openab-gateway/line"]
feishu = ["dep:openab-gateway", "dep:axum", "openab-gateway/feishu"]
googlechat = ["dep:openab-gateway", "dep:axum", "openab-gateway/googlechat"]
wecom = ["dep:openab-gateway", "dep:axum", "openab-gateway/wecom"]
teams = ["dep:openab-gateway", "dep:axum", "openab-gateway/teams"]
acp = ["dep:openab-gateway", "dep:axum", "openab-gateway/acp"]
[dev-dependencies]
tempfile = "3.27.0"