# 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.88"
name = "nifi-openapi-gen"
version = "0.14.0"
authors = ["Malte Sander <contact@maltesander.com>"]
build = false
exclude = [
    "scripts/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "generate"
description = "OpenAPI code generator for nifi-rust-client — not intended for general use"
homepage = "https://github.com/maltesander/nifi-rust-client"
documentation = "https://docs.rs/nifi-openapi-gen"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/maltesander/nifi-rust-client"

[features]
cli = ["dep:clap"]

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

[[bin]]
name = "generate"
path = "src/bin/generate.rs"

[[bin]]
name = "openapi-diff"
path = "src/bin/openapi_diff.rs"
required-features = ["cli"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.prettyplease]
version = "0.2"

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "2"
features = ["full"]

[dependencies.toml_edit]
version = "0.25"

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