16 lines
428 B
Rust
16 lines
428 B
Rust
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
|
|
|
mod error;
|
|
mod standalone;
|
|
mod utilities;
|
|
mod whisper_ctx;
|
|
mod whisper_params;
|
|
|
|
pub use error::WhisperError;
|
|
pub use standalone::*;
|
|
pub use utilities::*;
|
|
pub use whisper_ctx::WhisperContext;
|
|
pub use whisper_params::{FullParams, SamplingStrategy};
|
|
|
|
pub type WhisperToken = std::ffi::c_int;
|
|
pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback;
|