markdown-link-rule-dess
Felix Ableitner 2023-11-06 13:03:59 +01:00
parent d6b3d82300
commit abe3ab2809
5 changed files with 2 additions and 5 deletions

1
Cargo.lock generated
View File

@ -2856,7 +2856,6 @@ dependencies = [
"tracing", "tracing",
"tracing-error", "tracing-error",
"ts-rs", "ts-rs",
"typed-builder",
"url", "url",
"urlencoding", "urlencoding",
"uuid", "uuid",

View File

@ -107,7 +107,6 @@ anyhow = { version = "1.0.75", features = [
"backtrace", "backtrace",
] } # backtrace is on by default on nightly, but not stable rust ] } # backtrace is on by default on nightly, but not stable rust
diesel_ltree = "0.3.0" diesel_ltree = "0.3.0"
typed-builder = "0.15.2"
serial_test = "2.0.0" serial_test = "2.0.0"
tokio = { version = "1.33.0", features = ["full"] } tokio = { version = "1.33.0", features = ["full"] }
regex = "1.10.2" regex = "1.10.2"

View File

@ -233,7 +233,7 @@ async fn generate_pictrs_thumbnail(
) -> Result<Url, LemmyError> { ) -> Result<Url, LemmyError> {
let pictrs_config = context.settings().pictrs_config()?; let pictrs_config = context.settings().pictrs_config()?;
if pictrs_config.disable_external_link_previews { if pictrs_config.cache_external_link_previews {
return Ok(proxy_image_link(image_url.clone(), context).await?.into()); return Ok(proxy_image_link(image_url.clone(), context).await?.into());
} }

View File

@ -62,7 +62,6 @@ diesel-async = { workspace = true, features = [
regex = { workspace = true, optional = true } regex = { workspace = true, optional = true }
once_cell = { workspace = true, optional = true } once_cell = { workspace = true, optional = true }
diesel_ltree = { workspace = true, optional = true } diesel_ltree = { workspace = true, optional = true }
typed-builder = { workspace = true }
async-trait = { workspace = true } async-trait = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
deadpool = { version = "0.9.5", features = ["rt_tokio_1"], optional = true } deadpool = { version = "0.9.5", features = ["rt_tokio_1"], optional = true }
@ -73,6 +72,7 @@ tokio-postgres = { workspace = true, optional = true }
tokio-postgres-rustls = { workspace = true, optional = true } tokio-postgres-rustls = { workspace = true, optional = true }
rustls = { workspace = true, optional = true } rustls = { workspace = true, optional = true }
uuid = { workspace = true, features = ["v4"] } uuid = { workspace = true, features = ["v4"] }
typed-builder = "0.15.2"
[dev-dependencies] [dev-dependencies]
serial_test = { workspace = true } serial_test = { workspace = true }

View File

@ -36,7 +36,6 @@ http = { workspace = true }
doku = { workspace = true, features = ["url-2"] } doku = { workspace = true, features = ["url-2"] }
uuid = { workspace = true, features = ["serde", "v4"] } uuid = { workspace = true, features = ["serde", "v4"] }
rosetta-i18n = { workspace = true } rosetta-i18n = { workspace = true }
typed-builder = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
urlencoding = { workspace = true } urlencoding = { workspace = true }
openssl = "0.10.57" openssl = "0.10.57"