From e3b6f6c0559797efab9589cad178f5b19dff4921 Mon Sep 17 00:00:00 2001 From: Kevin <46825870+nekevss@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:52:09 -0500 Subject: [PATCH] Fix `temporal_rs` in Cargo.toml (#3702) * Fix temporal_rs Cargo.toml * Adjust to dep:temporal_rs --- core/engine/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/engine/Cargo.toml b/core/engine/Cargo.toml index 32a778d304..3b735707ce 100644 --- a/core/engine/Cargo.toml +++ b/core/engine/Cargo.toml @@ -58,7 +58,7 @@ trace = ["js"] annex-b = ["boa_parser/annex-b"] # Enable Boa's Temporal proposal implementation -temporal = ["dep:icu_calendar"] +temporal = ["dep:icu_calendar", "dep:temporal_rs"] # Enable experimental features, like Stage 3 proposals. experimental = ["temporal"] @@ -126,7 +126,7 @@ fixed_decimal = { workspace = true, features = ["ryu", "experimental"], optional tinystr = { workspace = true, optional = true } # temporal deps -temporal_rs = "0.0.1" +temporal_rs = { version = "0.0.1", optional = true } [target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies] web-time = { version = "1.0.0", optional = true }