moonproof-node-client 0.2.1

Rust client for the Midnight node's Substrate submission RPC
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-node-client"
version = "0.2.1"
authors = ["sashoush"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Midnight node's Substrate submission RPC"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/moonproof"

[features]
default = ["polkadot"]
polkadot = ["dep:subxt"]

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

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

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

[dev-dependencies.url]
version = "2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.subxt]
version = "0.51"
features = [
    "jsonrpsee",
    "native",
]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.subxt]
version = "0.51"
features = [
    "jsonrpsee",
    "web",
]
optional = true
default-features = false

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