pgmon 0.2.0

A PostgreSQL monitoring TUI
# 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 = "pgmon"
version = "0.2.0"
authors = ["Nicolas Embriz <nbari@tequila.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A PostgreSQL monitoring TUI"
readme = "README.md"
keywords = [
    "postgresql",
    "monitoring",
    "tui",
    "database",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "BSD-3-Clause"
repository = "https://github.com/nbari/pgmon"

[[package.metadata.generate-rpm.assets]]
source = "target/release/pgmon"
dest = "/usr/local/bin/pgmon"
mode = "0755"

[package.metadata.deb]
assets = [[
    "target/release/pgmon",
    "/usr/local/bin/pgmon",
    "755",
]]
depends = ""

[[bin]]
name = "pgmon"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.6"
features = [
    "color",
    "env",
    "string",
]

[dependencies.crossterm]
version = "0.29"
features = ["events"]

[dependencies.postgres]
version = "0.19"
features = ["with-chrono-0_4"]

[dependencies.ratatui]
version = "0.30"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.pretty_assertions]
version = "1.4"

[build-dependencies.built]
version = "0.8"
features = ["git2"]

[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.rust]
warnings = "deny"

[profile.release]
lto = "fat"
codegen-units = 1
strip = "symbols"