Skip to content

Add scientific persistence primitives - #82

Open
mveril wants to merge 2 commits into
mainfrom
feature/add-persistence-primitives
Open

mveril wants to merge 2 commits into
mainfrom
feature/add-persistence-primitives

Conversation

@mveril

@mveril mveril commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • define the storage-independent RustiQ persistence V1 manifest, logical paths, compact ERI representation, and canonical scientific identity
  • add CompactEri NPY read/write primitives with typed validation and SHA-256 integrity helpers
  • document the format and add Rust/Python NumPy interoperability coverage
  • use the latest stable npyz (0.9.1) and sha2 (0.11.0) releases

This is PR 2 of #79. It intentionally does not add a directory-backed cache or ZIP container.

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-targets --all-features
  • cargo test --workspace --all-targets --no-default-features
  • uv run --locked pytest tools/reference/test_persistence_interop.py (inside the project Nix environment with its C++ runtime available)

Closes no issue; contributes to #79.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant