From 5d978adc1af6571a49d129fe50b31a28d0fc98cd Mon Sep 17 00:00:00 2001 From: William Smith Date: Thu, 8 Feb 2024 21:34:46 -0800 Subject: [PATCH] upgrade syn to 2.0 and clap to 4.0 --- 3rdparty/BUILD.bazel | 4 +- ...2.20.bazel => BUILD.anstream-0.6.11.bazel} | 46 ++- ...0.12.3.bazel => BUILD.anstyle-1.0.5.bazel} | 9 +- .../crates/BUILD.anstyle-parse-0.2.3.bazel | 88 +++++ ....bazel => BUILD.anstyle-query-1.0.2.bazel} | 16 +- ...bazel => BUILD.anstyle-wincon-3.0.2.bazel} | 20 +- 3rdparty/crates/BUILD.atty-0.2.14.bazel | 165 --------- 3rdparty/crates/BUILD.autocfg-1.1.0.bazel | 81 ----- 3rdparty/crates/BUILD.bazel | 4 +- 3rdparty/crates/BUILD.clap-4.4.18.bazel | 97 ++++++ .../crates/BUILD.clap_builder-4.4.18.bazel | 95 +++++ ...18.bazel => BUILD.clap_derive-4.4.7.bazel} | 7 +- ...0.2.4.bazel => BUILD.clap_lex-0.6.0.bazel} | 5 +- ....0.bazel => BUILD.colorchoice-1.0.0.bazel} | 9 +- 3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel | 84 ----- 3rdparty/crates/BUILD.indexmap-1.9.1.bazel | 132 ------- .../crates/BUILD.proc-macro-error-1.0.4.bazel | 141 -------- .../BUILD.proc-macro-error-attr-1.0.4.bazel | 127 ------- ...-1.14.0.bazel => BUILD.quote-1.0.33.bazel} | 13 +- .../crates/BUILD.serde_derive-1.0.156.bazel | 2 +- 3rdparty/crates/BUILD.syn-1.0.109.bazel | 8 +- 3rdparty/crates/BUILD.syn-2.0.43.bazel | 98 ++++++ 3rdparty/crates/BUILD.textwrap-0.15.0.bazel | 81 ----- ....3.2.bazel => BUILD.utf8parse-0.2.1.bazel} | 8 +- .../crates/BUILD.version_check-0.9.4.bazel | 81 ----- 3rdparty/crates/BUILD.winapi-0.3.9.bazel | 148 -------- .../crates/BUILD.windows-sys-0.52.0.bazel | 91 +++++ .../crates/BUILD.windows-targets-0.52.0.bazel | 102 ++++++ ...UILD.windows_aarch64_gnullvm-0.52.0.bazel} | 22 +- ...> BUILD.windows_aarch64_msvc-0.52.0.bazel} | 22 +- ...el => BUILD.windows_i686_gnu-0.52.0.bazel} | 20 +- ...l => BUILD.windows_i686_msvc-0.52.0.bazel} | 29 +- .../BUILD.windows_x86_64_gnu-0.52.0.bazel | 122 +++++++ .../BUILD.windows_x86_64_gnullvm-0.52.0.bazel | 122 +++++++ .../BUILD.windows_x86_64_msvc-0.52.0.bazel | 122 +++++++ 3rdparty/crates/defs.bzl | 329 +++++++++--------- cargo.lock | 260 +++++++------- rust_parser/parser.rs | 62 ++-- 38 files changed, 1379 insertions(+), 1493 deletions(-) rename 3rdparty/crates/{BUILD.clap-3.2.20.bazel => BUILD.anstream-0.6.11.bazel} (78%) rename 3rdparty/crates/{BUILD.hashbrown-0.12.3.bazel => BUILD.anstyle-1.0.5.bazel} (96%) create mode 100644 3rdparty/crates/BUILD.anstyle-parse-0.2.3.bazel rename 3rdparty/crates/{BUILD.winapi-util-0.1.5.bazel => BUILD.anstyle-query-1.0.2.bazel} (90%) rename 3rdparty/crates/{BUILD.termcolor-1.1.3.bazel => BUILD.anstyle-wincon-3.0.2.bazel} (88%) delete mode 100644 3rdparty/crates/BUILD.atty-0.2.14.bazel delete mode 100644 3rdparty/crates/BUILD.autocfg-1.1.0.bazel create mode 100644 3rdparty/crates/BUILD.clap-4.4.18.bazel create mode 100644 3rdparty/crates/BUILD.clap_builder-4.4.18.bazel rename 3rdparty/crates/{BUILD.clap_derive-3.2.18.bazel => BUILD.clap_derive-4.4.7.bazel} (95%) rename 3rdparty/crates/{BUILD.clap_lex-0.2.4.bazel => BUILD.clap_lex-0.6.0.bazel} (96%) rename 3rdparty/crates/{BUILD.os_str_bytes-6.3.0.bazel => BUILD.colorchoice-1.0.0.bazel} (96%) delete mode 100644 3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel delete mode 100644 3rdparty/crates/BUILD.indexmap-1.9.1.bazel delete mode 100644 3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel delete mode 100644 3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel rename 3rdparty/crates/{BUILD.once_cell-1.14.0.bazel => BUILD.quote-1.0.33.bazel} (95%) create mode 100644 3rdparty/crates/BUILD.syn-2.0.43.bazel delete mode 100644 3rdparty/crates/BUILD.textwrap-0.15.0.bazel rename 3rdparty/crates/{BUILD.bitflags-1.3.2.bazel => BUILD.utf8parse-0.2.1.bazel} (96%) delete mode 100644 3rdparty/crates/BUILD.version_check-0.9.4.bazel delete mode 100644 3rdparty/crates/BUILD.winapi-0.3.9.bazel create mode 100644 3rdparty/crates/BUILD.windows-sys-0.52.0.bazel create mode 100644 3rdparty/crates/BUILD.windows-targets-0.52.0.bazel rename 3rdparty/crates/{BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel => BUILD.windows_aarch64_gnullvm-0.52.0.bazel} (89%) rename 3rdparty/crates/{BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel => BUILD.windows_aarch64_msvc-0.52.0.bazel} (89%) rename 3rdparty/crates/{BUILD.libc-0.2.132.bazel => BUILD.windows_i686_gnu-0.52.0.bazel} (91%) rename 3rdparty/crates/{BUILD.quote-1.0.21.bazel => BUILD.windows_i686_msvc-0.52.0.bazel} (88%) create mode 100644 3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.0.bazel create mode 100644 3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.0.bazel create mode 100644 3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.0.bazel diff --git a/3rdparty/BUILD.bazel b/3rdparty/BUILD.bazel index 0d256b9..83156ed 100644 --- a/3rdparty/BUILD.bazel +++ b/3rdparty/BUILD.bazel @@ -12,11 +12,11 @@ crates_vendor( "visit", "extra-traits", ], - version = "1.0", + version = "2", ), "clap": crate.spec( features = ["derive"], - version = "3.2", + version = "4", ), "lazy_static": crate.spec( version = "1.4", diff --git a/3rdparty/crates/BUILD.clap-3.2.20.bazel b/3rdparty/crates/BUILD.anstream-0.6.11.bazel similarity index 78% rename from 3rdparty/crates/BUILD.clap-3.2.20.bazel rename to 3rdparty/crates/BUILD.anstream-0.6.11.bazel index 485a2e0..a1653ea 100644 --- a/3rdparty/crates/BUILD.clap-3.2.20.bazel +++ b/3rdparty/crates/BUILD.anstream-0.6.11.bazel @@ -15,7 +15,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "clap", + name = "anstream", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,28 +29,18 @@ rust_library( ], ), crate_features = [ - "atty", - "clap_derive", - "color", + "auto", "default", - "derive", - "once_cell", - "std", - "strsim", - "suggestions", - "termcolor", + "wincon", ], crate_root = "src/lib.rs", edition = "2021", - proc_macro_deps = [ - "@crates_vendor__clap_derive-3.2.18//:clap_derive", - ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=clap", + "crate-name=anstream", "manual", "noclippy", "norustfmt", @@ -92,15 +82,23 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "3.2.20", + version = "0.6.11", deps = [ - "@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__anstyle-1.0.5//:anstyle", + "@crates_vendor__anstyle-parse-0.2.3//:anstyle_parse", + "@crates_vendor__anstyle-query-1.0.2//:anstyle_query", + "@crates_vendor__colorchoice-1.0.0//:colorchoice", + "@crates_vendor__utf8parse-0.2.1//:utf8parse", + ] + select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@crates_vendor__anstyle-wincon-3.0.2//:anstyle_wincon", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@crates_vendor__anstyle-wincon-3.0.2//:anstyle_wincon", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@crates_vendor__anstyle-wincon-3.0.2//:anstyle_wincon", # cfg(windows) + ], + "//conditions:default": [], + }), ) diff --git a/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/3rdparty/crates/BUILD.anstyle-1.0.5.bazel similarity index 96% rename from 3rdparty/crates/BUILD.hashbrown-0.12.3.bazel rename to 3rdparty/crates/BUILD.anstyle-1.0.5.bazel index 2d9aa35..81b7eba 100644 --- a/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel +++ b/3rdparty/crates/BUILD.anstyle-1.0.5.bazel @@ -15,7 +15,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "hashbrown", + name = "anstyle", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,7 +29,8 @@ rust_library( ], ), crate_features = [ - "raw", + "default", + "std", ], crate_root = "src/lib.rs", edition = "2021", @@ -38,7 +39,7 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=hashbrown", + "crate-name=anstyle", "manual", "noclippy", "norustfmt", @@ -80,5 +81,5 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.12.3", + version = "1.0.5", ) diff --git a/3rdparty/crates/BUILD.anstyle-parse-0.2.3.bazel b/3rdparty/crates/BUILD.anstyle-parse-0.2.3.bazel new file mode 100644 index 0000000..0a491ed --- /dev/null +++ b/3rdparty/crates/BUILD.anstyle-parse-0.2.3.bazel @@ -0,0 +1,88 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "anstyle_parse", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "utf8", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=anstyle-parse", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.2.3", + deps = [ + "@crates_vendor__utf8parse-0.2.1//:utf8parse", + ], +) diff --git a/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel b/3rdparty/crates/BUILD.anstyle-query-1.0.2.bazel similarity index 90% rename from 3rdparty/crates/BUILD.winapi-util-0.1.5.bazel rename to 3rdparty/crates/BUILD.anstyle-query-1.0.2.bazel index 16f171a..9a9e6ad 100644 --- a/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel +++ b/3rdparty/crates/BUILD.anstyle-query-1.0.2.bazel @@ -11,11 +11,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) # licenses([ -# "TODO", # Unlicense/MIT +# "TODO", # MIT OR Apache-2.0 # ]) rust_library( - name = "winapi_util", + name = "anstyle_query", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,13 +29,13 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi-util", + "crate-name=anstyle-query", "manual", "noclippy", "norustfmt", @@ -77,16 +77,16 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.1.5", + version = "1.0.2", deps = select({ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "//conditions:default": [], }), diff --git a/3rdparty/crates/BUILD.termcolor-1.1.3.bazel b/3rdparty/crates/BUILD.anstyle-wincon-3.0.2.bazel similarity index 88% rename from 3rdparty/crates/BUILD.termcolor-1.1.3.bazel rename to 3rdparty/crates/BUILD.anstyle-wincon-3.0.2.bazel index 6c1cca5..750685a 100644 --- a/3rdparty/crates/BUILD.termcolor-1.1.3.bazel +++ b/3rdparty/crates/BUILD.anstyle-wincon-3.0.2.bazel @@ -11,11 +11,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) # licenses([ -# "TODO", # Unlicense OR MIT +# "TODO", # MIT OR Apache-2.0 # ]) rust_library( - name = "termcolor", + name = "anstyle_wincon", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,13 +29,13 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=termcolor", + "crate-name=anstyle-wincon", "manual", "noclippy", "norustfmt", @@ -77,16 +77,18 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "1.1.3", - deps = select({ + version = "3.0.2", + deps = [ + "@crates_vendor__anstyle-1.0.5//:anstyle", + ] + select({ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@crates_vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@crates_vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@crates_vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows) + "@crates_vendor__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "//conditions:default": [], }), diff --git a/3rdparty/crates/BUILD.atty-0.2.14.bazel b/3rdparty/crates/BUILD.atty-0.2.14.bazel deleted file mode 100644 index 9cec631..0000000 --- a/3rdparty/crates/BUILD.atty-0.2.14.bazel +++ /dev/null @@ -1,165 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT -# ]) - -rust_library( - name = "atty", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2015", - 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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "0.2.14", - deps = select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@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) - ], - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@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) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@crates_vendor__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@crates_vendor__libc-0.2.132//:libc", # cfg(unix) - ], - "//conditions:default": [], - }), -) diff --git a/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/3rdparty/crates/BUILD.autocfg-1.1.0.bazel deleted file mode 100644 index c2c3c54..0000000 --- a/3rdparty/crates/BUILD.autocfg-1.1.0.bazel +++ /dev/null @@ -1,81 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - -rust_library( - name = "autocfg", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=autocfg", - "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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-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 5d07077..684b352 100644 --- a/3rdparty/crates/BUILD.bazel +++ b/3rdparty/crates/BUILD.bazel @@ -39,7 +39,7 @@ alias( alias( name = "clap", - actual = "@crates_vendor__clap-3.2.20//:clap", + actual = "@crates_vendor__clap-4.4.18//:clap", tags = ["manual"], ) @@ -51,6 +51,6 @@ alias( alias( name = "syn", - actual = "@crates_vendor__syn-1.0.109//:syn", + actual = "@crates_vendor__syn-2.0.43//:syn", tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.clap-4.4.18.bazel b/3rdparty/crates/BUILD.clap-4.4.18.bazel new file mode 100644 index 0000000..f74c07a --- /dev/null +++ b/3rdparty/crates/BUILD.clap-4.4.18.bazel @@ -0,0 +1,97 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "clap", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "color", + "default", + "derive", + "error-context", + "help", + "std", + "suggestions", + "usage", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@crates_vendor__clap_derive-4.4.7//:clap_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=clap", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "4.4.18", + deps = [ + "@crates_vendor__clap_builder-4.4.18//:clap_builder", + ], +) diff --git a/3rdparty/crates/BUILD.clap_builder-4.4.18.bazel b/3rdparty/crates/BUILD.clap_builder-4.4.18.bazel new file mode 100644 index 0000000..72e7507 --- /dev/null +++ b/3rdparty/crates/BUILD.clap_builder-4.4.18.bazel @@ -0,0 +1,95 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "clap_builder", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "color", + "error-context", + "help", + "std", + "suggestions", + "usage", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=clap_builder", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "4.4.18", + deps = [ + "@crates_vendor__anstream-0.6.11//:anstream", + "@crates_vendor__anstyle-1.0.5//:anstyle", + "@crates_vendor__clap_lex-0.6.0//:clap_lex", + "@crates_vendor__strsim-0.10.0//:strsim", + ], +) diff --git a/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel b/3rdparty/crates/BUILD.clap_derive-4.4.7.bazel similarity index 95% rename from 3rdparty/crates/BUILD.clap_derive-3.2.18.bazel rename to 3rdparty/crates/BUILD.clap_derive-4.4.7.bazel index de708e7..c6209b6 100644 --- a/3rdparty/crates/BUILD.clap_derive-3.2.18.bazel +++ b/3rdparty/crates/BUILD.clap_derive-4.4.7.bazel @@ -80,12 +80,11 @@ rust_proc_macro( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "3.2.18", + version = "4.4.7", deps = [ "@crates_vendor__heck-0.4.0//:heck", - "@crates_vendor__proc-macro-error-1.0.4//:proc_macro_error", "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__syn-1.0.109//:syn", + "@crates_vendor__quote-1.0.33//:quote", + "@crates_vendor__syn-2.0.43//:syn", ], ) diff --git a/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel b/3rdparty/crates/BUILD.clap_lex-0.6.0.bazel similarity index 96% rename from 3rdparty/crates/BUILD.clap_lex-0.2.4.bazel rename to 3rdparty/crates/BUILD.clap_lex-0.6.0.bazel index e11fc64..a60613f 100644 --- a/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel +++ b/3rdparty/crates/BUILD.clap_lex-0.6.0.bazel @@ -77,8 +77,5 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.2.4", - deps = [ - "@crates_vendor__os_str_bytes-6.3.0//:os_str_bytes", - ], + version = "0.6.0", ) diff --git a/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel b/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel similarity index 96% rename from 3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel rename to 3rdparty/crates/BUILD.colorchoice-1.0.0.bazel index cb0c875..b4e1958 100644 --- a/3rdparty/crates/BUILD.os_str_bytes-6.3.0.bazel +++ b/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel @@ -15,7 +15,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "os_str_bytes", + name = "colorchoice", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -28,9 +28,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "raw_os_str", - ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -38,7 +35,7 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=os_str_bytes", + "crate-name=colorchoice", "manual", "noclippy", "norustfmt", @@ -80,5 +77,5 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "6.3.0", + version = "1.0.0", ) diff --git a/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel b/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel deleted file mode 100644 index df18430..0000000 --- a/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel +++ /dev/null @@ -1,84 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - -rust_library( - name = "hermit_abi", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - 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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "0.1.19", - deps = [ - "@crates_vendor__libc-0.2.132//:libc", - ], -) diff --git a/3rdparty/crates/BUILD.indexmap-1.9.1.bazel b/3rdparty/crates/BUILD.indexmap-1.9.1.bazel deleted file mode 100644 index 18d7841..0000000 --- a/3rdparty/crates/BUILD.indexmap-1.9.1.bazel +++ /dev/null @@ -1,132 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - -rust_library( - name = "indexmap", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - edition = "2021", - 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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "1.9.1", - deps = [ - "@crates_vendor__hashbrown-0.12.3//:hashbrown", - "@crates_vendor__indexmap-1.9.1//:build_script_build", - ], -) - -cargo_build_script( - name = "indexmap_build_script", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=indexmap", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.9.1", - visibility = ["//visibility:private"], - deps = [ - "@crates_vendor__autocfg-1.1.0//:autocfg", - ], -) - -alias( - name = "build_script_build", - actual = ":indexmap_build_script", - tags = ["manual"], -) diff --git a/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel b/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel deleted file mode 100644 index 05c70d7..0000000 --- a/3rdparty/crates/BUILD.proc-macro-error-1.0.4.bazel +++ /dev/null @@ -1,141 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_library( - name = "proc_macro_error", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - "syn", - "syn-error", - ], - crate_root = "src/lib.rs", - edition = "2018", - proc_macro_deps = [ - "@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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "1.0.4", - deps = [ - "@crates_vendor__proc-macro-error-1.0.4//:build_script_build", - "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - "@crates_vendor__syn-1.0.109//:syn", - ], -) - -cargo_build_script( - name = "proc-macro-error_build_script", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "syn", - "syn-error", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=proc-macro-error", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.0.4", - visibility = ["//visibility:private"], - deps = [ - "@crates_vendor__version_check-0.9.4//:version_check", - ], -) - -alias( - name = "build_script_build", - actual = ":proc-macro-error_build_script", - 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 deleted file mode 100644 index 3a856ea..0000000 --- a/3rdparty/crates/BUILD.proc-macro-error-attr-1.0.4.bazel +++ /dev/null @@ -1,127 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_proc_macro") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_proc_macro( - name = "proc_macro_error_attr", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - 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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "1.0.4", - deps = [ - "@crates_vendor__proc-macro-error-attr-1.0.4//:build_script_build", - "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", - ], -) - -cargo_build_script( - name = "proc-macro-error-attr_build_script", - srcs = glob(["**/*.rs"]), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=proc-macro-error-attr", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.0.4", - visibility = ["//visibility:private"], - deps = [ - "@crates_vendor__version_check-0.9.4//:version_check", - ], -) - -alias( - name = "build_script_build", - actual = ":proc-macro-error-attr_build_script", - tags = ["manual"], -) diff --git a/3rdparty/crates/BUILD.once_cell-1.14.0.bazel b/3rdparty/crates/BUILD.quote-1.0.33.bazel similarity index 95% rename from 3rdparty/crates/BUILD.once_cell-1.14.0.bazel rename to 3rdparty/crates/BUILD.quote-1.0.33.bazel index ec1bcf1..dc12257 100644 --- a/3rdparty/crates/BUILD.once_cell-1.14.0.bazel +++ b/3rdparty/crates/BUILD.quote-1.0.33.bazel @@ -15,7 +15,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "once_cell", + name = "quote", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,10 +29,8 @@ rust_library( ], ), crate_features = [ - "alloc", "default", - "race", - "std", + "proc-macro", ], crate_root = "src/lib.rs", edition = "2018", @@ -41,7 +39,7 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=once_cell", + "crate-name=quote", "manual", "noclippy", "norustfmt", @@ -83,5 +81,8 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "1.14.0", + version = "1.0.33", + deps = [ + "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", + ], ) diff --git a/3rdparty/crates/BUILD.serde_derive-1.0.156.bazel b/3rdparty/crates/BUILD.serde_derive-1.0.156.bazel index a27e671..f1a8791 100644 --- a/3rdparty/crates/BUILD.serde_derive-1.0.156.bazel +++ b/3rdparty/crates/BUILD.serde_derive-1.0.156.bazel @@ -84,7 +84,7 @@ rust_proc_macro( version = "1.0.156", deps = [ "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__quote-1.0.33//:quote", "@crates_vendor__serde_derive-1.0.156//:build_script_build", "@crates_vendor__syn-1.0.109//:syn", ], diff --git a/3rdparty/crates/BUILD.syn-1.0.109.bazel b/3rdparty/crates/BUILD.syn-1.0.109.bazel index 5940005..4d78be1 100644 --- a/3rdparty/crates/BUILD.syn-1.0.109.bazel +++ b/3rdparty/crates/BUILD.syn-1.0.109.bazel @@ -33,13 +33,10 @@ rust_library( "clone-impls", "default", "derive", - "extra-traits", - "full", "parsing", "printing", "proc-macro", "quote", - "visit", ], crate_root = "src/lib.rs", edition = "2018", @@ -93,7 +90,7 @@ rust_library( version = "1.0.109", deps = [ "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:quote", + "@crates_vendor__quote-1.0.33//:quote", "@crates_vendor__syn-1.0.109//:build_script_build", "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", ], @@ -106,13 +103,10 @@ cargo_build_script( "clone-impls", "default", "derive", - "extra-traits", - "full", "parsing", "printing", "proc-macro", "quote", - "visit", ], crate_name = "build_script_build", crate_root = "build.rs", diff --git a/3rdparty/crates/BUILD.syn-2.0.43.bazel b/3rdparty/crates/BUILD.syn-2.0.43.bazel new file mode 100644 index 0000000..8537d18 --- /dev/null +++ b/3rdparty/crates/BUILD.syn-2.0.43.bazel @@ -0,0 +1,98 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "syn", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + ], + crate_root = "src/lib.rs", + edition = "2021", + 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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "2.0.43", + deps = [ + "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", + "@crates_vendor__quote-1.0.33//:quote", + "@crates_vendor__unicode-ident-1.0.3//:unicode_ident", + ], +) diff --git a/3rdparty/crates/BUILD.textwrap-0.15.0.bazel b/3rdparty/crates/BUILD.textwrap-0.15.0.bazel deleted file mode 100644 index 263f358..0000000 --- a/3rdparty/crates/BUILD.textwrap-0.15.0.bazel +++ /dev/null @@ -1,81 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT -# ]) - -rust_library( - name = "textwrap", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=textwrap", - "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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "0.15.0", -) diff --git a/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel similarity index 96% rename from 3rdparty/crates/BUILD.bitflags-1.3.2.bazel rename to 3rdparty/crates/BUILD.utf8parse-0.2.1.bazel index 66e8615..2d52cc8 100644 --- a/3rdparty/crates/BUILD.bitflags-1.3.2.bazel +++ b/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel @@ -11,11 +11,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) # licenses([ -# "TODO", # MIT/Apache-2.0 +# "TODO", # Apache-2.0 OR MIT # ]) rust_library( - name = "bitflags", + name = "utf8parse", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -38,7 +38,7 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=bitflags", + "crate-name=utf8parse", "manual", "noclippy", "norustfmt", @@ -80,5 +80,5 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "1.3.2", + version = "0.2.1", ) diff --git a/3rdparty/crates/BUILD.version_check-0.9.4.bazel b/3rdparty/crates/BUILD.version_check-0.9.4.bazel deleted file mode 100644 index 007f15c..0000000 --- a/3rdparty/crates/BUILD.version_check-0.9.4.bazel +++ /dev/null @@ -1,81 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - -rust_library( - name = "version_check", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=version_check", - "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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-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 deleted file mode 100644 index 7d9f5b2..0000000 --- a/3rdparty/crates/BUILD.winapi-0.3.9.bazel +++ /dev/null @@ -1,148 +0,0 @@ -############################################################################### -# @generated -# 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 -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - -rust_library( - name = "winapi", - srcs = glob(["**/*.rs"]), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "consoleapi", - "errhandlingapi", - "fileapi", - "minwinbase", - "minwindef", - "processenv", - "std", - "winbase", - "wincon", - "winerror", - "winnt", - ], - crate_root = "src/lib.rs", - edition = "2015", - 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:aarch64-unknown-nixos-gnu": [], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], - "@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-nixos-gnu": [], - "@rules_rust//rust/platform:x86_64-unknown-none": [], - "//conditions:default": ["@platforms//:incompatible"], - }), - version = "0.3.9", - deps = [ - "@crates_vendor__winapi-0.3.9//:build_script_build", - ], -) - -cargo_build_script( - name = "winapi_build_script", - srcs = glob(["**/*.rs"]), - crate_features = [ - "consoleapi", - "errhandlingapi", - "fileapi", - "minwinbase", - "minwindef", - "processenv", - "std", - "winbase", - "wincon", - "winerror", - "winnt", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=winapi", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.9", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":winapi_build_script", - tags = ["manual"], -) diff --git a/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel b/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel new file mode 100644 index 0000000..e611bbb --- /dev/null +++ b/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel @@ -0,0 +1,91 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_System", + "Win32_System_Console", + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.52.0", + deps = [ + "@crates_vendor__windows-targets-0.52.0//:windows_targets", + ], +) diff --git a/3rdparty/crates/BUILD.windows-targets-0.52.0.bazel b/3rdparty/crates/BUILD.windows-targets-0.52.0.bazel new file mode 100644 index 0000000..8e6d97d --- /dev/null +++ b/3rdparty/crates/BUILD.windows-targets-0.52.0.bazel @@ -0,0 +1,102 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_targets", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.52.0", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@crates_vendor__windows_aarch64_msvc-0.52.0//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@crates_vendor__windows_i686_msvc-0.52.0//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@crates_vendor__windows_i686_gnu-0.52.0//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@crates_vendor__windows_x86_64_msvc-0.52.0//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@crates_vendor__windows_x86_64_gnu-0.52.0//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@crates_vendor__windows_x86_64_gnu-0.52.0//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "//conditions:default": [], + }), +) diff --git a/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.0.bazel similarity index 89% rename from 3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel rename to 3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.0.bazel index d4e41d2..3f45a70 100644 --- a/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.0.bazel @@ -12,11 +12,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) # licenses([ -# "TODO", # MIT/Apache-2.0 +# "TODO", # MIT OR Apache-2.0 # ]) rust_library( - name = "winapi_i686_pc_windows_gnu", + name = "windows_aarch64_gnullvm", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -30,13 +30,13 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi-i686-pc-windows-gnu", + "crate-name=windows_aarch64_gnullvm", "manual", "noclippy", "norustfmt", @@ -78,14 +78,14 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.4.0", + version = "0.52.0", deps = [ - "@crates_vendor__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", + "@crates_vendor__windows_aarch64_gnullvm-0.52.0//:build_script_build", ], ) cargo_build_script( - name = "winapi-i686-pc-windows-gnu_build_script", + name = "windows_aarch64_gnullvm_build_script", srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", @@ -100,23 +100,23 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi-i686-pc-windows-gnu", + "crate-name=windows_aarch64_gnullvm", "manual", "noclippy", "norustfmt", ], - version = "0.4.0", + version = "0.52.0", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":winapi-i686-pc-windows-gnu_build_script", + actual = ":windows_aarch64_gnullvm_build_script", tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.0.bazel similarity index 89% rename from 3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel rename to 3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.0.bazel index 2d62eb0..e87a9fb 100644 --- a/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.0.bazel @@ -12,11 +12,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) # licenses([ -# "TODO", # MIT/Apache-2.0 +# "TODO", # MIT OR Apache-2.0 # ]) rust_library( - name = "winapi_x86_64_pc_windows_gnu", + name = "windows_aarch64_msvc", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -30,13 +30,13 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi-x86_64-pc-windows-gnu", + "crate-name=windows_aarch64_msvc", "manual", "noclippy", "norustfmt", @@ -78,14 +78,14 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.4.0", + version = "0.52.0", deps = [ - "@crates_vendor__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", + "@crates_vendor__windows_aarch64_msvc-0.52.0//:build_script_build", ], ) cargo_build_script( - name = "winapi-x86_64-pc-windows-gnu_build_script", + name = "windows_aarch64_msvc_build_script", srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", @@ -100,23 +100,23 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi-x86_64-pc-windows-gnu", + "crate-name=windows_aarch64_msvc", "manual", "noclippy", "norustfmt", ], - version = "0.4.0", + version = "0.52.0", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":winapi-x86_64-pc-windows-gnu_build_script", + actual = ":windows_aarch64_msvc_build_script", tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.libc-0.2.132.bazel b/3rdparty/crates/BUILD.windows_i686_gnu-0.52.0.bazel similarity index 91% rename from 3rdparty/crates/BUILD.libc-0.2.132.bazel rename to 3rdparty/crates/BUILD.windows_i686_gnu-0.52.0.bazel index c8de21d..cc51355 100644 --- a/3rdparty/crates/BUILD.libc-0.2.132.bazel +++ b/3rdparty/crates/BUILD.windows_i686_gnu-0.52.0.bazel @@ -16,7 +16,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "libc", + name = "windows_i686_gnu", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -30,13 +30,13 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=libc", + "crate-name=windows_i686_gnu", "manual", "noclippy", "norustfmt", @@ -78,14 +78,14 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "0.2.132", + version = "0.52.0", deps = [ - "@crates_vendor__libc-0.2.132//:build_script_build", + "@crates_vendor__windows_i686_gnu-0.52.0//:build_script_build", ], ) cargo_build_script( - name = "libc_build_script", + name = "windows_i686_gnu_build_script", srcs = glob(["**/*.rs"]), crate_name = "build_script_build", crate_root = "build.rs", @@ -100,23 +100,23 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=libc", + "crate-name=windows_i686_gnu", "manual", "noclippy", "norustfmt", ], - version = "0.2.132", + version = "0.52.0", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":libc_build_script", + actual = ":windows_i686_gnu_build_script", tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.quote-1.0.21.bazel b/3rdparty/crates/BUILD.windows_i686_msvc-0.52.0.bazel similarity index 88% rename from 3rdparty/crates/BUILD.quote-1.0.21.bazel rename to 3rdparty/crates/BUILD.windows_i686_msvc-0.52.0.bazel index a1c7aa4..b40f287 100644 --- a/3rdparty/crates/BUILD.quote-1.0.21.bazel +++ b/3rdparty/crates/BUILD.windows_i686_msvc-0.52.0.bazel @@ -16,7 +16,7 @@ package(default_visibility = ["//visibility:public"]) # ]) rust_library( - name = "quote", + name = "windows_i686_msvc", srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], @@ -29,18 +29,14 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "default", - "proc-macro", - ], crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=quote", + "crate-name=windows_i686_msvc", "manual", "noclippy", "norustfmt", @@ -82,20 +78,15 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-none": [], "//conditions:default": ["@platforms//:incompatible"], }), - version = "1.0.21", + version = "0.52.0", deps = [ - "@crates_vendor__proc-macro2-1.0.69//:proc_macro2", - "@crates_vendor__quote-1.0.21//:build_script_build", + "@crates_vendor__windows_i686_msvc-0.52.0//:build_script_build", ], ) cargo_build_script( - name = "quote_build_script", + name = "windows_i686_msvc_build_script", srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -109,23 +100,23 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=quote", + "crate-name=windows_i686_msvc", "manual", "noclippy", "norustfmt", ], - version = "1.0.21", + version = "0.52.0", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":quote_build_script", + actual = ":windows_i686_msvc_build_script", tags = ["manual"], ) diff --git a/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.0.bazel b/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.0.bazel new file mode 100644 index 0000000..01a2e74 --- /dev/null +++ b/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.0.bazel @@ -0,0 +1,122 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.52.0", + deps = [ + "@crates_vendor__windows_x86_64_gnu-0.52.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":windows_x86_64_gnu_build_script", + tags = ["manual"], +) diff --git a/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.0.bazel b/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.0.bazel new file mode 100644 index 0000000..3f8bab3 --- /dev/null +++ b/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.0.bazel @@ -0,0 +1,122 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.52.0", + deps = [ + "@crates_vendor__windows_x86_64_gnullvm-0.52.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":windows_x86_64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.0.bazel b/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.0.bazel new file mode 100644 index 0000000..170fe1e --- /dev/null +++ b/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.0.bazel @@ -0,0 +1,122 @@ +############################################################################### +# @generated +# 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 +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "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:aarch64-unknown-nixos-gnu": [], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], + "@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-nixos-gnu": [], + "@rules_rust//rust/platform:x86_64-unknown-none": [], + "//conditions:default": ["@platforms//:incompatible"], + }), + version = "0.52.0", + deps = [ + "@crates_vendor__windows_x86_64_msvc-0.52.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":windows_x86_64_msvc_build_script", + tags = ["manual"], +) diff --git a/3rdparty/crates/defs.bzl b/3rdparty/crates/defs.bzl index dffb597..1493204 100644 --- a/3rdparty/crates/defs.bzl +++ b/3rdparty/crates/defs.bzl @@ -297,9 +297,9 @@ _NORMAL_DEPENDENCIES = { _COMMON_CONDITION: { "cargo-lock": "@crates_vendor__cargo-lock-8.0.2//:cargo_lock", "cargo_toml": "@crates_vendor__cargo_toml-0.16.3//:cargo_toml", - "clap": "@crates_vendor__clap-3.2.20//:clap", + "clap": "@crates_vendor__clap-4.4.18//:clap", "lazy_static": "@crates_vendor__lazy_static-1.4.0//:lazy_static", - "syn": "@crates_vendor__syn-1.0.109//:syn", + "syn": "@crates_vendor__syn-2.0.43//:syn", }, }, } @@ -367,6 +367,7 @@ _CONDITIONS = { "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"], "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"], "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"], + "aarch64-pc-windows-gnullvm": [], "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu"], "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"], @@ -374,12 +375,14 @@ _CONDITIONS = { "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"], "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"], "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"], - "cfg(target_os = \"hermit\")": [], - "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:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@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", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "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-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"], "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"], - "i686-pc-windows-gnu": [], "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"], "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], @@ -395,7 +398,7 @@ _CONDITIONS = { "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"], "x86_64-fuchsia": ["@rules_rust//rust/platform:x86_64-fuchsia"], "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"], - "x86_64-pc-windows-gnu": [], + "x86_64-pc-windows-gnullvm": [], "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"], "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], @@ -413,32 +416,52 @@ def crate_repositories(): """ maybe( http_archive, - name = "crates_vendor__atty-0.2.14", - sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", + name = "crates_vendor__anstream-0.6.11", + sha256 = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/atty/0.2.14/download"], - strip_prefix = "atty-0.2.14", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.atty-0.2.14.bazel"), + urls = ["https://crates.io/api/v1/crates/anstream/0.6.11/download"], + strip_prefix = "anstream-0.6.11", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.anstream-0.6.11.bazel"), ) maybe( http_archive, - name = "crates_vendor__autocfg-1.1.0", - sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa", + name = "crates_vendor__anstyle-1.0.5", + sha256 = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"], - strip_prefix = "autocfg-1.1.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.autocfg-1.1.0.bazel"), + urls = ["https://crates.io/api/v1/crates/anstyle/1.0.5/download"], + strip_prefix = "anstyle-1.0.5", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.anstyle-1.0.5.bazel"), ) maybe( http_archive, - name = "crates_vendor__bitflags-1.3.2", - sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", + name = "crates_vendor__anstyle-parse-0.2.3", + sha256 = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"], - strip_prefix = "bitflags-1.3.2", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.bitflags-1.3.2.bazel"), + urls = ["https://crates.io/api/v1/crates/anstyle-parse/0.2.3/download"], + strip_prefix = "anstyle-parse-0.2.3", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.anstyle-parse-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__anstyle-query-1.0.2", + sha256 = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/anstyle-query/1.0.2/download"], + strip_prefix = "anstyle-query-1.0.2", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.anstyle-query-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__anstyle-wincon-3.0.2", + sha256 = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/anstyle-wincon/3.0.2/download"], + strip_prefix = "anstyle-wincon-3.0.2", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.anstyle-wincon-3.0.2.bazel"), ) maybe( @@ -463,32 +486,52 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__clap-3.2.20", - sha256 = "23b71c3ce99b7611011217b366d923f1d0a7e07a92bb2dbf1e84508c673ca3bd", + name = "crates_vendor__clap-4.4.18", + sha256 = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/clap/3.2.20/download"], - strip_prefix = "clap-3.2.20", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap-3.2.20.bazel"), + urls = ["https://crates.io/api/v1/crates/clap/4.4.18/download"], + strip_prefix = "clap-4.4.18", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap-4.4.18.bazel"), ) maybe( http_archive, - name = "crates_vendor__clap_derive-3.2.18", - sha256 = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65", + name = "crates_vendor__clap_builder-4.4.18", + sha256 = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/clap_derive/3.2.18/download"], - strip_prefix = "clap_derive-3.2.18", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap_derive-3.2.18.bazel"), + urls = ["https://crates.io/api/v1/crates/clap_builder/4.4.18/download"], + strip_prefix = "clap_builder-4.4.18", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap_builder-4.4.18.bazel"), ) maybe( http_archive, - name = "crates_vendor__clap_lex-0.2.4", - sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5", + name = "crates_vendor__clap_derive-4.4.7", + sha256 = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/clap_lex/0.2.4/download"], - strip_prefix = "clap_lex-0.2.4", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap_lex-0.2.4.bazel"), + urls = ["https://crates.io/api/v1/crates/clap_derive/4.4.7/download"], + strip_prefix = "clap_derive-4.4.7", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap_derive-4.4.7.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__clap_lex-0.6.0", + sha256 = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/clap_lex/0.6.0/download"], + strip_prefix = "clap_lex-0.6.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.clap_lex-0.6.0.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__colorchoice-1.0.0", + sha256 = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/colorchoice/1.0.0/download"], + strip_prefix = "colorchoice-1.0.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.colorchoice-1.0.0.bazel"), ) maybe( @@ -511,16 +554,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.form_urlencoded-1.0.1.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__hashbrown-0.12.3", - sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"], - strip_prefix = "hashbrown-0.12.3", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"), - ) - maybe( http_archive, name = "crates_vendor__hashbrown-0.14.1", @@ -541,16 +574,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.heck-0.4.0.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__hermit-abi-0.1.19", - sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/hermit-abi/0.1.19/download"], - strip_prefix = "hermit-abi-0.1.19", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel"), - ) - maybe( http_archive, name = "crates_vendor__idna-0.2.3", @@ -561,16 +584,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.idna-0.2.3.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__indexmap-1.9.1", - sha256 = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/indexmap/1.9.1/download"], - strip_prefix = "indexmap-1.9.1", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.indexmap-1.9.1.bazel"), - ) - maybe( http_archive, name = "crates_vendor__indexmap-2.0.2", @@ -591,16 +604,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__libc-0.2.132", - sha256 = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/libc/0.2.132/download"], - strip_prefix = "libc-0.2.132", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.libc-0.2.132.bazel"), - ) - maybe( http_archive, name = "crates_vendor__matches-0.1.9", @@ -621,26 +624,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.memchr-2.6.4.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__once_cell-1.14.0", - sha256 = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/once_cell/1.14.0/download"], - strip_prefix = "once_cell-1.14.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.once_cell-1.14.0.bazel"), - ) - - maybe( - http_archive, - name = "crates_vendor__os_str_bytes-6.3.0", - sha256 = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/os_str_bytes/6.3.0/download"], - strip_prefix = "os_str_bytes-6.3.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.os_str_bytes-6.3.0.bazel"), - ) - maybe( http_archive, name = "crates_vendor__percent-encoding-2.1.0", @@ -651,26 +634,6 @@ def crate_repositories(): build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.percent-encoding-2.1.0.bazel"), ) - maybe( - http_archive, - name = "crates_vendor__proc-macro-error-1.0.4", - sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download"], - strip_prefix = "proc-macro-error-1.0.4", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.proc-macro-error-1.0.4.bazel"), - ) - - maybe( - http_archive, - name = "crates_vendor__proc-macro-error-attr-1.0.4", - sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download"], - strip_prefix = "proc-macro-error-attr-1.0.4", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.proc-macro-error-attr-1.0.4.bazel"), - ) - maybe( http_archive, name = "crates_vendor__proc-macro2-1.0.69", @@ -683,12 +646,12 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__quote-1.0.21", - sha256 = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179", + name = "crates_vendor__quote-1.0.33", + sha256 = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/quote/1.0.21/download"], - strip_prefix = "quote-1.0.21", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.quote-1.0.21.bazel"), + urls = ["https://crates.io/api/v1/crates/quote/1.0.33/download"], + strip_prefix = "quote-1.0.33", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.quote-1.0.33.bazel"), ) maybe( @@ -753,22 +716,12 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__termcolor-1.1.3", - sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755", + name = "crates_vendor__syn-2.0.43", + sha256 = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/termcolor/1.1.3/download"], - strip_prefix = "termcolor-1.1.3", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.termcolor-1.1.3.bazel"), - ) - - maybe( - http_archive, - name = "crates_vendor__textwrap-0.15.0", - sha256 = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/textwrap/0.15.0/download"], - strip_prefix = "textwrap-0.15.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.textwrap-0.15.0.bazel"), + urls = ["https://crates.io/api/v1/crates/syn/2.0.43/download"], + strip_prefix = "syn-2.0.43", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.syn-2.0.43.bazel"), ) maybe( @@ -873,52 +826,102 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__version_check-0.9.4", - sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f", + name = "crates_vendor__utf8parse-0.2.1", + sha256 = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/utf8parse/0.2.1/download"], + strip_prefix = "utf8parse-0.2.1", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.utf8parse-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__windows-sys-0.52.0", + sha256 = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-sys/0.52.0/download"], + strip_prefix = "windows-sys-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows-sys-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__windows-targets-0.52.0", + sha256 = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-targets/0.52.0/download"], + strip_prefix = "windows-targets-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows-targets-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__windows_aarch64_gnullvm-0.52.0", + sha256 = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.52.0/download"], + strip_prefix = "windows_aarch64_gnullvm-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__windows_aarch64_msvc-0.52.0", + sha256 = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.52.0/download"], + strip_prefix = "windows_aarch64_msvc-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_aarch64_msvc-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "crates_vendor__windows_i686_gnu-0.52.0", + sha256 = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/version_check/0.9.4/download"], - strip_prefix = "version_check-0.9.4", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.version_check-0.9.4.bazel"), + urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.52.0/download"], + strip_prefix = "windows_i686_gnu-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_i686_gnu-0.52.0.bazel"), ) maybe( http_archive, - name = "crates_vendor__winapi-0.3.9", - sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + name = "crates_vendor__windows_i686_msvc-0.52.0", + sha256 = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/winapi/0.3.9/download"], - strip_prefix = "winapi-0.3.9", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.winapi-0.3.9.bazel"), + urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.52.0/download"], + strip_prefix = "windows_i686_msvc-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_i686_msvc-0.52.0.bazel"), ) maybe( http_archive, - name = "crates_vendor__winapi-i686-pc-windows-gnu-0.4.0", - sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + name = "crates_vendor__windows_x86_64_gnu-0.52.0", + sha256 = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download"], - strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.52.0/download"], + strip_prefix = "windows_x86_64_gnu-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_x86_64_gnu-0.52.0.bazel"), ) maybe( http_archive, - name = "crates_vendor__winapi-util-0.1.5", - sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", + name = "crates_vendor__windows_x86_64_gnullvm-0.52.0", + sha256 = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/winapi-util/0.1.5/download"], - strip_prefix = "winapi-util-0.1.5", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"), + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.52.0/download"], + strip_prefix = "windows_x86_64_gnullvm-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.52.0.bazel"), ) maybe( http_archive, - name = "crates_vendor__winapi-x86_64-pc-windows-gnu-0.4.0", - sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + name = "crates_vendor__windows_x86_64_msvc-0.52.0", + sha256 = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"], - strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", - build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), + urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.52.0/download"], + strip_prefix = "windows_x86_64_msvc-0.52.0", + build_file = Label("@gazelle_rust//3rdparty/crates:BUILD.windows_x86_64_msvc-0.52.0.bazel"), ) maybe( @@ -934,7 +937,7 @@ def crate_repositories(): return [ struct(repo = "crates_vendor__cargo-lock-8.0.2", is_dev_dep = False), struct(repo = "crates_vendor__cargo_toml-0.16.3", is_dev_dep = False), - struct(repo = "crates_vendor__clap-3.2.20", is_dev_dep = False), + struct(repo = "crates_vendor__clap-4.4.18", is_dev_dep = False), struct(repo = "crates_vendor__lazy_static-1.4.0", is_dev_dep = False), - struct(repo = "crates_vendor__syn-1.0.109", is_dev_dep = False), + struct(repo = "crates_vendor__syn-2.0.43", is_dev_dep = False), ] diff --git a/cargo.lock b/cargo.lock index 7410148..f8045b1 100644 --- a/cargo.lock +++ b/cargo.lock @@ -3,27 +3,52 @@ version = 3 [[package]] -name = "atty" -version = "0.2.14" +name = "anstream" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ - "hermit-abi", - "libc", - "winapi", + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", ] [[package]] -name = "autocfg" -version = "1.1.0" +name = "anstyle" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220" [[package]] -name = "bitflags" -version = "1.3.2" +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys", +] [[package]] name = "cargo-lock" @@ -49,42 +74,49 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.20" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b71c3ce99b7611011217b366d923f1d0a7e07a92bb2dbf1e84508c673ca3bd" +checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" dependencies = [ - "atty", - "bitflags", + "clap_builder", "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +dependencies = [ + "anstream", + "anstyle", "clap_lex", - "indexmap 1.9.1", - "once_cell", "strsim", - "termcolor", - "textwrap", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", - "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 2.0.43", ] [[package]] name = "clap_lex" -version = "0.2.4" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" + +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "direct-cargo-bazel-deps" @@ -94,7 +126,7 @@ dependencies = [ "cargo_toml", "clap", "lazy_static", - "syn", + "syn 2.0.43", ] [[package]] @@ -113,12 +145,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - [[package]] name = "hashbrown" version = "0.14.1" @@ -131,15 +157,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "idna" version = "0.2.3" @@ -151,16 +168,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "indexmap" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - [[package]] name = "indexmap" version = "2.0.2" @@ -168,7 +175,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", - "hashbrown 0.14.1", + "hashbrown", ] [[package]] @@ -177,12 +184,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[[package]] -name = "libc" -version = "0.2.132" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" - [[package]] name = "matches" version = "0.1.9" @@ -195,48 +196,12 @@ version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" -[[package]] -name = "once_cell" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0" - -[[package]] -name = "os_str_bytes" -version = "6.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" - [[package]] name = "percent-encoding" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - [[package]] name = "proc-macro2" version = "1.0.69" @@ -248,9 +213,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.21" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -281,7 +246,7 @@ checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -311,20 +276,16 @@ dependencies = [ ] [[package]] -name = "termcolor" -version = "1.1.3" +name = "syn" +version = "2.0.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" +checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" dependencies = [ - "winapi-util", + "proc-macro2", + "quote", + "unicode-ident", ] -[[package]] -name = "textwrap" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" - [[package]] name = "tinyvec" version = "1.6.0" @@ -376,7 +337,7 @@ version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ - "indexmap 2.0.2", + "indexmap", "serde", "serde_spanned", "toml_datetime", @@ -417,41 +378,76 @@ dependencies = [ ] [[package]] -name = "version_check" -version = "0.9.4" +name = "utf8parse" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] -name = "winapi" -version = "0.3.9" +name = "windows-sys" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "windows-targets", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +name = "windows-targets" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] [[package]] -name = "winapi-util" -version = "0.1.5" +name = "windows_aarch64_gnullvm" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" diff --git a/rust_parser/parser.rs b/rust_parser/parser.rs index ade7ec3..9872f7c 100644 --- a/rust_parser/parser.rs +++ b/rust_parser/parser.rs @@ -7,6 +7,7 @@ use std::io::Read; use std::path::PathBuf; use syn::parse_file; +use syn::punctuated::Punctuated; use syn::visit::{self, Visit}; use messages_rust_proto::Hints; @@ -157,8 +158,8 @@ enum Directive { Ignore, } -impl Directive { - fn parse(meta: syn::Meta) -> Self { +impl<'ast> Directive { + fn parse(meta: &'ast syn::Meta) -> Self { let path = meta.path(); // TODO: proper error handling assert_eq!( @@ -253,21 +254,25 @@ impl<'ast> AstVisitor<'ast> { fn visit_type_attrs(&mut self, attrs: &'ast Vec) { // parse #[derive(A, B, ...)] for attr in attrs { - if let Ok(syn::Meta::List(list)) = attr.parse_meta() { + if let syn::Meta::List(list) = &attr.meta { if let Some(ident) = list.path.get_ident() { if ident == "derive" { - for nested in list.nested { - if let syn::NestedMeta::Meta(syn::Meta::Path(path)) = nested { - if path.segments.len() > 1 { - // this dance moves it out to avoid a clone - self.add_import( - path.segments - .into_pairs() - .next() - .unwrap() - .into_value() - .ident, - ); + if let Ok(nested) = attr.parse_args_with( + Punctuated::::parse_terminated, + ) { + for derive in nested { + if let syn::Meta::Path(path) = derive { + if path.segments.len() > 1 { + // this dance moves it out to avoid a clone + self.add_import( + path.segments + .into_pairs() + .next() + .unwrap() + .into_value() + .ident, + ); + } } } } @@ -280,15 +285,14 @@ impl<'ast> AstVisitor<'ast> { fn parse_directives(&self, attrs: &'ast Vec) -> DirectiveSet { let mut directives = DirectiveSet::default(); for attr in attrs { - if let Ok(meta) = attr.parse_meta() { - if meta - .path() + if let syn::Meta::Path(path) = &attr.meta { + if path .segments .first() .map(|seg| seg.ident == "gazelle") .unwrap_or(false) { - directives.insert(Directive::parse(meta)); + directives.insert(Directive::parse(&attr.meta)); } } } @@ -364,13 +368,19 @@ impl<'ast> Visit<'ast> for AstVisitor<'ast> { // parse #[cfg(test)] for attr in &node.attrs { - if let Ok(syn::Meta::List(list)) = attr.parse_meta() { + if let syn::Meta::List(list) = &attr.meta { if let Some(ident) = list.path.get_ident() { - if ident == "cfg" && list.nested.len() == 1 { - if let syn::NestedMeta::Meta(syn::Meta::Path(path)) = &list.nested[0] { - if let Some(ident) = path.get_ident() { - if ident == "test" { - is_test_only = true; + if ident == "cfg" { + if let Ok(nested) = attr.parse_args_with( + Punctuated::::parse_terminated, + ) { + if nested.len() == 1 { + if let syn::Meta::Path(path) = &nested[0] { + if let Some(ident) = path.get_ident() { + if ident == "test" { + is_test_only = true; + } + } } } } @@ -398,7 +408,7 @@ impl<'ast> Visit<'ast> for AstVisitor<'ast> { self.hints.has_main = true; } else { for attr in &node.attrs { - if let Ok(syn::Meta::Path(path)) = attr.parse_meta() { + if let syn::Meta::Path(path) = &attr.meta { if let Some(ident) = path.get_ident() { if ident == "test" { self.hints.has_test = true;