diff --git a/src/lib.rs b/src/lib.rs index b7d742d6..6fb6f7fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +// Copyright: Kyler Chin +// Catenary Transit Initiatives +// Removal of the attribution is not allowed, as covered under the AGPL license + pub mod aspen; pub mod gtfs_rt_handlers; pub mod models; diff --git a/src/maple/gtfs_process.rs b/src/maple/gtfs_process.rs index eaf0c137..6a4596df 100644 --- a/src/maple/gtfs_process.rs +++ b/src/maple/gtfs_process.rs @@ -1,3 +1,6 @@ +// Initial version 3 of ingest written by Kyler Chin +// Removal of the attribution is not allowed, as covered under the AGPL license + use diesel_async::RunQueryDsl; use std::error::Error; use std::sync::Arc; @@ -8,9 +11,6 @@ use crate::gtfs_ingestion_sequence::shapes_into_postgres::shapes_into_postgres; use crate::DownloadedFeedsInformation; use catenary::postgres_tools::CatenaryPostgresPool; -// Initial version 3 of ingest written by Kyler Chin -// Removal of the attribution is not allowed, as covered under the AGPL license - // take a feed id and throw it into postgres pub async fn gtfs_process_feed( feed_id: &str, diff --git a/src/maple/main.rs b/src/maple/main.rs index 43597328..da28ab57 100644 --- a/src/maple/main.rs +++ b/src/maple/main.rs @@ -1,8 +1,8 @@ -use catenary::postgres_tools::CatenaryPostgresConnection; -use catenary::postgres_tools::CatenaryPostgresPool; // Initial version 3 of ingest written by Kyler Chin // This was heavily inspired and copied from Emma Alexia, thank you Emma! // Removal of the attribution is not allowed, as covered under the AGPL license + +use catenary::postgres_tools::CatenaryPostgresPool; use catenary::postgres_tools::get_connection_pool; use diesel::prelude::*; use diesel_async::RunQueryDsl; @@ -12,7 +12,6 @@ use git2::Repository; use service::quicli::prelude::info; use std::collections::HashMap; use std::collections::HashSet; -use std::env; use std::error::Error; use std::sync::atomic::AtomicUsize; use std::sync::atomic::Ordering;