Bläddra i källkod

gcloud-pubsub only if ztcontroller is flagged

Grant Limberg 1 månad sedan
förälder
incheckning
44d0e81572
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      rustybits/Cargo.toml

+ 2 - 1
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"