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