infa_core/
lib.rs

1mod ops;
2pub use ops::*;
3
4#[derive(thiserror::Error, Debug)]
5pub enum Error {
6    #[cfg(feature = "gguf")]
7    #[error("GGUF error: {0}")]
8    GGUFError(#[from] infa_gguf::Error),
9    #[error("Impl error: {0}")]
10    ImplError(#[from] infa_impl::Error),
11}
12
13pub type Result<T> = std::result::Result<T, Error>;