#![forbid(unsafe_code)]
#![warn(missing_docs)]
pub mod registry;
pub mod worker;
#[cfg(feature = "local-fastembed")]
pub mod local;
#[cfg(feature = "cloud-voyage")]
pub mod voyage;
#[cfg(feature = "local-fastembed")]
pub use local::LocalFastembedProvider;
#[cfg(feature = "cloud-voyage")]
pub use voyage::VoyageProvider;
pub use anamnesis_core::embedding::{EmbeddingProvider, EmbeddingTask, ModelId};
pub use registry::{available, by_key, default_model, local_only, CuratedModel, REGISTRY};
pub use worker::{DrainSummary, EmbeddingWorker};
pub const CRATE_VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn crate_version_is_pinned() {
assert!(!CRATE_VERSION.is_empty());
assert!(CRATE_VERSION.starts_with("0."));
}
}