mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
PR-URL: https://github.com/nodejs/node/pull/62284 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
# This file defines all third-party Rust dependencies approved for use
|
|
# in Node.js.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "node_crates"
|
|
version = "0.1.0"
|
|
rust-version = "1.82"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
[dependencies]
|
|
# Pin all temporal dependencies to the last version support rustc 1.82
|
|
icu_collections = "~2.0.0"
|
|
icu_locale_core = "~2.0.0"
|
|
icu_provider = "~2.0.0"
|
|
timezone_provider = "=0.1.0"
|
|
|
|
[dependencies.temporal_capi]
|
|
version = "=0.1.0"
|
|
features = ["zoneinfo64"]
|
|
default-features = false
|
|
|
|
[dependencies.temporal_rs]
|
|
version = "=0.1.0"
|
|
default-features = false
|
|
# This is necessary to enable a spec-compliance quirk when upgrading to v0.1.2
|
|
# features = ["float64_representable_durations"]
|
|
|
|
# Disable `icu_calendar_data` and `icu_locale_data` crates with disabling
|
|
# `compiled_data` features. However these datasets are still enabled until
|
|
# https://github.com/boa-dev/temporal/pull/694 lands.
|
|
[dependencies.icu_calendar]
|
|
version = "~2.0.0"
|
|
features = [
|
|
"ixdtf", # Parser for Internet eXtended DateTime Format
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.icu_locale]
|
|
version = "~2.0.0"
|
|
default-features = false
|
|
|
|
[patch.crates-io]
|
|
# Float https://github.com/unicode-org/icu4x/pull/7658 until crate is updated.
|
|
resb = { path="patches/resb" }
|