diff --git a/Cargo.lock b/Cargo.lock index 905ca99b..11cc12d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -656,7 +656,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d59ae0466b83e838b81a54256c39d5d7c20b9d7daa10510a242d9b75abd5936e" dependencies = [ "chrono", - "chrono-tz-build", + "chrono-tz-build 0.2.1", + "phf", +] + +[[package]] +name = "chrono-tz" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6dd8046d00723a59a2f8c5f295c515b9bb9a331ee4f8f3d4dd49e428acd3b6" +dependencies = [ + "chrono", + "chrono-tz-build 0.4.0", "phf", "serde", ] @@ -672,6 +683,16 @@ dependencies = [ "phf_codegen", ] +[[package]] +name = "chrono-tz-build" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94fea34d77a245229e7746bd2beb786cd2a896f306ff491fb8cecb3074b10a7" +dependencies = [ + "parse-zoneinfo", + "phf_codegen", +] + [[package]] name = "colorchoice" version = "1.0.2" @@ -1822,7 +1843,7 @@ dependencies = [ "actix-web", "anyhow", "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "futures", "nittei_api", "nittei_domain", @@ -1854,7 +1875,7 @@ dependencies = [ "async-trait", "awc", "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "futures", "jsonwebtoken", "nittei_api_structs", @@ -1877,7 +1898,7 @@ name = "nittei_api_structs" version = "0.3.1" dependencies = [ "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "nittei_domain", "serde", "serde_json", @@ -1893,7 +1914,7 @@ version = "0.2.1" dependencies = [ "anyhow", "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "itertools", "jsonwebtoken", "nittei_utils", @@ -1915,7 +1936,7 @@ dependencies = [ "anyhow", "async-trait", "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "futures", "nittei_domain", "nittei_utils", @@ -1933,7 +1954,7 @@ name = "nittei_sdk" version = "0.4.1" dependencies = [ "chrono", - "chrono-tz", + "chrono-tz 0.10.0", "nittei_api_structs", "nittei_domain", "reqwest 0.12.4", @@ -2755,7 +2776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa903a94a0360e2b693d30028605c10105c5a830e6fc39d489dd3cc4e05f1cac" dependencies = [ "chrono", - "chrono-tz", + "chrono-tz 0.8.6", "lazy_static", "log", "regex", diff --git a/bins/nittei/Cargo.toml b/bins/nittei/Cargo.toml index 2cfe1489..d3bb47e2 100644 --- a/bins/nittei/Cargo.toml +++ b/bins/nittei/Cargo.toml @@ -42,7 +42,7 @@ opentelemetry-datadog = { version = "0.11.0", features = ["reqwest-client"] } openssl-probe = "0.1.2" chrono = "0.4.19" -chrono-tz = "0.8.1" +chrono-tz = "0.10.0" # Use Jemalloc only for musl-64 bits platforms # The default MUSL allocator is known to be slower than Jemalloc diff --git a/clients/rust/Cargo.toml b/clients/rust/Cargo.toml index 8e949131..dc5949c9 100644 --- a/clients/rust/Cargo.toml +++ b/clients/rust/Cargo.toml @@ -20,4 +20,4 @@ reqwest = { version = "0.12", default-features = false, features = [ serde = "1" serde_json = "1" chrono = { version = "0.4.19", features = ["serde"] } -chrono-tz = { version = "0.8.1", features = ["serde"] } +chrono-tz = { version = "0.10.0", features = ["serde"] } diff --git a/crates/api/Cargo.toml b/crates/api/Cargo.toml index f77d2867..af544ffb 100644 --- a/crates/api/Cargo.toml +++ b/crates/api/Cargo.toml @@ -24,7 +24,7 @@ awc = "3.5" async-trait = "0.1.83" rrule = "0.12.0" chrono = { version = "0.4.19", features = ["serde"] } -chrono-tz = "0.8.1" +chrono-tz = "0.10.0" anyhow = "1.0" jsonwebtoken = "7" thiserror = "1.0" diff --git a/crates/api_structs/Cargo.toml b/crates/api_structs/Cargo.toml index 65822104..0e28b9c8 100644 --- a/crates/api_structs/Cargo.toml +++ b/crates/api_structs/Cargo.toml @@ -15,7 +15,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" validator = { version = "0.18", features = ["derive"] } chrono = { version = "0.4.19", features = ["serde"] } -chrono-tz = { version = "0.8.1", features = ["serde"] } +chrono-tz = { version = "0.10.0", features = ["serde"] } uuid = { version = "1.1.2", features = ["serde"] } # TODO: Adapt this once a release is done with the JSON value changes # https://github.com/Aleph-Alpha/ts-rs/pull/358 and https://github.com/Aleph-Alpha/ts-rs/pull/359 diff --git a/crates/domain/Cargo.toml b/crates/domain/Cargo.toml index 82b32728..5ea94b95 100644 --- a/crates/domain/Cargo.toml +++ b/crates/domain/Cargo.toml @@ -15,7 +15,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rrule = "0.12.0" chrono = { version = "0.4.19", features = ["serde"] } -chrono-tz = { version = "0.8.1", features = ["serde"] } +chrono-tz = { version = "0.10.0", features = ["serde"] } anyhow = "1.0" url = "2.3.0" uuid = { version = "1.1.2", features = ["serde", "v4"] } diff --git a/crates/infra/Cargo.toml b/crates/infra/Cargo.toml index 2f79dbbf..079700a7 100644 --- a/crates/infra/Cargo.toml +++ b/crates/infra/Cargo.toml @@ -14,7 +14,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" async-trait = "0.1.83" chrono = { version = "0.4.19", features = ["serde"] } -chrono-tz = { version = "0.8.1", features = ["serde"] } +chrono-tz = { version = "0.10.0", features = ["serde"] } anyhow = "1.0" tokio = { version = "1", features = ["macros"] } tracing = "0.1.25"