Skip to content

Commit

Permalink
bump chrono-tz to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-hunt-materialize committed Jan 2, 2025
1 parent bc3a989 commit 16db060
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ anyhow = "1.0.66"
bytes = "1.3.0"
bytesize = "1.1.0"
chrono = { version = "0.4.35", default-features = false, features = ["std"] }
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"] }
chrono-tz = { version = "0.9.0", features = ["serde", "case-insensitive"] }
crc32fast = "1.4.2"
csv = "1.1.6"
dec = "0.4.8"
Expand Down
4 changes: 2 additions & 2 deletions src/pgtz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true

[dependencies]
chrono = { version = "0.4.35", default-features = false, features = ["serde", "std"] }
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"] }
chrono-tz = { version = "0.9.0", features = ["serde", "case-insensitive"] }
mz-lowertest = { path = "../lowertest", default-features = false }
mz-ore = { path = "../ore", features = ["test"], default-features = false }
mz-proto = { path = "../proto", features = ["chrono"], default-features = false }
Expand All @@ -25,7 +25,7 @@ workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = tru

[build-dependencies]
anyhow = "1.0.66"
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"] }
chrono-tz = { version = "0.9.0", features = ["serde", "case-insensitive"] }
mz-build-tools = { path = "../build-tools", default-features = false }
mz-ore = { path = "../ore", default-features = false }
phf_codegen = "0.11.1"
Expand Down
2 changes: 1 addition & 1 deletion src/proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true
anyhow = "1.0.66"
bytes = "1.3.0"
chrono = { version = "0.4.35", default-features = false, features = ["serde", "std"], optional = true }
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"], optional = true }
chrono-tz = { version = "0.9.0", features = ["serde", "case-insensitive"], optional = true }
globset = "0.4.14"
http = "1.1.0"
mz-ore = { path = "../ore", default-features = false, features = ["proptest", "test"] }
Expand Down
3 changes: 2 additions & 1 deletion src/proto/src/chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ impl RustType<ProtoTz> for chrono_tz::Tz {
}

fn from_proto(proto: ProtoTz) -> Result<Self, TryFromProtoError> {
Tz::from_str(&proto.name).map_err(TryFromProtoError::DateConversionError)
Tz::from_str(&proto.name)
.map_err(|parse_error| TryFromProtoError::DateConversionError(parse_error.to_string()))
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/repr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bytes = "1.3.0"
cfg-if = "1.0.0"
columnation = "0.1.0"
chrono = { version = "0.4.35", default-features = false, features = ["serde", "std"] }
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"] }
chrono-tz = { version = "0.9.0", features = ["serde", "case-insensitive"] }
compact_bytes = "0.1.2"
dec = "0.4.8"
differential-dataflow = "0.13.2"
Expand Down

0 comments on commit 16db060

Please sign in to comment.