20 releases (12 breaking)

Uses new Rust 2024

new 0.13.2 Apr 2, 2025
0.13.0 Mar 21, 2025
0.12.0 Jan 22, 2025
0.11.0 Nov 5, 2024
0.1.0 Nov 16, 2021

#53 in #miden

Download history 595/week @ 2024-12-16 393/week @ 2024-12-23 266/week @ 2024-12-30 944/week @ 2025-01-06 1319/week @ 2025-01-13 1848/week @ 2025-01-20 1000/week @ 2025-01-27 637/week @ 2025-02-03 1038/week @ 2025-02-10 1209/week @ 2025-02-17 1367/week @ 2025-02-24 668/week @ 2025-03-03 1571/week @ 2025-03-10 2123/week @ 2025-03-17 2089/week @ 2025-03-24 1784/week @ 2025-03-31

7,595 downloads per month
Used in 49 crates (17 directly)

MIT license

435KB
8K SLoC

Miden core

This crate contains core components used by Miden VM. These components include:

  • Miden VM instruction set, defined in the Operation struct.
  • Miden VM program kernel, defined in Kernel struct which contains a set of roots of kernel routines.
  • Miden VM program structure, defined in Program struct and described here.
  • Miden VM program metadata, defined in ProgramInfo struct which contains a program's MAST root and the kernel used by the program.
  • Input and output containers for Miden VM programs, defined in StackInputs and StackOutputs structs.
  • Constants describing the shape of the VM's execution trace.
  • Various minor utility functions used by other VM crates.

License

This project is MIT licensed.

Acknowledgements

The racy_lock module found under core/src/utils/sync is based on the once_cell crate's implementation of race::OnceBox.

Dependencies

~8–32MB
~468K SLoC