icinga2-api 0.2.20

Rust client for the Icinga2 API
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 = "2021"
name = "icinga2-api"
version = "0.2.20"
authors = ["Matthias Hörmann <mhoermann@gmail.com>"]
build = false
exclude = [
    ".env",
    "*_instance.toml",
    "*.pem",
    "*.crt",
    "*.key",
    "tarpaulin-report.html",
    "tarpaulin-report.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Icinga2 API"
readme = "README.md"
keywords = [
    "icinga2",
    "api",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/taladar/icinga2-api"

[features]
async = [
    "dep:futures",
    "dep:tokio",
    "dep:tokio-stream",
    "dep:tokio-util",
    "reqwest/stream",
]
blocking = ["reqwest/blocking"]
default = [
    "async",
    "blocking",
]
enumoid = ["dep:enumoid"]

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

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.derive_more]
version = "2.1.1"
features = [
    "from_str",
    "display",
]

[dependencies.enumoid]
version = "0.4.0"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true

[dependencies.reqwest]
version = "0.13.2"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.serde_repr]
version = "0.1.20"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.47"
features = [
    "macros",
    "serde",
    "serde-human-readable",
]

[dependencies.tokio]
version = "1.49.0"
optional = true

[dependencies.tokio-stream]
version = "0.1.18"
features = ["io-util"]
optional = true

[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]
optional = true

[dependencies.toml]
version = "0.9.11"

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.tokio]
version = "1.49.0"
features = ["macros"]

[dev-dependencies.tracing-test]
version = "0.2.6"

[profile.release]
debug = 2