Skip to content

Commit

Permalink
Use paths for dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Sep 23, 2023
1 parent f95eeff commit be49328
Show file tree
Hide file tree
Showing 31 changed files with 70 additions and 70 deletions.
4 changes: 2 additions & 2 deletions components/calendar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ icu_calendar_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
serde = { version = "1.0", features = ["derive", "alloc"] }
serde_json = "1.0"

Expand Down
8 changes: 4 additions & 4 deletions components/casemap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo
icu_casemap_data = { workspace = true, optional = true }

[dev-dependencies]
icu = { workspace = true }
icu_normalizer = { workspace = true , features = ["compiled_data"]}
icu_benchmark_macros = { workspace = true }
icu_collections = { workspace = true , features = ["databake"] }
icu = { path = "../../components/icu", default-features = false }
icu_normalizer = { path = "../../components/normalizer", features = ["compiled_data"]}
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
icu_collections = { path = "../../components/collections", features = ["databake"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion components/collator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ icu_locid_transform = { workspace = true, optional = true, features = ["compiled
[dev-dependencies]
arraystring = "0.3.0"
atoi = "1.0.0"
icu = { workspace = true }
icu = { path = "../../components/icu", default-features = false }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
6 changes: 3 additions & 3 deletions components/collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ postcard = { version = "1.0.0", features = ["alloc"], default-features = false }
toml = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
icu_benchmark_macros = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
iai = "0.1.1"
icu = { workspace = true }
icu_properties = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_properties = { path = "../../components/properties", default-features = false }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
10 changes: 5 additions & 5 deletions components/datetime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ icu_locid_transform = { workspace = true, optional = true, features = ["compiled
litemap = { workspace = true, optional = true }

[dev-dependencies]
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
icu_provider_adapters = { workspace = true }
icu_provider_blob = { workspace = true }
litemap = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
icu_provider_adapters = { path = "../../provider/adapters" }
icu_provider_blob = { path = "../../provider/blob" }
litemap = { path = "../../utils/litemap" }

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions components/decimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ icu_decimal_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
icu_provider_adapters = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
icu_provider_adapters = { path = "../../provider/adapters" }
rand = "0.8"
rand_pcg = "0.3"
rand_distr = "0.4"
Expand Down
8 changes: 4 additions & 4 deletions components/icu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ icu_transliterate = { workspace = true, features = ["compile"], optional = true
icu_provider = { workspace = true }

[dev-dependencies]
icu_datetime = { workspace = true, features = ["serde"] }
icu_provider_adapters = { workspace = true, features = ["serde"] }
icu_provider_blob = { workspace = true }
writeable = { workspace = true }
icu_datetime = { path = "../../components/datetime", features = ["serde"] }
icu_provider_adapters = { path = "../../provider/adapters", features = ["serde"] }
icu_provider_blob = { path = "../../provider/blob" }
writeable = { path = "../../utils/writeable" }

[features]
default = [
Expand Down
4 changes: 2 additions & 2 deletions components/list/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ icu_locid_transform = { workspace = true, optional = true, features = ["compiled
[dev-dependencies]
serde_json = "1"
postcard = { version = "1.0.0", features = ["use-std"], default-features = false }
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }

[features]
default = ["compiled_data"]
Expand Down
6 changes: 3 additions & 3 deletions components/locid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ zerovec = { workspace = true, optional = true }

[dev-dependencies]
iai = "0.1.1"
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
litemap = { workspace = true, features = ["testing"]}
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
litemap = { path = "../../utils/litemap", features = ["testing"]}
postcard = { version = "1.0.0", default-features = false, features = ["use-std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions components/locid_transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ icu_locid_transform_data = { workspace = true, optional = true }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
icu = { workspace = true }
writeable = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
writeable = { path = "../../utils/writeable" }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions components/plurals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ icu_plurals_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { workspace = true }
icu_benchmark_macros = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion components/properties/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ icu_properties_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { workspace = true, default-features = false }
icu = { path = "../../components/icu", default-features = false }

[features]
default = ["compiled_data"]
Expand Down
2 changes: 1 addition & 1 deletion components/segmenter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ icu_locid_transform = { workspace = true, optional = true, features = ["compiled
[dev-dependencies]
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
icu = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
itertools = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion components/timezone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo
icu_timezone_data = { workspace = true, optional = true }

[dev-dependencies]
icu = { workspace = true }
icu = { path = "../../components/icu", default-features = false }

[features]
default = ["compiled_data"]
Expand Down
2 changes: 1 addition & 1 deletion experimental/compactdecimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ icu_compactdecimal_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"]}

[dev-dependencies]
icu_locid = { workspace = true }
icu_locid = { path = "../../components/locid" }

[features]
default = ["compiled_data"]
Expand Down
2 changes: 1 addition & 1 deletion experimental/relativetime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ icu_relativetime_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { workspace = true, features = ["icu_relativetime"] }
icu = { path = "../../components/icu", default-features = false, features = ["icu_relativetime"] }

[features]
default = ["compiled_data"]
Expand Down
6 changes: 3 additions & 3 deletions experimental/zerotrie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ zerovec = { workspace = true, optional = true }

[dev-dependencies]
bincode = "1.0"
icu_benchmark_macros = { workspace = true }
litemap = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
litemap = { path = "../../utils/litemap" }
postcard = { version = "1.0", default-features = false, features = ["alloc"] }
rand = "0.8"
rand_pcg = "0.3"
serde = { version = "1.0", default-features = false }
serde_json = "1.0"
zerovec = { workspace = true, features = ["serde", "hashmap"] }
zerovec = { path = "../../utils/zerovec", features = ["serde", "hashmap"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
10 changes: 5 additions & 5 deletions provider/adapters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ databake = { workspace = true, features = ["derive"], optional = true}
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }

[dev-dependencies]
icu_provider = { workspace = true, features = ["macros", "deserialize_json"] }
icu_provider_fs = { workspace = true }
icu_provider_blob = { workspace = true }
icu_locid_transform = { workspace = true }
writeable = { workspace = true }
icu_provider = { path = "../../provider/core", features = ["macros", "deserialize_json"] }
icu_provider_fs = { path = "../../provider/fs" }
icu_provider_blob = { path = "../../provider/blob" }
icu_locid_transform = { path = "../../components/locid_transform" }
writeable = { path = "../../utils/writeable" }

[features]
std = ["icu_locid/std", "icu_provider/std"]
Expand Down
4 changes: 2 additions & 2 deletions provider/blob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ zerovec = { workspace = true, features = ["serde", "yoke"] }
log = { version = "0.4", optional = true }

[dev-dependencies]
icu_locid = { workspace = true, features = ["serde"] }
icu_datagen = { workspace = true, features = ["networking"] }
icu_locid = { path = "../../components/locid", features = ["serde"] }
icu_datagen = { path = "../../provider/datagen", features = ["networking"] }

[features]
std = ["icu_provider/std"]
Expand Down
4 changes: 2 additions & 2 deletions provider/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ databake = { workspace = true, optional = true, features = ["derive"] }

[dev-dependencies]
serde_json = "1.0"
icu_provider_adapters = { workspace = true }
icu_locid_transform = { workspace = true }
icu_provider_adapters = { path = "../../provider/adapters" }
icu_locid_transform = { path = "../../components/locid_transform" }

[features]
std = ["icu_locid/std"]
Expand Down
4 changes: 2 additions & 2 deletions provider/datagen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ eyre = { version = "0.6", optional = true }
simple_logger = { version = "4.1.0", default-features = false, optional = true }

[dev-dependencies]
crlify = { workspace = true }
icu = { workspace = true }
crlify = { path = "../../utils/crlify" }
icu = { path = "../../components/icu" }
postcard = "1"
simple_logger = { version = "4.1.0", default-features = false }

Expand Down
10 changes: 5 additions & 5 deletions provider/fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ postcard = { version = "1.0.0", features = ["alloc"], default-features = false,
serde_json = { version = "1.0", optional = true }

[dev-dependencies]
icu_benchmark_macros = { workspace = true }
icu_locid = { workspace = true, features = ["serde"] }
icu_provider = { workspace = true, features = ["deserialize_json", "deserialize_bincode_1", "deserialize_postcard_1", "datagen"] }
icu_datagen = { workspace = true, features = ["networking"] }
writeable = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
icu_locid = { path = "../../components/locid", features = ["serde"] }
icu_provider = { path = "../../provider/core", features = ["deserialize_json", "deserialize_bincode_1", "deserialize_postcard_1", "datagen"] }
icu_datagen = { path = "../../provider/datagen", features = ["networking"] }
writeable = { path = "../../utils/writeable" }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion provider/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ quote = "1.0.9"
syn = { version = "2", features = ["full", "parsing"]}

[dev-dependencies]
icu_provider = { workspace = true }
icu_provider = { path = "../../provider/core" }
2 changes: 1 addition & 1 deletion utils/databake/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ syn = { version = "2", features = ["derive", "fold"] }
synstructure = "0.13"

[dev-dependencies]
databake = { workspace = true, features = ["derive"]}
databake = { path = "..", features = ["derive"]}
2 changes: 1 addition & 1 deletion utils/fixed_decimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ryu = { version = "1.0.5", features = ["small"], optional = true }

[dev-dependencies]
getrandom = { version = "0.2", features = ["js"] }
icu_benchmark_macros = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
rand = "0.8"
rand_distr = "0.4"
rand_pcg = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions utils/litemap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ yoke = { workspace = true, features = ["derive"], optional = true }
[dev-dependencies]
bincode = "1"
bytecheck = "0.6"
icu_benchmark_macros = { workspace = true }
icu_locid = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
icu_locid = { path = "../../components/locid" }
postcard = { version = "1.0.0", features = ["use-std"], default-features = false }
rkyv = { version = "0.7", features = ["validation"] }
serde = "1"
Expand Down
2 changes: 1 addition & 1 deletion utils/writeable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ independent = true
all-features = true

[dev-dependencies]
icu_benchmark_macros = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
rand = { version = "0.8", features = ["small_rng"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions utils/yoke/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ syn = { version = "2", features = ["derive", "fold"] }
synstructure = "0.13"

[dev-dependencies]
yoke = { workspace = true }
zerovec = { workspace = true }
yoke = { path = ".." }
zerovec = { path = "../../../utils/zerovec" }
4 changes: 2 additions & 2 deletions utils/zerofrom/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ syn = { version = "2", features = ["derive", "fold", "visit"] }
synstructure = "0.13"

[dev-dependencies]
zerofrom = { workspace = true, features = ["derive"]}
zerovec = { workspace = true, features = ["yoke"] }
zerofrom = { path = "..", features = ["derive"]}
zerovec = { path = "../../../utils/zerofrom", features = ["yoke"] }

6 changes: 3 additions & 3 deletions utils/zerovec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ t1ha = { version = "0.1", optional = true }
bincode = "1.3"
getrandom = { version = "0.2", features = ["js"] }
iai = "0.1"
icu_benchmark_macros = { workspace = true }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
postcard = { version = "1.0.0", features = ["use-std"], default-features = false }
rand = "0.8"
rand_distr = "0.4"
rand_pcg = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
yoke = { workspace = true, features = ["derive"] }
zerofrom = { workspace = true, features = ["derive"] }
yoke = { path = "../../utils/yoke", features = ["derive"] }
zerofrom = { path = "../../utils/zerofrom", features = ["derive"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions utils/zerovec/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ quote = "1.0.9"
syn = { version = "2", features = ["derive", "parsing", "extra-traits"] }

[dev-dependencies]
zerovec = { workspace = true, features = ["serde", "derive"] }
zerovec = { path = "..", features = ["serde", "derive"] }
serde = { version = "1.0", features = ["derive"] }
zerofrom = { workspace = true }
zerofrom = { path = "../../../utils/zerofrom" }
bincode = "1.3"
serde_json = "1.0"

0 comments on commit be49328

Please sign in to comment.