From 81affd4017870bd3f24a753bd4b937d86bd8da76 Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:06 +0200 Subject: Add macro that checks whether links are working or not --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 30b051c..d0aa9b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,13 +5,15 @@ edition = "2021" default-run = "skaldpress" [features] -default = ["time", "markdown"] +default = ["time", "markdown", "deadlinks"] time = ["dep:chrono"] markdown = ["dep:markdown"] +deadlinks = ["dep:minreq"] [dependencies] markdown = { version = "1.0.0-alpha.20", optional = true } chrono = { version = "0.4.38", optional = true } +minreq = { version = "2.12.0", optional = true, features = ["https"] } [[bin]] name = "skaldpress" -- cgit v1.2.3