diff --git a/Cargo.toml b/Cargo.toml index 82ace70be..ec578c8ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,6 @@ members = [ ] [features] -stop_location = [] xmllint = ["proj"] [dependencies] diff --git a/src/ntfs/write.rs b/src/ntfs/write.rs index e721a5254..fc2ada32b 100644 --- a/src/ntfs/write.rs +++ b/src/ntfs/write.rs @@ -445,14 +445,6 @@ pub fn write_stops( stop_areas: &CollectionWithId, stop_locations: &CollectionWithId, ) -> Result<()> { - #[cfg(not(feature = "stop_location"))] - fn write_stop_locations( - _wtr: &mut Writer, - _stop_locations: &CollectionWithId, - ) -> Result<()> { - Ok(()) - } - #[cfg(feature = "stop_location")] fn write_stop_locations( wtr: &mut Writer, stop_locations: &CollectionWithId, diff --git a/tests/gtfs2ntfs.rs b/tests/gtfs2ntfs.rs index d0aa5acdd..7b4c27f3e 100644 --- a/tests/gtfs2ntfs.rs +++ b/tests/gtfs2ntfs.rs @@ -150,7 +150,6 @@ fn test_gtfs_with_platforms() { }); } -#[cfg(feature = "stop_location")] #[test] fn test_gtfs_with_levels() { test_in_tmp_dir(|path| {