pg-api 0.2.0

A high-performance PostgreSQL REST API driver with rate limiting, connection pooling, and observability
[package]
name = "pg-api"
version = "0.2.0"
edition = "2024"
authors = ["Aerun Serviços de Tecnologia <aerun@aerun.com.br>"]
description = "A high-performance PostgreSQL REST API driver with rate limiting, connection pooling, and observability"
documentation = "https://docs.rs/pg-api"
homepage = "https://gitlab.com/aerunti/pg-api"
repository = "https://gitlab.com/aerunti/pg-api"
readme = "README.md"
keywords = ["postgresql", "api", "rest", "database", "driver"]
categories = ["database", "web-programming", "api-bindings"]
license = "MIT"

[dependencies]
axum = "0.8.4"
tokio = { version = "1", features = ["full"] }
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] }
deadpool-postgres = "0.14"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
bytes = "1"
uuid = { version = "1", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tower-http = { version = "0.6", features = ["cors"] }
dashmap = "6"
regex = "1"
dotenvy = "0.15"
thiserror = "2"
anyhow = "1"
reqwest = { version = "0.12", features = ["json"] }

[dev-dependencies]
criterion = { version = "0.5", features = ["async_tokio"] }
reqwest = { version = "0.12", features = ["json"] }
tokio-test = "0.4"

[[bench]]
name = "api_benchmarks"
harness = false

[profile.release]
lto = true
codegen-units = 1

[profile.bench]
debug = true