49 releases (21 breaking)

Uses new Rust 2024

new 0.22.1 Apr 7, 2026
0.22.0 Mar 19, 2026
0.21.2 Mar 4, 2026
0.20.1 Dec 15, 2025
0.1.0 Nov 16, 2021

#61 in #instruction-set

Download history 2129/week @ 2025-12-18 969/week @ 2025-12-25 1903/week @ 2026-01-01 2331/week @ 2026-01-08 2940/week @ 2026-01-15 3393/week @ 2026-01-22 4653/week @ 2026-01-29 5715/week @ 2026-02-05 4745/week @ 2026-02-12 5303/week @ 2026-02-19 5937/week @ 2026-02-26 9708/week @ 2026-03-05 8293/week @ 2026-03-12 5657/week @ 2026-03-19 5298/week @ 2026-03-26 5026/week @ 2026-04-02

25,465 downloads per month
Used in 98 crates (32 directly)

MIT/Apache

1MB
21K 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.

Acknowledgements

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

License

This project is dual-licensed under the MIT and Apache 2.0 licenses.

Dependencies

~31MB
~493K SLoC