engram-parser 0.3.0

Pure-Rust GGUF + Safetensors checkpoint/tensor substrate: format-independent tensor inventory, metadata, and raw payload access for ANN/SNN research. Default builds are zero-dependency (`fs::read` into `Vec<u8>`). Optional `mmap` feature adds memmap2. Packed dequant for Q8_0/Q5_K/Q6_K/IQ3_M. Off-by-default `safetensors` feature adds manifest/discovery plus raw tensor payload access via the upstream safetensors crate. MoE per-expert weight extraction ships as a GGUF model-analysis specialization.
Documentation
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Opt-in Linux checkpoint validation. See docs/checkpoint-smoke.md.

#[cfg(target_os = "linux")]
#[path = "checkpoint_smoke/run.rs"]
mod run;

#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOCATOR: run::memory::TrackingAllocator = run::memory::TrackingAllocator;

fn main() {
    #[cfg(target_os = "linux")]
    if let Err(error) = run::main() {
        eprintln!("checkpoint smoke failed: {error}");
        std::process::exit(1);
    }
    #[cfg(not(target_os = "linux"))]
    {
        eprintln!("checkpoint_smoke requires Linux /proc memory accounting");
        std::process::exit(1);
    }
}