-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
26 lines (25 loc) · 897 Bytes
/
Cargo.toml
File metadata and controls
26 lines (25 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[package]
name = "pgtop"
version = "0.1.0"
authors = ["Guilhem Charles <gcharles@gmail.com>"]
edition = "2018"
description = """
Postgres database interactive process viewer, showing information related to the current database activity,
such as state and current query.
The information displayed is configurable through a graphical setup and can be sorted and filtered interactively.
Tasks related to processes (e.g. killing) can be done without entering their PIDs.
Built on top of the pg_stat_activity view, see
https://www.postgresql.org/docs/9.4/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW
"""
[dependencies]
chrono = "0.4"
clap = "^2.33"
config = "^0.11"
exitcode = "^1.1"
serde = "^1.0"
serde_derive = "^1.0"
termion = "1.5"
time = "0.2"
tokio = { version = "1.3.0", features = ["full"] }
tokio-postgres = { version = "0.7.0", features = ["with-chrono-0_4", "with-time-0_2"] }
tui = "0.14"