Crate cairo_vm

source ·
Expand description

An implementation of the Cairo virtual machine

Feature Flags

  • std: Enables usage of the std standard library. Enabled by default.
  • skip_next_instruction_hint: Enable the skip_next_instruction() hint. Not enabled by default.
  • hooks: Enable Hooks support for the VirtualMachine. Not enabled by default.
  • test_utils: Enables test utils (hooks and skip_next_instruction features). Not enabled by default.
  • with_mimalloc: Use MiMalloc as the program global allocator.
  • cairo-1-hints: Enable hints that were introduced in Cairo 1. Not enabled by default.
  • arbitrary: Enables implementations of arbitrary::Arbitrary for some structs. Not enabled by default.
  • lambdaworks-felt: Enables usage of the lambdaworks backend for felt::Felt252. Not enabled by default.

Re-exports

  • pub extern crate felt;

Modules

Macros