From f43314c3dd296be154c928f68b1b8d2a0d01c78f Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sun, 23 Oct 2022 10:24:37 +0800 Subject: feat: Remove pam feature from default build Signed-off-by: KunoiSayami --- Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 687fd18..ddaae80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cgit-simple-authentication" -version = "4.0.0-rc" +version = "4.0.0" authors = ["KunoiSayami "] edition = "2021" @@ -14,10 +14,10 @@ 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" +pam = { version = "0.7.0", optional = true } rand = "0.8.5" rand_core = { version = "0.6", features = ["std"] } -redis = { version = "0.21", features = ["tokio-comp"] } +redis = { version = "0.22.1", features = ["tokio-comp"] } regex = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" @@ -33,6 +33,8 @@ uuid = { version = "1.2.1", features = ["v4"] } cpufeatures = "0.2.5" [profile.release] -opt-level = 3 lto = true -panic = "abort" \ No newline at end of file +panic = "abort" + +[features] +default = [] \ No newline at end of file -- cgit v1.3.1