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.

5.5 KB
Raw Blame
[package]
default-run = "search_processing_service"
edition = "2024"
name = "search_processing_service"
publish = false
version = "0.1.0"

[features]
default = ["processing", "service", "pdf"]
processing = [
  "dep:call",
  "dep:channels",
  "dep:chat",
  "dep:documents",
  "dep:email",
  "dep:kafka_util",
  "dep:macro_event_broker",
  "dep:macro_event_topics",
  "dep:models_properties",
  "dep:projects",
  "dep:properties",
  "dep:rdkafka",
  "dep:rootcause",
  "dep:tokio-retry",
]
service = [
  "dep:documents",
  "dep:macro_event_broker",
  "macro_db_client",
  "dep:models_properties",
  "dep:properties",
]
pdf = ["dep:pdfium-render"]

[[bin]]
name = "search_processing_service"
path = "src/main.rs"
required-features = ["processing", "service"]

[[bin]]
name = "search_processing_service_doppler_config"
path = "src/doppler_config.rs"

[dependencies]
agent_session = { path = "../../crates/agent_session", default-features = false, features = ["outbound"] }
bots = { path = "../../crates/bots", default-features = false, features = ["outbound", "ports"] }
entity_registry = { path = "../../crates/entity_registry/entity_registry", default-features = false }
entity_registry_db_utils = { path = "../../crates/entity_registry/entity_registry_db_utils" }
agent_fold = { path = "../../crates/folds/agent_fold" }
anyhow = { workspace = true }
aws-sdk-dynamodb = { workspace = true }
aws-sdk-s3 = { workspace = true }
aws-sdk-sqs = { workspace = true }
axum = { workspace = true }
call = { path = "../../crates/call", default-features = false, optional = true }
channels = { path = "../../crates/channels", default-features = false, optional = true }
messages = { path = "../../crates/messages", features = ["broker"] }
chat = { path = "../../crates/chat", default-features = false, optional = true }
chrono = { workspace = true }
comms_db_client = { path = "../../crates/comms_db_client" }
email = { path = "../../crates/email", default-features = false, optional = true }
email_db_client = { path = "../../crates/email_db_client" }
futures = { workspace = true }
http-body-util = { workspace = true }
kafka_util = { path = "../../crates/kafka_util", optional = true }
lexical_client = { path = "../../crates/lexical_client" }
macro_auth = { path = "../../crates/macro_auth" }
macro_authorization = { path = "../../crates/macro_authorization", features = [
  "postgres",
] }
macro_aws_config = { path = "../../crates/macro_aws_config", features = ["s3"] }
macro_cors = { path = "../../crates/macro_cors" }
macro_config = { path = "../../crates/macro_config" }
macro_db_client = { path = "../../crates/macro_db_client", optional = true } # Make this optional
macro_entrypoint = { path = "../../crates/macro_entrypoint" }
macro_env = { path = "../../crates/macro_env" }
macro_env_var = { path = "../../crates/macro_env_var" }
calendar_events = { path = "../../crates/calendar_events" }
macro_event_broker = { path = "../../crates/macro_event_broker", default-features = false, features = [
  "outbound",
], optional = true }
macro_event_topics = { path = "../../crates/macro_event_topics", optional = true }
macro_queues = { path = "../../crates/macro_queues" }
macro_middleware = { path = "../../crates/macro_middleware", default-features = false }
macro_user_id = { path = "../../crates/macro_user_id" }
macro_uuid = { path = "../../crates/macro_uuid" }
mention_utils = { path = "../../crates/mention_utils" }
document_sub_type = { path = "../../crates/document_sub_type" }
documents = { path = "../../crates/documents", default-features = false, optional = true }
ai_engine = { path = "../../crates/ai_engine" }
fig_engine = { path = "../../crates/fig_engine" }
psd_engine = { path = "../../crates/psd_engine" }
doppler-config = { workspace = true }
model = { path = "../../crates/model" }
model_owner = { path = "../../crates/model_owner" }
s3_key = { path = "../../crates/s3_key" }
models_email = { path = "../../crates/models_email" }
model_file_type = { path = "../../crates/model_file_type" }
models_opensearch = { path = "../../crates/models_opensearch" }
models_properties = { path = "../../crates/models_properties", optional = true }
models_search = { path = "../../crates/models_search" }
nom = { workspace = true }
opensearch_client = { path = "../../crates/opensearch_client" }
ensure_exists = { path = "../../crates/ensure_exists", features = ["dynamodb"] }
pdfium-render = { workspace = true, optional = true }
properties = { path = "../../crates/properties", default-features = false, features = [
  "outbound",
], optional = true }
projects = { path = "../../crates/projects", default-features = false, optional = true }
rdkafka = { workspace = true, optional = true }
rootcause = { workspace = true, optional = true }
rust-embed = "8.6.0"
s3_client = { path = "../../crates/s3_client" }
serde = { workspace = true }
serde_json = { workspace = true }
sqlx = { workspace = true }
sqs_client = { path = "../../crates/sqs_client", default-features = false, features = [
  "search",
] }
sqs_worker = { path = "../../crates/sqs_worker" }
strum = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["signal", "sync", "time"] }
tokio-retry = { workspace = true, optional = true }
tokio-util = { workspace = true, features = ["rt"] }
tower = { workspace = true }
tower-http = { workspace = true }
tracing = { workspace = true }
utoipa = { workspace = true }
utoipa-swagger-ui = { workspace = true }
uuid = { workspace = true }

macro_service_urls = { path = "../../crates/macro_service_urls" }
workspace-hack = { version = "0.1", path = "../../crates/workspace-hack" }