43 releases (19 breaking)

Uses new Rust 2024

new 0.20.6 Feb 4, 2026
0.20.4 Jan 31, 2026
0.20.1 Dec 15, 2025
0.19.1 Nov 6, 2025
0.1.0 Nov 16, 2021

#53 in #instruction-set

Download history 1982/week @ 2025-10-15 1881/week @ 2025-10-22 3030/week @ 2025-10-29 3729/week @ 2025-11-05 2709/week @ 2025-11-12 2865/week @ 2025-11-19 4247/week @ 2025-11-26 3005/week @ 2025-12-03 1654/week @ 2025-12-10 2354/week @ 2025-12-17 870/week @ 2025-12-24 1600/week @ 2025-12-31 2496/week @ 2026-01-07 2813/week @ 2026-01-14 3313/week @ 2026-01-21 4175/week @ 2026-01-28

13,355 downloads per month
Used in 88 crates (26 directly)

MIT/Apache

1MB
15K 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

~17–23MB
~409K SLoC