From 19cb224598469561c08c68a015cd8a351b8fe44f Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Sat, 24 May 2025 17:07:08 -0500 Subject: [PATCH] Hook up the new deserialization structs --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bc02b7e..1e72097 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ use gt_tools::CreateReleaseOption; use gt_tools::{ReleaseInfo, cli::Args}; +use serde::{Deserialize, Serialize}; use std::env; @@ -43,7 +44,8 @@ async fn main() -> Result<(), Error> { .send() .await?; - println!("{:?}", response.text().await?); + let result: gt_tools::CreateResult = response.json().await?; + println!("{:?}", result); } }