nifi-rust-client 0.4.2

Apache NiFi REST API client library
Documentation
# 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 = "nifi-rust-client"
version = "0.4.2"
authors = ["Malte Sander <contact@maltesander.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apache NiFi REST API client library"
homepage = "https://github.com/maltesander/nifi-rust-client"
documentation = "https://docs.rs/nifi-rust-client"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/maltesander/nifi-rust-client"

[package.metadata.docs.rs]
features = ["dynamic"]

[features]
default = ["nifi-2-8-0"]
dynamic = [
    "nifi-2-6-0",
    "nifi-2-7-2",
    "nifi-2-8-0",
]
nifi-2-6-0 = []
nifi-2-7-2 = []
nifi-2-8-0 = []

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

[[test]]
name = "access"
path = "tests/access.rs"

[[test]]
name = "auth_retry"
path = "tests/auth_retry.rs"

[[test]]
name = "builder_tests"
path = "tests/builder_tests.rs"

[[test]]
name = "connections"
path = "tests/connections.rs"

[[test]]
name = "controller"
path = "tests/controller.rs"

[[test]]
name = "controller_services"
path = "tests/controller_services.rs"

[[test]]
name = "counters"
path = "tests/counters.rs"

[[test]]
name = "credentials"
path = "tests/credentials.rs"

[[test]]
name = "dynamic_dispatch"
path = "tests/dynamic_dispatch.rs"

[[test]]
name = "dynamic_tests"
path = "tests/dynamic_tests.rs"

[[test]]
name = "error_handling"
path = "tests/error_handling.rs"

[[test]]
name = "flow"
path = "tests/flow.rs"

[[test]]
name = "funnels"
path = "tests/funnels.rs"

[[test]]
name = "inputports"
path = "tests/inputports.rs"

[[test]]
name = "labels"
path = "tests/labels.rs"

[[test]]
name = "outputports"
path = "tests/outputports.rs"

[[test]]
name = "parametercontexts"
path = "tests/parametercontexts.rs"

[[test]]
name = "policies"
path = "tests/policies.rs"

[[test]]
name = "processgroups"
path = "tests/processgroups.rs"

[[test]]
name = "processors"
path = "tests/processors.rs"

[[test]]
name = "provenance"
path = "tests/provenance.rs"

[[test]]
name = "remoteprocessgroups"
path = "tests/remoteprocessgroups.rs"

[[test]]
name = "reportingtasks"
path = "tests/reportingtasks.rs"

[[test]]
name = "resources"
path = "tests/resources.rs"

[[test]]
name = "retry_policy"
path = "tests/retry_policy.rs"

[[test]]
name = "sitetosite"
path = "tests/sitetosite.rs"

[[test]]
name = "snippets"
path = "tests/snippets.rs"

[[test]]
name = "systemdiagnostics"
path = "tests/systemdiagnostics.rs"

[[test]]
name = "tenants"
path = "tests/tenants.rs"

[[test]]
name = "typed_errors"
path = "tests/typed_errors.rs"

[[test]]
name = "version_strategy_tests"
path = "tests/version_strategy_tests.rs"

[[test]]
name = "versions"
path = "tests/versions.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
    "query",
    "rustls",
]
default-features = false

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.snafu]
version = "0.9"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.wiremock]
version = "0.6"

[build-dependencies.nifi-openapi-gen]
version = "0.4.2"

[lints.clippy]
panic = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"