17 releases (10 breaking)

0.11.0 Nov 5, 2024
0.9.1 Apr 4, 2024
0.8.0 Feb 27, 2024
0.7.0 Oct 11, 2023
0.1.0 Nov 16, 2021

#18 in #program

Download history 2209/week @ 2024-09-15 1482/week @ 2024-09-22 1075/week @ 2024-09-29 1415/week @ 2024-10-06 1048/week @ 2024-10-13 906/week @ 2024-10-20 245/week @ 2024-10-27 1706/week @ 2024-11-03 279/week @ 2024-11-10 864/week @ 2024-11-17 937/week @ 2024-11-24 959/week @ 2024-12-01 839/week @ 2024-12-08 604/week @ 2024-12-15 399/week @ 2024-12-22 260/week @ 2024-12-29

2,139 downloads per month
Used in 39 crates (14 directly)

MIT license

425KB
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

~7–32MB
~490K SLoC