moonproof-runtime-ir 0.2.2

Rust consumer for compactc's contract.mpir — language-agnostic Compact contract IR. Loads, validates, and (eventually) interprets the IR to drive moonproof's contract runtime.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "moonproof-runtime-ir"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust consumer for compactc's contract.mpir — language-agnostic Compact contract IR. Loads, validates, and (eventually) interprets the IR to drive moonproof's contract runtime."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/moonproof"
resolver = "2"

[features]
default = ["present"]
present = []

[lib]
name = "moonproof_runtime_ir"
path = "src/lib.rs"

[[example]]
name = "dump_ir"
path = "examples/dump_ir.rs"

[[test]]
name = "round_trip"
path = "tests/round_trip.rs"

[dependencies.ethnum]
version = "1.5"
features = ["serde"]

[dependencies.hex]
version = "0.4"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies]

[lints.clippy]
dbg_macro = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
todo = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"