From 5d5a9b863d4248c3dcd994f50a5ec1db624f1089 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 17 Mar 2021 02:56:55 +0100 Subject: [PATCH] Pretty print --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a00c763..5742be8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ pub async fn main() -> Result<(), Error> { let instance_details = crawl(start_instances, max_crawl_depth).await?; let total_stats = aggregate(instance_details); - println!("{}", serde_json::to_string(&total_stats)?); + println!("{}", serde_json::to_string_pretty(&total_stats)?); Ok(()) }