From 44d0e8157262f5ee031279a0bfb19ad0d589f5ca Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Tue, 5 Aug 2025 16:07:26 -0700 Subject: [PATCH] gcloud-pubsub only if ztcontroller is flagged --- rustybits/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rustybits/Cargo.toml b/rustybits/Cargo.toml index 0b1776412..797ff8bf7 100644 --- a/rustybits/Cargo.toml +++ b/rustybits/Cargo.toml @@ -14,6 +14,7 @@ ztcontroller = [ "dep:temporal-sdk", "dep:temporal-client", "dep:temporal-sdk-core-protos", + "dep:gcloud-pubsub", ] [dependencies] @@ -37,7 +38,7 @@ jwt = { version = "0.16", git = "https://github.com/glimberg/rust-jwt" } time = { version = "~0.3", features = ["formatting"] } bytes = "1.3" thiserror = "1" -gcloud-pubsub = { version = "1.3.0" } +gcloud-pubsub = { version = "1.3.0", optional = true } [build-dependencies] cbindgen = "0.29"