diff --git a/Cargo.toml b/Cargo.toml index 24edd3ea..0dff6f1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,13 +32,13 @@ panic = "abort" workspace_path = "//bazel/cargo" genmode = "Remote" -[package.metadata.raze.crates.getrandom.'=0.2.0'] +[package.metadata.raze.crates.getrandom.'=0.2.2'] gen_buildrs = true -[package.metadata.raze.crates.libc.'=0.2.81'] +[package.metadata.raze.crates.libc.'=0.2.85'] gen_buildrs = true -[package.metadata.raze.crates.log.'=0.4.11'] +[package.metadata.raze.crates.log.'=0.4.14'] gen_buildrs = true [[example]] diff --git a/bazel/cargo/BUILD.bazel b/bazel/cargo/BUILD.bazel index bd1ed422..82578fa2 100644 --- a/bazel/cargo/BUILD.bazel +++ b/bazel/cargo/BUILD.bazel @@ -32,7 +32,7 @@ alias( alias( name = "getrandom", - actual = "@raze__getrandom__0_2_0//:getrandom", + actual = "@raze__getrandom__0_2_2//:getrandom", tags = [ "cargo-raze", "manual", @@ -50,7 +50,7 @@ alias( alias( name = "log", - actual = "@raze__log__0_4_11//:log", + actual = "@raze__log__0_4_14//:log", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/Cargo.lock b/bazel/cargo/Cargo.lock index 3ee0bc88..53cf5490 100644 --- a/bazel/cargo/Cargo.lock +++ b/bazel/cargo/Cargo.lock @@ -2,9 +2,9 @@ # It is not intended for manual editing. [[package]] name = "ahash" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c" +checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" [[package]] name = "autocfg" @@ -39,13 +39,13 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4" +checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "libc", - "wasi 0.9.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -59,17 +59,17 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.81" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1482821306169ec4d07f6aca392a4681f66c75c9918aa49641a2595db64053cb" +checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3" [[package]] name = "log" -version = "0.4.11" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", ] [[package]] @@ -111,26 +111,19 @@ dependencies = [ [[package]] name = "time" -version = "0.1.44" +version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" dependencies = [ "libc", - "wasi 0.10.0+wasi-snapshot-preview1", "winapi", ] [[package]] name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" +version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" +checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" [[package]] name = "wee_alloc" diff --git a/bazel/cargo/crates.bzl b/bazel/cargo/crates.bzl index 17c44dd9..e4658054 100644 --- a/bazel/cargo/crates.bzl +++ b/bazel/cargo/crates.bzl @@ -13,12 +13,12 @@ def raze_fetch_remote_crates(): """This function defines a collection of repos and should be called in a WORKSPACE file""" maybe( http_archive, - name = "raze__ahash__0_4_6", - url = "https://crates.io/api/v1/crates/ahash/0.4.6/download", + name = "raze__ahash__0_4_7", + url = "https://crates.io/api/v1/crates/ahash/0.4.7/download", type = "tar.gz", - sha256 = "f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c", - strip_prefix = "ahash-0.4.6", - build_file = Label("//bazel/cargo/remote:BUILD.ahash-0.4.6.bazel"), + sha256 = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e", + strip_prefix = "ahash-0.4.7", + build_file = Label("//bazel/cargo/remote:BUILD.ahash-0.4.7.bazel"), ) maybe( @@ -31,16 +31,6 @@ def raze_fetch_remote_crates(): build_file = Label("//bazel/cargo/remote:BUILD.autocfg-1.0.1.bazel"), ) - maybe( - http_archive, - name = "raze__cfg_if__0_1_10", - url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", - type = "tar.gz", - sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", - strip_prefix = "cfg-if-0.1.10", - build_file = Label("//bazel/cargo/remote:BUILD.cfg-if-0.1.10.bazel"), - ) - maybe( http_archive, name = "raze__cfg_if__1_0_0", @@ -63,12 +53,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__getrandom__0_2_0", - url = "https://crates.io/api/v1/crates/getrandom/0.2.0/download", + name = "raze__getrandom__0_2_2", + url = "https://crates.io/api/v1/crates/getrandom/0.2.2/download", type = "tar.gz", - sha256 = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4", - strip_prefix = "getrandom-0.2.0", - build_file = Label("//bazel/cargo/remote:BUILD.getrandom-0.2.0.bazel"), + sha256 = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8", + strip_prefix = "getrandom-0.2.2", + build_file = Label("//bazel/cargo/remote:BUILD.getrandom-0.2.2.bazel"), ) maybe( @@ -83,22 +73,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__libc__0_2_81", - url = "https://crates.io/api/v1/crates/libc/0.2.81/download", + name = "raze__libc__0_2_85", + url = "https://crates.io/api/v1/crates/libc/0.2.85/download", type = "tar.gz", - sha256 = "1482821306169ec4d07f6aca392a4681f66c75c9918aa49641a2595db64053cb", - strip_prefix = "libc-0.2.81", - build_file = Label("//bazel/cargo/remote:BUILD.libc-0.2.81.bazel"), + sha256 = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3", + strip_prefix = "libc-0.2.85", + build_file = Label("//bazel/cargo/remote:BUILD.libc-0.2.85.bazel"), ) maybe( http_archive, - name = "raze__log__0_4_11", - url = "https://crates.io/api/v1/crates/log/0.4.11/download", + name = "raze__log__0_4_14", + url = "https://crates.io/api/v1/crates/log/0.4.14/download", type = "tar.gz", - sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", - strip_prefix = "log-0.4.11", - build_file = Label("//bazel/cargo/remote:BUILD.log-0.4.11.bazel"), + sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710", + strip_prefix = "log-0.4.14", + build_file = Label("//bazel/cargo/remote:BUILD.log-0.4.14.bazel"), ) maybe( @@ -123,32 +113,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__time__0_1_44", - url = "https://crates.io/api/v1/crates/time/0.1.44/download", - type = "tar.gz", - sha256 = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255", - strip_prefix = "time-0.1.44", - build_file = Label("//bazel/cargo/remote:BUILD.time-0.1.44.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasi__0_10_0_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.10.0+wasi-snapshot-preview1/download", + name = "raze__time__0_1_43", + url = "https://crates.io/api/v1/crates/time/0.1.43/download", type = "tar.gz", - sha256 = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f", - strip_prefix = "wasi-0.10.0+wasi-snapshot-preview1", - build_file = Label("//bazel/cargo/remote:BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel"), + sha256 = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438", + strip_prefix = "time-0.1.43", + build_file = Label("//bazel/cargo/remote:BUILD.time-0.1.43.bazel"), ) maybe( http_archive, - name = "raze__wasi__0_9_0_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.9.0+wasi-snapshot-preview1/download", + name = "raze__wasi__0_10_2_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download", type = "tar.gz", - sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519", - strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1", - build_file = Label("//bazel/cargo/remote:BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel"), + sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6", + strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1", + build_file = Label("//bazel/cargo/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"), ) maybe( diff --git a/bazel/cargo/remote/BUILD.ahash-0.4.6.bazel b/bazel/cargo/remote/BUILD.ahash-0.4.7.bazel similarity index 98% rename from bazel/cargo/remote/BUILD.ahash-0.4.6.bazel rename to bazel/cargo/remote/BUILD.ahash-0.4.7.bazel index 30fb8006..99ca0a90 100644 --- a/bazel/cargo/remote/BUILD.ahash-0.4.6.bazel +++ b/bazel/cargo/remote/BUILD.ahash-0.4.7.bazel @@ -49,7 +49,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.6", + version = "0.4.7", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/bazel/cargo/remote/BUILD.cfg-if-0.1.10.bazel deleted file mode 100644 index 32abbfae..00000000 --- a/bazel/cargo/remote/BUILD.cfg-if-0.1.10.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@io_bazel_rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cfg_if", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - crate_type = "lib", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.10", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "xcrate" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.chrono-0.4.19.bazel b/bazel/cargo/remote/BUILD.chrono-0.4.19.bazel index 6154bbd0..7420c4cc 100644 --- a/bazel/cargo/remote/BUILD.chrono-0.4.19.bazel +++ b/bazel/cargo/remote/BUILD.chrono-0.4.19.bazel @@ -61,10 +61,10 @@ rust_library( version = "0.4.19", # buildifier: leave-alone deps = [ - "@raze__libc__0_2_81//:libc", + "@raze__libc__0_2_85//:libc", "@raze__num_integer__0_1_44//:num_integer", "@raze__num_traits__0_2_14//:num_traits", - "@raze__time__0_1_44//:time", + "@raze__time__0_1_43//:time", ] + selects.with_or({ # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi")))) ( diff --git a/bazel/cargo/remote/BUILD.getrandom-0.2.0.bazel b/bazel/cargo/remote/BUILD.getrandom-0.2.2.bazel similarity index 90% rename from bazel/cargo/remote/BUILD.getrandom-0.2.0.bazel rename to bazel/cargo/remote/BUILD.getrandom-0.2.2.bazel index 45977782..8a46a3ad 100644 --- a/bazel/cargo/remote/BUILD.getrandom-0.2.0.bazel +++ b/bazel/cargo/remote/BUILD.getrandom-0.2.2.bazel @@ -51,11 +51,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.0", + version = "0.2.2", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ - # cfg(all(target_arch = "wasm32", target_os = "unknown", not(cargo_web))) + # cfg(all(target_arch = "wasm32", target_os = "unknown")) ( "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", ): [ @@ -111,13 +111,13 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.0", + version = "0.2.2", # buildifier: leave-alone deps = [ ":getrandom_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__cfg_if__1_0_0//:cfg_if", ] + selects.with_or({ - # cfg(all(target_arch = "wasm32", target_os = "unknown", not(cargo_web))) + # cfg(all(target_arch = "wasm32", target_os = "unknown")) ( "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", ): [ @@ -128,7 +128,7 @@ rust_library( ( "@io_bazel_rules_rust//rust/platform:wasm32-wasi", ): [ - "@raze__wasi__0_9_0_wasi_snapshot_preview1//:wasi", + "@raze__wasi__0_10_2_wasi_snapshot_preview1//:wasi", ], "//conditions:default": [], }) + selects.with_or({ @@ -150,8 +150,14 @@ rust_library( "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_81//:libc", + "@raze__libc__0_2_85//:libc", ], "//conditions:default": [], }), ) + +# Unsupported target "custom" with type "test" omitted + +# Unsupported target "normal" with type "test" omitted + +# Unsupported target "rdrand" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel b/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel index d27b21de..9cc788fd 100644 --- a/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel +++ b/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel @@ -53,7 +53,7 @@ rust_library( version = "0.9.1", # buildifier: leave-alone deps = [ - "@raze__ahash__0_4_6//:ahash", + "@raze__ahash__0_4_7//:ahash", ], ) diff --git a/bazel/cargo/remote/BUILD.libc-0.2.81.bazel b/bazel/cargo/remote/BUILD.libc-0.2.85.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.libc-0.2.81.bazel rename to bazel/cargo/remote/BUILD.libc-0.2.85.bazel index 83617479..9927ba4a 100644 --- a/bazel/cargo/remote/BUILD.libc-0.2.81.bazel +++ b/bazel/cargo/remote/BUILD.libc-0.2.85.bazel @@ -53,7 +53,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.81", + version = "0.2.85", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.81", + version = "0.2.85", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/remote/BUILD.log-0.4.11.bazel b/bazel/cargo/remote/BUILD.log-0.4.14.bazel similarity index 91% rename from bazel/cargo/remote/BUILD.log-0.4.11.bazel rename to bazel/cargo/remote/BUILD.log-0.4.14.bazel index 3910f0b2..61bc6926 100644 --- a/bazel/cargo/remote/BUILD.log-0.4.11.bazel +++ b/bazel/cargo/remote/BUILD.log-0.4.14.bazel @@ -51,12 +51,14 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.4.11", + version = "0.4.14", visibility = ["//visibility:private"], deps = [ ], ) +# Unsupported target "value" with type "bench" omitted + rust_library( name = "log", srcs = glob(["**/*.rs"]), @@ -72,11 +74,11 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.11", + version = "0.4.14", # buildifier: leave-alone deps = [ ":log_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__cfg_if__1_0_0//:cfg_if", ], ) diff --git a/bazel/cargo/remote/BUILD.time-0.1.44.bazel b/bazel/cargo/remote/BUILD.time-0.1.43.bazel similarity index 80% rename from bazel/cargo/remote/BUILD.time-0.1.44.bazel rename to bazel/cargo/remote/BUILD.time-0.1.43.bazel index ca43c192..37c141c6 100644 --- a/bazel/cargo/remote/BUILD.time-0.1.44.bazel +++ b/bazel/cargo/remote/BUILD.time-0.1.43.bazel @@ -47,19 +47,11 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.44", + version = "0.1.43", # buildifier: leave-alone deps = [ - "@raze__libc__0_2_81//:libc", + "@raze__libc__0_2_85//:libc", ] + selects.with_or({ - # cfg(target_os = "wasi") - ( - "@io_bazel_rules_rust//rust/platform:wasm32-wasi", - ): [ - "@raze__wasi__0_10_0_wasi_snapshot_preview1//:wasi", - ], - "//conditions:default": [], - }) + selects.with_or({ # cfg(windows) ( "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", diff --git a/bazel/cargo/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel b/bazel/cargo/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel deleted file mode 100644 index 35fc2e3f..00000000 --- a/bazel/cargo/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@io_bazel_rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "wasi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.10.0+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel b/bazel/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel similarity index 95% rename from bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel rename to bazel/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel index 013a1c1c..6375caa4 100644 --- a/bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel @@ -47,7 +47,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.0+wasi-snapshot-preview1", + version = "0.10.2+wasi-snapshot-preview1", # buildifier: leave-alone deps = [ ],