A free, open source, and extensible speech-to-text application that works completely offline.
fix: support compressed API responses (#1548)
Artem Shishkin1bcbfc4cca33
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex 4729c868..02cadd4e 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -231,6 +231,18 @@ dependencies = ["pin-project-lite",]+[[package]]+name = "async-compression"+version = "0.4.43"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3976abdc8fe7d1133d43d304afd42abdf5bc3e1319d263d223bde07b5efc4be8"+dependencies = [+ "compression-codecs",+ "compression-core",+ "pin-project-lite",+ "tokio",+]+[[package]]name = "async-executor"version = "1.14.0"@@ -881,6 +893,24 @@ dependencies = ["memchr",]+[[package]]+name = "compression-codecs"+version = "0.4.38"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf"+dependencies = [+ "brotli",+ "compression-core",+ "flate2",+ "memchr",+]++[[package]]+name = "compression-core"+version = "0.4.32"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789"+[[package]]name = "concurrent-queue"version = "2.5.0"@@ -7178,13 +7208,18 @@ version = "0.6.8"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8"dependencies = [+ "async-compression","bitflags 2.11.0","bytes",+ "futures-core","futures-util","http","http-body",+ "http-body-util","iri-string","pin-project-lite",+ "tokio",+ "tokio-util","tower","tower-layer","tower-service",diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex bada3534..e542c768 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -58,7 +58,7 @@ tokio = "1.43.0"vad-rs = { git = "https://github.com/cjpais/vad-rs", default-features = false }enigo = "0.6.1"rodio = { git = "https://github.com/cjpais/rodio.git" }-reqwest = { version = "0.12", features = ["json", "stream"] }+reqwest = { version = "0.12", features = ["json", "stream", "gzip", "brotli", "deflate"] }futures-util = "0.3"rustfft = "6.4.0"strsim = "0.11.0"