Browse Source

Merge pull request #2255 from zerotier/ldr/update-rust-deps

update temporal SDK + other Rust deps, strip debug symbols from release builds
Lennon Day-Reynolds 1 year ago
parent
commit
5ae862ff54
4 changed files with 179 additions and 267 deletions
  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

File diff suppressed because it is too large
+ 172 - 265
rustybits/Cargo.lock


+ 3 - 0
rustybits/Cargo.toml

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

+ 1 - 1
rustybits/smeeclient/Cargo.toml

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

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

@@ -59,7 +59,7 @@ impl SmeeClient {
             .client_version(CLIENT_VERSION)
             .client_version(CLIENT_VERSION)
             .build()?;
             .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 {
         Ok(Self {
             tokio_rt: rt,
             tokio_rt: rt,
@@ -77,6 +77,8 @@ impl SmeeClient {
             task_timeout: None,
             task_timeout: None,
             cron_schedule: None,
             cron_schedule: None,
             search_attributes: None,
             search_attributes: None,
+            enable_eager_workflow_start: false,
+            retry_policy: Some(Default::default()),
         };
         };
 
 
         let payload = vec![params.as_json_payload()?];
         let payload = vec![params.as_json_payload()?];

Some files were not shown because too many files changed in this diff