diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index a5481d77e..4a02dcbd4 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -43,7 +43,7 @@ jobs: - host: windows-latest architecture: x64 target: aarch64-pc-windows-msvc - build: yarn build:release --target aarch64-pc-windows-msvc --features native-tls-vendored --cargo-flags="--no-default-features" + build: yarn build:release --target aarch64-pc-windows-msvc --features native-tls,native-tls-vendored --cargo-flags="--no-default-features" - host: ubuntu-20.04 target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian diff --git a/.github/workflows/publish-cli-rs.yml b/.github/workflows/publish-cli-rs.yml index 3fe0ae463..d7d6df216 100644 --- a/.github/workflows/publish-cli-rs.yml +++ b/.github/workflows/publish-cli-rs.yml @@ -37,7 +37,7 @@ jobs: - os: windows-latest rust_target: aarch64-pc-windows-msvc ext: '.exe' - args: '--no-default-features --features native-tls-vendored' + args: '--no-default-features --features native-tls,native-tls-vendored' steps: - name: Checkout diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 4ae18cd4e..86494c132 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -97,5 +97,5 @@ lto = true default = [ "rustls" ] native-tls = [ "tauri-bundler/native-tls", "ureq/native-tls" ] # ureq doesn't have a vendored mode but atto's feature should hopefully take care of it. -native-tls-vendored = [ "tauri-bundler/native-tls-vendored", "ureq/native-tls" ] +native-tls-vendored = [ "tauri-bundler/native-tls-vendored" ] rustls = [ "tauri-bundler/rustls", "ureq/tls" ] diff --git a/tooling/cli/node/Cargo.toml b/tooling/cli/node/Cargo.toml index c7f5cfeb0..43336f111 100644 --- a/tooling/cli/node/Cargo.toml +++ b/tooling/cli/node/Cargo.toml @@ -18,4 +18,5 @@ napi-build = "2.0" [features] default = ["tauri-cli/default"] +native-tls = ["tauri-cli/native-tls"] native-tls-vendored = ["tauri-cli/native-tls-vendored"]