prometheus_push 0.4.6

Crate to extend prometheus crates with pushgateway support
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 = "prometheus_push"
version = "0.4.6"
authors = ["Mathias Oertel <mathias.oertel@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Crate to extend prometheus crates with pushgateway support"
documentation = "https://docs.rs/prometheus_push"
readme = "README.md"
keywords = [
    "prometheus",
    "pushgateway",
    "metrics",
    "oberservability",
]
license = "MIT"
repository = "https://github.com/maoertel/prometheus-push"

[features]
blocking = []
default = ["non_blocking"]
non_blocking = []
prometheus_client_crate = ["prometheus-client"]
prometheus_crate = ["prometheus"]
with_reqwest = [
    "non_blocking",
    "reqwest",
    "log",
]
with_reqwest_blocking = [
    "blocking",
    "reqwest/blocking",
    "log",
]

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

[dependencies.log]
version = "0.4"
optional = true
default-features = false

[dependencies.prometheus]
version = "0.14"
optional = true

[dependencies.prometheus-client]
version = "0.24"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.13"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"

[dev-dependencies.mockito]
version = "1.7"

[dev-dependencies.tokio]
version = "1.49"
features = ["full"]