moonproof-contracts 0.2.2

Node-side host orchestration for the moonproof contract pipeline — providers, deploy/call/maintenance lifecycle, fee balancing, submission, indexer-driven sync
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 = "2021"
name = "moonproof-contracts"
version = "0.2.2"
authors = ["sashoush"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node-side host orchestration for the moonproof contract pipeline — providers, deploy/call/maintenance lifecycle, fee balancing, submission, indexer-driven sync"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/moonproof"

[features]
default = []
ledger8 = [
    "moonproof-ledger/ledger8",
    "moonproof-prover/ledger8",
    "moonproof-wallet/ledger8",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes-gcm]
version = "0.11"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.23"

[dependencies.bon]
version = "3"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13"

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

[dependencies.moonproof-indexer-client]
version = "0.2.2"

[dependencies.moonproof-ledger]
version = "0.2.2"

[dependencies.moonproof-macros]
version = "0.2.2"

[dependencies.moonproof-node-client]
version = "0.2.2"

[dependencies.moonproof-privacy-audit]
version = "0.2.2"

[dependencies.moonproof-prover]
version = "0.2.2"

[dependencies.moonproof-runtime]
version = "0.2.2"

[dependencies.moonproof-runtime-ir]
version = "0.2.2"

[dependencies.moonproof-utils]
version = "0.2.2"

[dependencies.moonproof-wallet]
version = "0.2.2"

[dependencies.parking_lot]
version = "0.13"

[dependencies.pbkdf2]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.redb]
version = "5"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "http2",
    "charset",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.moonproof-ledger]
version = "0.2.2"
features = [
    "test-utilities",
    "proving",
]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.serial_test]
version = "4"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[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"