Skip to content

Commit

Permalink
Remove ZeroVec T: Bake bound. (unicode-org#4080)
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored Sep 22, 2023
1 parent 403d854 commit 6a787bb
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 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 docs/tutorials/Cargo.lock

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

2 changes: 1 addition & 1 deletion docs/tutorials/testing/legacy_testdata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ icu_list = "1.2.0"
icu_locid_transform = "1.2.0"
icu_plurals = "1.2.0"
icu_provider = { version = "1.2.0" }
zerovec = { version = "0.9.5" }
zerovec = { version = "0.9.6" }
4 changes: 2 additions & 2 deletions ffi/gn/Cargo.lock

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

48 changes: 24 additions & 24 deletions ffi/gn/icu4x/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ rust_library("icu_calendar-v1_2_0") {
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":writeable-v0_5_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -316,7 +316,7 @@ rust_library("icu_casemap-v1_2_0") {
deps += [ ":icu_properties-v1_2_0" ]
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":writeable-v0_5_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -345,7 +345,7 @@ rust_library("icu_collator-v1_2_0") {
deps += [ ":smallvec-v1_10_0" ]
deps += [ ":utf16_iter-v1_0_4" ]
deps += [ ":utf8_iter-v1_0_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand All @@ -368,7 +368,7 @@ rust_library("icu_collections-v1_2_0") {
deps += [ ":displaydoc-v0_2_4($host_toolchain)" ]
deps += [ ":yoke-v0_7_2" ]
deps += [ ":zerofrom-v0_1_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -400,7 +400,7 @@ rust_library("icu_datetime-v1_2_1") {
deps += [ ":smallvec-v1_10_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":writeable-v0_5_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -471,7 +471,7 @@ rust_library("icu_locid-v1_2_0") {
deps += [ ":litemap-v0_7_1" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":writeable-v0_5_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand All @@ -496,7 +496,7 @@ rust_library("icu_locid_transform-v1_2_1") {
deps += [ ":icu_locid-v1_2_0" ]
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -524,7 +524,7 @@ rust_library("icu_normalizer-v1_2_0") {
deps += [ ":utf16_iter-v1_0_4" ]
deps += [ ":utf8_iter-v1_0_3" ]
deps += [ ":write16-v1_0_0" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand All @@ -548,7 +548,7 @@ rust_library("icu_plurals-v1_2_0") {
deps += [ ":fixed_decimal-v0_5_4" ]
deps += [ ":icu_locid-v1_2_0" ]
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand All @@ -573,7 +573,7 @@ rust_library("icu_properties-v1_2_0") {
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":unicode-bidi-v0_3_13" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -602,7 +602,7 @@ rust_library("icu_provider-v1_2_0") {
deps += [ ":writeable-v0_5_3" ]
deps += [ ":yoke-v0_7_2" ]
deps += [ ":zerofrom-v0_1_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand All @@ -627,7 +627,7 @@ rust_library("icu_provider_adapters-v1_2_0") {
deps += [ ":icu_locid_transform-v1_2_1" ]
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -675,7 +675,7 @@ rust_library("icu_segmenter-v1_2_1") {
deps += [ ":icu_locid-v1_2_0" ]
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":utf8_iter-v1_0_3" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -703,7 +703,7 @@ rust_library("icu_timezone-v1_2_0") {
deps += [ ":icu_provider-v1_2_0" ]
deps += [ ":tinystr-v0_7_2" ]
deps += [ ":zerotrie-v0_0_0" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -1078,7 +1078,7 @@ rust_library("tinystr-v0_7_2") {

deps = []
deps += [ ":displaydoc-v0_2_4($host_toolchain)" ]
deps += [ ":zerovec-v0_9_5" ]
deps += [ ":zerovec-v0_9_6" ]

rustenv = []

Expand Down Expand Up @@ -1348,34 +1348,34 @@ rust_library("zerotrie-v0_0_0") {
visibility = [ ":*" ]
}

rust_library("zerovec-v0_9_5") {
rust_library("zerovec-v0_9_6") {
crate_name = "zerovec"
crate_root = "//utils/zerovec/src/lib.rs"
output_name = "zerovec-53f4595c77bcdee7"
output_name = "zerovec-e9b4f4ad42ba5c67"

deps = []
deps += [ ":yoke-v0_7_2" ]
deps += [ ":zerofrom-v0_1_3" ]
deps += [ ":zerovec-derive-v0_9_5($host_toolchain)" ]
deps += [ ":zerovec-derive-v0_9_6($host_toolchain)" ]

rustenv = []

rustflags = [
"--cap-lints=allow",
"--edition=2021",
"-Cmetadata=53f4595c77bcdee7",
"-Cextra-filename=-53f4595c77bcdee7",
"-Cmetadata=e9b4f4ad42ba5c67",
"-Cextra-filename=-e9b4f4ad42ba5c67",
"--cfg=feature=\"derive\"",
"--cfg=feature=\"yoke\"",
]

visibility = [ ":*" ]
}

rust_proc_macro("zerovec-derive-v0_9_5") {
rust_proc_macro("zerovec-derive-v0_9_6") {
crate_name = "zerovec_derive"
crate_root = "//utils/zerovec/derive/src/lib.rs"
output_name = "zerovec_derive-e74eda60d8fc56f9"
output_name = "zerovec_derive-6d8ac38dd01408bf"

deps = []
deps += [ ":proc-macro2-v1_0_63" ]
Expand All @@ -1387,8 +1387,8 @@ rust_proc_macro("zerovec-derive-v0_9_5") {
rustflags = [
"--cap-lints=allow",
"--edition=2021",
"-Cmetadata=e74eda60d8fc56f9",
"-Cextra-filename=-e74eda60d8fc56f9",
"-Cmetadata=6d8ac38dd01408bf",
"-Cextra-filename=-6d8ac38dd01408bf",
]

visibility = [ ":*" ]
Expand Down
2 changes: 1 addition & 1 deletion utils/zerovec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "zerovec"
description = "Zero-copy vector backed by a byte array"
version = "0.9.5"
version = "0.9.6"
categories = ["rust-patterns", "memory-management", "caching", "no-std", "data-structures"]
keywords = ["zerocopy", "serialization", "zero-copy", "serde"]

Expand Down
2 changes: 1 addition & 1 deletion utils/zerovec/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "zerovec-derive"
description = "Custom derive for the zerovec crate"
version = "0.9.5"
version = "0.9.6"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
categories = ["rust-patterns", "memory-management", "caching", "no-std", "data-structures"]
keywords = ["zerocopy", "serialization", "zero-copy", "serde"]
Expand Down
2 changes: 1 addition & 1 deletion utils/zerovec/src/zerovec/databake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use databake::*;

impl<T> Bake for ZeroVec<'_, T>
where
T: AsULE + ?Sized + Bake,
T: AsULE + ?Sized,
{
fn bake(&self, env: &CrateEnv) -> TokenStream {
env.insert("zerovec");
Expand Down

0 comments on commit 6a787bb

Please sign in to comment.