[package]
name = "nir-rs"
version = "0.4.2"
edition = "2024"
rust-version = "1.97.1"
license = "MIT OR Apache-2.0"
authors = ["Raul Montoya Cardenas <montoyaraul34@gmail.com>"]
description = "Pure-Rust implementation of the Neuromorphic Intermediate Representation (NIR) — the standard interchange format for spiking neural networks."
repository = "https://github.com/Limen-Neural/nir-rs"
homepage = "https://github.com/Limen-Neural/nir-rs"
documentation = "https://docs.rs/nir-rs"
readme = "README.md"
keywords = ["nir", "neuromorphic", "snn", "spiking", "interoperability"]
categories = ["science", "algorithms", "encoding"]
exclude = [
"/.cursor/",
"/.devcontainer/",
"/.github/",
"/AGENTS.md",
"/CLAUDE.md",
"/REVIEW.md",
"/cubic.yaml",
"/fuzz/",
"/qodana.yaml",
"/scripts/",
]
[lib]
name = "nir_rs"
path = "src/lib.rs"
[[example]]
name = "load_inspect_lif"
required-features = ["hdf5"]
[features]
default = []
hdf5 = ["dep:hdf5", "dep:hdf5-sys", "dep:tempfile", "dep:libc"]
serde = ["dep:serde", "indexmap/serde"]
[dependencies]
indexmap = "2"
thiserror = "2"
hdf5 = { package = "hdf5-metno", version = "0.14", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
hdf5-sys = { package = "hdf5-metno-sys", version = "0.12", optional = true }
tempfile = { version = "3", optional = true }
libc = { version = "0.2", optional = true }
[dev-dependencies]
proptest = "1.6"
serde_json = "1"
tempfile = "3"
[package.metadata.docs.rs]
features = []