aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
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