# 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-node-block-producer"
version = "0.13.3"
authors = ["Miden contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden node's block producer component"
homepage = "https://miden.xyz"
readme = "README.md"
keywords = [
    "block-producer",
    "miden",
    "node",
]
license = "MIT"
repository = "https://github.com/0xMiden/miden-node"
resolver = "2"

[features]
testing = []
tracing-forest = ["miden-node-utils/tracing-forest"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.itertools]
version = "0.14"

[dependencies.miden-block-prover]
version = "0.13"

[dependencies.miden-node-proto]
version = "0.13"

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

[dependencies.miden-node-utils]
version = "0.13"
features = ["testing"]

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

[dependencies.miden-remote-prover-client]
version = "0.13"
features = [
    "batch-prover",
    "block-prover",
]

[dependencies.miden-standards]
version = "0.13"

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

[dependencies.miden-tx-batch-prover]
version = "0.13"

[dependencies.rand]
version = "0.9"

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

[dependencies.tokio]
version = "1.46"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "rt-multi-thread",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.tonic]
version = "0.14"
features = ["transport"]
default-features = true

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

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "util",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"
features = ["serde"]

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.miden-node-store]
version = "0.13"

[dev-dependencies.miden-node-utils]
version = "0.13"
features = ["testing"]

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

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

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

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.rand_chacha]
version = "0.9"
default-features = false

[dev-dependencies.rstest]
version = "0.26"

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

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

[dev-dependencies.tokio]
version = "1.46"
features = [
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.winterfell]
version = "0.13"

[lints.clippy]
cast_possible_truncation = "allow"
collapsible-if = "allow"
from_iter_instead_of_collect = "allow"
ignored_unit_patterns = "allow"
large_types_passed_by_value = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
should_panic_without_expect = "allow"

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