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

update temporal SDK + other Rust deps, strip debug symbols from release builds
This commit is contained in:
Lennon Day-Reynolds 2024-03-19 11:28:06 -07:00 committed by GitHub
commit 5ae862ff54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 557 additions and 698 deletions

1246
rustybits/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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