Support postgres with SSL requirements

This stupidly just strips any ?sslmode= arguments from the postgres URI
and enables SSL without verification regardless of which mode the user
specifies.
This commit is contained in:
Alexander Olofsson
2021-01-30 20:29:58 +01:00
parent 1aac27ebb6
commit 8e691aec1f
3 changed files with 152 additions and 15 deletions

View File

@@ -9,9 +9,12 @@ edition = "2018"
clap = "2.33.0"
indicatif = "0.14.0"
jemallocator = "0.3.2"
openssl = "0.10.32"
postgres = "0.17.0"
postgres-openssl = "0.3.0"
rand = "0.7.2"
rayon = "1.3.0"
regex = "1.4.3"
string_cache = "0.8.0"
[dependencies.state-map]