Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

2.3 KB
Raw Blame
[package]
edition = "2024"
name = "databases_sql"
publish = false
version = "0.1.0"

[features]
default = []
# Authenticated HTTP query adapter.
inbound = ["dep:axum", "dep:macro_authorization", "dep:model-error-response", "dep:utoipa", "database_sql/openapi"]
# The SQL agent tools: QueryDatabase and SaveDatabaseQuery.
ai_tools = ["dep:ai_toolset", "dep:anyhow", "dep:async-trait", "dep:schemars"]

[dependencies]
axum = { workspace = true, optional = true }
macro_authorization = { path = "../macro_authorization", default-features = false, features = ["axum"], optional = true }
model-error-response = { path = "../model-error-response", optional = true }
utoipa = { workspace = true, optional = true }
ai_toolset = { path = "../ai_toolset", optional = true }
anyhow = { workspace = true, optional = true }
async-trait = { workspace = true, optional = true }
base64 = { workspace = true }
bot_id = { path = "../bot_id" }
chrono = { workspace = true }
contacts = { path = "../contacts", default-features = false, features = ["ports"] }
database_sql = { path = "../database_sql", features = ["schema"] }
databases = { path = "../databases", default-features = false, features = ["ports", "view_rows"] }
email = { path = "../email", default-features = false }
entity_access = { path = "../entity_access", default-features = false, features = ["ports"] }
filter_ast = { path = "../filter_ast" }
item_filters = { path = "../item_filters", default-features = false }
macro_user_id = { path = "../macro_user_id" }
models_databases = { path = "../models_databases" }
models_grouping = { path = "../models_grouping" }
models_pagination = { path = "../models_pagination" }
models_properties = { path = "../models_properties" }
models_soup = { path = "../models_soup" }
rootcause = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
soup = { path = "../soup", default-features = false, features = ["ports"] }
thiserror = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
tower = { workspace = true, features = ["util"] }
model_owner = { path = "../model_owner" }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }