Disable legacy password hashers.

Consider pbkdf2 the only non-legacy hasher for now.
This commit is contained in:
Rasmus Kaj 2019-12-27 23:06:07 +01:00
parent 0e39d53ac9
commit 8b98f1e382

View File

@ -12,7 +12,6 @@ ructe = { version = "^0.9.0", features = ["sass", "mime03"] }
[dependencies]
brotli = "3.3.0"
chrono = "~0.4.0" # Must match version used by diesel
djangohashers = "*"
dotenv = "0.15"
env_logger = "*"
flate2 = "^1.0.0"
@ -31,6 +30,11 @@ serde_json = "1.0"
slug = "0.1"
structopt = { version = "0.3.0", features = ["wrap_help"] }
[dependencies.djangohashers]
default-features = false
features = ["with_pbkdf2"]
version = "1.1.1"
[dependencies.diesel]
default-features = false
features = ["r2d2", "chrono", "postgres"]