Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
4 changes: 2 additions & 2 deletions bazel/cargo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
37 changes: 15 additions & 22 deletions bazel/cargo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 30 additions & 50 deletions bazel/cargo/crates.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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",
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rust_library(
"cargo-raze",
"manual",
],
version = "0.4.6",
version = "0.4.7",
# buildifier: leave-alone
deps = [
],
Expand Down
54 changes: 0 additions & 54 deletions bazel/cargo/remote/BUILD.cfg-if-0.1.10.bazel

This file was deleted.

4 changes: 2 additions & 2 deletions bazel/cargo/remote/BUILD.chrono-0.4.19.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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"))))
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
): [
Expand Down Expand Up @@ -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",
): [
Expand All @@ -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({
Expand All @@ -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
2 changes: 1 addition & 1 deletion bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)

Expand Down
Loading