Upgrade deps (#1799)

* Upgrade deps

* Fix web::scope
This commit is contained in:
Dessalines 2021-09-29 14:50:00 -04:00 committed by GitHub
parent aee48f3f5d
commit 5a281445a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 373 additions and 298 deletions

477
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -44,24 +44,24 @@ lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "./crates/db_views_act
lemmy_api_common = { version = "=0.13.0-rc.1", path = "crates/api_common" }
lemmy_websocket = { version = "=0.13.0-rc.1", path = "./crates/websocket" }
lemmy_routes = { version = "=0.13.0-rc.1", path = "./crates/routes" }
diesel = "1.4.7"
diesel = "1.4.8"
diesel_migrations = "1.4.0"
chrono = { version = "0.4.19", features = ["serde"] }
serde = { version = "1.0.129", features = ["derive"] }
serde = { version = "1.0.130", features = ["derive"] }
actix = "0.12.0"
actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["rustls"] }
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] }
log = "0.4.14"
env_logger = "0.9.0"
strum = "0.21.0"
url = { version = "2.2.2", features = ["serde"] }
openssl = "0.10.36"
http-signature-normalization-actix = { version = "0.5.0-beta.7", default-features = false, features = ["sha-2"] }
tokio = { version = "1.10.1", features = ["sync"] }
anyhow = "1.0.43"
http-signature-normalization-actix = { version = "0.5.0-beta.10", default-features = false, features = ["sha-2"] }
tokio = { version = "1.12.0", features = ["sync"] }
anyhow = "1.0.44"
reqwest = { version = "0.11.4", features = ["json"] }
activitystreams = "0.7.0-alpha.11"
actix-rt = { version = "2.2.0", default-features = false }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
clokwerk = "0.3.5"
[dev-dependencies.cargo-husky]

View file

