Skip to content

Commit

Permalink
Make fraction an optional dep of datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Dec 13, 2023
1 parent 94fa985 commit 5f408a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions provider/datagen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ zip = { version = ">=0.5, <0.7", default-features = false, features = ["deflate"
rayon = { version = "1.5", optional = true }
ureq = { version = "2", optional = true }

fraction = {version = "0.14.0", default-features = false }
fraction = { version = "0.14.0", default-features = false, optional = true }
num-bigint = { version = "0.4.4", default-features = false }


Expand Down Expand Up @@ -130,7 +130,7 @@ icu_compactdecimal = ["dep:icu_compactdecimal"]
icu_displaynames = ["dep:icu_displaynames"]
icu_relativetime = ["dep:icu_relativetime"]
icu_transliterate = ["dep:icu_transliterate"]
icu_unitsconversion = ["dep:icu_unitsconversion"]
icu_unitsconversion = ["dep:icu_unitsconversion", "dep:fraction"]
experimental_components = [
"icu_compactdecimal",
"icu_displaynames",
Expand Down
1 change: 0 additions & 1 deletion tools/depcheck/src/allowlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ pub const EXTRA_DATAGEN_DEPS: &[&str] = &[
"databake-derive",
"elsa",
"erased-serde",
"fraction",
"icu_codepointtrie_builder",
"itertools",
"itoa",
Expand Down

0 comments on commit 5f408a7

Please sign in to comment.