Skip to content

Commit

Permalink
Fix Intl build
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Sep 26, 2023
1 parent 3379753 commit fda03ea
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 343 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

32 changes: 18 additions & 14 deletions boa_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ intl = [
"dep:sys-locale",
"dep:yoke",
"dep:zerofrom",
"dep:tinystr",
"dep:icu_provider_macros"
]

fuzz = ["boa_ast/arbitrary", "boa_interner/arbitrary"]
Expand Down Expand Up @@ -76,23 +78,25 @@ num_enum = "0.6.1"
pollster = "0.3.0"
thin-vec = "0.2.12"
itertools = { version = "0.11.0", default-features = false }
icu_normalizer = { version = "1.2.0", features = ["serde"] }
icu_normalizer = { version = "~1.2.0", features = ["serde"] }

# intl deps
icu_locid_transform = { version = "1.2.1", features = ["std", "serde"], optional = true }
icu_locid = { version = "1.2.0", features = ["serde"], optional = true }
icu_datetime = { version = "1.2.1", features = ["serde", "experimental"], optional = true }
icu_calendar = { version = "1.2.0", optional = true }
icu_collator = { version = "1.2.0", features = ["serde"], optional = true }
icu_plurals = { version = "1.2.0", features = ["serde"], optional = true }
icu_provider = { version = "1.2.0", optional = true }
icu_list = { version = "1.2.0", features = ["serde"], optional = true }
icu_casemapping = { version = "0.7.2", features = ["serde"], optional = true}
icu_segmenter = { version = "1.2.1", features = ["serde"], optional = true }
writeable = { version = "0.5.2", optional = true }
yoke = { version = "0.7.1", optional = true }
zerofrom = { version = "0.1.2", optional = true }
sys-locale = { version = "0.3.0", optional = true }
icu_locid_transform = { version = "~1.2.1", features = ["std", "serde"], optional = true }
icu_locid = { version = "~1.2.0", features = ["serde"], optional = true }
icu_datetime = { version = "~1.2.1", features = ["serde", "experimental"], optional = true }
icu_calendar = { version = "~1.2.0", optional = true }
icu_collator = { version = "~1.2.0", features = ["serde"], optional = true }
icu_plurals = { version = "~1.2.0", features = ["serde"], optional = true }
icu_provider = { version = "~1.2.0", optional = true }
icu_list = { version = "~1.2.0", features = ["serde"], optional = true }
icu_casemapping = { version = "~0.7.2", features = ["serde"], optional = true}
icu_segmenter = { version = "~1.2.1", features = ["serde"], optional = true }
writeable = { version = "~0.5.2", optional = true }
yoke = { version = "~0.7.1", optional = true }
zerofrom = { version = "~0.1.2", optional = true }
tinystr = { version = ">=0.7.0, <0.7.3", optional = true }
icu_provider_macros = { version = "~1.2.0", optional = true }

[dev-dependencies]
criterion = "0.5.1"
Expand Down
16 changes: 8 additions & 8 deletions boa_icu_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
icu_provider = { version = "1.2.0", features = ["serde", "sync"] }
icu_collections = "1.2.0"
icu_normalizer = "1.2.0"
icu_properties = "1.2.0"
icu_provider_blob = { version = "1.2.0" }
icu_provider_adapters = { version = "1.2.0", features = ["serde"] }
icu_provider = { version = "~1.2.0", features = ["serde", "sync"] }
icu_collections = "~1.2.0"
icu_normalizer = "~1.2.0"
icu_properties = "~1.2.0"
icu_provider_blob = { version = "~1.2.0" }
icu_provider_adapters = { version = "~1.2.0", features = ["serde"] }
once_cell = { version = "1.18.0", default-features = false, features = ["critical-section"] }

icu_datagen = { version = "1.2.5", optional = true }
icu_datagen = { version = "~1.2.5", optional = true }
log = { version = "0.4.19", optional = true }
simple_logger = { version = "4.2.0", optional = true }
icu_casemapping = { version = "0.7.2", optional = true }
icu_casemapping = { version = "~0.7.2", optional = true }

[features]
default = ["std"]
Expand Down
2 changes: 0 additions & 2 deletions boa_icu_provider/data/min/any.rs

This file was deleted.

177 changes: 0 additions & 177 deletions boa_icu_provider/data/min/mod.rs

This file was deleted.

6 changes: 0 additions & 6 deletions boa_icu_provider/data/min/normalizer/comp_v1/mod.rs

This file was deleted.

Loading

0 comments on commit fda03ea

Please sign in to comment.