diff options
author | stuebinm | 2023-04-17 00:33:27 +0200 |
---|---|---|
committer | stuebinm | 2023-04-17 00:33:27 +0200 |
commit | b6080abc5661f9323593944f5701d7dd7597afb9 (patch) | |
tree | a8ccbd73c633128827e53c267c3e7f2e0d9143ee /src/main.rs | |
parent | 436071f0ac974f8b018e6d41143907946a97dcf9 (diff) |
switch to another fork of hafas-rs
(yuka's version is no longer maintained & broke)
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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::<Vec<&String>>() }); + 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, |