From bcf3a6031494ad7b8e6966d66528f69476b6eb58 Mon Sep 17 00:00:00 2001 From: Dominykas Djacenko Date: Tue, 24 Feb 2026 23:26:39 -0800 Subject: [PATCH 1/2] fix(build): use native-tls-vendored to fix cross-compilation --- Cargo.lock | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 2667a54..ba988cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1635,6 +1635,15 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" +[[package]] +name = "openssl-src" +version = "300.5.5+3.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f1787d533e03597a7934fd0a765f0d28e94ecc5fb7789f8053b1e699a56f709" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.111" @@ -1643,6 +1652,7 @@ checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 26ccef6..788d584 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ json-patch = "4.0.0" lazy_static = "1.5.0" num-traits = "0.2.19" owo-colors = { version = "4.2.2", features = ["supports-colors"] } -reqwest = "0.12.23" +reqwest = { version = "0.12.23", features = ["native-tls-vendored"] } reqwest-middleware = "0.4.2" reqwest-retry = "0.7.0" serde = { version = "1.0.219", features = ["derive"] } From acf1d5265650047ab5bcf4701aed3d1b2586f6b8 Mon Sep 17 00:00:00 2001 From: Dominykas Djacenko Date: Tue, 24 Feb 2026 23:44:14 -0800 Subject: [PATCH 2/2] fix(build): remove custom dist profile as goreleaser rust builder assumes release directory --- .goreleaser.yaml | 3 --- Cargo.toml | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8a33693..176d6c1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -11,9 +11,6 @@ builds: - x86_64-apple-darwin - aarch64-apple-darwin - x86_64-pc-windows-msvc - flags: - - --profile - - dist archives: - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" diff --git a/Cargo.toml b/Cargo.toml index 788d584..651d130 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,5 @@ predicates = "3.1.3" wiremock = "0.6.4" # The profile that 'goreleaser' will build with -[profile.dist] -inherits = "release" +[profile.release] lto = "thin"