mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Upgrade all dependencies (#3526)
* Upgrade all dependencies * as base64
This commit is contained in:
parent
934f72511e
commit
ff26bc21af
4 changed files with 300 additions and 821 deletions
1050
Cargo.lock
generated
1050
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
54
Cargo.toml
54
Cargo.toml
|
@ -56,15 +56,15 @@ lemmy_routes = { version = "=0.18.1", path = "./crates/routes" }
|
||||||
lemmy_db_views = { version = "=0.18.1", path = "./crates/db_views" }
|
lemmy_db_views = { version = "=0.18.1", path = "./crates/db_views" }
|
||||||
lemmy_db_views_actor = { version = "=0.18.1", path = "./crates/db_views_actor" }
|
lemmy_db_views_actor = { version = "=0.18.1", path = "./crates/db_views_actor" }
|
||||||
lemmy_db_views_moderator = { version = "=0.18.1", path = "./crates/db_views_moderator" }
|
lemmy_db_views_moderator = { version = "=0.18.1", path = "./crates/db_views_moderator" }
|
||||||
activitypub_federation = { version = "0.4.4", default-features = false, features = ["actix-web"] }
|
activitypub_federation = { version = "0.4.5", default-features = false, features = ["actix-web"] }
|
||||||
diesel = "2.1.0"
|
diesel = "2.1.0"
|
||||||
diesel_migrations = "2.1.0"
|
diesel_migrations = "2.1.0"
|
||||||
diesel-async = "0.3.1"
|
diesel-async = "0.3.1"
|
||||||
serde = { version = "1.0.164", features = ["derive"] }
|
serde = { version = "1.0.167", features = ["derive"] }
|
||||||
serde_with = "1.14.0"
|
serde_with = "3.0.0"
|
||||||
actix-web = { version = "4.3.1", default-features = false, features = ["macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd"] }
|
actix-web = { version = "4.3.1", default-features = false, features = ["macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd"] }
|
||||||
tracing = "0.1.37"
|
tracing = "0.1.37"
|
||||||
tracing-actix-web = { version = "0.6.2", default-features = false }
|
tracing-actix-web = { version = "0.7.5", default-features = false }
|
||||||
tracing-error = "0.2.0"
|
tracing-error = "0.2.0"
|
||||||
tracing-log = "0.1.3"
|
tracing-log = "0.1.3"
|
||||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||||
|
@ -72,38 +72,38 @@ url = { version = "2.4.0", features = ["serde"] }
|
||||||
url_serde = "0.2.0"
|
url_serde = "0.2.0"
|
||||||
reqwest = { version = "0.11.18", features = ["json", "blocking"] }
|
reqwest = { version = "0.11.18", features = ["json", "blocking"] }
|
||||||
reqwest-middleware = "0.2.2"
|
reqwest-middleware = "0.2.2"
|
||||||
reqwest-tracing = "0.4.4"
|
reqwest-tracing = "0.4.5"
|
||||||
clokwerk = "0.3.5"
|
clokwerk = "0.4.0"
|
||||||
doku = { version = "0.21.1", features = ["url-2"] }
|
doku = { version = "0.21.1", features = ["url-2"] }
|
||||||
bcrypt = "0.13.0"
|
bcrypt = "0.15.0"
|
||||||
chrono = { version = "0.4.26", features = ["serde"], default-features = false }
|
chrono = { version = "0.4.26", features = ["serde"], default-features = false }
|
||||||
serde_json = { version = "1.0.96", features = ["preserve_order"] }
|
serde_json = { version = "1.0.100", features = ["preserve_order"] }
|
||||||
base64 = "0.13.1"
|
base64 = "0.21.2"
|
||||||
uuid = { version = "1.3.4", features = ["serde", "v4"] }
|
uuid = { version = "1.4.0", features = ["serde", "v4"] }
|
||||||
async-trait = "0.1.68"
|
async-trait = "0.1.71"
|
||||||
captcha = "0.0.9"
|
captcha = "0.0.9"
|
||||||
anyhow = { version = "1.0.71", features = ["backtrace"] } # backtrace is on by default on nightly, but not stable rust
|
anyhow = { version = "1.0.71", features = ["backtrace"] } # backtrace is on by default on nightly, but not stable rust
|
||||||
diesel_ltree = "0.3.0"
|
diesel_ltree = "0.3.0"
|
||||||
typed-builder = "0.10.0"
|
typed-builder = "0.15.0"
|
||||||
serial_test = "0.9.0"
|
serial_test = "2.0.0"
|
||||||
tokio = { version = "1.28.2", features = ["full"] }
|
tokio = { version = "1.29.1", features = ["full"] }
|
||||||
sha2 = "0.10.6"
|
sha2 = "0.10.7"
|
||||||
regex = "1.8.4"
|
regex = "1.9.0"
|
||||||
once_cell = "1.18.0"
|
once_cell = "1.18.0"
|
||||||
diesel-derive-newtype = "2.1.0"
|
diesel-derive-newtype = "2.1.0"
|
||||||
diesel-derive-enum = {version = "2.1.0", features = ["postgres"] }
|
diesel-derive-enum = {version = "2.1.0", features = ["postgres"] }
|
||||||
strum = "0.24.1"
|
strum = "0.25.0"
|
||||||
strum_macros = "0.24.3"
|
strum_macros = "0.25.1"
|
||||||
itertools = "0.10.5"
|
itertools = "0.11.0"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
http = "0.2.9"
|
http = "0.2.9"
|
||||||
percent-encoding = "2.3.0"
|
percent-encoding = "2.3.0"
|
||||||
rosetta-i18n = "0.1.2"
|
rosetta-i18n = "0.1.3"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
|
opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
|
||||||
tracing-opentelemetry = { version = "0.17.4" }
|
tracing-opentelemetry = { version = "0.19.0" }
|
||||||
ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] }
|
ts-rs = { version = "6.2", features = ["serde-compat", "chrono-impl"] }
|
||||||
rustls = { version ="0.21.2", features = ["dangerous_configuration"]}
|
rustls = { version ="0.21.3", features = ["dangerous_configuration"]}
|
||||||
futures-util = "0.3.28"
|
futures-util = "0.3.28"
|
||||||
tokio-postgres = "0.7.8"
|
tokio-postgres = "0.7.8"
|
||||||
tokio-postgres-rustls = "0.10.0"
|
tokio-postgres-rustls = "0.10.0"
|
||||||
|
@ -135,9 +135,9 @@ doku = { workspace = true }
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
tracing-opentelemetry = { workspace = true, optional = true }
|
tracing-opentelemetry = { workspace = true, optional = true }
|
||||||
opentelemetry = { workspace = true, optional = true }
|
opentelemetry = { workspace = true, optional = true }
|
||||||
console-subscriber = { version = "0.1.9", optional = true }
|
console-subscriber = { version = "0.1.10", optional = true }
|
||||||
opentelemetry-otlp = { version = "0.10.0", optional = true }
|
opentelemetry-otlp = { version = "0.12.0", optional = true }
|
||||||
pict-rs = { version = "0.4.0-rc.3", optional = true }
|
pict-rs = { version = "0.4.0-rc.12", optional = true }
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
actix-cors = "0.6.4"
|
actix-cors = "0.6.4"
|
||||||
rustls = { workspace = true }
|
rustls = { workspace = true }
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
use actix_web::web::Data;
|
use actix_web::web::Data;
|
||||||
|
use base64::{engine::general_purpose::STANDARD_NO_PAD as base64, Engine};
|
||||||
use captcha::Captcha;
|
use captcha::Captcha;
|
||||||
use lemmy_api_common::{context::LemmyContext, utils::local_site_to_slur_regex};
|
use lemmy_api_common::{context::LemmyContext, utils::local_site_to_slur_regex};
|
||||||
use lemmy_db_schema::source::local_site::LocalSite;
|
use lemmy_db_schema::source::local_site::LocalSite;
|
||||||
|
@ -58,7 +59,7 @@ pub(crate) fn captcha_as_wav_base64(captcha: &Captcha) -> Result<String, LemmyEr
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(base64::encode(output_buffer.into_inner()))
|
Ok(base64.encode(output_buffer.into_inner()))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Check size of report and remove whitespace
|
/// Check size of report and remove whitespace
|
||||||
|
|
|
@ -37,18 +37,18 @@ rosetta-i18n = { workspace = true }
|
||||||
typed-builder = { workspace = true }
|
typed-builder = { workspace = true }
|
||||||
percent-encoding = { workspace = true }
|
percent-encoding = { workspace = true }
|
||||||
tokio = { workspace = true }
|
tokio = { workspace = true }
|
||||||
openssl = "0.10.42"
|
openssl = "0.10.55"
|
||||||
html2text = "0.6.0"
|
html2text = "0.6.0"
|
||||||
deser-hjson = "1.0.2"
|
deser-hjson = "1.2.0"
|
||||||
smart-default = "0.7.1"
|
smart-default = "0.7.1"
|
||||||
jsonwebtoken = "8.1.1"
|
jsonwebtoken = "8.3.0"
|
||||||
lettre = { version = "0.10.1", features = ["tokio1", "tokio1-native-tls"] }
|
lettre = { version = "0.10.4", features = ["tokio1", "tokio1-native-tls"] }
|
||||||
markdown-it = "0.5.1"
|
markdown-it = "0.5.1"
|
||||||
totp-rs = { version = "5.0.2", features = ["gen_secret", "otpauth"] }
|
totp-rs = { version = "5.0.2", features = ["gen_secret", "otpauth"] }
|
||||||
enum-map = "2.5"
|
enum-map = "2.6"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
reqwest = { workspace = true }
|
reqwest = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
rosetta-build = "0.1.2"
|
rosetta-build = "0.1.3"
|
||||||
|
|
Loading…
Reference in a new issue