iris-core 0.0.1

Iris engine core: cross-platform windowing, async runtime, memory pool, IO and networking
Documentation
//! Iris Core —— 底层内核底座
//!
//! 提供跨端窗口管理、异步调度、内存池、文件 IO、原生网络栈、缓存系统等基础能力。
//! 是整个 Iris 引擎的根基,不依赖任何上层 crate。

#![warn(missing_docs)]

/// 初始化 Iris 核心运行时。
///
/// 包括异步调度器、内存池和平台抽象层的启动。
pub fn init() {
    println!("iris-core initialized");
}

/// 跨平台窗口管理入口。
pub mod window {
    /// 创建原生窗口(桌面端 winit / 浏览器端 canvas 绑定)。
    pub fn create_window() {
        // TODO: implement
    }
}

/// 异步运行时封装。
pub mod runtime {
    /// 启动 Tokio 运行时。
    pub fn start() {
        // TODO: implement
    }
}

/// 内存池与对象复用。
pub mod memory {
    /// 初始化内存池。
    pub fn init_pool() {
        // TODO: implement
    }
}