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.

fix: feature flagging (#1833)

Will Hutchinsoned325a76c1d4
diff --git a/rust/cloud-storage/authentication_service/Cargo.toml b/rust/cloud-storage/authentication_service/Cargo.toml
index 18cdc8db93..61b083f260 100644
--- a/rust/cloud-storage/authentication_service/Cargo.toml
+++ b/rust/cloud-storage/authentication_service/Cargo.toml
@@ -45,6 +45,7 @@ fusionauth = { path = "../fusionauth" }
futures = { workspace = true }
github = { path = "../github", default-features = false, features = [
"axum",
+ "inbound",
"link",
"outbound",
] }
diff --git a/rust/cloud-storage/document_storage_service/Cargo.toml b/rust/cloud-storage/document_storage_service/Cargo.toml
index c1e356f874..84a8ae563c 100644
--- a/rust/cloud-storage/document_storage_service/Cargo.toml
+++ b/rust/cloud-storage/document_storage_service/Cargo.toml
@@ -31,7 +31,6 @@ location_check = []
[dependencies]
anyhow = { workspace = true }
aws-sdk-dynamodb = { workspace = true }
-cowlike = { path = "../cowlike" }
aws-sdk-s3 = { workspace = true }
aws-sdk-secretsmanager = { workspace = true }
aws-sdk-sqs = { workspace = true }
@@ -42,25 +41,35 @@ bytes = { workspace = true }
bzip2 = { workspace = true, default-features = false, features = [
"libbz2-rs-sys",
] }
+channels = { path = "../channels", features = ["inbound", "outbound"] }
chrono = { workspace = true }
clap = { workspace = true }
cloudfront_sign = { workspace = true }
-channels = { path = "../channels", features = ["inbound", "outbound"] }
comms = { path = "../comms", features = ["outbound"] }
+comms_db_client = { path = "../comms_db_client" }
+comms_service = { path = "../comms_service" }
connection_gateway_client = { path = "../connection_gateway_client" }
+cowlike = { path = "../cowlike" }
document_sub_type = { path = "../document_sub_type" }
documents_hex = { path = "../documents", package = "documents" }
dynamodb_client = { path = "../dynamodb_client" }
-entity_access = { path = "../entity_access", features = ["schema"] }
email = { path = "../email", features = ["outbound", "ports"] }
+entity_access = { path = "../entity_access", features = ["schema"] }
frecency = { path = "../frecency", features = ["postgres"] }
futures = { workspace = true }
+github = { path = "../github", default-features = false, features = [
+ "axum",
+ "inbound",
+ "outbound",
+ "sync",
+] }
hex = { workspace = true }
http-body-util = { workspace = true }
jsonwebtoken = { workspace = true }
+last_online_tracker = { path = "../last_online_tracker" }
lazy_static = { workspace = true }
macro_auth = { path = "../macro_auth" }
-macro_aws_config = { path = "../macro_aws_config", features=["s3"] }
+macro_aws_config = { path = "../macro_aws_config", features = ["s3"] }
macro_axum_utils = { path = "../macro_axum_utils" }
macro_cors = { path = "../macro_cors" }
macro_db_client = { path = "../macro_db_client" }
@@ -72,8 +81,6 @@ macro_middleware = { path = "../macro_middleware", default-features = false, fea
"cloud_storage",
"user_permissions",
] }
-last_online_tracker = { path = "../last_online_tracker" }
-notification = { path = "../notification" }
macro_project_utils = { path = "../macro_project_utils" }
macro_sha_count_client = { path = "../macro_sha_count_client" }
macro_share_permissions = { path = "../macro_share_permissions" }
@@ -90,10 +97,10 @@ models_pagination = { path = "../models_pagination", features = ["axum"] }
models_permissions = { path = "../models_permissions" }
models_properties = { path = "../models_properties" }
models_soup = { path = "../models_soup", features = ["schema"] }
+notification = { path = "../notification" }
opensearch_client = { path = "../opensearch_client" }
properties = { path = "../properties" }
properties_service = { path = "../properties_service" }
-search_service = { path = "../search_service" }
rayon = "1.10.0"
redis = { workspace = true, features = [
"aio",
@@ -104,33 +111,29 @@ regex = { workspace = true }
reqwest = { workspace = true }
saved_views = { path = "../saved_views" }
schemars = { workspace = true }
+search_service = { path = "../search_service" }
secretsmanager_client = { path = "../secretsmanager_client" }
serde = { workspace = true }
serde_json = { workspace = true }
soup = { path = "../soup", features = ["axum", "inbound", "outbound"] }
sqlx = { workspace = true }
sqs_client = { path = "../sqs_client", default-features = false, features = [
+ "contacts",
"document",
"search",
- "contacts",
] }
sync_service_client = { path = "../sync_service_client" }
system_properties = { path = "../system_properties" }
thiserror = { workspace = true }
tokio = { workspace = true }
tower = { workspace = true }
-tower-http = { workspace = true, features = [
- "compression-gzip",
-] }
+tower-http = { workspace = true, features = ["compression-gzip"] }
tracing = { workspace = true }
urlencoding = { workspace = true }
utoipa = { workspace = true, features = ["axum_extras"] }
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
uuid = { workspace = true }
zip = { workspace = true }
-comms_db_client = { path = "../comms_db_client" }
-comms_service = { path = "../comms_service" }
-github = { path = "../github", default-features= false, features = ["inbound", "axum", "sync"]}
[dev-dependencies]
cool_asserts = "2"
diff --git a/rust/cloud-storage/frecency/Cargo.toml b/rust/cloud-storage/frecency/Cargo.toml
index 3789ace601..e78372fd9d 100644
--- a/rust/cloud-storage/frecency/Cargo.toml
+++ b/rust/cloud-storage/frecency/Cargo.toml
@@ -9,7 +9,7 @@ inbound = ["ports"]
mock = ["dep:mockall"]
outbound = ["ports"]
ports = ["dep:tokio", "dep:tracing"]
-postgres = ["dep:recursion", "dep:serde_json", "dep:sqlx"]
+postgres = ["dep:recursion", "dep:serde_json", "dep:sqlx", "outbound"]
[dependencies]
@@ -26,9 +26,9 @@ num-traits = { version = "0.2" }
ordered-float = { workspace = true }
recursion = { workspace = true, optional = true }
serde = { workspace = true }
-strum = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, optional = true }
sqlx = { workspace = true, optional = true }
+strum = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
tokio = { workspace = true, optional = true, features = ["sync", "time"] }
tower = { workspace = true, optional = true }
@@ -36,8 +36,8 @@ tracing = { workspace = true, optional = true }
[dev-dependencies]
cool_asserts = "2"
-serde_json = { workspace = true }
item_filters = { path = "../item_filters", features = ["mock"] }
macro_db_migrator = { path = "../macro_db_migrator" }
rand = { workspace = true }
+serde_json = { workspace = true }
uuid = { workspace = true }