miden-client 0.13.0

Client library that facilitates interaction with the Miden network
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"
rust-version = "1.90"
name = "miden-client"
version = "0.13.0"
authors = ["miden contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client library that facilitates interaction with the Miden network"
documentation = "https://docs.rs/miden-client"
readme = "README.md"
keywords = [
    "client",
    "miden",
]
categories = ["no-std"]
license = "MIT"
repository = "https://github.com/0xMiden/miden-client"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.cargo-machete]
ignored = ["getrandom"]

[features]
default = ["std"]
std = [
    "miden-protocol/std",
    "miden-remote-prover-client/std",
    "miden-tx/concurrent",
    "tonic/tls-native-roots",
    "tonic/tls-ring",
    "tonic/transport",
]
testing = [
    "dep:miden-testing",
    "dep:uuid",
    "miden-protocol/testing",
    "miden-standards/testing",
    "miden-tx/testing",
]
tonic = []

[lib]
name = "miden_client"
crate-type = ["lib"]
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"
default-features = false

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

[dependencies.chrono]
version = "0.4"
optional = false

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.miden-mast-package]
version = "0.20"
default-features = false

[dependencies.miden-protocol]
version = "0.13"
default-features = false

[dependencies.miden-remote-prover-client]
version = "0.13"
features = [
    "tx-prover",
    "tx-prover",
]
default-features = false

[dependencies.miden-standards]
version = "0.13"
default-features = false

[dependencies.miden-testing]
version = "0.13"
optional = true
default-features = false

[dependencies.miden-tx]
version = "0.13"
default-features = false

[dependencies.prost]
version = "0.14"
features = ["derive"]
default-features = false

[dependencies.prost-types]
version = "0.14"

[dependencies.rand]
version = "0.9"

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tonic]
version = "0.14"
features = ["codegen"]
default-features = false

[dependencies.tonic-health]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.10"
features = [
    "js",
    "serde",
    "v4",
]
optional = true

[dev-dependencies.miden-protocol]
version = "0.13"
features = ["testing"]
default-features = false

[dev-dependencies.miden-standards]
version = "0.13"
features = ["testing"]
default-features = false

[dev-dependencies.miden-testing]
version = "0.13"
default-features = false

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.web-sys]
version = "0.3"
features = ["console"]

[build-dependencies.miden-node-proto-build]
version = "0.13"
default-features = false

[build-dependencies.miden-note-transport-proto-build]
version = "0.2"
default-features = false

[build-dependencies.miden-protocol]
version = "0.13"
default-features = false

[build-dependencies.miden-standards]
version = "0.13"
default-features = false

[build-dependencies.miette]
version = "7.6"
features = ["fancy"]

[build-dependencies.prost]
version = "0.14"
features = ["derive"]
default-features = false

[build-dependencies.tonic-prost-build]
version = "0.14"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tonic-web-wasm-client]
version = "0.8"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Storage",
    "Window",
    "console",
]

[lints.clippy]
ignored_unit_patterns = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
should_panic_without_expect = "allow"

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