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.

1.5 KB
Raw Blame
[package]
edition = "2024"
name = "macro_middleware"
publish = false
version = "0.1.0"

[features]
all = ["cloud_storage", "tracking"]
cloud_storage = [
  "dep:entity_access_db_utils",
  "dep:macro_user_id",
  "dep:model_user",
  "macro_db_client",
]
default = ["all"]
macro_db_client = ["dep:macro_db_client", "dep:sqlx"]
tracking = ["dep:ip_extractor"]

[dependencies]
anyhow = { workspace = true }
axum = { workspace = true, features = ["macros"] }
axum-extra = { workspace = true }
entity_access_db_utils = { path = "../entity_access_db_utils", optional = true }
http-body-util = { workspace = true }
ip_extractor = { path = "../ip_extractor", optional = true }
macro_db_client = { path = "../macro_db_client", optional = true }
macro_env = { path = "../macro_env" }
macro_env_var = { path = "../macro_env_var" }
macro_user_id = { path = "../macro_user_id", optional = true }
macro_uuid = { path = "../macro_uuid" }
model = { path = "../model" }
model-entity = { path = "../model-entity" }
model_user = { path = "../model_user", optional = true }
models_permissions = { path = "../models_permissions" }
remote_env_var = { path = "../remote_env_var" }
serde = { workspace = true }
serde_json = { workspace = true }
sqlx = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tower = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
serde_urlencoded = { workspace = true }
urlencoding = { workspace = true }