Browse Source

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

update temporal SDK + other Rust deps, strip debug symbols from release builds
pull/4/head
Lennon Day-Reynolds 2 years ago committed by GitHub
parent
commit
5ae862ff54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1238
      rustybits/Cargo.lock
  2. 3
      rustybits/Cargo.toml
  3. 2
      rustybits/smeeclient/Cargo.toml
  4. 4
      rustybits/smeeclient/src/lib.rs

1238
rustybits/Cargo.lock generated

File diff suppressed because it is too large Load Diff

3
rustybits/Cargo.toml

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

2
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" }

4
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()?];

Loading…
Cancel
Save