Skip to content

Commit

Permalink
Update hashbrown to v0.12. (#135)
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Swaagman <martijn@swaagman.online>
  • Loading branch information
Swaagie committed Jan 31, 2022
1 parent ccade39 commit a91ad0d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -12,7 +12,7 @@ edition = "2018"
wee-alloc = ["wee_alloc"]

[dependencies]
hashbrown = "0.11"
hashbrown = "0.12"
log = "0.4"
wee_alloc = { version = "0.4", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion bazel/cargo/BUILD.bazel
Expand Up @@ -41,7 +41,7 @@ alias(

alias(
name = "hashbrown",
actual = "@raze__hashbrown__0_11_2//:hashbrown",
actual = "@raze__hashbrown__0_12_0//:hashbrown",
tags = [
"cargo-raze",
"manual",
Expand Down
4 changes: 2 additions & 2 deletions bazel/cargo/Cargo.raze.lock
Expand Up @@ -55,9 +55,9 @@ dependencies = [

[[package]]
name = "hashbrown"
version = "0.11.2"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
dependencies = [
"ahash",
]
Expand Down
10 changes: 5 additions & 5 deletions bazel/cargo/crates.bzl
Expand Up @@ -63,12 +63,12 @@ def raze_fetch_remote_crates():

maybe(
http_archive,
name = "raze__hashbrown__0_11_2",
url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download",
name = "raze__hashbrown__0_12_0",
url = "https://crates.io/api/v1/crates/hashbrown/0.12.0/download",
type = "tar.gz",
sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e",
strip_prefix = "hashbrown-0.11.2",
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.11.2.bazel"),
sha256 = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758",
strip_prefix = "hashbrown-0.12.0",
build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.12.0.bazel"),
)

maybe(
Expand Down
Expand Up @@ -33,6 +33,8 @@ licenses([

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

# Unsupported target "insert_unique_unchecked" with type "bench" omitted

rust_library(
name = "hashbrown",
srcs = glob(["**/*.rs"]),
Expand All @@ -43,7 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
data = [],
edition = "2018",
edition = "2021",
rustc_flags = [
"--cap-lints=allow",
],
Expand All @@ -52,7 +54,7 @@ rust_library(
"crate-name=hashbrown",
"manual",
],
version = "0.11.2",
version = "0.12.0",
# buildifier: leave-alone
deps = [
"@raze__ahash__0_7_6//:ahash",
Expand Down

0 comments on commit a91ad0d

Please sign in to comment.