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 = "github"
publish = false
version = "0.1.0"
[features]
axum = [
"dep:axum",
"dep:axum-extra",
"dep:entity_access",
"dep:macro_authorization",
"dep:model-error-response",
"dep:utoipa",
"github_pull_requests/schema",
"upstream_error/axum",
]
default = ["axum", "inbound", "link", "outbound", "ports", "sync"]
inbound = ["axum", "ports"]
# Who may see an installation's deliveries, without the rest of the sync stack.
installation_claims = ["dep:sqlx", "ports"]
link = ["dep:entity_access", "github_pull_requests/ports", "ports"]
outbound = [
"dep:connection_gateway_client",
"dep:fusionauth",
"dep:redis",
"dep:reqwest",
"dep:sqlx",
"dep:tokio",
"dep:urlencoding",
"ports",
"upstream_error/reqwest",
]
ports = []
sync = [
"dep:documents",
"dep:entity_access",
"dep:foreign_entity",
"dep:model-entity",
"dep:model_notifications",
"dep:notification",
"dep:reqwest",
"github_pull_requests/ports",
"ports",
]
[dependencies]
activity = { path = "../activity", default-features = false }
anyhow = { workspace = true }
base64 = { workspace = true }
chrono = { workspace = true }
connection_gateway_client = { path = "../connection_gateway_client", optional = true }
cowlike = { path = "../cowlike" }
documents = { path = "../documents", default-features = false, features = [
"ports",
], optional = true }
entity_access = { path = "../entity_access", default-features = false, features = [
"inbound",
"ports",
], optional = true }
foreign_entity = { path = "../foreign_entity", default-features = false, features = [
"ports",
], optional = true }
github_pull_requests = { path = "../github_pull_requests", default-features = false }
hex = { workspace = true }
hmac = { workspace = true }
jsonwebtoken = { workspace = true }
lru = { workspace = true }
macro_env = { path = "../macro_env" }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
macro_event_topics = { path = "../macro_event_topics" }
macro_env_var = { path = "../macro_env_var" }
macro_authorization = { path = "../macro_authorization", default-features = false, features = [
"axum",
], optional = true }
macro_service_urls = { path = "../macro_service_urls" }
model-entity = { path = "../model-entity", optional = true }
model_notifications = { path = "../model_notifications", optional = true }
notification = { path = "../notification", optional = true }
regex = { workspace = true }
reqwest = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
sqlx = { workspace = true, optional = true }
subtle = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
urlencoding = { workspace = true, optional = true }
upstream_error = { path = "../upstream_error", default-features = false }
url = { workspace = true }
uuid = { workspace = true }
fusionauth = { path = "../fusionauth", optional = true }
macro_user_id = { path = "../macro_user_id" }
models_properties = { path = "../models_properties" }
macro_uuid = { path = "../macro_uuid" }
redis = { workspace = true, features = ["aio", "tokio-comp"], optional = true }
tokio = { workspace = true, features = ["sync"], optional = true }
axum = { workspace = true, optional = true }
axum-extra = { workspace = true, optional = true }
model-error-response = { path = "../model-error-response", optional = true }
utoipa = { workspace = true, optional = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
axum = { workspace = true }
wiremock = { workspace = true }
document_sub_type = { path = "../document_sub_type" }
foreign_entity = { path = "../foreign_entity", default-features = false, features = [
"ports",
] }
github_pull_requests = { path = "../github_pull_requests", default-features = false, features = [
"service",
] }
http-body-util = { workspace = true }
macro_db_migrator = { path = "../macro_db_migrator" }
mockall = { workspace = true }
model = { path = "../model" }
model_owner = { path = "../model_owner" }
model_user = { path = "../model_user" }
models_permissions = { path = "../models_permissions" }
rootcause = { workspace = true }
tokio = { workspace = true }
tower = { workspace = true }