Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

chore(host): drop dead rusqlite; purge the stray committed whisper-cli

Jareere1fafaccbb4e
diff --git a/.gitignore b/.gitignore
index 1a9ffdb5..962b1259 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,3 +70,7 @@ desktop.ini
# nothing.
desktop/src-tauri/ffmpeg/*
!desktop/src-tauri/ffmpeg/README.md
+
+# Guard against staging-script cwd mistakes: a `desktop/...`-relative copy run
+# from inside desktop/ once committed a whisper-cli binary to git history.
+desktop/desktop/
diff --git a/desktop/src-tauri/Cargo.lock b/desktop/src-tauri/Cargo.lock
index 868343fb..7bfad16e 100644
--- a/desktop/src-tauri/Cargo.lock
+++ b/desktop/src-tauri/Cargo.lock
@@ -1118,18 +1118,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "fallible-iterator"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
-
-[[package]]
-name = "fallible-streaming-iterator"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
-
[[package]]
name = "fastrand"
version = "2.5.0"
@@ -1678,15 +1666,6 @@ dependencies = [
"foldhash",
]
-[[package]]
-name = "hashlink"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32069d97bb81e38fa67eab65e3393bf804bb85969f2bc06bf13f64aef5aba248"
-dependencies = [
- "hashbrown 0.17.1",
-]
-
[[package]]
name = "heck"
version = "0.4.1"
@@ -2271,17 +2250,6 @@ dependencies = [
"libc",
]
-[[package]]
-name = "libsqlite3-sys"
-version = "0.38.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8"
-dependencies = [
- "cc",
- "pkg-config",
- "vcpkg",
-]
-
[[package]]
name = "linux-raw-sys"
version = "0.12.1"
@@ -3325,31 +3293,6 @@ dependencies = [
"windows-sys 0.52.0",
]
-[[package]]
-name = "rsqlite-vfs"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c51c9ae4df8a7fba42103df5c621fa3c37eccf3a3c650879e90fc48b11cc192c"
-dependencies = [
- "hashbrown 0.16.1",
- "thiserror 2.0.20",
-]
-
-[[package]]
-name = "rusqlite"
-version = "0.40.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3"
-dependencies = [
- "bitflags 2.13.1",
- "fallible-iterator",
- "fallible-streaming-iterator",
- "hashlink",
- "libsqlite3-sys",
- "smallvec",
- "sqlite-wasm-rs",
-]
-
[[package]]
name = "rustc-hash"
version = "1.1.0"
@@ -3806,18 +3749,6 @@ dependencies = [
"bitflags 2.13.1",
]
-[[package]]
-name = "sqlite-wasm-rs"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc3efc0da82635d7e1ced0053bbbfa8c7ab9645d0bf36ceb4f7127bb85315d75"
-dependencies = [
- "cc",
- "js-sys",
- "rsqlite-vfs",
- "wasm-bindgen",
-]
-
[[package]]
name = "stable_deref_trait"
version = "1.2.1"
@@ -4817,12 +4748,6 @@ dependencies = [
"wasm-bindgen",
]
-[[package]]
-name = "vcpkg"
-version = "0.2.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
-
[[package]]
name = "version-compare"
version = "0.2.1"
@@ -5826,7 +5751,6 @@ version = "0.1.0"
dependencies = [
"cpal",
"memmap2",
- "rusqlite",
"serde",
"serde_json",
"tauri",
diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml
index e6c2b5f3..b5194d83 100644
--- a/desktop/src-tauri/Cargo.toml
+++ b/desktop/src-tauri/Cargo.toml
@@ -28,7 +28,6 @@ wolfcut-core = { path = "../../engine/crates/wolfcut-core" }
wolfcut-media = { path = "../../engine/crates/wolfcut-media" }
wolfcut-project = { path = "../../engine/crates/wolfcut-project" }
wolfcut-render = { path = "../../engine/crates/wolfcut-render", features = ["gpu"] }
-rusqlite = { version = "0.40.2", features = ["bundled"] }
# Engine-owned audio playback: cpal talks to the output device, memmap2 keeps
# decoded PCM disk-backed instead of resident.