# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2024"
rust-version = "1.97.1"
name = "engram-parser"
version = "0.3.0"
authors = ["Raul Cardenas Montoya <montoyaraul34@gmail.com>"]
build = false
include = [
"Cargo.toml",
"Cargo.lock",
"README.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE-2.0",
"src/**",
"examples/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "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."
homepage = "https://github.com/rmems/engram-parser"
readme = "README.md"
keywords = [
"gguf",
"safetensors",
"checkpoint",
"tensor",
"parser",
]
categories = [
"parser-implementations",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rmems/engram-parser"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
mmap = ["dep:memmap2"]
safetensors = ["dep:safetensors"]
[lib]
name = "engram_parser"
path = "src/lib.rs"
[[example]]
name = "checkpoint_smoke"
path = "examples/checkpoint_smoke.rs"
test = true
required-features = [
"mmap",
"safetensors",
]
[[example]]
name = "inspect_checkpoint"
path = "examples/inspect_checkpoint.rs"
[[example]]
name = "inspect_gguf"
path = "examples/inspect_gguf.rs"
[dependencies.memmap2]
version = "0.9.11"
optional = true
[dependencies.safetensors]
version = "0.8.0"
optional = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1