Tauri's build script overflows the stack when processing resource globs
matching thousands of files from PyInstaller's ML output (torch, pyannote).
Instead of bundling the sidecar directory directly:
- CI zips the sidecar output into a single sidecar.zip
- Tauri bundles just the one zip file (no recursion)
- On first launch, Rust extracts the zip to the app data directory
- Versioned extraction dir (sidecar-{version}) ensures updates re-extract
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
806 B
TOML
27 lines
806 B
TOML
[package]
|
|
name = "voice-to-notes"
|
|
version = "0.1.0"
|
|
description = "Voice to Notes — desktop transcription with speaker identification"
|
|
authors = ["Voice to Notes Contributors"]
|
|
license = "MIT"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "voice_to_notes_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["protocol-asset"] }
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
thiserror = "1"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
tauri-plugin-dialog = "2.6.0"
|