Explorar o código

update temporal SDK version + other Rust dependencies, strip debug symbols from generated libraries in production builds

Lennon Day-Reynolds hai 1 ano
pai
achega
39e1aabd2a
Modificáronse 4 ficheiros con 179 adicións e 267 borrados
  1. 172 265
      rustybits/Cargo.lock
  2. 3 0
      rustybits/Cargo.toml
  3. 1 1
      rustybits/smeeclient/Cargo.toml
  4. 3 1
      rustybits/smeeclient/src/lib.rs

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 172 - 265
rustybits/Cargo.lock


+ 3 - 0
rustybits/Cargo.toml

@@ -1,3 +1,6 @@
 [workspace]
 resolver = "2"
 members = ["smeeclient", "zeroidc"]
+
+[profile.release]
+strip = "debuginfo"

+ 1 - 1
rustybits/smeeclient/Cargo.toml

@@ -11,7 +11,7 @@ crate-type = ["staticlib", "rlib"]
 [dependencies]
 serde = { version = "1", features = ["derive"] }
 temporal-sdk = { git = "https://github.com/temporalio/sdk-core", branch = "master" }
-temporal-client = { git = "https://github.com/temporalio/sdk-core", branch = "master" }
+temporal-client = { git = "https://github.com/temporalio/sdk-core", branch = "master", features = ["telemetry"] }
 temporal-sdk-core-protos = { git = "https://github.com/temporalio/sdk-core", branch = "master" }
 tokio = { version = "1.29", features = ["full"] }
 url = { version = "2" }

+ 3 - 1
rustybits/smeeclient/src/lib.rs

@@ -59,7 +59,7 @@ impl SmeeClient {
             .client_version(CLIENT_VERSION)
             .build()?;
 
-        let con = rt.block_on(async { c.connect(namespace.to_string(), None, None).await })?;
+        let con = rt.block_on(async { c.connect(namespace.to_string(), None).await })?;
 
         Ok(Self {
             tokio_rt: rt,
@@ -77,6 +77,8 @@ impl SmeeClient {
             task_timeout: None,
             cron_schedule: None,
             search_attributes: None,
+            enable_eager_workflow_start: false,
+            retry_policy: Some(Default::default()),
         };
 
         let payload = vec![params.as_json_payload()?];

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio