nominal-api 0.1069.0

API bindings for the Nominal platform
Documentation
[package]
name = "nominal-api"
version = "0.1069.0"
edition = "2024"
authors = ["Alexander Hill <alex.hill@nominal.io>"]
description = "API bindings for the Nominal platform"
homepage = "https://nominal.io"
license = "MIT"
readme = "README.md"
# manually add src/ as we .gitignore the generated code
include = ["src/", "build.rs", "definitions/"]

# run with _build to produce protos before building
[[bin]]
name = "compile-protos"
path = "src/bin/compile_protos.rs"
required-features = ["_build"]

[dependencies]
conjure-error = "4"
conjure-http = "4"
conjure-object = "4"
prost = { version = "0.13.5", optional = true }
tonic = { version = "0.13.1", features = ["transport"], optional = true }
tonic-build = { version = "0.13.1", optional = true }

[build-dependencies]
conjure-codegen = "4"

[features]
default = ["tonic"]
# Generate types for gRPC support compatible with Tonic for runtime gRPC client/server functionality
tonic = ["dep:tonic", "dep:prost"]
# Only used in pre-build script
_build = ["tonic", "dep:tonic-build"]