Skip to content

Commit 078a314

Browse files
authored
Update zoneinfo64 and Diplomat (#713)
1 parent 2f1a256 commit 078a314

File tree

3 files changed

+51
-27
lines changed

3 files changed

+51
-27
lines changed

Cargo.lock

Lines changed: 42 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ zerovec = "0.11.0"
5151
databake = "0.2.0"
5252
zerotrie = "0.2.0"
5353
writeable = "0.6.0"
54-
zoneinfo64 = "0.2.0"
54+
zoneinfo64 = "0.3.0"
5555
ixdtf = "0.6.4"
5656

5757
# Diplomat
58-
diplomat-tool = { version = "0.14.0", default-features = false }
59-
diplomat-runtime = { version = "0.14.0", default-features = false }
60-
diplomat = { version = "0.14.0", default-features = false }
58+
diplomat-tool = { version = "0.15.0", default-features = false }
59+
diplomat-runtime = { version = "0.15.0", default-features = false }
60+
diplomat = { version = "0.15.0", default-features = false }
6161

6262

6363
[package]

provider/src/zoneinfo64.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ impl TimeZoneResolver for ZoneInfo64<'_> {
104104
},
105105
])
106106
}
107+
_ => {
108+
return Err(TimeZoneProviderError::Assert(
109+
"Found unknown PossibleOffset value",
110+
))
111+
}
107112
};
108113
Ok(result)
109114
}

0 commit comments

Comments
 (0)