gcloud-pubsub only if ztcontroller is flagged

This commit is contained in:
Grant Limberg 2025-08-05 16:07:26 -07:00
commit 44d0e81572

View file

@ -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"