Skip to content

Commit

Permalink
Merge pull request #556 from woshilapin/stop-locations
Browse files Browse the repository at this point in the history
[feature] Support StopLocation write by default
  • Loading branch information
patochectp authored Mar 2, 2020
2 parents e08ca57 + cdf793b commit f16bd08
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ members = [
]

[features]
stop_location = []
xmllint = ["proj"]

[dependencies]
Expand Down
8 changes: 0 additions & 8 deletions src/ntfs/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,14 +445,6 @@ pub fn write_stops(
stop_areas: &CollectionWithId<StopArea>,
stop_locations: &CollectionWithId<StopLocation>,
) -> Result<()> {
#[cfg(not(feature = "stop_location"))]
fn write_stop_locations(
_wtr: &mut Writer<File>,
_stop_locations: &CollectionWithId<StopLocation>,
) -> Result<()> {
Ok(())
}
#[cfg(feature = "stop_location")]
fn write_stop_locations(
wtr: &mut Writer<File>,
stop_locations: &CollectionWithId<StopLocation>,
Expand Down
1 change: 0 additions & 1 deletion tests/gtfs2ntfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ fn test_gtfs_with_platforms() {
});
}

#[cfg(feature = "stop_location")]
#[test]
fn test_gtfs_with_levels() {
test_in_tmp_dir(|path| {
Expand Down

0 comments on commit f16bd08

Please sign in to comment.