From f21db11e1cfd51eb932931392c39ef5bddb137a6 Mon Sep 17 00:00:00 2001 From: "Joshua J. Berry" Date: Fri, 27 Sep 2024 14:08:33 -0400 Subject: [PATCH 1/2] Use the system-native TLS CAs instead of rustls's built-in CAs Closes #818. --- core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index b85a16b17..979b13ddc 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -53,7 +53,7 @@ prometheus = "0.13" prost = { workspace = true } prost-types = { version = "0.6", package = "prost-wkt-types" } rand = "0.8.3" -reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls"], default-features = false, optional = true } +reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls-native-roots"], default-features = false, optional = true } ringbuf = "0.4" serde = "1.0" serde_json = "1.0" From 0d2cf225ad7384ca4b1a7cf7ab520f3592ef4a8e Mon Sep 17 00:00:00 2001 From: "Joshua J. Berry" Date: Wed, 2 Oct 2024 14:29:59 -0400 Subject: [PATCH 2/2] Fix build per Chad's comment --- sdk-core-protos/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-core-protos/build.rs b/sdk-core-protos/build.rs index d42a2b970..58f7126ff 100644 --- a/sdk-core-protos/build.rs +++ b/sdk-core-protos/build.rs @@ -113,7 +113,7 @@ fn main() -> Result<(), Box> { "::prost_wkt_types::Value" ) .file_descriptor_set_path(descriptor_file) - .compile( + .compile_protos( &[ "./protos/local/temporal/sdk/core/core_interface.proto", "./protos/api_upstream/temporal/api/workflowservice/v1/service.proto",