fix: pin icu_calendar <2.2 to work around temporal_rs/deno_core incompatibility

This commit is contained in:
2026-04-06 19:42:45 +01:00
parent ad921fd14b
commit 556c9bc4b3
4 changed files with 9 additions and 2 deletions

View File

@@ -1,2 +1,5 @@
[build]
rustc-wrapper = "/opt/homebrew/bin/sccache"
[registries.sunbeam]
index = "sparse+https://src.sunbeam.pt/api/packages/studio/cargo/"

2
.gitignore vendored
View File

@@ -3,4 +3,4 @@ Cargo.lock
*.swp
*.swo
.DS_Store
.env
.env*

View File

@@ -1,5 +1,5 @@
[workspace]
members = ["wfe-core", "wfe-sqlite", "wfe-postgres", "wfe-opensearch", "wfe-valkey", "wfe", "wfe-yaml", "wfe-buildkit", "wfe-containerd", "wfe-containerd-protos", "wfe-buildkit-protos", "wfe-rustlang", "wfe-server-protos", "wfe-server", "wfe-deno", "wfe-kubernetes"]
members = ["wfe-core", "wfe-sqlite", "wfe-postgres", "wfe-opensearch", "wfe-valkey", "wfe", "wfe-yaml", "wfe-buildkit", "wfe-containerd", "wfe-containerd-protos", "wfe-buildkit-protos", "wfe-rustlang", "wfe-server-protos", "wfe-server", "wfe-kubernetes", "wfe-deno"]
resolver = "2"
[workspace.package]
@@ -56,6 +56,7 @@ regex = "1"
# Deno runtime
deno_core = "0.394"
deno_error = "0.7"
url = "2"

View File

@@ -19,6 +19,9 @@ async-trait = { workspace = true }
tracing = { workspace = true }
chrono = { workspace = true }
# Pin icu crates to 2.1.x -- icu 2.2 broke temporal_rs (deno_core transitive dep)
icu_calendar = ">=2.1, <2.2"
[dev-dependencies]
pretty_assertions = { workspace = true }
tokio = { workspace = true, features = ["test-util"] }