lychee 0.16.0

A fast, async link checker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use anyhow::Result;

use super::StatsFormatter;
use crate::stats::ResponseStats;
pub(crate) struct Raw;

impl Raw {
    pub(crate) const fn new() -> Self {
        Self {}
    }
}

impl StatsFormatter for Raw {
    /// Don't print stats in raw mode
    fn format(&self, _stats: ResponseStats) -> Result<Option<String>> {
        Ok(None)
    }
}