# 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"
name = "nominal-api-proto"
version = "0.1305.0"
authors = ["Alexander Hill <alex.hill@nominal.io>"]
build = "build.rs"
include = [
    "src/",
    "build.rs",
    "definitions/protos/",
    "definitions/proto-includes/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protobuf/gRPC API bindings for the Nominal platform"
homepage = "https://nominal.io"
readme = false
license = "MIT"
resolver = "2"

[features]
_build = [
    "dep:tonic-build",
    "dep:prost-types",
]
generate-bindings = [
    "dep:tonic-build",
    "dep:prost-types",
]

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

[[bin]]
name = "compile-protos"
path = "src/bin/compile_protos.rs"
required-features = ["_build"]

[dependencies.prost]
version = "0.13.5"

[dependencies.prost-types]
version = "0.13.5"
optional = true

[dependencies.tonic]
version = "0.13.1"
features = ["transport"]

[dependencies.tonic-build]
version = "0.13.1"
optional = true

[build-dependencies.prost-types]
version = "0.13.5"
optional = true

[build-dependencies.tonic-build]
version = "0.13.1"
optional = true
