rustvani 0.1.2

Voice AI framework for Rust — real-time speech pipelines with STT, LLM, TTS, and Dhara conversation flows
//! Built-in tools for LLM function calling.
//!
//! Each tool implements `BuiltinTool`. The LLM handler holds tools and
//! manages their lifecycle:
//!
//! - **Non-cacheable** tools are ready at construction.
//! - **Cacheable** tools are initialized on `StartFrame` (connect, introspect, etc.)
//!
//! ```text
//! tools/
//!   mod.rs              ← you are here
//!   traits.rs           ← BuiltinTool trait
//!   postgres/
//!     mod.rs            ← NeonPostgresTool (cacheable)
//!     cache.rs          ← SchemaCache + ResultSetCache
//!     filter.rs         ← Structured filter → parameterized SQL
//! ```

#[cfg(feature = "db-postgres")]
pub mod postgres;
pub mod traits;

#[cfg(feature = "db-postgres")]
pub use postgres::NeonPostgresTool;
pub use traits::BuiltinTool;