From c5ed7b895caad6dc4e6d3398fbe3c154a102959c Mon Sep 17 00:00:00 2001 From: KunoiSayami <46131041+KunoiSayami@users.noreply.github.com> Date: Mon, 10 May 2021 12:58:30 +0800 Subject: refactor: Use argon2 instead of sha256 to store password * style: Update html file style --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index aaa7f41..f16bad0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cgit-simple-authentication" -version = "0.1.5" +version = "0.2.0" authors = ["KunoiSayami <46131041+KunoiSayami@users.noreply.github.com>"] edition = "2018" @@ -19,10 +19,11 @@ clap = "2.33" handlebars = "3.4" url = "2.1" redis = { version = "0.17", features = ["tokio-comp"] } -sha2 = "0.9" base64 = "0.13" log4rs = "1" tokio-stream = "0.1" +argon2 = "0.2" +rand_core = "0.6" [target.aarch64-unknown-linux-musl.dependencies] openssl = { version = "0.10", features = ["vendored"] } \ No newline at end of file -- cgit v1.3.1