From ce54bc57f597cf2c541bb30ed16497f2103b164c Mon Sep 17 00:00:00 2001 From: Will Smith Date: Sat, 12 Aug 2023 11:59:05 -0700 Subject: [PATCH] repin crates after upgrading rules_rust --- 3rdparty/crates/BUILD.atty-0.2.14.bazel | 103 +++++---- 3rdparty/crates/BUILD.autocfg-1.1.0.bazel | 96 ++++----- 3rdparty/crates/BUILD.bazel | 21 +- 3rdparty/crates/BUILD.bitflags-1.3.2.bazel | 94 ++++----- 3rdparty/crates/BUILD.cargo-lock-8.0.2.bazel | 174 +++++----------- 3rdparty/crates/BUILD.clap-3.2.20.bazel | 195 +++++------------- .../crates/BUILD.clap_derive-3.2.18.bazel | 104 +++++----- 3rdparty/crates/BUILD.clap_lex-0.2.4.bazel | 98 ++++----- .../crates/BUILD.form_urlencoded-1.0.1.bazel | 100 +++++---- 3rdparty/crates/BUILD.hashbrown-0.12.3.bazel | 94 ++++----- 3rdparty/crates/BUILD.heck-0.4.0.bazel | 94 ++++----- 3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel | 99 ++++----- 3rdparty/crates/BUILD.idna-0.2.3.bazel | 102 +++++---- 3rdparty/crates/BUILD.indexmap-1.9.1.bazel | 169 +++++---------- 3rdparty/crates/BUILD.lazy_static-1.4.0.bazel | 96 ++++----- 3rdparty/crates/BUILD.libc-0.2.132.bazel | 169 +++++---------- 3rdparty/crates/BUILD.matches-0.1.9.bazel | 96 ++++----- 3rdparty/crates/BUILD.once_cell-1.14.0.bazel | 94 ++++----- .../crates/BUILD.os_str_bytes-6.3.0.bazel | 94 ++++----- .../crates/BUILD.percent-encoding-2.1.0.bazel | 96 ++++----- .../crates/BUILD.proc-macro-error-1.0.4.bazel | 173 ++++++---------- .../BUILD.proc-macro-error-attr-1.0.4.bazel | 175 +++++----------- .../crates/BUILD.proc-macro2-1.0.43.bazel | 167 +++++---------- 3rdparty/crates/BUILD.quote-1.0.21.bazel | 167 +++++---------- 3rdparty/crates/BUILD.semver-1.0.13.bazel | 167 +++++---------- 3rdparty/crates/BUILD.serde-1.0.144.bazel | 165 +++++---------- .../crates/BUILD.serde_derive-1.0.144.bazel | 171 +++++---------- 3rdparty/crates/BUILD.strsim-0.10.0.bazel | 96 ++++----- 3rdparty/crates/BUILD.syn-1.0.99.bazel | 171 +++++---------- 3rdparty/crates/BUILD.termcolor-1.1.3.bazel | 97 ++++----- 3rdparty/crates/BUILD.textwrap-0.15.0.bazel | 96 ++++----- 3rdparty/crates/BUILD.tinyvec-1.6.0.bazel | 96 ++++----- .../crates/BUILD.tinyvec_macros-0.1.0.bazel | 96 ++++----- 3rdparty/crates/BUILD.toml-0.5.9.bazel | 96 ++++----- .../crates/BUILD.unicode-bidi-0.3.8.bazel | 94 ++++----- .../crates/BUILD.unicode-ident-1.0.3.bazel | 96 ++++----- .../BUILD.unicode-normalization-0.1.21.bazel | 96 ++++----- 3rdparty/crates/BUILD.url-2.2.2.bazel | 104 +++++----- .../crates/BUILD.version_check-0.9.4.bazel | 96 ++++----- 3rdparty/crates/BUILD.winapi-0.3.9.bazel | 165 +++++---------- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 169 +++++---------- 3rdparty/crates/BUILD.winapi-util-0.1.5.bazel | 97 ++++----- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 169 +++++---------- 3rdparty/crates/defs.bzl | 26 ++- example/cargo.bazel.lock | 2 +- 45 files changed, 2031 insertions(+), 3204 deletions(-) diff --git a/3rdparty/crates/BUILD.atty-0.2.14.bazel b/3rdparty/crates/BUILD.atty-0.2.14.bazel index 91172e3..70bc425 100644 --- a/3rdparty/crates/BUILD.atty-0.2.14.bazel +++ b/3rdparty/crates/BUILD.atty-0.2.14.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,65 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "atty", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=atty", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.2.14", - deps = [ - ] + select({ + deps = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], @@ -89,6 +83,9 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:aarch64-linux-android": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], @@ -134,6 +131,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-ios": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:x86_64-linux-android": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], @@ -146,7 +146,6 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) ], - "//conditions:default": [ - ], + "//conditions:default": [], }), ) diff --git a/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/3rdparty/crates/BUILD.autocfg-1.1.0.bazel index 8991315..ffb2233 100644 --- a/3rdparty/crates/BUILD.autocfg-1.1.0.bazel +++ b/3rdparty/crates/BUILD.autocfg-1.1.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "autocfg", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=autocfg", "manual", "noclippy", "norustfmt", ], - version = "1.1.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "1.1.0", ) diff --git a/3rdparty/crates/BUILD.bazel b/3rdparty/crates/BUILD.bazel index a2dc7e1..082f6a0 100644 --- a/3rdparty/crates/BUILD.bazel +++ b/3rdparty/crates/BUILD.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### package(default_visibility = ["//visibility:public"]) @@ -11,11 +11,9 @@ package(default_visibility = ["//visibility:public"]) exports_files( [ "cargo-bazel.json", - "defs.bzl", "crates.bzl", - ] + glob([ - "*.bazel", - ]), + "defs.bzl", + ] + glob(["*.bazel"]), ) filegroup( @@ -50,16 +48,3 @@ alias( actual = "@crates_vendor__syn-1.0.99//:syn", tags = ["manual"], ) - -# Binaries -alias( - name = "cargo-lock__cargo-lock", - actual = "@crates_vendor__cargo-lock-8.0.2//:cargo-lock__bin", - tags = ["manual"], -) - -alias( - name = "clap__stdio-fixture", - actual = "@crates_vendor__clap-3.2.20//:stdio-fixture__bin", - tags = ["manual"], -) diff --git a/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/3rdparty/crates/BUILD.bitflags-1.3.2.bazel index a8a4aae..e0177cf 100644 --- a/3rdparty/crates/BUILD.bitflags-1.3.2.bazel +++ b/3rdparty/crates/BUILD.bitflags-1.3.2.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,67 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "bitflags", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=bitflags", "manual", "noclippy", "norustfmt", ], - version = "1.3.2", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "1.3.2", ) diff --git a/3rdparty/crates/BUILD.cargo-lock-8.0.2.bazel b/3rdparty/crates/BUILD.cargo-lock-8.0.2.bazel index 44f84c0..ef54186 100644 --- a/3rdparty/crates/BUILD.cargo-lock-8.0.2.bazel +++ b/3rdparty/crates/BUILD.cargo-lock-8.0.2.bazel @@ -3,16 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -22,141 +16,67 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "cargo_lock", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=cargo-lock", "manual", "noclippy", "norustfmt", ], - version = "8.0.2", - deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__semver-1.0.13//:semver", - "@crates_vendor__serde-1.0.144//:serde", - "@crates_vendor__toml-0.5.9//:toml", - "@crates_vendor__url-2.2.2//:url", - ], - }), -) - -rust_binary( - name = "cargo-lock__bin", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/bin/cargo-lock/main.rs", - data = select_with_or({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "manual", - "noclippy", - "norustfmt", - ], version = "8.0.2", deps = [ - ":cargo_lock", - ] + select({ - "//conditions:default": [ - "@crates_vendor__semver-1.0.13//:semver", - "@crates_vendor__serde-1.0.144//:serde", - "@crates_vendor__toml-0.5.9//:toml", - "@crates_vendor__url-2.2.2//:url", - ], - }), + "@crates_vendor__semver-1.0.13//:semver", + "@crates_vendor__serde-1.0.144//:serde", + "@crates_vendor__toml-0.5.9//:toml", + "@crates_vendor__url-2.2.2//:url", + ], ) diff --git a/3rdparty/crates/BUILD.clap-3.2.20.bazel b/3rdparty/crates/BUILD.clap-3.2.20.bazel index 7fadedb..0d58811 100644 --- a/3rdparty/crates/BUILD.clap-3.2.20.bazel +++ b/3rdparty/crates/BUILD.clap-3.2.20.bazel @@ -3,16 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -22,30 +16,18 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "clap", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "atty", "clap_derive", @@ -59,134 +41,61 @@ rust_library( "termcolor", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__clap_derive-3.2.18//:clap_derive", - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", + "@crates_vendor__clap_derive-3.2.18//:clap_derive", ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=clap", "manual", "noclippy", "norustfmt", ], - version = "3.2.20", - deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__atty-0.2.14//:atty", - "@crates_vendor__bitflags-1.3.2//:bitflags", - "@crates_vendor__clap_lex-0.2.4//:clap_lex", - "@crates_vendor__indexmap-1.9.1//:indexmap", - "@crates_vendor__once_cell-1.14.0//:once_cell", - "@crates_vendor__strsim-0.10.0//:strsim", - "@crates_vendor__termcolor-1.1.3//:termcolor", - "@crates_vendor__textwrap-0.15.0//:textwrap", - ], - }), -) - -rust_binary( - name = "stdio-fixture__bin", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "atty", - "clap_derive", - "color", - "default", - "derive", - "once_cell", - "std", - "strsim", - "suggestions", - "termcolor", - ], - crate_root = "src/bin/stdio-fixture.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__clap_derive-3.2.18//:clap_derive", - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "manual", - "noclippy", - "norustfmt", - ], version = "3.2.20", deps = [ - ":clap", - ] + select({ - "//conditions:default": [ - "@crates_vendor__atty-0.2.14//:atty", - "@crates_vendor__bitflags-1.3.2//:bitflags", - "@crates_vendor__clap_lex-0.2.4//:clap_lex", - "@crates_vendor__indexmap-1.9.1//:indexmap", - "@crates_vendor__once_cell-1.14.0//:once_cell", - "@crates_vendor__strsim-0.10.0//:strsim", - "@crates_vendor__termcolor-1.1.3//:termcolor", - "@crates_vendor__textwrap-0.15.0//:textwrap", - ], - }), + "@crates_vendor__atty-0.2.14//:atty", + "@crates_vendor__bitflags-1.3.2//:bitflags", + "@crates_vendor__clap_lex-0.2.4//:clap_lex", + "@crates_vendor__indexmap-1.9.1//:indexmap", + "@crates_vendor__once_cell-1.14.0//:once_cell", + "@crates_vendor__strsim-0.10.0//:strsim", + "@crates_vendor__termcolor-1.1.3//:termcolor", + "@crates_vendor__textwrap-0.15.0//:textwrap", + ], ) diff --git a/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel b/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel index 258adfd..daf323f 100644 --- a/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel +++ b/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) @@ -21,72 +16,71 @@ package(default_visibility = ["//visibility:public"]) rust_proc_macro( name = "clap_derive", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=clap_derive", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "3.2.18", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__heck-0.4.0//:heck", - "@crates_vendor__proc-macro-error-1.0.4//:proc_macro_error", - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__syn-1.0.99//:syn", - ], - }), + "@crates_vendor__heck-0.4.0//:heck", + "@crates_vendor__proc-macro-error-1.0.4//:proc_macro_error", + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__syn-1.0.99//:syn", + ], ) diff --git a/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel b/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel index 4312bdf..fb3d155 100644 --- a/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel +++ b/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,67 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "clap_lex", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=clap_lex", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.2.4", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__os_str_bytes-6.3.0//:os_str_bytes", - ], - }), + "@crates_vendor__os_str_bytes-6.3.0//:os_str_bytes", + ], ) diff --git a/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel b/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel index 90ee434..9388189 100644 --- a/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel +++ b/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,68 +16,65 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "form_urlencoded", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=form_urlencoded", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.1", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__matches-0.1.9//:matches", - "@crates_vendor__percent-encoding-2.1.0//:percent_encoding", - ], - }), + "@crates_vendor__matches-0.1.9//:matches", + "@crates_vendor__percent-encoding-2.1.0//:percent_encoding", + ], ) diff --git a/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel index 1bcb6e3..a513b49 100644 --- a/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel +++ b/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,67 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "hashbrown", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "raw", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=hashbrown", "manual", "noclippy", "norustfmt", ], - version = "0.12.3", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.12.3", ) diff --git a/3rdparty/crates/BUILD.heck-0.4.0.bazel b/3rdparty/crates/BUILD.heck-0.4.0.bazel index 5dfe135..fea7938 100644 --- a/3rdparty/crates/BUILD.heck-0.4.0.bazel +++ b/3rdparty/crates/BUILD.heck-0.4.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,67 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "heck", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=heck", "manual", "noclippy", "norustfmt", ], - version = "0.4.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.4.0", ) diff --git a/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel b/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel index 8fc90eb..f63b8f7 100644 --- a/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel +++ b/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,68 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "hermit_abi", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=hermit-abi", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.1.19", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__libc-0.2.132//:libc", - ], - }), + "@crates_vendor__libc-0.2.132//:libc", + ], ) diff --git a/3rdparty/crates/BUILD.idna-0.2.3.bazel b/3rdparty/crates/BUILD.idna-0.2.3.bazel index 8b2e5db..bf15210 100644 --- a/3rdparty/crates/BUILD.idna-0.2.3.bazel +++ b/3rdparty/crates/BUILD.idna-0.2.3.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,69 +16,66 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "idna", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=idna", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.2.3", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__matches-0.1.9//:matches", - "@crates_vendor__unicode-bidi-0.3.8//:unicode_bidi", - "@crates_vendor__unicode-normalization-0.1.21//:unicode_normalization", - ], - }), + "@crates_vendor__matches-0.1.9//:matches", + "@crates_vendor__unicode-bidi-0.3.8//:unicode_bidi", + "@crates_vendor__unicode-normalization-0.1.21//:unicode_normalization", + ], ) diff --git a/3rdparty/crates/BUILD.indexmap-1.9.1.bazel b/3rdparty/crates/BUILD.indexmap-1.9.1.bazel index 4456e93..ca54410 100644 --- a/3rdparty/crates/BUILD.indexmap-1.9.1.bazel +++ b/3rdparty/crates/BUILD.indexmap-1.9.1.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,93 +17,75 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "indexmap", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=indexmap", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.9.1", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__hashbrown-0.12.3//:hashbrown", - "@crates_vendor__indexmap-1.9.1//:build_script_build", - ], - }), + "@crates_vendor__hashbrown-0.12.3//:hashbrown", + "@crates_vendor__indexmap-1.9.1//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "indexmap_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "std", ], @@ -122,63 +95,33 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=indexmap", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.9.1", visibility = ["//visibility:private"], deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__autocfg-1.1.0//:autocfg", - ], - }), + "@crates_vendor__autocfg-1.1.0//:autocfg", + ], ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "indexmap_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel index 080fb59..caf782c 100644 --- a/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel +++ b/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "lazy_static", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=lazy_static", "manual", "noclippy", "norustfmt", ], - version = "1.4.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "1.4.0", ) diff --git a/3rdparty/crates/BUILD.libc-0.2.132.bazel b/3rdparty/crates/BUILD.libc-0.2.132.bazel index 428ac4d..af86901 100644 --- a/3rdparty/crates/BUILD.libc-0.2.132.bazel +++ b/3rdparty/crates/BUILD.libc-0.2.132.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,155 +17,101 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "libc", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=libc", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.2.132", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__libc-0.2.132//:build_script_build", - ], - }), + "@crates_vendor__libc-0.2.132//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "libc_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=libc", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "0.2.132", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "libc_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.matches-0.1.9.bazel b/3rdparty/crates/BUILD.matches-0.1.9.bazel index 150757c..a5baffd 100644 --- a/3rdparty/crates/BUILD.matches-0.1.9.bazel +++ b/3rdparty/crates/BUILD.matches-0.1.9.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "matches", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=matches", "manual", "noclippy", "norustfmt", ], - version = "0.1.9", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.1.9", ) diff --git a/3rdparty/crates/BUILD.once_cell-1.14.0.bazel b/3rdparty/crates/BUILD.once_cell-1.14.0.bazel index 48cff02..f341f9d 100644 --- a/3rdparty/crates/BUILD.once_cell-1.14.0.bazel +++ b/3rdparty/crates/BUILD.once_cell-1.14.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,30 +16,18 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "once_cell", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "alloc", "default", @@ -52,39 +35,48 @@ rust_library( "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=once_cell", "manual", "noclippy", "norustfmt", ], - version = "1.14.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "1.14.0", ) diff --git a/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel b/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel index a251152..6d80725 100644 --- a/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel +++ b/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,67 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "os_str_bytes", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "raw_os_str", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=os_str_bytes", "manual", "noclippy", "norustfmt", ], - version = "6.3.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "6.3.0", ) diff --git a/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel b/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel index 14badc5..59cfab3 100644 --- a/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel +++ b/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "percent_encoding", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=percent-encoding", "manual", "noclippy", "norustfmt", ], - version = "2.1.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "2.1.0", ) diff --git a/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel b/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel index 574e7ef..2b3fa05 100644 --- a/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel +++ b/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,98 +17,82 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "proc_macro_error", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "syn", "syn-error", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro-error-attr-1.0.4//:proc_macro_error_attr", - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", + "@crates_vendor__proc-macro-error-attr-1.0.4//:proc_macro_error_attr", ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=proc-macro-error", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.4", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro-error-1.0.4//:build_script_build", - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__syn-1.0.99//:syn", - ], - }), + "@crates_vendor__proc-macro-error-1.0.4//:build_script_build", + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__syn-1.0.99//:syn", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "proc-macro-error_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", "syn", @@ -129,63 +104,33 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=proc-macro-error", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.4", visibility = ["//visibility:private"], deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__version_check-0.9.4//:version_check", - ], - }), + "@crates_vendor__version_check-0.9.4//:version_check", + ], ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "proc-macro-error_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel b/3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel index a2dbe59..07434ba 100644 --- a/3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel +++ b/3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) @@ -26,158 +17,106 @@ package(default_visibility = ["//visibility:public"]) rust_proc_macro( name = "proc_macro_error_attr", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=proc-macro-error-attr", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.4", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro-error-attr-1.0.4//:build_script_build", - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - ], - }), + "@crates_vendor__proc-macro-error-attr-1.0.4//:build_script_build", + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:quote", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "proc-macro-error-attr_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=proc-macro-error-attr", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.4", visibility = ["//visibility:private"], deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__version_check-0.9.4//:version_check", - ], - }), + "@crates_vendor__version_check-0.9.4//:version_check", + ], ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "proc-macro-error-attr_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.proc-macro2-1.0.43.bazel b/3rdparty/crates/BUILD.proc-macro2-1.0.43.bazel index 9a7018d..b976858 100644 --- a/3rdparty/crates/BUILD.proc-macro2-1.0.43.bazel +++ b/3rdparty/crates/BUILD.proc-macro2-1.0.43.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,94 +17,76 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "proc_macro2", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "proc-macro", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=proc-macro2", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.43", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro2-1.0.43//:build_script_build", - "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", - ], - }), + "@crates_vendor__proc-macro2-1.0.43//:build_script_build", + "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "proc-macro2_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", "proc-macro", @@ -124,62 +97,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=proc-macro2", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.43", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "proc-macro2_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.quote-1.0.21.bazel b/3rdparty/crates/BUILD.quote-1.0.21.bazel index 7f3d623..7a78ec7 100644 --- a/3rdparty/crates/BUILD.quote-1.0.21.bazel +++ b/3rdparty/crates/BUILD.quote-1.0.21.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,94 +17,76 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "quote", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "proc-macro", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=quote", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.21", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:build_script_build", - ], - }), + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "quote_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", "proc-macro", @@ -124,62 +97,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=quote", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.21", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "quote_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.semver-1.0.13.bazel b/3rdparty/crates/BUILD.semver-1.0.13.bazel index 68a8699..a051930 100644 --- a/3rdparty/crates/BUILD.semver-1.0.13.bazel +++ b/3rdparty/crates/BUILD.semver-1.0.13.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,95 +17,77 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "semver", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "serde", "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=semver", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.13", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__semver-1.0.13//:build_script_build", - "@crates_vendor__serde-1.0.144//:serde", - ], - }), + "@crates_vendor__semver-1.0.13//:build_script_build", + "@crates_vendor__serde-1.0.144//:serde", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "semver_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", "serde", @@ -126,62 +99,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=semver", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.13", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "semver_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.serde-1.0.144.bazel b/3rdparty/crates/BUILD.serde-1.0.144.bazel index d4401f5..7bf0383 100644 --- a/3rdparty/crates/BUILD.serde-1.0.144.bazel +++ b/3rdparty/crates/BUILD.serde-1.0.144.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,95 +17,79 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "serde", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "serde_derive", "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__serde_derive-1.0.144//:serde_derive", - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", + "@crates_vendor__serde_derive-1.0.144//:serde_derive", ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=serde", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.144", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__serde-1.0.144//:build_script_build", - ], - }), + "@crates_vendor__serde-1.0.144//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "serde_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", "serde_derive", @@ -126,62 +101,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=serde", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.144", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "serde_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.serde_derive-1.0.144.bazel b/3rdparty/crates/BUILD.serde_derive-1.0.144.bazel index 561e40a..ca3c9a8 100644 --- a/3rdparty/crates/BUILD.serde_derive-1.0.144.bazel +++ b/3rdparty/crates/BUILD.serde_derive-1.0.144.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) @@ -26,95 +17,77 @@ package(default_visibility = ["//visibility:public"]) rust_proc_macro( name = "serde_derive", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=serde_derive", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.144", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__serde_derive-1.0.144//:build_script_build", - "@crates_vendor__syn-1.0.99//:syn", - ], - }), + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__serde_derive-1.0.144//:build_script_build", + "@crates_vendor__syn-1.0.99//:syn", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "serde_derive_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "default", ], @@ -124,62 +97,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=serde_derive", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.144", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "serde_derive_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.strsim-0.10.0.bazel b/3rdparty/crates/BUILD.strsim-0.10.0.bazel index c3a5225..089ea97 100644 --- a/3rdparty/crates/BUILD.strsim-0.10.0.bazel +++ b/3rdparty/crates/BUILD.strsim-0.10.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "strsim", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=strsim", "manual", "noclippy", "norustfmt", ], - version = "0.10.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.10.0", ) diff --git a/3rdparty/crates/BUILD.syn-1.0.99.bazel b/3rdparty/crates/BUILD.syn-1.0.99.bazel index 943a53d..af6cec7 100644 --- a/3rdparty/crates/BUILD.syn-1.0.99.bazel +++ b/3rdparty/crates/BUILD.syn-1.0.99.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,30 +17,18 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "syn", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "clone-impls", "default", @@ -63,67 +42,61 @@ rust_library( "visit", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=syn", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.0.99", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__syn-1.0.99//:build_script_build", - "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", - ], - }), + "@crates_vendor__proc-macro2-1.0.43//:proc_macro2", + "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__syn-1.0.99//:build_script_build", + "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "syn_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "clone-impls", "default", @@ -142,62 +115,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=syn", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "1.0.99", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "syn_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.termcolor-1.1.3.bazel b/3rdparty/crates/BUILD.termcolor-1.1.3.bazel index 243506b..6e934f9 100644 --- a/3rdparty/crates/BUILD.termcolor-1.1.3.bazel +++ b/3rdparty/crates/BUILD.termcolor-1.1.3.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,65 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "termcolor", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=termcolor", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.1.3", - deps = [ - ] + select({ + deps = select({ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ "@crates_vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows) ], @@ -89,7 +83,6 @@ rust_library( "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ "@crates_vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows) ], - "//conditions:default": [ - ], + "//conditions:default": [], }), ) diff --git a/3rdparty/crates/BUILD.textwrap-0.15.0.bazel b/3rdparty/crates/BUILD.textwrap-0.15.0.bazel index 2755433..5c4c43e 100644 --- a/3rdparty/crates/BUILD.textwrap-0.15.0.bazel +++ b/3rdparty/crates/BUILD.textwrap-0.15.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "textwrap", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=textwrap", "manual", "noclippy", "norustfmt", ], - version = "0.15.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.15.0", ) diff --git a/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel b/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel index 34d20f5..40aab39 100644 --- a/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel +++ b/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,70 +16,69 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "tinyvec", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "alloc", "default", "tinyvec_macros", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=tinyvec", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "1.6.0", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__tinyvec_macros-0.1.0//:tinyvec_macros", - ], - }), + "@crates_vendor__tinyvec_macros-0.1.0//:tinyvec_macros", + ], ) diff --git a/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel b/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel index 5c5abee..b5a89a4 100644 --- a/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel +++ b/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "tinyvec_macros", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=tinyvec_macros", "manual", "noclippy", "norustfmt", ], - version = "0.1.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.1.0", ) diff --git a/3rdparty/crates/BUILD.toml-0.5.9.bazel b/3rdparty/crates/BUILD.toml-0.5.9.bazel index 80e603a..3a2a1a0 100644 --- a/3rdparty/crates/BUILD.toml-0.5.9.bazel +++ b/3rdparty/crates/BUILD.toml-0.5.9.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,68 +16,67 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "toml", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=toml", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.5.9", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__serde-1.0.144//:serde", - ], - }), + "@crates_vendor__serde-1.0.144//:serde", + ], ) diff --git a/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel b/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel index 3a38e8e..b1e8358 100644 --- a/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel +++ b/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,69 +16,66 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "unicode_bidi", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "hardcoded-data", "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=unicode-bidi", "manual", "noclippy", "norustfmt", ], - version = "0.3.8", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.3.8", ) diff --git a/3rdparty/crates/BUILD.unicode-ident-1.0.3.bazel b/3rdparty/crates/BUILD.unicode-ident-1.0.3.bazel index 44b2a9b..f6cdc48 100644 --- a/3rdparty/crates/BUILD.unicode-ident-1.0.3.bazel +++ b/3rdparty/crates/BUILD.unicode-ident-1.0.3.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "unicode_ident", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=unicode-ident", "manual", "noclippy", "norustfmt", ], - version = "1.0.3", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "1.0.3", ) diff --git a/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel b/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel index 181d543..51fe75c 100644 --- a/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel +++ b/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,69 +16,68 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "unicode_normalization", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "default", "std", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=unicode-normalization", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.1.21", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__tinyvec-1.6.0//:tinyvec", - ], - }), + "@crates_vendor__tinyvec-1.6.0//:tinyvec", + ], ) diff --git a/3rdparty/crates/BUILD.url-2.2.2.bazel b/3rdparty/crates/BUILD.url-2.2.2.bazel index c6a7f33..af2bd45 100644 --- a/3rdparty/crates/BUILD.url-2.2.2.bazel +++ b/3rdparty/crates/BUILD.url-2.2.2.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,70 +16,67 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "url", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=url", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "2.2.2", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__form_urlencoded-1.0.1//:form_urlencoded", - "@crates_vendor__idna-0.2.3//:idna", - "@crates_vendor__matches-0.1.9//:matches", - "@crates_vendor__percent-encoding-2.1.0//:percent_encoding", - ], - }), + "@crates_vendor__form_urlencoded-1.0.1//:form_urlencoded", + "@crates_vendor__idna-0.2.3//:idna", + "@crates_vendor__matches-0.1.9//:matches", + "@crates_vendor__percent-encoding-2.1.0//:percent_encoding", + ], ) diff --git a/3rdparty/crates/BUILD.version_check-0.9.4.bazel b/3rdparty/crates/BUILD.version_check-0.9.4.bazel index f608fbb..57c3c5e 100644 --- a/3rdparty/crates/BUILD.version_check-0.9.4.bazel +++ b/3rdparty/crates/BUILD.version_check-0.9.4.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "version_check", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=version_check", "manual", "noclippy", "norustfmt", ], - version = "0.9.4", - deps = [ - ] + select({ - "//conditions:default": [ - ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], }), + version = "0.9.4", ) diff --git a/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/3rdparty/crates/BUILD.winapi-0.3.9.bazel index ba41c68..a44af59 100644 --- a/3rdparty/crates/BUILD.winapi-0.3.9.bazel +++ b/3rdparty/crates/BUILD.winapi-0.3.9.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,30 +17,18 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "winapi", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "consoleapi", "errhandlingapi", @@ -64,64 +43,58 @@ rust_library( "winnt", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=winapi", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.3.9", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__winapi-0.3.9//:build_script_build", - ], - }), + "@crates_vendor__winapi-0.3.9//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "winapi_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), + srcs = glob(["**/*.rs"]), crate_features = [ "consoleapi", "errhandlingapi", @@ -141,62 +114,30 @@ cargo_build_script( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=winapi", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "0.3.9", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "winapi_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 712a3a3..36dc35d 100644 --- a/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,155 +17,101 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "winapi_i686_pc_windows_gnu", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=winapi-i686-pc-windows-gnu", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.4.0", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", - ], - }), + "@crates_vendor__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "winapi-i686-pc-windows-gnu_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=winapi-i686-pc-windows-gnu", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "0.4.0", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "winapi-i686-pc-windows-gnu_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel b/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel index 06c83ad..8797e47 100644 --- a/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel +++ b/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,65 +16,64 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "winapi_util", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=winapi-util", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.1.5", - deps = [ - ] + select({ + deps = select({ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) ], @@ -89,7 +83,6 @@ rust_library( "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) ], - "//conditions:default": [ - ], + "//conditions:default": [], }), ) diff --git a/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index ef55100..c1ebfcc 100644 --- a/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -3,20 +3,11 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### -load( - "@rules_rust//cargo:defs.bzl", - "cargo_build_script", -) - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -26,155 +17,101 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "winapi_x86_64_pc_windows_gnu", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + ), crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), - rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=winapi-x86_64-pc-windows-gnu", "manual", "noclippy", "norustfmt", ], + target_compatible_with = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [], + "@rules_rust//rust/platform:aarch64-apple-ios": [], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], + "@rules_rust//rust/platform:aarch64-fuchsia": [], + "@rules_rust//rust/platform:aarch64-linux-android": [], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:armv7-linux-androideabi": [], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], + "@rules_rust//rust/platform:i686-apple-darwin": [], + "@rules_rust//rust/platform:i686-linux-android": [], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [], + "@rules_rust//rust/platform:i686-unknown-freebsd": [], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [], + "@rules_rust//rust/platform:wasm32-wasi": [], + "@rules_rust//rust/platform:x86_64-apple-darwin": [], + "@rules_rust//rust/platform:x86_64-apple-ios": [], + "@rules_rust//rust/platform:x86_64-fuchsia": [], + "@rules_rust//rust/platform:x86_64-linux-android": [], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), version = "0.4.0", deps = [ - ] + select({ - "//conditions:default": [ - "@crates_vendor__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", - ], - }), + "@crates_vendor__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", + ], ) cargo_build_script( - # See comment associated with alias. Do not change this name name = "winapi-x86_64-pc-windows-gnu_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], + srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", + ".tmp_git_root/**/*", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - ], - }), - rustc_env = { - }, - rustc_env_files = select_with_or({ - "//conditions:default": [ - ], - }), rustc_flags = [ - # In most cases, warnings in 3rd party crates are not interesting as - # they're out of the control of consumers. The flag here silences - # warnings. For more details see: - # https://doc.rust-lang.org/rustc/lints/levels.html "--cap-lints=allow", ], tags = [ "cargo-bazel", + "crate-name=winapi-x86_64-pc-windows-gnu", "manual", "noclippy", "norustfmt", ], - tools = select_with_or({ - "//conditions:default": [ - ], - }), version = "0.4.0", visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), ) alias( - # Because `cargo_build_script` does some invisible target name mutating to - # determine the package and crate name for a build script, the Bazel - # target name of any build script cannot be the Cargo canonical name - # of `cargo_build_script` (rule) without losing out on having certain - # Cargo environment variables set. name = "build_script_build", actual = "winapi-x86_64-pc-windows-gnu_build_script", - tags = [ - "manual", - ], + tags = ["manual"], ) diff --git a/3rdparty/crates/defs.bzl b/3rdparty/crates/defs.bzl index 811e4cb..559f7aa 100644 --- a/3rdparty/crates/defs.bzl +++ b/3rdparty/crates/defs.bzl @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //3rdparty:crates_vendor +# bazel run @//3rdparty:crates_vendor ############################################################################### """ # `crates_repository` API @@ -37,7 +37,7 @@ def _flatten_dependency_maps(all_dependency_maps): # name of the workspace this file is defined in. "workspace_member_package": { - # Not all dependnecies are supported for all platforms. + # Not all dependencies are supported for all platforms. # the condition key is the condition required to be true # on the host platform. "condition": { @@ -202,7 +202,10 @@ def all_crate_deps( crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values()) for condition, deps in dependencies.items(): - crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()}) + crate_deps += selects.with_or({ + tuple(_CONDITIONS[condition]): deps.values(), + "//conditions:default": [], + }) return crate_deps @@ -274,15 +277,16 @@ def aliases( # Build a single select statement where each conditional has accounted for the # common set of aliases. - crate_aliases = {"//conditions:default": common_items} + crate_aliases = {"//conditions:default": dict(common_items)} for condition, deps in aliases.items(): condition_triples = _CONDITIONS[condition] - if condition_triples in crate_aliases: - crate_aliases[condition_triples].update(deps) - else: - crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)}) + for triple in condition_triples: + if triple in crate_aliases: + crate_aliases[triple].update(deps) + else: + crate_aliases.update({triple: dict(deps.items() + common_items)}) - return selects.with_or(crate_aliases) + return select(crate_aliases) ############################################################################### # WORKSPACE MEMBER DEPS AND ALIASES @@ -358,8 +362,8 @@ _BUILD_PROC_MACRO_ALIASES = { _CONDITIONS = { "cfg(target_os = \"hermit\")": [], - "cfg(unix)": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"], - "cfg(windows)": ["aarch64-pc-windows-msvc", "i686-pc-windows-msvc", "x86_64-pc-windows-msvc"], + "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "i686-pc-windows-gnu": [], "x86_64-pc-windows-gnu": [], } diff --git a/example/cargo.bazel.lock b/example/cargo.bazel.lock index ae6bac3..da1debc 100644 --- a/example/cargo.bazel.lock +++ b/example/cargo.bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "c280840ff83b7832e20b3b94304c889bb2a7ea6813b592dd64d719c45cfbbbce", + "checksum": "243a959c1b9ec34481e66b14d86b5c2f28a197b0f1b6dabc4df51464dbe7bad3", "crates": { "atty 0.2.14": { "name": "atty",