Skip to content

Commit

Permalink
Cargo.toml fixups for ICU4X 1.0.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Aug 6, 2022
1 parent e4a8294 commit 0afcfbc
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions components/calendar/Cargo.toml
Expand Up @@ -50,8 +50,8 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,
criterion = "0.3"
icu = { path = "../icu", default-features = false }
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }
icu_calendar = { version = "1.0.0-beta1", path = "../calendar", features = ["serde"] }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_calendar = { path = "../calendar", features = ["serde"] }
icu_testdata = { path = "../../provider/testdata" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion components/collator/Cargo.toml
Expand Up @@ -47,7 +47,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,
zerofrom = { version = "0.1.0", path = "../../utils/zerofrom" }

[dev-dependencies]
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
atoi = "1.0.0"
arraystring = "0.3.0"

Expand Down
5 changes: 3 additions & 2 deletions components/collections/codepointtrie_builder/Cargo.toml
Expand Up @@ -20,11 +20,12 @@ include = [
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md"
"README.md",
"list_to_ucptrie.wasm"
]

[dependencies]
icu_collections = { path = "..", features = ["serde"] }
icu_collections = { version = "1.0.0-beta1", path = "..", features = ["serde"] }
lazy_static = { version = "1.4.0" }
toml = "0.5"

Expand Down
4 changes: 2 additions & 2 deletions components/datetime/Cargo.toml
Expand Up @@ -56,9 +56,9 @@ icu = { path = "../icu", default-features = false, features = ["experimental"] }
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }
icu_provider = { version = "1.0.0-beta1", path = "../../provider/core" }
icu_provider_adapters = { path = "../../provider/adapters" }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata", features = ["baked"] }
icu_testdata = { path = "../../provider/testdata", features = ["baked"] }
icu_calendar = { version = "1.0.0-beta1", path = "../calendar", features = ["serde"] }
icu_datetime = { version = "1.0.0-beta1", path = "../../components/datetime", features = ["datagen"] }
icu_datetime = { path = "../../components/datetime", features = ["datagen"] }

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion components/decimal/Cargo.toml
Expand Up @@ -43,7 +43,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,
criterion = "0.3"
icu = { path = "../icu", default-features = false }
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
icu_provider_adapters = { path = "../../provider/adapters" }
rand = "0.8"
rand_pcg = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion components/icu/Cargo.toml
Expand Up @@ -43,7 +43,7 @@ icu_timezone = { version = "1.0.0-beta1", path = "../timezone", default-features
icu_segmenter = { version = "1.0.0-alpha1", path = "../../experimental/segmenter", default-features = false, optional = true }

[dev-dependencies]
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }

[features]
default = []
Expand Down
6 changes: 5 additions & 1 deletion components/list/Cargo.toml
Expand Up @@ -15,7 +15,11 @@ categories = ["internationalization"]
# Keep this in sync with other crates unless there are exceptions
include = [
"src/**/*",
"examples/**/*",
"benches/**/*",
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md"
]

Expand All @@ -34,7 +38,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,
criterion = "0.3.3"
serde_json = "1"
postcard = { version = "1.0.0-alpha.4", features = ["use-std"] }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata", features = ["baked"] }
icu_testdata = { path = "../../provider/testdata", features = ["baked"] }
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }

[lib]
Expand Down
2 changes: 1 addition & 1 deletion components/locid_transform/Cargo.toml
Expand Up @@ -40,7 +40,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,

[dev-dependencies]
criterion = "0.3.3"
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion components/normalizer/Cargo.toml
Expand Up @@ -46,7 +46,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,
zerofrom = { version = "0.1.0", path = "../../utils/zerofrom" }

[dev-dependencies]
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
atoi = "1.0.0"
arraystring = "0.3.0"
arrayvec = "0.7.2"
Expand Down
2 changes: 1 addition & 1 deletion components/plurals/Cargo.toml
Expand Up @@ -46,7 +46,7 @@ icu = { path = "../icu", default-features = false }
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }
icu_provider = { version = "1.0.0-beta1", path = "../../provider/core" }
icu_locid = { version = "1.0.0-beta1", path = "../locid" }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }

Expand Down
2 changes: 1 addition & 1 deletion components/properties/Cargo.toml
Expand Up @@ -42,7 +42,7 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,

