http-stat 0.6.1

httpstat visualizes curl(1) statistics in a way of beauty and clarity.
Documentation
1
2
3
4
5
6
7
8
use http_stat::request;

#[tokio::main]
async fn main() {
    let stat = request("https://www.baidu.com/".try_into().unwrap()).await;
    // println!("{:?}", stat);
    println!("{stat}");
}