Skip to content

Commit a3026c2

Browse files
authored
Merge pull request #177 from catenarytransit/main
impl Eq for CalendarDate
2 parents 4884a9f + ad30ad5 commit a3026c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
description = "Read GTFS (public transit timetables) files"
33
name = "gtfs-structures"
4-
version = "0.45.0"
4+
version = "0.45.1"
55
authors = [
66
"Tristram Gräbener <[email protected]>",
77
"Antoine Desbordes <[email protected]>",

src/objects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Calendar {
129129
}
130130

131131
/// Defines a specific date that can be added or removed from a [Calendar]. See <https://gtfs.org/reference/static/#calendar_datestxt>
132-
#[derive(Debug, Clone, Deserialize, Serialize)]
132+
#[derive(Debug, Clone, Deserialize, Serialize, Eq, PartialEq)]
133133
pub struct CalendarDate {
134134
/// Identifier of the service that is modified at this date
135135
pub service_id: String,

0 commit comments

Comments
 (0)