[dev-dependencies]
icu = { path = "../icu", default-features = false }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }

[lib]
bench = false # This option is required for Benchmark CI
Expand Down
2 changes: 1 addition & 1 deletion components/timezone/Cargo.toml
Expand Up @@ -49,4 +49,4 @@ databake = { version = "0.1.0", path = "../../utils/databake", optional = true,

[dev-dependencies]
icu = { path = "../../components/icu", default-features = false, features = ["experimental"] }
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
4 changes: 2 additions & 2 deletions experimental/segmenter/Cargo.toml
Expand Up @@ -28,7 +28,7 @@ include = [
skip_optional_dependencies = true

[dependencies]
icu_collections = { path = "../../components/collections" }
icu_collections = { version = "1.0.0-beta1", path = "../../components/collections" }
icu_provider = { version = "1.0.0-beta1", path = "../../provider/core", features = ["macros"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
Expand All @@ -41,7 +41,7 @@ icu_locid = { version = "1.0.0-beta1", path = "../../components/locid" }

[dev-dependencies]
criterion = "0.3"
icu_testdata = { version = "1.0.0-beta1", path = "../../provider/testdata" }
icu_testdata = { path = "../../provider/testdata" }
serde-json-core = { version = "0.4", features = ["std"] }

[lib]
Expand Down
2 changes: 1 addition & 1 deletion provider/adapters/Cargo.toml
Expand Up @@ -30,7 +30,7 @@ yoke = { version = "0.6", path = "../../utils/yoke" }
zerovec = { version = "0.8", path = "../../utils/zerovec", features = ["yoke"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
databake = { version = "0.1.0", path = "../../utils/databake", optional = true, features = ["derive"]}
tinystr = { path = "../../utils/tinystr", features = ["zerovec"] }
tinystr = { version = "0.6", path = "../../utils/tinystr", features = ["zerovec"] }

[dev-dependencies]
icu_testdata = { path = "../testdata" }
Expand Down
4 changes: 2 additions & 2 deletions provider/datagen/Cargo.toml
Expand Up @@ -59,7 +59,7 @@ icu_provider_fs = { version = "1.0.0-beta1", path = "../fs", features = ["export
displaydoc = { version = "0.2.3", default-features = false }
elsa = "1.7"
icu_collections = { version = "1.0.0-beta1", path = "../../components/collections", features = ["serde"] }
icu_codepointtrie_builder = { path = "../../components/collections/codepointtrie_builder" }
icu_codepointtrie_builder = { version = "0.3.3", path = "../../components/collections/codepointtrie_builder" }
icu_locid = { version = "1.0.0-beta1", path = "../../components/locid", features = ["std"]}
itertools = "0.10"
log = "0.4"
Expand All @@ -78,7 +78,7 @@ syn = {version = "1.0", features = ["parsing"] }
writeable = { version = "0.4", path = "../../utils/writeable" }
zip = "0.6"
cached-path = "0.5"
reqwest = { version = "*", features = ["blocking"] }
reqwest = { version = "0.11", features = ["blocking"] }
lazy_static = "1"

# Dependencies for "bin" feature
Expand Down
4 changes: 2 additions & 2 deletions utils/zerovec/Cargo.toml
Expand Up @@ -5,7 +5,7 @@
[package]
name = "zerovec"
description = "Zero-copy vector backed by a byte array"
version = "0.8.0"
version = "0.8.1"
authors = ["The ICU4X Project Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -29,7 +29,7 @@ all-features = true
serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
yoke = { version = "0.6.0", path = "../yoke", optional = true }
zerofrom = { version = "0.1.0", path = "../zerofrom" }
zerovec-derive = {version = "0.6.0", path = "./derive", optional = true}
zerovec-derive = {version = "0.8.0", path = "./derive", optional = true}
databake = { version = "0.1.0", path = "../../utils/databake", features = ["derive"], optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion utils/zerovec/derive/Cargo.toml
Expand Up @@ -4,7 +4,7 @@

[package]
name = "zerovec-derive"
version = "0.6.1"
version = "0.8.0"
description = "Custom derive for the zerovec crate"
repository = "https://github.com/unicode-org/icu4x"
license = "Unicode-DFS-2016"
Expand Down

0 comments on commit 0afcfbc

Please sign in to comment.