Skip to content

Commit

Permalink
[feature] Support StopLocation write by default
Browse files Browse the repository at this point in the history
  • Loading branch information
woshilapin committed Feb 28, 2020
1 parent 79f133c commit cdf793b
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 cdf793b

Please sign in to comment.