Skip to main content

aimds_core/
lib.rs

1//! AIMDS Core - Shared types, utilities, and error handling
2//!
3//! This crate provides the foundational types and utilities used across
4//! all AIMDS components.
5
6pub mod config;
7pub mod error;
8pub mod gate;
9pub mod types;
10
11pub use config::AimdsConfig;
12pub use error::{AimdsError, Result};
13pub use gate::{SafetyGate, SafetyVerdict};
14pub use types::*;
15
16/// Version information
17pub const VERSION: &str = env!("CARGO_PKG_VERSION");
18
19#[cfg(test)]
20mod tests {
21    use super::*;
22
23    #[test]
24    fn test_version() {
25        assert!(!VERSION.is_empty());
26    }
27}