Skip to content

Commit a91ad0d

Browse files
authored
Update hashbrown to v0.12. (proxy-wasm#135)
Signed-off-by: Martijn Swaagman <[email protected]>
1 parent ccade39 commit a91ad0d

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2018"
1212
wee-alloc = ["wee_alloc"]
1313

1414
[dependencies]
15-
hashbrown = "0.11"
15+
hashbrown = "0.12"
1616
log = "0.4"
1717
wee_alloc = { version = "0.4", optional = true }
1818

bazel/cargo/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ alias(
4141

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

bazel/cargo/Cargo.raze.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ dependencies = [
5555

5656
[[package]]
5757
name = "hashbrown"
58-
version = "0.11.2"
58+
version = "0.12.0"
5959
source = "registry+https://github.com/rust-lang/crates.io-index"
60-
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
60+
checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
6161
dependencies = [
6262
"ahash",
6363
]

bazel/cargo/crates.bzl

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ def raze_fetch_remote_crates():
6363

6464
maybe(
6565
http_archive,
66-
name = "raze__hashbrown__0_11_2",
67-
url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download",
66+
name = "raze__hashbrown__0_12_0",
67+
url = "https://crates.io/api/v1/crates/hashbrown/0.12.0/download",
6868
type = "tar.gz",
69-
sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e",
70-
strip_prefix = "hashbrown-0.11.2",
71-
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.11.2.bazel"),
69+
sha256 = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758",
70+
strip_prefix = "hashbrown-0.12.0",
71+
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.12.0.bazel"),
7272
)
7373

7474
maybe(

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ licenses([
3333

3434
# Unsupported target "bench" with type "bench" omitted
3535

36+
# Unsupported target "insert_unique_unchecked" with type "bench" omitted
37+
3638
rust_library(
3739
name = "hashbrown",
3840
srcs = glob(["**/*.rs"]),
@@ -43,7 +45,7 @@ rust_library(
4345
],
4446
crate_root = "src/lib.rs",
4547
data = [],
46-
edition = "2018",
48+
edition = "2021",
4749
rustc_flags = [
4850
"--cap-lints=allow",
4951
],
@@ -52,7 +54,7 @@ rust_library(
5254
"crate-name=hashbrown",
5355
"manual",
5456
],
55-
version = "0.11.2",
57+
version = "0.12.0",
5658
# buildifier: leave-alone
5759
deps = [
5860
"@raze__ahash__0_7_6//:ahash",

0 commit comments

Comments
 (0)