Skip to content

Commit b33b2bc

Browse files
authored
Update hashbrown to v0.13. (#175)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent f4a0244 commit b33b2bc

File tree

6 files changed

+27
-77
lines changed

6 files changed

+27
-77
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "proxy-wasm"
33
version = "0.2.0"
44
authors = ["Piotr Sikora <[email protected]>"]
5-
rust-version = "1.59"
5+
rust-version = "1.61"
66
description = "WebAssembly for Proxies"
77
readme = "README.md"
88
license = "Apache-2.0"
@@ -14,7 +14,7 @@ build = "build.rs"
1414
wee-alloc = ["wee_alloc"]
1515

1616
[dependencies]
17-
hashbrown = "0.12"
17+
hashbrown = "0.13"
1818
log = "0.4"
1919
wee_alloc = { version = "0.4", optional = true }
2020

bazel/cargo/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ alias(
4141

4242
alias(
4343
name = "hashbrown",
44-
actual = "@raze__hashbrown__0_12_0//:hashbrown",
44+
actual = "@raze__hashbrown__0_13_1//:hashbrown",
4545
tags = [
4646
"cargo-raze",
4747
"manual",

bazel/cargo/crates.bzl

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ def raze_fetch_remote_crates():
1313
"""This function defines a collection of repos and should be called in a WORKSPACE file"""
1414
maybe(
1515
http_archive,
16-
name = "raze__ahash__0_7_6",
17-
url = "https://crates.io/api/v1/crates/ahash/0.7.6/download",
16+
name = "raze__ahash__0_8_2",
17+
url = "https://crates.io/api/v1/crates/ahash/0.8.2/download",
1818
type = "tar.gz",
19-
sha256 = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47",
20-
strip_prefix = "ahash-0.7.6",
21-
build_file = Label("//bazel/cargo/remote:BUILD.ahash-0.7.6.bazel"),
19+
strip_prefix = "ahash-0.8.2",
20+
build_file = Label("//bazel/cargo/remote:BUILD.ahash-0.8.2.bazel"),
2221
)
2322

2423
maybe(
@@ -63,12 +62,11 @@ def raze_fetch_remote_crates():
6362

6463
maybe(
6564
http_archive,
66-
name = "raze__hashbrown__0_12_0",
67-
url = "https://crates.io/api/v1/crates/hashbrown/0.12.0/download",
65+
name = "raze__hashbrown__0_13_1",
66+
url = "https://crates.io/api/v1/crates/hashbrown/0.13.1/download",
6867
type = "tar.gz",
69-
sha256 = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758",
70-
strip_prefix = "hashbrown-0.12.0",
71-
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.12.0.bazel"),
68+
strip_prefix = "hashbrown-0.13.1",
69+
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.13.1.bazel"),
7270
)
7371

7472
maybe(
@@ -113,12 +111,11 @@ def raze_fetch_remote_crates():
113111

114112
maybe(
115113
http_archive,
116-
name = "raze__once_cell__1_10_0",
117-
url = "https://crates.io/api/v1/crates/once_cell/1.10.0/download",
114+
name = "raze__once_cell__1_16_0",
115+
url = "https://crates.io/api/v1/crates/once_cell/1.16.0/download",
118116
type = "tar.gz",
119-
sha256 = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9",
120-
strip_prefix = "once_cell-1.10.0",
121-
build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.10.0.bazel"),
117+
strip_prefix = "once_cell-1.16.0",
118+
build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.16.0.bazel"),
122119
)
123120

124121
maybe(

bazel/cargo/remote/BUILD.ahash-0.7.6.bazel renamed to bazel/cargo/remote/BUILD.ahash-0.8.2.bazel

Lines changed: 4 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,11 @@ cargo_build_script(
5454
"cargo-raze",
5555
"manual",
5656
],
57-
version = "0.7.6",
57+
version = "0.8.2",
5858
visibility = ["//visibility:private"],
5959
deps = [
6060
"@raze__version_check__0_9_4//:version_check",
6161
] + selects.with_or({
62-
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
63-
(
64-
"@rules_rust//rust/platform:i686-apple-darwin",
65-
"@rules_rust//rust/platform:i686-pc-windows-msvc",
66-
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
67-
"@rules_rust//rust/platform:x86_64-apple-darwin",
68-
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
69-
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
70-
"@rules_rust//rust/platform:aarch64-apple-darwin",
71-
"@rules_rust//rust/platform:aarch64-apple-ios",
72-
"@rules_rust//rust/platform:aarch64-linux-android",
73-
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
74-
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
75-
"@rules_rust//rust/platform:i686-linux-android",
76-
"@rules_rust//rust/platform:i686-unknown-freebsd",
77-
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
78-
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
79-
"@rules_rust//rust/platform:wasm32-wasi",
80-
"@rules_rust//rust/platform:x86_64-apple-ios",
81-
"@rules_rust//rust/platform:x86_64-linux-android",
82-
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
83-
): [
84-
],
85-
"//conditions:default": [],
86-
}) + selects.with_or({
8762
# cfg(not(all(target_arch = "arm", target_os = "none")))
8863
(
8964
"@rules_rust//rust/platform:i686-apple-darwin",
@@ -134,37 +109,12 @@ rust_library(
134109
"crate-name=ahash",
135110
"manual",
136111
],
137-
version = "0.7.6",
112+
version = "0.8.2",
138113
# buildifier: leave-alone
139114
deps = [
140115
":ahash_build_script",
116+
"@raze__cfg_if__1_0_0//:cfg_if",
141117
] + selects.with_or({
142-
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
143-
(
144-
"@rules_rust//rust/platform:i686-apple-darwin",
145-
"@rules_rust//rust/platform:i686-pc-windows-msvc",
146-
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
147-
"@rules_rust//rust/platform:x86_64-apple-darwin",
148-
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
149-
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
150-
"@rules_rust//rust/platform:aarch64-apple-darwin",
151-
"@rules_rust//rust/platform:aarch64-apple-ios",
152-
"@rules_rust//rust/platform:aarch64-linux-android",
153-
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
154-
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
155-
"@rules_rust//rust/platform:i686-linux-android",
156-
"@rules_rust//rust/platform:i686-unknown-freebsd",
157-
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
158-
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
159-
"@rules_rust//rust/platform:wasm32-wasi",
160-
"@rules_rust//rust/platform:x86_64-apple-ios",
161-
"@rules_rust//rust/platform:x86_64-linux-android",
162-
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
163-
): [
164-
"@raze__getrandom__0_2_6//:getrandom",
165-
],
166-
"//conditions:default": [],
167-
}) + selects.with_or({
168118
# cfg(not(all(target_arch = "arm", target_os = "none")))
169119
(
170120
"@rules_rust//rust/platform:i686-apple-darwin",
@@ -188,7 +138,7 @@ rust_library(
188138
"@rules_rust//rust/platform:x86_64-linux-android",
189139
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
190140
): [
191-
"@raze__once_cell__1_10_0//:once_cell",
141+
"@raze__once_cell__1_16_0//:once_cell",
192142
],
193143
"//conditions:default": [],
194144
}),

bazel/cargo/remote/BUILD.hashbrown-0.12.0.bazel renamed to bazel/cargo/remote/BUILD.hashbrown-0.13.1.bazel

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ package(default_visibility = [
2626
])
2727

2828
licenses([
29-
"notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
29+
"notice", # MIT from expression "MIT OR Apache-2.0"
3030
])
3131

3232
# Generated Targets
@@ -54,13 +54,15 @@ rust_library(
5454
"crate-name=hashbrown",
5555
"manual",
5656
],
57-
version = "0.12.0",
57+
version = "0.13.1",
5858
# buildifier: leave-alone
5959
deps = [
60-
"@raze__ahash__0_7_6//:ahash",
60+
"@raze__ahash__0_8_2//:ahash",
6161
],
6262
)
6363

64+
# Unsupported target "equivalent_trait" with type "test" omitted
65+
6466
# Unsupported target "hasher" with type "test" omitted
6567

6668
# Unsupported target "rayon" with type "test" omitted

bazel/cargo/remote/BUILD.once_cell-1.10.0.bazel renamed to bazel/cargo/remote/BUILD.once_cell-1.16.0.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ rust_library(
5151
crate_features = [
5252
"alloc",
5353
"race",
54+
"unstable",
5455
],
5556
crate_root = "src/lib.rs",
5657
data = [],
57-
edition = "2018",
58+
edition = "2021",
5859
rustc_flags = [
5960
"--cap-lints=allow",
6061
],
@@ -63,7 +64,7 @@ rust_library(
6364
"crate-name=once_cell",
6465
"manual",
6566
],
66-
version = "1.10.0",
67+
version = "1.16.0",
6768
# buildifier: leave-alone
6869
deps = [
6970
],

0 commit comments

Comments
 (0)