build: make argon2 optional and gated by server feature
This commit is contained in:
parent
cafbddb861
commit
6a98e8767d
@ -9,7 +9,7 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
tokio = { version = "1.52", features = ["rt-multi-thread", "macros", "fs", "time", "sync"], optional = true }
|
||||
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"], optional = true }
|
||||
deadpool-postgres = { version = "0.14", optional = true }
|
||||
argon2 = "0.5"
|
||||
argon2 = { version = "0.5", optional = true }
|
||||
uuid = { version = "1", features = ["v4", "js"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
regex = "1.12"
|
||||
@ -60,6 +60,7 @@ server = [
|
||||
"dep:tokio",
|
||||
"dep:tokio-postgres",
|
||||
"dep:deadpool-postgres",
|
||||
"dep:argon2",
|
||||
"dep:dotenvy",
|
||||
"dep:tracing",
|
||||
"dep:tracing-subscriber",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user