Skip to content

Commit 224c79a

Browse files
Merge pull request #166 from Kuberwastaken/fix/libssl-vendored
fix: remove runtime OpenSSL dependency
2 parents a7ff3c9 + 6d34c75 commit 224c79a

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ jobs:
9898
with:
9999
targets: ${{ matrix.target }}
100100

101-
# Linux native: install system libraries for ALSA (voice feature) and OpenSSL.
101+
# Linux native: install system libraries for ALSA (voice feature).
102102
- name: Install Linux system dependencies
103103
if: runner.os == 'Linux' && !matrix.cross
104104
run: |
105105
sudo apt-get update
106-
sudo apt-get install -y libasound2-dev libssl-dev pkg-config
106+
sudo apt-get install -y libasound2-dev pkg-config
107107
108108
# Linux ARM64: use cross for reliable cross-compilation (handles
109-
# sysroot, OpenSSL, pkg-config, ALSA automatically via Docker).
109+
# sysroot, pkg-config, ALSA automatically via Docker).
110110
- name: Install cross (aarch64-linux)
111111
if: matrix.cross
112112
run: cargo install cross --git https://github.com/cross-rs/cross
@@ -135,7 +135,7 @@ jobs:
135135
pre-build = [
136136
"dpkg --add-architecture $CROSS_DEB_ARCH",
137137
"apt-get update",
138-
"apt-get install -y pkg-config libssl-dev:$CROSS_DEB_ARCH libasound2-dev:$CROSS_DEB_ARCH"
138+
"apt-get install -y pkg-config libasound2-dev:$CROSS_DEB_ARCH"
139139
]
140140
EOF
141141

src-rust/Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async-trait = "0.1"
3030
async-stream = "0.3"
3131

3232
# HTTP
33-
reqwest = { version = "0.13", features = ["json", "stream", "native-tls", "multipart", "form", "query"], default-features = false }
33+
reqwest = { version = "0.13", features = ["json", "stream", "native-tls-vendored", "multipart", "form", "query"], default-features = false }
3434

3535
# Serialization
3636
serde = { version = "1", features = ["derive"] }
@@ -94,7 +94,7 @@ nix = { version = "0.29", features = ["process", "signal", "user"] }
9494
tokio-util = { version = "0.7", features = ["codec", "rt"] }
9595

9696
# WebSocket
97-
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
97+
tokio-tungstenite = { version = "0.24", features = ["native-tls-vendored"] }
9898

9999
# JSON Schema
100100
schemars = { version = "0.8", features = ["derive"] }

src-rust/crates/commands/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ open = { workspace = true }
3131
qrcode = { workspace = true }
3232
claurst-bridge = { workspace = true }
3333
hostname = "0.4"
34-
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
34+
tokio-tungstenite = { version = "0.24", features = ["native-tls-vendored"] }
3535
futures = { workspace = true }
3636
once_cell = { workspace = true }
3737
parking_lot = { workspace = true }

0 commit comments

Comments
 (0)