@ -20,15 +20,15 @@ lemmy_db_views_moderator = { version = "=0.13.0-rc.1", path = "../db_views_moder
lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
lemmy_api_common = { version = "=0.13.0-rc.1", path = "../api_common" }
lemmy_websocket = { version = "=0.13.0-rc.1", path = "../websocket" }
diesel = "1.4.7"
diesel = "1.4.8"
bcrypt = "0.10.1"
chrono = { version = "0.4.19", features = ["serde"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
actix = "0.12.0"
actix-web = { version = "4.0.0-beta.8", default-features = false }
actix-web = { version = "4.0.0-beta.9", default-features = false }
actix-rt = { version = "2.2.0", default-features = false }
awc = { version = "3.0.0-beta.7", default-features = false }
awc = { version = "3.0.0-beta.8", default-features = false }
log = "0.4.14"
rand = "0.8.4"
strum = "0.21.0"
@ -36,17 +36,17 @@ strum_macros = "0.21.1"
lazy_static = "1.4.0"
url = { version = "2.2.2", features = ["serde"] }
openssl = "0.10.36"
http = "0.2.4"
http-signature-normalization-actix = { version = "0.5.0-beta.7", default-features = false, features = ["sha-2"] }
http = "0.2.5"
http-signature-normalization-actix = { version = "0.5.0-beta.10", default-features = false, features = ["sha-2"] }
base64 = "0.13.0"
tokio = "1.10.1"
futures = "0.3.16"
tokio = "1.12.0"
futures = "0.3.17"
itertools = "0.10.1"
uuid = { version = "0.8.2", features = ["serde", "v4"] }
sha2 = "0.9.5"
sha2 = "0.9.8"
async-trait = "0.1.51"
captcha = "0.0.8"
anyhow = "1.0.43"
thiserror = "1.0.26"
background-jobs = "0.9.0"
anyhow = "1.0.44"
thiserror = "1.0.29"
background-jobs = "0.10.0"
reqwest = { version = "0.11.4", features = ["json"] }

View file

@ -17,10 +17,10 @@ lemmy_db_views_moderator = { version = "=0.13.0-rc.1", path = "../db_views_moder
lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
lemmy_utils = { version = "=0.13.0-rc.1", path = "../utils" }
serde = { version = "1.0.129", features = ["derive"] }
serde = { version = "1.0.130", features = ["derive"] }
log = "0.4.14"
diesel = "1.4.7"
actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["cookies"] }
diesel = "1.4.8"
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["cookies"] }
chrono = { version = "0.4.19", features = ["serde"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
url = "2.2.2"

View file

@ -15,15 +15,15 @@ lemmy_db_views_moderator = { version = "=0.13.0-rc.1", path = "../db_views_moder
lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
lemmy_api_common = { version = "=0.13.0-rc.1", path = "../api_common" }
lemmy_websocket = { version = "=0.13.0-rc.1", path = "../websocket" }
diesel = "1.4.7"
diesel = "1.4.8"
bcrypt = "0.10.1"
chrono = { version = "0.4.19", features = ["serde"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
actix = "0.12.0"
actix-web = { version = "4.0.0-beta.8", default-features = false }
actix-web = { version = "4.0.0-beta.9", default-features = false }
actix-rt = { version = "2.2.0", default-features = false }
awc = { version = "3.0.0-beta.7", default-features = false }
awc = { version = "3.0.0-beta.8", default-features = false }
log = "0.4.14"
rand = "0.8.4"
strum = "0.21.0"
@ -31,17 +31,17 @@ strum_macros = "0.21.1"
lazy_static = "1.4.0"
url = { version = "2.2.2", features = ["serde"] }
openssl = "0.10.36"
http = "0.2.4"
http-signature-normalization-actix = { version = "0.5.0-beta.7", default-features = false, features = ["sha-2"] }
http = "0.2.5"
http-signature-normalization-actix = { version = "0.5.0-beta.10", default-features = false, features = ["sha-2"] }
base64 = "0.13.0"
tokio = "1.10.1"
futures = "0.3.16"
tokio = "1.12.0"
futures = "0.3.17"
itertools = "0.10.1"
uuid = { version = "0.8.2", features = ["serde", "v4"] }
sha2 = "0.9.5"
sha2 = "0.9.8"
async-trait = "0.1.51"
anyhow = "1.0.43"
thiserror = "1.0.26"
background-jobs = "0.9.0"
anyhow = "1.0.44"
thiserror = "1.0.29"
background-jobs = "0.10.0"
reqwest = { version = "0.11.4", features = ["json"] }
webmention = "0.4.0"

View file

@ -19,17 +19,17 @@ lemmy_db_views = { version = "=0.13.0-rc.1", path = "../db_views" }
lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
lemmy_api_common = { version = "=0.13.0-rc.1", path = "../api_common" }
lemmy_websocket = { version = "=0.13.0-rc.1", path = "../websocket" }
diesel = "1.4.7"
diesel = "1.4.8"
activitystreams = "0.7.0-alpha.11"
bcrypt = "0.10.1"
chrono = { version = "0.4.19", features = ["serde"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.129", features = ["derive"] }
serde_with = "1.9.4"
serde_json = { version = "1.0.68", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_with = "1.10.0"
actix = "0.12.0"
actix-web = { version = "4.0.0-beta.8", default-features = false }
actix-web = { version = "4.0.0-beta.9", default-features = false }
actix-rt = { version = "2.2.0", default-features = false }
awc = { version = "3.0.0-beta.7", default-features = false }
awc = { version = "3.0.0-beta.8", default-features = false }
log = "0.4.14"
rand = "0.8.4"
strum = "0.21.0"
@ -37,19 +37,19 @@ strum_macros = "0.21.1"
url = { version = "2.2.2", features = ["serde"] }
percent-encoding = "2.1.0"
openssl = "0.10.36"
http = "0.2.4"
http-signature-normalization-actix = { version = "0.5.0-beta.7", default-features = false, features = ["sha-2"] }
http = "0.2.5"
http-signature-normalization-actix = { version = "0.5.0-beta.10", default-features = false, features = ["server", "sha-2"] }
http-signature-normalization-reqwest = { version = "0.2.0", default-features = false, features = ["sha-2"] }
base64 = "0.13.0"
tokio = "1.10.1"
futures = "0.3.16"
tokio = "1.12.0"
futures = "0.3.17"
itertools = "0.10.1"
uuid = { version = "0.8.2", features = ["serde", "v4"] }
sha2 = "0.9.5"
sha2 = "0.9.8"
async-trait = "0.1.51"
anyhow = "1.0.43"
thiserror = "1.0.26"
background-jobs = "0.9.0"
anyhow = "1.0.44"
thiserror = "1.0.29"
background-jobs = "0.10.0"
reqwest = { version = "0.11.4", features = ["json"] }
lazy_static = "1.4.0"

View file

@ -37,7 +37,7 @@ pub fn config(cfg: &mut web::ServiceConfig, settings: &Settings) {
cfg
.service(
web::scope("/")
web::scope("")
.guard(header_guard_accept)
.route(
"/c/{community_name}",
@ -71,7 +71,7 @@ pub fn config(cfg: &mut web::ServiceConfig, settings: &Settings) {
)
// Inboxes dont work with the header guard for some reason.
.service(
web::scope("/")
web::scope("")
.wrap(digest_verifier)
.guard(header_guard_content_type)
.route("/c/{community_name}/inbox", web::post().to(community_inbox))

View file

@ -10,10 +10,10 @@ lemmy_utils = { version = "=0.13.0-rc.1", path = "../utils" }
lemmy_websocket = { version = "=0.13.0-rc.1", path = "../websocket" }
lemmy_apub_lib_derive = { version = "=0.13.0-rc.1", path = "../apub_lib_derive" }
activitystreams = "0.7.0-alpha.11"
serde = { version = "1.0.129", features = ["derive"] }
serde = { version = "1.0.130", features = ["derive"] }
async-trait = "0.1.51"
url = { version = "2.2.2", features = ["serde"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
anyhow = "1.0.43"
serde_json = { version = "1.0.68", features = ["preserve_order"] }
anyhow = "1.0.44"
reqwest = { version = "0.11.4", features = ["json"] }
log = "0.4.14"

View file

@ -12,6 +12,6 @@ proc-macro = true
trybuild = { version = "1.0.45", features = ["diff"] }
[dependencies]
proc-macro2 = "1.0.28"
syn = "1.0.75"
proc-macro2 = "1.0.29"
syn = "1.0.77"
quote = "1.0.9"

View file

@ -13,15 +13,15 @@ doctest = false
[dependencies]
lemmy_utils = { version = "=0.13.0-rc.1", path = "../utils" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
diesel_migrations = "1.4.0"
chrono = { version = "0.4.19", features = ["serde"] }
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
strum = "0.21.0"
strum_macros = "0.21.1"
log = "0.4.14"
sha2 = "0.9.5"
sha2 = "0.9.8"
url = { version = "2.2.2", features = ["serde"] }
lazy_static = "1.4.0"
regex = "1.5.4"

View file

@ -9,10 +9,10 @@ license = "AGPL-3.0"
doctest = false
[dependencies]
diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
chrono = { version = "0.4.19", features = ["serde"] }
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
log = "0.4.14"
url = { version = "2.2.2", features = ["serde"] }
diesel-derive-newtype = "0.1.2"

View file

@ -11,8 +11,8 @@ doctest = false
[dependencies]
lemmy_db_queries = { version = "=0.13.0-rc.1", path = "../db_queries" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.129", features = ["derive"] }
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.130", features = ["derive"] }
log = "0.4.14"
url = "2.2.2"

View file

@ -11,5 +11,5 @@ doctest = false
[dependencies]
lemmy_db_queries = { version = "=0.13.0-rc.1", path = "../db_queries" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.129", features = ["derive"] }
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.130", features = ["derive"] }

View file

@ -11,5 +11,5 @@ doctest = false
[dependencies]
lemmy_db_queries = { version = "=0.13.0-rc.1", path = "../db_queries" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.129", features = ["derive"] }
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
serde = { version = "1.0.130", features = ["derive"] }

View file

@ -17,18 +17,18 @@ lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
lemmy_db_schema = { version = "=0.13.0-rc.1", path = "../db_schema" }
lemmy_api_common = { version = "=0.13.0-rc.1", path = "../api_common" }
lemmy_apub_lib = { version = "=0.13.0-rc.1", path = "../apub_lib" }
diesel = "1.4.7"
diesel = "1.4.8"
actix = "0.12.0"
actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["rustls"] }
actix-web-actors = { version = "4.0.0-beta.6", default-features = false }
actix-http = "3.0.0-beta.9"
sha2 = "0.9.5"
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] }
actix-web-actors = { version = "4.0.0-beta.7", default-features = false }
actix-http = "3.0.0-beta.10"
sha2 = "0.9.8"
log = "0.4.14"
anyhow = "1.0.43"
anyhow = "1.0.44"
chrono = { version = "0.4.19", features = ["serde"] }
rss = "1.10.0"
serde = { version = "1.0.129", features = ["derive"] }
awc = { version = "3.0.0-beta.7", default-features = false }
serde = { version = "1.0.130", features = ["derive"] }
awc = { version = "3.0.0-beta.8", default-features = false }
url = { version = "2.2.2", features = ["serde"] }
strum = "0.21.0"
lazy_static = "1.4.0"

View file

@ -18,23 +18,23 @@ log = "0.4.14"
itertools = "0.10.1"
rand = "0.8.4"
percent-encoding = "2.1.0"
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
thiserror = "1.0.26"
comrak = { version = "0.11.0", default-features = false }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
thiserror = "1.0.29"
comrak = { version = "0.12.1", default-features = false }
lazy_static = "1.4.0"
openssl = "0.10.36"
url = { version = "2.2.2", features = ["serde"] }
actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["rustls"] }
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] }
actix-rt = { version = "2.2.0", default-features = false }
anyhow = "1.0.43"
anyhow = "1.0.44"
reqwest = { version = "0.11.4", features = ["json"] }
tokio = { version = "1.10.1", features = ["sync"] }
tokio = { version = "1.12.0", features = ["sync"] }
strum = "0.21.0"
strum_macros = "0.21.1"
futures = "0.3.16"
diesel = "1.4.7"
http = "0.2.4"
futures = "0.3.17"
diesel = "1.4.8"
http = "0.2.5"
deser-hjson = "1.0.2"
smart-default = "0.6.0"
webpage = { version = "1.3.0", default-features = false, features = ["serde"] }

View file

@ -20,15 +20,15 @@ lemmy_db_views_actor = { version = "=0.13.0-rc.1", path = "../db_views_actor" }
reqwest = { version = "0.11.4", features = ["json"] }
log = "0.4.14"
rand = "0.8.4"
serde = { version = "1.0.129", features = ["derive"] }
serde_json = { version = "1.0.66", features = ["preserve_order"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = { version = "1.0.68", features = ["preserve_order"] }
actix = "0.12.0"
anyhow = "1.0.43"
diesel = "1.4.7"
background-jobs = "0.9.0"
tokio = "1.10.1"
anyhow = "1.0.44"
diesel = "1.4.8"
background-jobs = "0.10.0"
tokio = "1.12.0"
strum = "0.21.0"
strum_macros = "0.21.1"
chrono = { version = "0.4.19", features = ["serde"] }
actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["rustls"] }
actix-web-actors = { version = "4.0.0-beta.6", default-features = false }
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] }
actix-web-actors = { version = "4.0.0-beta.7", default-features = false }