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

This commit is contained in:
Lennon Day-Reynolds 2024-03-19 10:03:15 -07:00
parent acaebbd75e
commit 39e1aabd2a
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] [workspace]
resolver = "2" resolver = "2"
members = ["smeeclient", "zeroidc"] members = ["smeeclient", "zeroidc"]
[profile.release]
strip = "debuginfo"

View File

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

View File

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