silero 0.2.0

Production-oriented Rust wrapper for the Silero VAD ONNX model.
Documentation
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, allow(unused_attributes))]
#![deny(missing_docs)]
#![forbid(unsafe_code)]

mod detector;
mod error;
mod options;
mod session;
mod stream;

pub use detector::{SpeechDetector, SpeechSegment, SpeechSegmenter, detect_speech};
pub use error::{Error, Result};
pub use options::{GraphOptimizationLevel, SampleRate, SessionOptions, SpeechOptions};
#[cfg(feature = "bundled")]
#[cfg_attr(docsrs, doc(cfg(feature = "bundled")))]
pub use session::BUNDLED_MODEL;
pub use session::{BatchInput, Session};
pub use stream::StreamState;