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.

4.1 KB
Raw Blame
[package]
edition = "2024"
name = "call"
publish = false
version = "0.1.0"

[features]
ai_tools = ["dep:ai_toolset", "dep:async-trait", "dep:schemars", "ports"]
default = ["ai_tools", "inbound", "outbound", "ports"]
inbound = [
  "dep:axum",
  "dep:ip_extractor",
  "dep:macro_authorization",
  "dep:model-error-response",
  "dep:rate_limit",
  "dep:utoipa",
  "entity_access/inbound",
  "item_filters/schema",
  "ports",
]
outbound = [
  "dep:agent",
  "dep:ai_usage",
  "dep:aws-sdk-s3",
  "dep:cloudfront_sign",
  "channels/outbound",
  "dep:entity_access_db_utils",
  "dep:feature_flags",
  "dep:livekit-api",
  "dep:livekit-protocol",
  "dep:macro_aws_config",
  "dep:pgvector",
  "dep:share_permission_db_utils",
  "dep:sqlx",
  "dep:urlencoding",
  "ports",
]
ports = ["dep:entity_access", "dep:tokio", "dep:async-trait", "dep:messages", "dep:futures"]

[dependencies]
activity = { path = "../activity", default-features = false }
agent = { path = "../agent", optional = true }
ai_usage = { path = "../ai_usage", optional = true }
ai_toolset = { path = "../ai_toolset", optional = true }
anyhow = { workspace = true }
async-trait = { workspace = true, optional = true }
bot_id = { path = "../bot_id" }
aws-sdk-s3 = { workspace = true, optional = true }
axum = { workspace = true, optional = true }
chrono = { workspace = true }
cloudfront_sign = { workspace = true, optional = true }
ip_extractor = { path = "../ip_extractor", optional = true }
rate_limit = { path = "../rate_limit", features = ["axum"], optional = true }
channels = { path = "../channels", default-features = false, optional = true }
connection = { path = "../connection", default-features = false, features = [
  "ports",
] }
entity_access = { path = "../entity_access", optional = true, default-features = false, features = [
  "ports",
] }
entity_mutation = { path = "../entity_mutation" }
entity_access_db_utils = { path = "../entity_access_db_utils", optional = true }
filter_ast = { path = "../filter_ast" }
futures = { workspace = true, optional = true }
item_filters = { path = "../item_filters" }
invite_email = { path = "../invite_email" }
livekit-api = { workspace = true, optional = true }
livekit-protocol = { workspace = true, optional = true }
macro_authorization = { path = "../macro_authorization", optional = true, default-features = false, features = [
  "axum",
] }
macro_aws_config = { path = "../macro_aws_config", optional = true, features = [
  "s3",
] }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
macro_event_topics = { path = "../macro_event_topics" }
macro_user_id = { path = "../macro_user_id" }
macro_uuid = { path = "../macro_uuid" }
feature_flags = { path = "../feature_flags", optional = true }
messages = { path = "../messages", default-features = false, features = ["ports"], optional = true }
model-entity = { path = "../model-entity" }
model-error-response = { path = "../model-error-response", optional = true }
models_pagination = { path = "../models_pagination" }
models_permissions = { path = "../models_permissions" }
notification = { path = "../notification" }
rootcause = { workspace = true }
pgvector = { workspace = true, optional = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
share_permission_db_utils = { path = "../share_permission_db_utils", optional = true }
serde_json = { workspace = true }
sqlx = { workspace = true, optional = true }
strum = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["macros"], optional = true }
tracing = { workspace = true }
utoipa = { workspace = true, optional = true }
urlencoding = { workspace = true, optional = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
subtle = { workspace = true }

[dev-dependencies]
base64 = { workspace = true }
macro_db_migrator = { path = "../macro_db_migrator" }
mockall = { workspace = true }
model_user = { path = "../model_user" }
rate_limit = { path = "../rate_limit", features = ["axum", "testing"] }
rootcause = { workspace = true }
sha2 = { workspace = true }
sqlx = { workspace = true }
tokio = { workspace = true }
tower = { workspace = true, features = ["util"] }