ferrum-types 0.6.0

Shared type definitions for the Ferrum LLM inference engine
Documentation
//! Core type definitions for the Ferrum inference framework
//!
//! This crate contains all the fundamental types, IDs, configurations, and error definitions
//! that are shared across the entire Ferrum ecosystem. It is designed to be lightweight
//! and dependency-free to avoid circular dependencies.

pub mod config;
pub mod devices;
pub mod errors;
pub mod ids;
pub mod metrics;
pub mod models;
pub mod requests;
pub mod sampling;

// Re-export commonly used types
pub use config::*;
pub use devices::*;
pub use errors::*;
pub use ids::*;
pub use metrics::*;
pub use models::*;
pub use requests::*;
pub use sampling::*;

/// Result type used throughout Ferrum
pub type Result<T> = std::result::Result<T, FerrumError>;

/// Block identifier type  
pub type BlockId = u32;