chore: Update the dependencies and features

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-08-12 20:14:06 +00:00
parent 4240da2409
commit 472e712c9a
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -14,14 +14,17 @@ categories = ["web-programming", "network-programming"]
[dependencies] [dependencies]
cacache = { version = "13", default-features = false, features = ["tokio-runtime", "mmap"], optional = true }
captcha = { version = "0.0.9", default-features = false }
log = "0.4"
salvo_core = { version = ">= 0.65, < 0.69", default-features = false } salvo_core = { version = ">= 0.65, < 0.69", default-features = false }
uuid = { version = "1.7", features = ["v4"], optional = true } log = "0.4"
uuid = { version = "1", features = ["v4"] }
tokio = { version = "1", default-features = false }
cacache = { version = "13", default-features = false, features = ["tokio-runtime", "mmap"], optional = true }
captcha = { version = "0.0.9", default-features = false, optional = true}
either = { version = "1.13.0", default-features = false }
[features] [features]
cacache-storage = ["dep:cacache", "dep:uuid"] cacache-storage = ["dep:cacache"]
simple_generator = ["dep:captcha"]
[dev-dependencies] [dev-dependencies]
tempfile = "3.9" tempfile = "3.9"
@ -32,4 +35,4 @@ rstest = "0.22.0"
[[example]] [[example]]
name = "simple_login" name = "simple_login"
required-features = ["cacache-storage"] required-features = ["simple_generator"]