# 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-proto-build"
version = "0.12.5"
authors = ["Miden contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden node protobuf bindings builder"
homepage = "https://miden.xyz"
readme = "README.md"
keywords = [
    "miden",
    "node",
    "protobuf",
    "rpc",
]
license = "MIT"
repository = "https://github.com/0xMiden/miden-node"
resolver = "2"

[features]
internal = []

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

[dependencies.protox]
version = "0.9"

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

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

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

[build-dependencies.protox]
version = "0.9"

[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
