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-error",
"ts-rs",
"typed-builder",
"url",
"urlencoding",
"uuid",

View File

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

View File

@ -233,7 +233,7 @@ async fn generate_pictrs_thumbnail(
) -> Result<Url, LemmyError> {
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());
}

View File

@ -62,7 +62,6 @@ diesel-async = { workspace = true, features = [
regex = { workspace = true, optional = true }
once_cell = { workspace = true, optional = true }
diesel_ltree = { workspace = true, optional = true }
typed-builder = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = 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 }
rustls = { workspace = true, optional = true }
uuid = { workspace = true, features = ["v4"] }
typed-builder = "0.15.2"
[dev-dependencies]
serial_test = { workspace = true }

View File

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