Replace all instances of the legacy product names "Kon" and "Corbie" with "Magnotia" across user-facing copy, code identifiers, package names, bundle ids, file paths, and documentation. Preserves the unrelated "konsole" (KDE terminal) reference and the parent CORBEL company name. - Renames 10 Rust crates (kon-* → magnotia-*) and the tauri binary - Updates package.json, tauri.conf.json (productName + identifier) - Renames CSS classes (kon-rh-* → magnotia-rh-*) and animations - Renames brand and roadmap docs - Regenerates Cargo.lock and package-lock.json Verified: svelte-check passes; pure-rust crates compile under new names.
59 lines
2.2 KiB
TOML
59 lines
2.2 KiB
TOML
[package]
|
|
name = "magnotia-transcription"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Speech-to-text engine wrappers, model management, and inference concurrency for Magnotia"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
# Whisper backend (direct whisper-rs). Default on — gating it exists so
|
|
# a future Windows non-AVX2 build, or a cloud-only ASR configuration,
|
|
# can drop whisper-rs-sys entirely per brief item #13. Disabling this
|
|
# feature also drops the WhisperRsBackend module and the load_whisper
|
|
# entry point.
|
|
#
|
|
# `whisper-vulkan` is a separate feature so a non-Vulkan target (Android
|
|
# without GPU drivers, a CPU-only Windows build) can pull in whisper-rs
|
|
# but skip the Vulkan backend. Build CPU-only with:
|
|
# cargo build -p magnotia-transcription --no-default-features --features whisper
|
|
default = ["whisper", "whisper-vulkan"]
|
|
whisper = ["dep:whisper-rs", "dep:num_cpus"]
|
|
whisper-vulkan = ["whisper-rs?/vulkan"]
|
|
|
|
[dependencies]
|
|
magnotia-core = { path = "../core" }
|
|
|
|
# Parakeet via ONNX. Whisper is handled directly via whisper-rs below.
|
|
transcribe-rs = { version = "0.3", default-features = false, features = ["onnx"] }
|
|
|
|
# Async runtime for spawn_blocking
|
|
tokio = { version = "1", features = ["rt", "sync"] }
|
|
|
|
# Model downloads
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "stream"] }
|
|
futures-util = "0.3"
|
|
|
|
# Download integrity verification
|
|
sha2 = "0.10"
|
|
|
|
# Gated behind the `whisper` feature (see [features] above). Vulkan is
|
|
# additive via the `whisper-vulkan` feature so non-GPU targets can drop it.
|
|
whisper-rs = { version = "0.16", default-features = false, optional = true }
|
|
|
|
# Direct whisper-rs backend (WhisperRsBackend): thread pool sizing.
|
|
# Gated alongside whisper-rs since no other code in this crate needs it.
|
|
num_cpus = { version = "1", optional = true }
|
|
|
|
# Typed error enum used by WhisperRsBackend + elsewhere. Kept
|
|
# unconditional because it is a derive-macro crate with negligible
|
|
# build cost.
|
|
thiserror = "2"
|
|
|
|
# Structured logging at backend boundaries (observability for initial_prompt flow).
|
|
tracing = "0.1"
|
|
|
|
[dev-dependencies]
|
|
# TcpListener fixture for the download resume tests (mirrors magnotia-llm).
|
|
tokio = { version = "1", features = ["rt", "sync", "net", "io-util", "macros"] }
|
|
tempfile = "3"
|