Revert "[feat] enhance error handling, CLI options, and progress display; add --continue-on-error flag and improve maintainability"

This reverts commit ee67b56d6b.
This commit is contained in:
2025-08-12 06:00:11 +02:00
parent d3310695d2
commit 6a9736c50a
5 changed files with 667 additions and 422 deletions

View File

@@ -5,14 +5,11 @@ edition = "2024"
license = "MIT"
[features]
# Default: build without whisper to keep tests lightweight; enable `whisper` to use whisper-rs.
# Default: CPU only; no GPU features enabled
default = []
# Enable whisper-rs dependency (CPU-only unless combined with gpu-* features)
whisper = ["dep:whisper-rs"]
# GPU backends map to whisper-rs features
gpu-cuda = ["whisper", "whisper-rs/cuda"]
gpu-hip = ["whisper", "whisper-rs/hipblas"]
# Vulkan path currently doesn't use whisper directly here; placeholder feature
# GPU backends map to whisper-rs features or FFI stub for Vulkan
gpu-cuda = ["whisper-rs/cuda"]
gpu-hip = ["whisper-rs/hipblas"]
gpu-vulkan = []
# explicit CPU fallback feature (no effect at build time, used for clarity)
cpu-fallback = []
@@ -28,8 +25,8 @@ toml = "0.8"
chrono = { version = "0.4", features = ["clock"] }
reqwest = { version = "0.12", features = ["blocking", "json"] }
sha2 = "0.10"
# Make whisper-rs optional; enabled via `whisper` feature
whisper-rs = { git = "https://github.com/tazz4843/whisper-rs", default-features = false, optional = true }
# whisper-rs is always used (CPU-only by default); GPU features map onto it
whisper-rs = { git = "https://github.com/tazz4843/whisper-rs", default-features = false }
libc = "0.2"
indicatif = "0.17"
ctrlc = "3.4"