From 7a60d214978b7318c3e32af4793e613fd471183b Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Fri, 14 Oct 2022 21:06:29 +0800 Subject: chore(dep): Upgrade crate library Signed-off-by: KunoiSayami --- Cargo.toml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 43af956..687fd18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,39 +1,38 @@ [package] name = "cgit-simple-authentication" -version = "4.0.0-beta" +version = "4.0.0-rc" authors = ["KunoiSayami "] -edition = "2018" +edition = "2021" [dependencies] anyhow = "1" argon2 = "0.4" async-trait = "0.1" base64 = "0.13" -clap = "2.33" -env_logger = "0.8" -handlebars = "3.4" +clap = "4.0.15" +env_logger = "0.9.1" +handlebars = "4.3.5" log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] } log4rs = "1" pam = "0.7.0" -rand = "0.7" +rand = "0.8.5" rand_core = { version = "0.6", features = ["std"] } redis = { version = "0.21", features = ["tokio-comp"] } regex = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" -sqlx = { version = "0.5", features = [ "json", "sqlite", "runtime-actix-native-tls"] } +sqlx = { version = "0.6.2", features = [ "json", "sqlite", "runtime-actix-rustls"] } tempdir = "0.3" tokio = { version = "1", features = ["full"] } tokio-stream = "0.1" toml = "0.5" url = "2.1" -uuid = { version = "0.8", features = ["v4"] } +uuid = { version = "1.2.1", features = ["v4"] } [target.aarch64-unknown-linux-musl.dependencies] -openssl = { version = "0.10", features = ["vendored"] } -cpufeatures = "0.1.3" +cpufeatures = "0.2.5" [profile.release] opt-level = 3 lto = true -panic = "abort" +panic = "abort" \ No newline at end of file -- cgit v1.3.1