dr-metrix-postgres 0.1.0

PostgreSQL Prometheus metrics collector for dr-metrix
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 = "dr-metrix-postgres"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL Prometheus metrics collector for dr-metrix"
readme = false
keywords = [
    "prometheus",
    "postgres",
    "metrics",
    "diesel",
]
license = "MIT"
repository = "https://github.com/neiam/dr-metrix"

[features]
default = ["diesel-async"]
diesel-async = [
    "dep:diesel",
    "dep:deadpool-diesel",
]
r2d2 = [
    "dep:diesel",
    "diesel/r2d2",
]
sea-orm = ["dep:sea-orm"]

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

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

[dependencies.deadpool-diesel]
version = "0.5"
features = ["postgres"]
optional = true

[dependencies.diesel]
version = "2"
features = ["postgres"]
optional = true

[dependencies.dr-metrix-core]
version = "0.1.0"

[dependencies.prometheus]
version = "0.13"
features = ["process"]

[dependencies.sea-orm]
version = "1"
features = [
    "sqlx-postgres",
    "runtime-tokio-native-tls",
    "macros",
]
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"