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.
  • test_utils: Enables the following to help with tests (not enabled by default):
  • cairo-1-hints: Enable hints that were introduced in Cairo 1. Not enabled by default.
  • cairo-0-secp-hints: Enable secp hints that were introduced in Cairo 0. Not enabled by default.
  • cairo-0-data-availability-hints: Enable data availability hints that were introduced in Cairo 0. Not enabled by default.

Modules§

air_private_input
air_public_input
cairo_run
hint_processor
math_utils
program_hash
serde
stdlib
typed_operations
types
utils
vm
with_std

Macros§

any_box
define_hint_string_map
Generates a const string for each hint, and a lazy_static HashMap that maps the const name to the hint string. Allows gating specific hints behind feature gates.
relocatable

Structs§

Felt252
Definition of the Field Element type.