Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
[package]
edition = "2024"
name = "calendar_events"
publish = false
version = "0.1.0"
[features]
default = []
outlook = ["dep:tokio"]
# The AI toolset adapter exposing calendar CRUD to agents.
ai_tools = [
"dep:ai_toolset",
"dep:anyhow",
"dep:async-trait",
"dep:email_validator",
"dep:schemars",
"dep:specta",
]
# The meeting-link adapter that mints Macro calls through the call domain
# service, for hosts that compose both calendars and calls.
call-meetings = ["dep:call", "dep:macro_user_id"]
# The reminder dispatch queue worker. Transport-agnostic: it drives the
# domain through the dispatch ports.
dispatch = ["dep:tokio", "dep:tokio-util"]
# The worker plus the SQS adapter that backs it.
dispatch-sqs = ["dep:aws-sdk-sqs", "dispatch"]
google = ["dep:reqwest", "dep:urlencoding"]
# The calendar-service HTTP adapter implementing the mutation port, for hosts
# that are not the calendar write authority.
mutation-client = ["dep:reqwest"]
inbound = [
"dep:axum",
"dep:macro_authorization",
"dep:models_pagination",
"dep:urlencoding",
"schema",
]
# The notification-service reminder notifier.
notify = ["dep:macro_user_id", "dep:model-entity", "dep:model_notifications", "dep:notification"]
postgres = ["dep:sqlx", "dep:tokio"]
schema = ["dep:utoipa"]
[dependencies]
ai_toolset = { path = "../ai_toolset", optional = true }
anyhow = { workspace = true, optional = true }
async-trait = { workspace = true, optional = true }
aws-sdk-sqs = { workspace = true, optional = true }
axum = { workspace = true, optional = true }
email_validator = { path = "../email_validator", optional = true }
call = { path = "../call", default-features = false, features = [
"ports",
], optional = true }
chrono = { workspace = true }
chrono-tz = { workspace = true }
email_utils = { path = "../email_utils" }
futures = { workspace = true }
macro_authorization = { path = "../macro_authorization", default-features = false, features = [
"axum",
], optional = true }
macro_user_id = { path = "../macro_user_id", optional = true }
model-entity = { path = "../model-entity", optional = true }
model_notifications = { path = "../model_notifications", optional = true }
models_pagination = { path = "../models_pagination", optional = true }
notification = { path = "../notification", optional = true }
reqwest = { workspace = true, optional = true }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
macro_event_topics = { path = "../macro_event_topics" }
rootcause = { workspace = true }
schemars = { workspace = true, optional = true }
specta = { workspace = true, optional = true, features = ["chrono", "uuid"] }
serde = { workspace = true }
serde_json = { workspace = true }
sqlx = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, optional = true }
tokio-util = { workspace = true, 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" }
[dev-dependencies]
wiremock = { workspace = true }
macro_db_migrator = { path = "../macro_db_migrator" }
macro_user_id = { path = "../macro_user_id" }
tokio = { workspace = true }