From b6080abc5661f9323593944f5701d7dd7597afb9 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 17 Apr 2023 00:33:27 +0200 Subject: switch to another fork of hafas-rs (yuka's version is no longer maintained & broke) --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 2f3a34e..0a8fc54 100644 --- a/src/main.rs +++ b/src/main.rs @@ -370,6 +370,9 @@ async fn main() -> Result<(), ureq::Error> { }) .collect::>() }); + if cli.debug { + println!("{}", serde_json::to_string(&travelynx).unwrap()); + } let resp: serde_json::Value = exiting_post_request( &format!("{}/api/v1/import", cli.baseurl), travelynx, -- cgit v1.2.3