1 2 3 4 5 6 7 8 9 10 11 12
use wthr::forecast::Forecast; mod common; use common::json; #[test] fn parse_forecast() { let data = json("forecast"); let _parsed: Forecast = serde_json::from_str(&data).unwrap(); //println!("{:#?}", parsed); //panic!(); }