Add raw-api feature flag and document all flags

This commit is contained in:
Niko 2024-04-06 11:27:31 -06:00
parent a325a937e5
commit 7714a10f95
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
3 changed files with 61 additions and 40 deletions

View file

@ -24,6 +24,8 @@ pub use whisper_ctx::WhisperContext;
pub use whisper_ctx::WhisperContextParameters;
pub use whisper_grammar::{WhisperGrammarElement, WhisperGrammarElementType};
pub use whisper_params::{FullParams, SamplingStrategy};
#[cfg(feature = "raw-api")]
pub use whisper_rs_sys;
pub use whisper_state::WhisperState;
#[cfg(feature = "whisper-cpp-log")]
pub use whisper_sys_log::install_whisper_log_trampoline;