Adding more stuff in

This commit is contained in:
2026-04-18 07:41:32 +01:00
parent 34dad5e000
commit e28d4fdb22
6 changed files with 95 additions and 35 deletions
+2 -5
View File
@@ -2,20 +2,17 @@ mod loader;
mod utils;
pub mod structs;
use std::{
collections::{HashMap, HashSet},
collections::{HashMap},
fs::File,
};
use crate::gtfs::{loader::load_gtfs, structs::{Arrival, Gtfs, Preferences}};
pub fn get_next_stops(gtfs: &Gtfs) -> Vec<Arrival> {
pub fn _get_next_stops(_gtfs: &Gtfs) -> Vec<Arrival> {
let arrivals = Vec::<Arrival>::new();
return arrivals;
}
/// Load a GTFS structure from a zip file
pub fn load(src_file: &str, prefs: &Preferences) -> Gtfs {
// Open zip file