Skip to content

Commit

Permalink
Make fraction and num-bigint an optional dep of datagen (unicode-org#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth authored Dec 14, 2023
1 parent 94fa985 commit 39139b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions provider/datagen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ 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 }
num-bigint = { version = "0.4.4", default-features = false }
fraction = { version = "0.14.0", default-features = false, optional = true }
num-bigint = { version = "0.4.4", default-features = false, optional = true }


# Dependencies for "bin" feature
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", "dep:num-bigint"]
experimental_components = [
"icu_compactdecimal",
"icu_displaynames",
Expand Down
5 changes: 0 additions & 5 deletions tools/depcheck/src/allowlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,13 @@ pub const EXTRA_DATAGEN_DEPS: &[&str] = &[
"databake-derive",
"elsa",
"erased-serde",
"fraction",
"icu_codepointtrie_builder",
"itertools",
"itoa",
"matrixmultiply",
"ndarray",
"num",
"num-bigint",
"num-complex",
"num-integer",
"num-iter",
"num-rational",
"num-traits",
"once_cell",
"rawpointer",
Expand Down

0 comments on commit 39139b7

Please sign in to comment.