mirror of
https://github.com/atuinsh/atuin.git
synced 2024-12-12 02:01:06 +01:00
32930846e6
Previously, in the event that there was a configuration issue and the atuin server failed to connect to PostgreSQL, it would log the password. For example, if the password authentication failed the following log message would be printed: Error: failed to connect to db: PostgresSettings { db_uri: "postgres://atuin:definitelymypassword@db.example.com/atuin" } This change sets the password to "****" when printing it via Debug: Error: failed to connect to db: PostgresSettings { db_uri: "postgres://atuin:****@db.example.com/atuin" } Hopefully few people use **** as the actual password.
25 lines
667 B
TOML
25 lines
667 B
TOML
[package]
|
|
name = "atuin-server-postgres"
|
|
edition = "2021"
|
|
description = "server postgres database library for atuin"
|
|
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
[dependencies]
|
|
atuin-common = { path = "../atuin-common", version = "18.2.0" }
|
|
atuin-server-database = { path = "../atuin-server-database", version = "18.2.0" }
|
|
|
|
eyre = { workspace = true }
|
|
tracing = "0.1"
|
|
time = { workspace = true }
|
|
serde = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
uuid = { workspace = true }
|
|
futures-util = "0.3"
|
|
url = "2.5.0"
|