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 = "macro_authorization"
publish = false
version = "0.1.0"
[features]
axum = [
"dep:axum",
"dep:macro_auth",
"dep:model-error-response",
"dep:serde",
]
default = ["axum", "outbound"]
local_auth = ["dep:macro_env_var"]
outbound = ["dep:macro_auth"]
postgres = ["dep:sqlx", "dep:sha2"]
[dependencies]
axum = { workspace = true, optional = true }
bot_id = { path = "../bot_id" }
bot_token = { path = "../bot_token" }
constant_time_eq = { workspace = true }
harness_id = { path = "../harness_id" }
harness_token = { path = "../harness_token" }
macro_auth = { path = "../macro_auth", optional = true }
macro_env_var = { path = "../macro_env_var", optional = true }
macro_user_id = { path = "../macro_user_id" }
model-error-response = { path = "../model-error-response", optional = true }
model_user = { path = "../model_user" }
rootcause = { workspace = true }
serde = { workspace = true, optional = true }
sha2 = { workspace = true, optional = true }
sqlx = { workspace = true, optional = true }
thiserror = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
cookie = { workspace = true }
harness_id = { path = "../harness_id", features = ["test-utils"] }
http-body-util = { workspace = true }
jsonwebtoken = { workspace = true }
macro_auth = { path = "../macro_auth", features = ["testing"] }
macro_db_migrator = { path = "../macro_db_migrator" }
serde_json = { workspace = true }
serde_urlencoded = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt"] }
tower = { workspace = true, features = ["util"] }
tracing-subscriber = { workspace = true }
urlencoding = { workspace = true }