From 33413e77ddaaca00d6b93b3aa4c917e4e3e2b4f0 Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:06 +0200 Subject: Add punycode feature to minireq, add doc on wodl-macro --- Cargo.lock | 7 +++++++ Cargo.toml | 2 +- smp.1 | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index cd22cd6..39c194f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -136,6 +136,7 @@ checksum = "763d142cdff44aaadd9268bebddb156ef6c65a0e13486bb81673cf2d8739f9b0" dependencies = [ "log", "once_cell", + "punycode", "rustls", "rustls-webpki", "webpki-roots", @@ -165,6 +166,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "punycode" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e1dcb320d6839f6edb64f7a4a59d39b30480d4d1765b56873f7c858538a5fe" + [[package]] name = "quote" version = "1.0.37" diff --git a/Cargo.toml b/Cargo.toml index d0aa9b3..69409c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ 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"] } +minreq = { version = "2.12.0", optional = true, features = ["https", "punycode"] } [[bin]] name = "skaldpress" diff --git a/smp.1 b/smp.1 index 297d036..ad72017 100644 --- a/smp.1 +++ b/smp.1 @@ -62,6 +62,7 @@ So you should probably always quote arguments to this. .IP "\fBwodl()\fR" If compiled with \fBdeadlinks\fR, this macro will always return it's argument. But it will also perform a request to the link, and emit a warning if it it doesn't return HTTP 200 OK. +This will significantly slow down compile times! .SH OPTIONS If a input file is provided, that will be processed. -- cgit v1.2.3