cargo: update, and use rocket v0.5-rc1

This commit is contained in:
Vincent Breitmoser 2022-01-10 21:30:27 +01:00
parent 33224d1855
commit 3f156ec8c2
2 changed files with 714 additions and 278 deletions

972
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,9 @@ members = [
hagrid-database = { path = "database" }
chrono = "0.4.10"
anyhow = "1"
rocket = "0"
rocket_codegen = "0"
rocket = { version = "0.5.0-rc.1", features = [ "json" ] }
rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["handlebars"] }
rocket_codegen = "0.5.0-rc.1"
sequoia-openpgp = { version = "1", default-features = false, features = ["crypto-nettle"] }
multipart = "0"
serde = "1.0"
@ -32,15 +33,21 @@ num_cpus = "1.0"
ring = "0.13"
base64 = "0.10"
uuid = { version = "0.7", features = [ "v4" ] }
rocket_prometheus = "0.2"
# rocket_prometheus = "0.2"
lazy_static = "1.3.0"
rocket_i18n = "0.4"
gettext-macros = "0.6"
gettext-utils = "0.1"
gettext = "0.4"
glob = "0.3"
rfc2047 = "0.1"
[dependencies.rocket_i18n]
path = "../rocket_i18n"
# git = "https://github.com/Plume-org/rocket_i18n"
# branch = "go-async"
default-features = false
features = ["rocket"]
[patch.crates-io]
gettext-macros = { git = "https://github.com/Valodim/gettext-macros", rev = "d15fa92ef6ac28269890557fe9c3767d01442633" }
@ -52,11 +59,6 @@ features = ["builder", "file-transport", "sendmail-transport"]
git = "https://github.com/lettre/lettre"
rev = "245c600c82ee18b766e8729f005ff453a55dce34"
[dependencies.rocket_contrib]
version = "0"
default-features = false
features = ["handlebars_templates", "json"]
[build-dependencies]
vergen = "3"