pgx_prometheus_exporter 0.0.1-alpha

Rust extension for exporting prometheus metrics
[package]
name = "pgx_prometheus_exporter"
version = "0.0.1-alpha"
edition = "2021"
authors = ["CoreDB.io"]
description = "Rust extension for exporting prometheus metrics"
homepage = "https://www.coredb.io"
license = "MIT"
readme = "README.md"
repository = "https://github.com/CoreDB-io/coredb"

[lib]
crate-type = ["cdylib"]

[features]
default = ["pg14"]
pg11 = ["pgx/pg11", "pgx-tests/pg11" ]
pg12 = ["pgx/pg12", "pgx-tests/pg12" ]
pg13 = ["pgx/pg13", "pgx-tests/pg13" ]
pg14 = ["pgx/pg14", "pgx-tests/pg14" ]
pg15 = ["pgx/pg15", "pgx-tests/pg15" ]
pg_test = []

[dependencies]
pgx = "0.6.1"
actix-web = "4.2.1"
prometheus-client = "0.19.0-alpha.2"
signal-hook = "0.3.14"
tokio = {version = "1.23.0", features = ["macros"] }


[dev-dependencies]
pgx-tests = "0.6.1"

[profile.dev]
panic = "unwind"
lto = "thin"

[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1