diff options
author | Guillaume Pasquet <dev@etenil.net> | 2021-11-14 22:50:17 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2021-11-14 22:50:17 +0000 |
commit | c9486ece952d2e07a78192a9ae0e7764fdee4164 (patch) | |
tree | 1fd086959e4fc7cbe52a1228acfa1b62cc26ac38 /src/main.rs | |
parent | fce52576205ebbb6b03a466b8f9a137c45420fde (diff) |
First working version of the barbfile parser
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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"); +} |