Skip to content

Commit

Permalink
Make collator and normalizer optional deps of datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
hsivonen committed May 11, 2022
1 parent d1f6407 commit 433ea9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions provider/datagen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ elsa = "1.7"
eyre = "0.6"
icu_calendar = { version = "0.5", path = "../../components/calendar", features = ["datagen"] }
icu_codepointtrie = { version = "0.3.3", path = "../../utils/codepointtrie", features = ["serde_serialize"] }
icu_collator = { version = "0.5", path = "../../experimental/collator", features = ["datagen"] }
icu_datetime = { version = "0.5", path = "../../components/datetime", features = ["datagen"] }
icu_decimal = { version = "0.5", path = "../../components/decimal", features = ["datagen"] }
icu_list = { version = "0.5", path = "../../components/list", features = ["datagen"]}
icu_locale_canonicalizer = { version = "0.5", path = "../../components/locale_canonicalizer", features = ["datagen"] }
icu_locid = { version = "0.5", path = "../../components/locid", features = ["std"]}
icu_normalizer = { version = "0.5", path = "../../experimental/normalizer", features = ["datagen"] }
icu_plurals = { version = "0.5", path = "../../components/plurals", features = ["datagen"] }
icu_properties = { version = "0.5", path = "../../components/properties", features = ["std", "datagen"]}
icu_provider = { version = "0.5", path = "../core", features = ["std", "log_error_context"]}
Expand Down Expand Up @@ -75,14 +73,16 @@ zerovec = { version = "0.6", path = "../../utils/zerovec", features = ["serde_se
# Experimental crates
icu_casemapping = { version = "0.1", path = "../../experimental/casemapping", features = ["datagen"], optional = true }
icu_segmenter = { version = "0.1", path = "../../experimental/segmenter", features = ["datagen"], optional = true }
icu_collator = { version = "0.5", path = "../../experimental/collator", features = ["datagen"], optional = true }
icu_normalizer = { version = "0.5", path = "../../experimental/normalizer", features = ["datagen"], optional = true }

# Dependencies for the "download-testdata" feature
reqwest = { version = "0.11", features = ["stream"], optional = true }
tokio = { version = "1.5", features = ["rt-multi-thread", "macros", "fs"], optional = true }
futures = { version = "0.3", optional = true }

[features]
experimental = ["icu_casemapping", "icu_segmenter"]
experimental = ["icu_casemapping", "icu_segmenter", "icu_normalizer", "icu_collator"]
# Automatically download CLDR and uprops data
download = ["cached-path"]
download-testdata = ["reqwest", "icu_testdata/metadata", "tokio", "futures"]
Expand Down

0 comments on commit 433ea9d

Please sign in to comment.