diff --git a/Cargo.toml b/Cargo.toml index 5e243c60..22eebd9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 } diff --git a/bazel/cargo/BUILD.bazel b/bazel/cargo/BUILD.bazel index 4ea3eaae..9bdf8bb8 100644 --- a/bazel/cargo/BUILD.bazel +++ b/bazel/cargo/BUILD.bazel @@ -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", diff --git a/bazel/cargo/Cargo.raze.lock b/bazel/cargo/Cargo.raze.lock index 4638ba6e..77da91cd 100644 --- a/bazel/cargo/Cargo.raze.lock +++ b/bazel/cargo/Cargo.raze.lock @@ -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", ] diff --git a/bazel/cargo/crates.bzl b/bazel/cargo/crates.bzl index a986ed60..44ed1395 100644 --- a/bazel/cargo/crates.bzl +++ b/bazel/cargo/crates.bzl @@ -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( diff --git a/bazel/cargo/remote/BUILD.hashbrown-0.11.2.bazel b/bazel/cargo/remote/BUILD.hashbrown-0.12.0.bazel similarity index 92% rename from bazel/cargo/remote/BUILD.hashbrown-0.11.2.bazel rename to bazel/cargo/remote/BUILD.hashbrown-0.12.0.bazel index 4977bf28..7624fceb 100644 --- a/bazel/cargo/remote/BUILD.hashbrown-0.11.2.bazel +++ b/bazel/cargo/remote/BUILD.hashbrown-0.12.0.bazel @@ -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"]), @@ -43,7 +45,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -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",