diff --git a/src/main.rs b/src/main.rs index 13ae91d..1bdba37 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,8 @@ //! MQTT Publisher for RNV Live Station Data //! +//! Created: 2026-02-27 +//! Author: Ollo (supported by glm-4.7-flash) +//! //! This application fetches departure data from the RNV API and publishes it to an MQTT broker. //! It uses a two-step process: //! 1. Look up the station ID by name using [`straba::lookup_station_id`] diff --git a/src/straba.rs b/src/straba.rs index 68a50e2..52b8a8d 100644 --- a/src/straba.rs +++ b/src/straba.rs @@ -1,3 +1,13 @@ +//! RNV Station Data Module +//! +//! Created: 2023-08-18 +//! Author: Empire +//! Author: Ollo (supported by glm-4.7-flash) +//! +//! Based on the Project https://www.ccc-mannheim.de/wiki/LED-Board +//! and the following file: https://github.com/C3MA/LED-Board/blob/master/client/bin/src/straba.rs +//! Provides functions to look up station IDs and fetch departure data from the RNV API. + use chrono::DateTime; use std::time::{SystemTime, UNIX_EPOCH};