Docs.rs
  • cairo-vm-0.9.0
    • cairo-vm 0.9.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • klaus993
    • github:lambdaclass:crates-io-publishers:owners
    • orizi
    • liorgold2
    • AbdelStark
    • Dependencies
      • anyhow ^1.0.69 normal
      • arbitrary ^1.3.0 normal
      • ark-ff ^0.4.2 normal
      • ark-std ^0.4.0 normal
      • bincode ^2.0.0-rc.3 normal
      • bitvec ^1 normal
      • cairo-lang-casm ^2.1.0-rc2 normal
      • cairo-lang-starknet ^2.1.0-rc2 normal
      • cairo-felt ^0.9.0 normal
      • generic-array ^0.14.7 normal
      • hashbrown ^0.14.0 normal
      • hex ^0.4.3 normal
      • keccak ^0.1.2 normal
      • lazy_static ^1.4.0 normal
      • mimalloc ^0.1.37 normal
      • nom ^7 normal
      • num-bigint ^0.4 normal
      • num-integer ^0.1.45 normal
      • num-prime ^0.4.3 normal
      • num-traits ^0.2 normal
      • rand ^0.8.5 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha2 ^0.10.7 normal
      • sha3 ^0.10.8 normal
      • starknet-crypto ^0.5.0 normal
      • thiserror-no-std ^2.0.2 normal
      • assert_matches ^1.5.0 dev
      • num-prime ^0.4.3 dev
      • rstest ^0.17.0 dev
      • criterion ^0.5.1 dev
      • iai-callgrind ^0.3.1 dev
      • proptest ^1.0.0 dev
      • wasm-bindgen-test ^0.3.34 dev
    • Versions
    • 9.01% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

cairo_vm0.9.0

Module deserialize_program

  • Structs
  • Enums
  • Functions

In cairo_vm::serde

?
Change settings

Module cairo_vm::serde::deserialize_program

source ·
Expand description

Program deserialization

This module contains the logic for Program deserialization. Users shouldn’t need to use it directly (except for BuiltinName).

To generate a Program from a JSON string, see Program::from_bytes(). To do the same from a JSON file, see Program::from_file().

Structs

  • ApTracking
  • Attribute
  • DebugInfo
  • FlowTrackingData
  • HintLocation
  • HintParams
  • Identifier
  • InputFile
  • InstructionLocation
  • Location
  • Member
  • ProgramJson
  • Reference
  • ReferenceManager
  • ValueAddress

Enums

  • BuiltinName
  • OffsetValue

Functions

  • deserialize_and_parse_program
  • deserialize_array_of_bigint_hex
  • deserialize_felt_hex
  • deserialize_map_to_string_and_usize_hashmap
  • deserialize_program_json
  • deserialize_value_address
  • parse_program_json