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]
description = "xtask local: Macro local & dev stack orchestration (infra + binaries + proxy + frontend)"
edition = "2024"
name = "xtask_local"
publish = false
version = "0.1.0"
[[bin]]
name = "xtask_local"
path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
serde_json = { workspace = true }
# Local/dev orchestration. These deps reuse the workspace-pinned versions so
# the orchestrator builds against the same crate graph as the services it
# launches.
aws-sdk-dynamodb = { workspace = true }
aws-sdk-kms = { workspace = true }
aws-sdk-s3 = { workspace = true }
aws-sdk-sqs = { workspace = true }
clap = { workspace = true }
macro_aws_config = { path = "../../../../crates/macro_aws_config" }
macro_queues = { path = "../../../../crates/macro_queues" }
serde = { workspace = true }
# Content-address the init snapshots (`stack up` restore/save keys).
sha2 = { workspace = true }
tokio = { workspace = true }
# Source of truth for the declared Kafka topics (local-stack provisioning).
macro_event_topics = { path = "../../../../crates/macro_event_topics" }
# AdminClient for creating the declared topics on the local broker. Optional
# (behind `local-stack`) so plain xtask builds don't spend time compiling the
# bundled static librdkafka dependency.
rdkafka = { workspace = true, optional = true }
# Typed docker-compose model (build the override as structs, not strings) +
# Docker Engine API client for the discrete container/image ops.
bollard = "0.21"
console = "0.15"
# 0.18.5 fixes clearing and wrapped-width accounting for progress rows, which
# are exercised when the terminal is resized while a run-local spinner is live.
indicatif = "0.18.5"
docker-compose-types = { version = "0.24", features = ["indexmap"] }
indexmap = { workspace = true }
indoc = { workspace = true }
serde_yaml = { workspace = true }
# Parse user-provided `--env-file` overlays. EnumIter derives the port list.
dotenvy = { workspace = true }
strum = { workspace = true, features = ["derive"] }
# Signal the frontend dev server's whole process group on shutdown.
libc = "0.2"
macro_env_var = { path = "../../../../crates/macro_env_var" }
xtask_paths = { path = "../xtask_paths" }
[dev-dependencies]
jsonwebtoken = { workspace = true }
[features]
# Local Kafka topic provisioning (`run-local` / `kafka-provision`). Off by
# default so a plain build avoids compiling bundled librdkafka; the just recipes
# enable it.
local-stack = ["dep:rdkafka"]