Files
qiming/qiming-mcp-proxy/voice-cli/src/lib.rs
2026-06-01 13:03:20 +08:00

28 lines
591 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 初始化 i18n使用 crate 内置翻译文件
#[macro_use]
extern crate rust_i18n;
// 初始化翻译文件,使用 crate 内置 locales支持独立发布
i18n!("locales", fallback = "en");
pub mod cli;
pub mod config;
pub mod config_rs_integration;
pub mod error;
pub mod models;
pub mod openapi;
pub mod server;
pub mod services;
pub mod utils;
// Re-export commonly used types
pub use error::{Result, VoiceCliError};
pub use models::*;
// Re-export services
pub use services::{AudioProcessor, ModelService, transcription_engine};
// Tests module
#[cfg(test)]
mod tests;