# 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.9" authors = ["Matthias Hörmann "] build = false exclude = [ ".env", "*_instance.toml", "*.pem", "*.crt", "*.key", "tarpaulin-report.html", "tarpaulin-report.json", ] 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" [profile.release] debug = 2 [lib] name = "icinga2_api" path = "src/lib.rs" [dependencies.derive_builder] version = "0.20.2" [dependencies.derive_more] version = "1.0.0" features = [ "from_str", "display", ] [dependencies.enumoid] version = "0.4.0" optional = true [dependencies.futures] version = "0.3.31" optional = true [dependencies.http] version = "1.1.0" [dependencies.reqwest] version = "0.12.9" features = ["json"] [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.serde_path_to_error] version = "0.1.16" [dependencies.serde_repr] version = "0.1.19" [dependencies.thiserror] version = "2.0.0" [dependencies.time] version = "0.3.36" features = [ "macros", "serde", "serde-human-readable", ] [dependencies.tokio] version = "1.41.0" optional = true [dependencies.tokio-stream] version = "0.1.16" features = ["io-util"] optional = true [dependencies.tokio-util] version = "0.7.12" features = ["io"] optional = true [dependencies.toml] version = "0.8.19" [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.3" [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.tokio] version = "1.41.0" features = ["macros"] [dev-dependencies.tracing-test] version = "0.2.5" [features] async = [ "dep:futures", "dep:tokio", "dep:tokio-stream", "dep:tokio-util", "reqwest/stream", ] blocking = ["reqwest/blocking"] default = [ "async", "blocking", ] enumoid = ["dep:enumoid"]