# 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.93"
name = "miden-node-proto"
version = "0.15.0-rc.3"
authors = ["Miden contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden node message definitions (Store, Block Producer and RPC)"
homepage = "https://miden.xyz"
readme = "README.md"
keywords = [
    "miden",
    "node",
    "protobuf",
    "rpc",
]
license = "MIT"
repository = "https://github.com/0xMiden/node"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["tonic-prost"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.3"

[dependencies.miden-node-grpc-error-macro]
version = "0.15.0-rc.3"

[dependencies.miden-node-utils]
version = "0.15.0-rc.3"

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

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

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

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

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

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

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

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

[dev-dependencies.proptest]
version = "1.7"

[build-dependencies.build-rs]
version = "0.3"

[build-dependencies.codegen]
version = "0.3"

[build-dependencies.fs-err]
version = "3"

[build-dependencies.miden-node-proto-build]
version = "0.15.0-rc.3"
features = ["internal"]

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

[build-dependencies.prost-types]
version = "=0.14.3"
default-features = false

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

[lints.clippy]
allow_attributes = "deny"
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
