From c9486ece952d2e07a78192a9ae0e7764fdee4164 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Sun, 14 Nov 2021 22:50:17 +0000 Subject: First working version of the barbfile parser --- src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main.rs (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..816bebc --- /dev/null +++ b/src/main.rs @@ -0,0 +1,9 @@ +mod barbfile; + +use std::fs; +use ureq; + +fn main() { + let barbfile = fs::read_to_string("test.barb").expect("Failed to read file"); + ureq::get("https://api.met.no/weatherapi/tafmetar/1.0/tafmetar?icao=EGKK"); +} -- cgit v1.2.3