blazegraph-io-core 0.0.1

Core library for semantic document graph processing - coming soon
Documentation
//! # Blazegraph IO Core
//!
//! Core library for semantic document graph processing.
//!
//! High-performance Rust library for transforming PDFs into semantic graph
//! structures optimized for RAG and hierarchical search.
//!
//! This crate is currently in development.
//! Visit <https://blazegraph.io> for updates.
//!
//! ## License
//!
//! Licensed under either of Apache License, Version 2.0 or MIT license at your option.
//!
//! © 2025 Amplify Technology

/// Current version of Blazegraph IO Core
pub const VERSION: &str = env!("CARGO_PKG_VERSION");

/// Package information
pub struct PackageInfo {
    pub name: &'static str,
    pub version: &'static str,
    pub description: &'static str,
    pub website: &'static str,
    pub status: &'static str,
}

/// Get package information
pub fn get_info() -> PackageInfo {
    PackageInfo {
        name: "Blazegraph IO Core",
        version: VERSION,
        description: "Core library for semantic document graph processing",
        website: "https://blazegraph.io",
        status: "coming-soon",
    }
}

/// Print package information
pub fn print_info() {
    let info = get_info();
    println!("{} - {}", info.name, info.description);
    println!("Version: {}", info.version);
    println!("Visit {} for updates", info.website);
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_version() {
        assert_eq!(VERSION, "0.0.1");
    }

    #[test]
    fn test_package_info() {
        let info = get_info();
        assert_eq!(info.name, "Blazegraph IO Core");
        assert_eq!(info.status, "coming-soon");
    }
}