aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-23 10:24:37 +0800
committerKunoiSayami <[email protected]>2022-10-23 10:24:37 +0800
commitf43314c3dd296be154c928f68b1b8d2a0d01c78f (patch)
treed924e68db020a554a8a0e468cb07bfd6d244dbc7 /Cargo.toml
parent4c58b52777aa8e1c9a8d8d20a4350be039bcdf90 (diff)
feat: Remove pam feature from default buildv4.0.0
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml12
1 files changed, 7 insertions, 5 deletions
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 <[email protected]>"]
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