[package]
edition = "2021"
name = "moonproof-runtime"
version = "0.2.2"
authors = ["sashoush"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wasm-friendly Compact contract runtime core — IR walker, IR-driven circuit executor, contract state, runtime values"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/moonproof"
[features]
dhat-heap = []
[lib]
name = "moonproof_runtime"
path = "src/lib.rs"
[[example]]
name = "bench_exec"
path = "examples/bench_exec.rs"
[[example]]
name = "dhat_exec"
path = "examples/dhat_exec.rs"
[[test]]
name = "block_time_ir_executable"
path = "tests/block_time_ir_executable.rs"
[[test]]
name = "composable_outer_ir_executable"
path = "tests/composable_outer_ir_executable.rs"
[[test]]
name = "composable_suite_ir_executable"
path = "tests/composable_suite_ir_executable.rs"
[[test]]
name = "cross_contract_ir_executable"
path = "tests/cross_contract_ir_executable.rs"
[[test]]
name = "extracted_corpus_smoke"
path = "tests/extracted_corpus_smoke.rs"
[[test]]
name = "foreign_curves_ir_executable"
path = "tests/foreign_curves_ir_executable.rs"
[[test]]
name = "identity_registry_ir_executable"
path = "tests/identity_registry_ir_executable.rs"
[[test]]
name = "issuer_registry_ir_executable"
path = "tests/issuer_registry_ir_executable.rs"
[[test]]
name = "kernel_caller_ir_executable"
path = "tests/kernel_caller_ir_executable.rs"
[[test]]
name = "micro_dao_ir_executable"
path = "tests/micro_dao_ir_executable.rs"
[[test]]
name = "mint_ir_executable"
path = "tests/mint_ir_executable.rs"
[[test]]
name = "registry_ir_executable"
path = "tests/registry_ir_executable.rs"
[[test]]
name = "revocation_registry_ir_executable"
path = "tests/revocation_registry_ir_executable.rs"
[[test]]
name = "schnorr_ir_executable"
path = "tests/schnorr_ir_executable.rs"
[[test]]
name = "simple_merkle_tree_ir_executable"
path = "tests/simple_merkle_tree_ir_executable.rs"
[[test]]
name = "synthetic_casts_ir_executable"
path = "tests/synthetic_casts_ir_executable.rs"
[[test]]
name = "synthetic_enum_casts_ir_executable"
path = "tests/synthetic_enum_casts_ir_executable.rs"
[[test]]
name = "synthetic_iter_ir_executable"
path = "tests/synthetic_iter_ir_executable.rs"
[[test]]
name = "synthetic_max_sizeof_ir_executable"
path = "tests/synthetic_max_sizeof_ir_executable.rs"
[[test]]
name = "synthetic_slice_ir_executable"
path = "tests/synthetic_slice_ir_executable.rs"
[[test]]
name = "vault_ir_executable"
path = "tests/vault_ir_executable.rs"
[[bench]]
name = "exec"
path = "benches/exec.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.ethnum]
version = "1.5"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.moonproof-ledger]
version = "0.2.2"
[dependencies.moonproof-runtime-ir]
version = "0.2.2"
[dependencies.num-bigint]
version = "0.5"
features = ["serde"]
[dependencies.rand]
version = "0.8"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.sha3]
version = "0.12"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.web-time]
version = "1.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.moonproof-ledger]
version = "0.2.2"
features = ["test-utilities"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
[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"