diff --git a/assets/screencast.svg b/assets/screencast.svg
index a0b79fde99..0aabe7f071 100644
--- a/assets/screencast.svg
+++ b/assets/screencast.svg
@@ -1 +1,27325 @@
-
\ No newline at end of file
+
+
+
diff --git a/lychee-bin/src/formatters/stats/compact.rs b/lychee-bin/src/formatters/stats/compact.rs
index 980ad252b9..74b5e38a81 100644
--- a/lychee-bin/src/formatters/stats/compact.rs
+++ b/lychee-bin/src/formatters/stats/compact.rs
@@ -80,6 +80,7 @@ impl Display for CompactResponseStats {
write_if_any(stats.unknown, "❓", "Unknown", &BOLD_PINK, f)?;
write_if_any(stats.excludes, "👻", "Excluded", &BOLD_YELLOW, f)?;
write_if_any(stats.timeouts, "⏳", "Timeouts", &BOLD_YELLOW, f)?;
+ write_if_any(stats.unsupported, "⛔", "Unsupported", &BOLD_YELLOW, f)?;
Ok(())
}
diff --git a/lychee-bin/src/formatters/stats/detailed.rs b/lychee-bin/src/formatters/stats/detailed.rs
index b33e83c5f7..696f7b3ec0 100644
--- a/lychee-bin/src/formatters/stats/detailed.rs
+++ b/lychee-bin/src/formatters/stats/detailed.rs
@@ -45,7 +45,8 @@ impl Display for DetailedResponseStats {
write_stat(f, "\u{1f500} Redirected", stats.redirects, true)?; // 🔀
write_stat(f, "\u{1f47b} Excluded", stats.excludes, true)?; // 👻
write_stat(f, "\u{2753} Unknown", stats.unknown, true)?; //❓
- write_stat(f, "\u{1f6ab} Errors", stats.errors, false)?; // 🚫
+ write_stat(f, "\u{1f6ab} Errors", stats.errors, true)?; // 🚫
+ write_stat(f, "\u{26d4} Unsupported", stats.errors, false)?; // ⛔
let response_formatter = get_response_formatter(&self.mode);
diff --git a/lychee-bin/src/formatters/stats/markdown.rs b/lychee-bin/src/formatters/stats/markdown.rs
index 1f6ea7f7be..d9e4b47b4d 100644
--- a/lychee-bin/src/formatters/stats/markdown.rs
+++ b/lychee-bin/src/formatters/stats/markdown.rs
@@ -53,6 +53,10 @@ fn stats_table(stats: &ResponseStats) -> String {
status: "\u{1f6ab} Errors",
count: stats.errors,
},
+ StatsTableEntry {
+ status: "\u{26d4} Unsupported",
+ count: stats.unsupported,
+ },
];
let style = Style::markdown();
@@ -196,15 +200,16 @@ mod tests {
fn test_render_stats() {
let stats = ResponseStats::default();
let table = stats_table(&stats);
- let expected = "| Status | Count |
-|---------------|-------|
-| 🔍 Total | 0 |
-| ✅ Successful | 0 |
-| ⏳ Timeouts | 0 |
-| 🔀 Redirected | 0 |
-| 👻 Excluded | 0 |
-| ❓ Unknown | 0 |
-| 🚫 Errors | 0 |";
+ let expected = "| Status | Count |
+|----------------|-------|
+| 🔍 Total | 0 |
+| ✅ Successful | 0 |
+| ⏳ Timeouts | 0 |
+| 🔀 Redirected | 0 |
+| 👻 Excluded | 0 |
+| ❓ Unknown | 0 |
+| 🚫 Errors | 0 |
+| ⛔ Unsupported | 0 |";
assert_eq!(table, expected.to_string());
}
@@ -228,15 +233,16 @@ mod tests {
let summary = MarkdownResponseStats(stats);
let expected = "# Summary
-| Status | Count |
-|---------------|-------|
-| 🔍 Total | 1 |
-| ✅ Successful | 0 |
-| ⏳ Timeouts | 0 |
-| 🔀 Redirected | 0 |
-| 👻 Excluded | 0 |
-| ❓ Unknown | 0 |
-| 🚫 Errors | 1 |
+| Status | Count |
+|----------------|-------|
+| 🔍 Total | 1 |
+| ✅ Successful | 0 |
+| ⏳ Timeouts | 0 |
+| 🔀 Redirected | 0 |
+| 👻 Excluded | 0 |
+| ❓ Unknown | 0 |
+| 🚫 Errors | 1 |
+| ⛔ Unsupported | 0 |
## Errors per input