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.

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

# The bins hold no tests and the library no doctests. Neither target builds under
# `cargo test`, so the test job compiles the library once, as its test binary.
# The `build-service-bins` job builds the real binary.
[lib]
doctest = false

[[bin]]
name = "document_storage_service"
path = "src/main.rs"
test = false

[[bin]]
name = "document_storage_service_openapi"
path = "src/openapi.rs"
test = false

[[bin]]
name = "document_storage_service_doppler_config"
path = "src/doppler_config.rs"
test = false



# Built only by the `build-service-bins` CI job, which needs the real binaries;
# `test = false` keeps it out of the test job.
[[test]]
name = "service_binary_builds"
path = "tests/service_binary_builds.rs"
test = false

[features]
connection_gateway = []
default = ["connection_gateway", "delete_document_worker", "location_check"]
delete_document_worker = []
local = ["local_auth"]
local_auth = ["macro_authorization/local_auth"]
location_check = []

[dependencies]
agent_correlation = { path = "../../crates/agent_correlation", features = ["http", "postgres"] }
access_requests = { path = "../../crates/access_requests" }
async-trait = { workspace = true }
ai_billing = { path = "../../crates/ai_billing" }
roles_and_permissions = { path = "../../crates/roles_and_permissions", default-features = false, features = ["outbound"] }
teams = { path = "../../crates/teams", default-features = false, features = ["outbound"] }
agent_changes = { path = "../../crates/agent_changes", default-features = false, features = ["outbound"] }
dictation = { path = "../../crates/dictation", features = ["inbound", "outbound"] }
initiative_description = { path = "../../crates/initiative_description" }
agent_session = { path = "../../crates/agent_session", features = ["outbound"] }
agent_session_realtime = { path = "../../crates/agent_session_realtime" }
activity = { path = "../../crates/activity" }
ai_tools = { path = "../../crates/ai_tools" }
ai_usage = { path = "../../crates/ai_usage" }
analytics_client = { path = "../../crates/analytics_client" }
attention_feed = { path = "../../crates/attention_feed", features = ["inbound", "outbound"] }
anyhow = { workspace = true }
async-graphql = { workspace = true }
async-graphql-axum = "7.0.17"
aws-sdk-dynamodb = { workspace = true }
aws-sdk-s3 = { workspace = true }
aws-sdk-secretsmanager = { workspace = true }
aws-sdk-sns = { workspace = true }
aws-sdk-sqs = { workspace = true }
axum = { workspace = true, features = [
  "macros",
  "multipart",
  "tower-log",
  "ws",
] }
axum-extra = { workspace = true }
base64 = { workspace = true }
bots = { path = "../../crates/bots" }
bot_id = { path = "../../crates/bot_id" }
bytes = { workspace = true }
calendar_events = { path = "../../crates/calendar_events", features = ["dispatch-sqs", "inbound", "mutation-client", "notify", "postgres"] }
bzip2 = { workspace = true, default-features = false, features = [
  "libbz2-rs-sys",
] }
cal = { path = "../../crates/cal", features = ["axum", "outbound"] }
call = { path = "../../crates/call" }
feature_flags = { path = "../../crates/feature_flags" }
channel_bots = { path = "../../crates/channel_bots" }
messages = { path = "../../crates/messages", features = ["annotations", "broker", "delivery", "inbound"] }
channels = { path = "../../crates/channels", features = [
  "entity_mutation",
  "inbound",
  "kafka_consumer",
  "list",
  "outbound",
] }
chat = { path = "../../crates/chat", default-features = false, features = [
  "outbound",
] }
chrono = { workspace = true }
clap = { workspace = true }
collab_surface = { path = "../../crates/collab_surface", features = [
  "inbound",
  "postgres",
] }
cloudfront_sign = { workspace = true }
comms_db_client = { path = "../../crates/comms_db_client" }
complete_graph = { path = "../../crates/complete_graph" }
connection = { path = "../../crates/connection", default-features = false, features = [
  "outbound",
] }
channel_sender = { path = "../../crates/channel_sender" }
connection_gateway_client = { path = "../../crates/connection_gateway_client" }
contacts = { path = "../../crates/contacts" }
cowlike = { path = "../../crates/cowlike" }
channel_labels = { path = "../../crates/channel_labels", features = [
  "inbound",
  "postgres",
] }
crm = { path = "../../crates/crm" }
databases_sql = { path = "../../crates/databases_sql", features = ["inbound"] }
databases = { path = "../../crates/databases", features = [
  "entity_mutation",
  "gateway",
  "inbound",
  "postgres",
] }
database_webhooks = { path = "../../crates/database_webhooks", features = [
  "inbound",
  "postgres",
] }
forms = { path = "../../crates/forms", features = [
  "entity_mutation",
  "gateway",
  "inbound",
  "postgres",
  "static_files",
] }
document_sub_type = { path = "../../crates/document_sub_type" }
documents_hex = { path = "../../crates/documents", package = "documents", features = ["purge"] }
doppler-config = { workspace = true }
dynamodb_client = { path = "../../crates/dynamodb_client" }
email = { path = "../../crates/email", features = ["outbound", "ports", "gmail_senders", "sqs"] }
gmail_client = { path = "../../crates/gmail_client" }
authentication_service_client = { path = "../../crates/authentication_service_client" }
embedding = { path = "../../crates/embedding" }
entity_access = { path = "../../crates/entity_access", features = [
  "inbound",
  "schema",
] }
entity_access_management = { path = "../../crates/entity_access_management" }
entity_mutation = { path = "../../crates/entity_mutation" }
entity_registry = { path = "../../crates/entity_registry/entity_registry" }
entity_registry_db_utils = { path = "../../crates/entity_registry/entity_registry_db_utils" }
favorites = { path = "../../crates/favorites", features = [
  "inbound",
  "postgres",
] }
foreign_entity = { path = "../../crates/foreign_entity", features = [
  "inbound",
] }
frecency = { path = "../../crates/frecency", features = ["postgres"] }
futures = { workspace = true }
github = { path = "../../crates/github", default-features = false, features = [
  "axum",
  "inbound",
  "outbound",
  "sync",
] }
github_pull_requests = { path = "../../crates/github_pull_requests", default-features = false, features = [
  "inbound",
  "outbound",
  "s3",
  "service",
] }
graphql_soup = { path = "../../crates/graphql_soup" }
graphql_crm = { path = "../../crates/graphql_crm" }
graphql_initiative = { path = "../../crates/graphql_initiative" }
graphql_databases = { path = "../../crates/graphql_databases" }

