Skip to main content

ferrum_types/
lib.rs

1//! Core type definitions for the Ferrum inference framework
2//!
3//! This crate contains all the fundamental types, IDs, configurations, and error definitions
4//! that are shared across the entire Ferrum ecosystem. It is designed to be lightweight
5//! and dependency-free to avoid circular dependencies.
6
7pub mod config;
8pub mod devices;
9pub mod errors;
10pub mod ids;
11pub mod metrics;
12pub mod models;
13pub mod requests;
14pub mod sampling;
15
16// Re-export commonly used types
17pub use config::*;
18pub use devices::*;
19pub use errors::*;
20pub use ids::*;
21pub use metrics::*;
22pub use models::*;
23pub use requests::*;
24pub use sampling::*;
25
26/// Result type used throughout Ferrum
27pub type Result<T> = std::result::Result<T, FerrumError>;
28
29/// Block identifier type  
30pub type BlockId = u32;