aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs21
-rw-r--r--src/stations.rs21
2 files changed, 42 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 549b190..27fc7eb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
+// See copyright information at the end of the file
pub mod stations;
use std::{process::exit, env::args, io};
use chrono::{DateTime, Local, Datelike, Timelike};
@@ -387,3 +388,23 @@ fn main() -> Result<(), io::Error> {
};
Ok(())
}
+
+/*
+ * Copyright ©️ 20224 Mario Forzanini <mf@marioforzanini.com>
+ *
+ * This file is part of trenord.
+ *
+ * This file is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or (at your
+ * option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this file. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
diff --git a/src/stations.rs b/src/stations.rs
index e78c93c..ae7f598 100644
--- a/src/stations.rs
+++ b/src/stations.rs
@@ -1,3 +1,4 @@
+// See copyright information at the end of the file
pub const STATIONS: [&'static str; 2963] = [
"ABANO TERME",
"ABBADIA LARIANA",
@@ -2963,3 +2964,23 @@ pub const STATIONS: [&'static str; 2963] = [
"ZOAGLI",
"ZURICH ALTSTETTEN",
];
+
+/*
+ * Copyright ©️ 20224 Mario Forzanini <mf@marioforzanini.com>
+ *
+ * This file is part of trenord.
+ *
+ * This file is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or (at your
+ * option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this file. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */