[package]
edition = "2021"
name = "pg-logstats"
version = "0.1.0"
authors = ["Rajat Venkatesh"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL log investigation CLI for query-family findings and follow-up SQL"
homepage = "https://github.com/vrajat/pg-logstats"
readme = "README.md"
keywords = [
"postgresql",
"logs",
"analysis",
"database",
"performance",
]
categories = [
"command-line-utilities",
"database",
"development-tools",
]
license = "MIT"
repository = "https://github.com/vrajat/pg-logstats"
[lib]
name = "pg_logstats"
path = "src/lib.rs"
[[bin]]
name = "pg-logstats"
path = "src/main.rs"
[[test]]
name = "analytics_tests"
path = "tests/unit/analytics_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "output_tests"
path = "tests/unit/output_tests.rs"
[[test]]
name = "parser_tests"
path = "tests/unit/parser_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.3.4"
features = ["derive"]
[dependencies.env_logger]
version = "0.10"
[dependencies.indicatif]
version = "0.17"
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlparser]
version = "0.47.0"
features = ["visitor"]
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dev-dependencies.assert_cmd]
version = "1.0"
[dev-dependencies.predicates]
version = "1.0.8"
[dev-dependencies.tempfile]
version = "3.0"