mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
* Move connection checkin log messages to their own target Under heavy load they can happen thousands of times per second, and should generally be considered a nuisance at best. This marks the state discard as an info rather than a warning, and moves all the messages into their own log-target, so they can be filtered separately from the more relevant warnings. Signed-off-by: D.S. Ljungmark <spider@skuggor.se> * Remove left-over env_logger dependencies When moving to tracing-subscriber for logging, the env_logger dependencies were left around, this cuts them out as dead code. Signed-off-by: D.S. Ljungmark <spider@skuggor.se> * Restore ability to filter log messages at runtime This restores the RUST_LOG filters from env_logger but now with the tracing subscriber setup. The filters are chained so commandline options mark the default in case either option is set, which should be the path of least confusion for users. ( RUST_LOG setting level to debug, and commandline to warning is an odd user case, and I don't know what a user who does that is expecting. ) It also bumps the version number as a fix to see which versions have which behaviour. Signed-off-by: D.S. Ljungmark <spider@skuggor.se> --------- Signed-off-by: D.S. Ljungmark <spider@skuggor.se>
55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
[package]
|
|
name = "pgcat"
|
|
version = "1.1.1"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
bytes = "1"
|
|
md-5 = "0.10"
|
|
bb8 = "0.8.1"
|
|
async-trait = "0.1"
|
|
rand = "0.8"
|
|
chrono = "0.4"
|
|
sha-1 = "0.10"
|
|
toml = "0.7"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_derive = "1"
|
|
regex = "1"
|
|
num_cpus = "1"
|
|
once_cell = "1"
|
|
sqlparser = {version = "0.34", features = ["visitor"] }
|
|
log = "0.4"
|
|
arc-swap = "1"
|
|
parking_lot = "0.12.1"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
base64 = "0.21"
|
|
stringprep = "0.1"
|
|
tokio-rustls = "0.24"
|
|
rustls-pemfile = "1"
|
|
hyper = { version = "0.14", features = ["full"] }
|
|
phf = { version = "0.11.1", features = ["macros"] }
|
|
exitcode = "1.1.2"
|
|
futures = "0.3"
|
|
socket2 = { version = "0.4.7", features = ["all"] }
|
|
nix = "0.26.2"
|
|
atomic_enum = "0.2.0"
|
|
postgres-protocol = "0.6.5"
|
|
fallible-iterator = "0.2"
|
|
pin-project = "1"
|
|
webpki-roots = "0.23"
|
|
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
|
trust-dns-resolver = "0.22.0"
|
|
tokio-test = "0.4.2"
|
|
serde_json = "1"
|
|
itertools = "0.10"
|
|
clap = { version = "4.3.1", features = ["derive", "env"] }
|
|
tracing = "0.1.37"
|
|
tracing-subscriber = { version = "0.3.17", features = ["json", "env-filter", "std"]}
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
jemallocator = "0.5.0"
|
|
|