Pretty print

This commit is contained in:
Felix Ableitner 2021-03-17 02:56:55 +01:00
parent 9621b91f7c
commit 5d5a9b863d

View file

@ -35,7 +35,7 @@ pub async fn main() -> Result<(), Error> {
let instance_details = crawl(start_instances, max_crawl_depth).await?; let instance_details = crawl(start_instances, max_crawl_depth).await?;
let total_stats = aggregate(instance_details); let total_stats = aggregate(instance_details);
println!("{}", serde_json::to_string(&total_stats)?); println!("{}", serde_json::to_string_pretty(&total_stats)?);
Ok(()) Ok(())
} }