graphql_calendar = { path = "../../crates/graphql_calendar" }
graphql_scheduled_action = { path = "../../crates/graphql_scheduled_action" }
harnesses = { path = "../../crates/harnesses" }
hex = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-util = { workspace = true }
import = { path = "../../crates/import" }
initiative = { path = "../../crates/initiative", features = ["inbound", "postgres", "resources"] }
jsonwebtoken = { workspace = true }
last_online_tracker = { path = "../../crates/last_online_tracker" }
lazy_static = { workspace = true }
lexical_client = { path = "../../crates/lexical_client" }
lexical_mention_extractor = { path = "../../crates/lexical_mention_extractor" }
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_axum_utils = { path = "../../crates/macro_axum_utils" }
macro_config = { path = "../../crates/macro_config" }
macro_cors = { path = "../../crates/macro_cors" }
macro_db_client = { path = "../../crates/macro_db_client" }
macro_entrypoint = { path = "../../crates/macro_entrypoint" }
macro_env = { path = "../../crates/macro_env" }
macro_env_var = { path = "../../crates/macro_env_var" }
macro_event_broker = { path = "../../crates/macro_event_broker" }
macro_middleware = { path = "../../crates/macro_middleware", default-features = false, features = [
  "cloud_storage",
] }
macro_queues = { path = "../../crates/macro_queues" }
macro_service_urls = { path = "../../crates/macro_service_urls" }
macro_sha_count_client = { path = "../../crates/macro_sha_count_client" }
macro_sync_service_jwt = { path = "../../crates/macro_sync_service_jwt" }
opentelemetry = { workspace = true }
tracing-opentelemetry = { workspace = true }
macro_tower_layers = { path = "../../crates/macro_tower_layers" }
macro_user_id = { path = "../../crates/macro_user_id" }
mcp_client = { path = "../../crates/mcp_client" }
macro_uuid = { path = "../../crates/macro_uuid" }
mockall = { workspace = true }
model = { path = "../../crates/model" }
model-entity = { path = "../../crates/model-entity" }
model_notifications = { path = "../../crates/model_notifications" }
model_owner = { path = "../../crates/model_owner" }
model_user = { path = "../../crates/model_user" }
models_bulk_upload = { path = "../../crates/models_bulk_upload" }
models_databases = { path = "../../crates/models_databases" }
models_dcs = { path = "../../crates/models_dcs" }
models_opensearch = { path = "../../crates/models_opensearch" }
models_pagination = { path = "../../crates/models_pagination", features = [
  "axum",
] }
models_permissions = { path = "../../crates/models_permissions" }
models_properties = { path = "../../crates/models_properties" }
models_soup = { path = "../../crates/models_soup", features = ["schema"] }
notification = { path = "../../crates/notification" }
notification_inbox = { path = "../../crates/notification_inbox" }
opensearch_client = { path = "../../crates/opensearch_client" }
projects_hex = { path = "../../crates/projects", package = "projects" }
properties = { path = "../../crates/properties" }
properties_service = { path = "../../crates/properties_service" }
rate_limit = { path = "../../crates/rate_limit", default-features = false, features = [
  "axum",
] }
rayon = "1.10.0"
readonly_pool = { path = "../../crates/readonly_pool" }
redis = { workspace = true, features = [
  "aio",
  "cluster-async",
  "tokio-rustls-comp",
] }
regex = { workspace = true }
reminders = { path = "../../crates/reminders", features = [
  "dispatch-sqs",
  "inbound",
  "notify",
  "postgres",
] }
reqwest = { workspace = true }
rootcause = { workspace = true }
sha2 = { workspace = true }
s3_key = { path = "../../crates/s3_key" }
saved_views = { path = "../../crates/saved_views" }
scheduled_action = { path = "../../crates/scheduled_action" }
schemars = { workspace = true }
search_service = { path = "../../crates/search_service" }
secretsmanager_client = { path = "../../crates/secretsmanager_client" }
serde = { workspace = true }
serde_json = { workspace = true }
whatsapp_linked = { path = "../../crates/whatsapp_linked", features = ["inbound", "outbound"] }
external_chat = { path = "../../crates/external_chat", features = ["inbound", "outbound"] }
slack_integration = { path = "../../crates/slack_integration", features = [
  "gateway",
  "inbound",
  "postgres",
  "s3",
] }
soup = { path = "../../crates/soup", features = [
  "axum",
  "inbound",
  "outbound",
] }
soup_realtime = { path = "../../crates/soup_realtime", default-features = false, features = [
  "consumer",
  "outbound",
] }
sqlx = { workspace = true }
sqs_client = { path = "../../crates/sqs_client", default-features = false, features = [
  "document",
  "email",
  "search",
] }
sqs_worker = { path = "../../crates/sqs_worker" }
static_file_service_client = { path = "../../crates/static_file_service_client" }
sync_router = { path = "../../crates/sync_router" }
sync_service_client = { path = "../../crates/sync_service_client" }
sync_service_hex = { path = "../../crates/sync_service", package = "sync_service_hex", features = [
  "inbound",
] }
system_properties = { path = "../../crates/system_properties" }
task_dedup = { path = "../../crates/task_dedup" }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["signal"] }
tokio-util = { workspace = true, features = ["rt"] }
tokio-tungstenite-signal = { workspace = true }
tungstenite-signal = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true, features = ["compression-gzip"] }
tracing = { workspace = true }
unicode-segmentation = { workspace = true }
urlencoding = { workspace = true }
account_manager = { path = "../../crates/account_manager", features = [
  "inbound",
  "outbound",
  "postgres",
] }
user_api_key = { path = "../../crates/user_api_key", features = [
  "inbound",
  "postgres",
] }
utoipa = { workspace = true, features = ["axum_extras"] }
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
uuid = { workspace = true }
webhook = { path = "../../crates/webhook", features = [
  "inbound",
  "outbound",
  "worker",
] }
work_feed = { path = "../../crates/work_feed" }
workspace-hack = { version = "0.1", path = "../../crates/workspace-hack" }
zip = { workspace = true }

[dev-dependencies]
bebop = { workspace = true }
sync_service_bebop_schema = { path = "../sync-service/bebop-schema" }
tokio-tungstenite = { workspace = true }
cool_asserts = "2"
flate2 = "1"
frecency = { path = "../../crates/frecency", features = ["mock"] }
macro_auth = { path = "../../crates/macro_auth", features = ["testing"] }
macro_db_migrator = { path = "../../crates/macro_db_migrator" }
opentelemetry = { workspace = true, features = ["trace"] }
opentelemetry_sdk = { workspace = true, features = ["testing", "trace"] }
ordered-float = { workspace = true }
tracing-opentelemetry = { workspace = true }
tracing-subscriber = { workspace = true }
wiremock = { workspace = true }

[package.metadata.cargo-machete]
ignored = ["connection_gateway_client"]