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.

2.1 KB
Raw Blame
[package]
edition = "2024"
name = "agent_changes"
publish = false
version = "0.1.0"

[features]
default = ["inbound", "outbound"]
# The axum router serving a session's changes over HTTP.
inbound = [
  "dep:axum",
  "dep:macro_authorization",
  "entity_access/inbound",
  "macro_authorization/axum",
  "schema",
]
# Postgres and S3.
outbound = ["dep:aws-sdk-s3", "dep:sqlx", "macro_user_id/sqlx"]
# OpenAPI schemas for the router's DTOs.
schema = ["dep:utoipa", "git_patch/schema"]
# In-memory port implementations, for crates that test against this one.
test-utils = []

[dependencies]
agent_fold = { path = "../folds/agent_fold", default-features = false }
agent_session = { path = "../agent_session", default-features = false }
anyhow = { workspace = true }
aws-sdk-s3 = { workspace = true, optional = true }
axum = { workspace = true, optional = true }
chrono = { workspace = true }
dashmap = { workspace = true }
entity_access = { path = "../entity_access", default-features = false, features = [
  "ports",
] }
git_patch = { path = "../git_patch" }
github_pull_requests = { path = "../github_pull_requests", default-features = false, features = [
  "ports",
] }
macro_authorization = { path = "../macro_authorization", default-features = false, optional = true }
macro_user_id = { path = "../macro_user_id" }
macro_uuid = { path = "../macro_uuid" }
rootcause = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sqlx = { workspace = true, features = ["json"], optional = true }
strum = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["rt", "sync"] }
tracing = { workspace = true }
utoipa = { workspace = true, optional = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
agent_session = { path = "../agent_session", default-features = false, features = ["test-utils"] }
bot_id = { path = "../bot_id", features = ["test-utils"] }
macro_db_migrator = { path = "../macro_db_migrator" }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }