Squashed 'third_party/rules_rust/' changes from bf59038cac..078c6908fc
078c6908fc add cc_common.link support for rust_library and rust_test (#1490)
c07aef0287 Skip supplying rpaths on Fuchsia (#1511)
6ee7c80bdb Propagate rustc_env{,_files} from rust_test.crate (#1443)
1cd0788d2a Apply get_lib_name correctly to the C++ runtime libraries (#1508)
90808f0dc4 Minor cleanup to documentation (#1505)
735640f2df Enable rust-analyzer tests on windows. (#1506)
0f34573166 Updated rules_rust to version 0.9.0 (#1503)
9b61b49934 Promoted crate_universe to non-experimental (#1504)
76360dd354 Implement rules archive release artifact in github action. (#1501)
4e5fac5980 Do not pass `--Clink-arg=-l` for libstd and libtest (#1500)
6c38934636 pipelining: add the ability to disable pipelining for a single rule. (#1499)
867fc37c17 rules_rust: enable pipelined compilation. (#1275)
c97f255dfe Delete deprecated targets (#1496)
43b42884a7 Updated examples to use crate_universe (#1494)
0ffde973e8 Updated `//util/import` to use crate_universe (#1492)
83a03ab03e Updated proto rules to fetch dependencies using crate_universe (#1491)
67e204ff22 fix: `rust_doc_test` failure to find params file (#1418)
0fc834bdfa Updated all toolchain_type definitions to be named `toolchain_type`. (#1479)
3be056a7a3 toolchain files: ensure test depends on std (#1486)
228ebfa6eb Updated rules_rust to version `0.8.1`. (#1484)
685dfda497 Fixed use of rust-analyzer with rust_static_library and rust_shared_library (#1482)
2d7f94543f Fix rust-analyzer being unable to find rust sysroot sources. (#1483)
81a77acde2 Updated rules_rust to version `0.8.0`. (#1472)
caad908848 Give useful error on missing workspace manifest (#1475)
0e86b9dd30 Added `rust_analyzer_toolchain` and repository rules for creating one (#1455)
838e4ea828 Update docs on lockfiles (#1477)
fce1222628 Fix typo in function name (#1478)
1929bfbc3e Added Rust version 1.62.1 (#1476)
9a8e878d3d Fix `rust_binary_without_process_wrapper` build with `--stamp` (#1473)
25baabc205 Updated bindgen version (#1470)
8c9d5c7051 Updated rust-analyzer generator to use clap (#1471)
6d8009dbc8 Update `//bindgen` to use `crate_universe` (#1440)
67c97d44ff Updated `tools/rust_analyzer` to use `crate_universe`. (#1448)
6c285eb28e Updated `wasm_bindgen` rules dependencies. (#1464)
82a437cc17 Fixed crate_universe lockfile checks for crates_repository rule (#1468)
e83d5f3c77 Limit coverage to requested files (#1467)
daff327ea7 Stamp only binaries by default (#1452)
adc80a301d Cleanup crate_universe dependency macros (#1460)
824b121acc Updated header of crate_universe generated files to include a regen command (#1461)
d44e1d8363 feat: add `rustc_flags` attr to `rust_doc` rule (#1458)
6b54feb0ff add a way to distinguish proc-macro deps (#1420)
6070b3c9f4 Fixed missing items in distro artifact (#1450)
1e83e74159 do not add proc-macro deps to transitive_link_search_paths (#1424)
ced94dec1b Fix @libgit2 (#1457)
03d1d5e4ac Add extra_rustc_flag and extra_exec_rustc_flag (#1413)
711adc7985 crate_universe: shorten `crate_universe_crate_index` to `cui` (#1454)
8cb9247f18 Replaced small genrules with uses of bazel_skylib (#1451)
38e841aece Upgrade stardoc (#1444)
674762f66a Updated toolchain repository rules to represent one toolchain per repo (#1442)
b22a6e1416 Re-enable disabled windows jobs in CI (#1353)
2fb94c48fd docs: Update homepage to use latest version (#1441)
389c58fcb1 Updated rules_rust to version `0.7.0`. (#1436)
60f26d49d8 exclude `BUILD` and `WORKSPACE` files from generated crate_universe targets (#1437)
26344d4cd7 Have rust_test put its compilation outputs in a subdirectory (#1434)
8b0f644122 Updated crate_universe version to `0.4.0`. (#1435)
adf92b1534 update crate_universe `--repin` args to not require values. (#1433)
da75146d0a Do not attempt to instrument rust code for coverage if rust_toolchain.llvm-cov is None (#1432)
bde2c36821 Added Rust 1.62.0 (#1427)
7056f22bd0 Fixed crate_universe not finding target library names for "rlib"s (#1429)
3d65214d23 crate_universe support for individually updating packages. (#1426)
5a9d999db9 Updated `attr.label` attribute defaults to use `Label` constructor (#1422)
52fc70145a Added `TemplateVariableInfo` to `rust_toolchain`. (#1416)
7465c1aa29 Add test coverage support (#1324)
c5c3603da6 Bump the min supported bazel version (#1414)
937bdc9d05 Add a `cargo_dep_env` rule for setting build.rs environment variables (#1415)
91466fc0d1 Updated `rules_rust` version to `0.6.0`. (#1397)
97264b79d5 Update wasm_bindgen to use crate universe. (#1398)
d3197a65c5 Updated crate_universe version (to `0.3.0`) and dependencies (#1409)
a15e67d666 Deleted "extra workspace member" functionality from crate_universe (#1406)
5910a7585a Use a vec, not set for rustc_flags for crate_universe annotations (#1404)
3aa88ab067 Deleted deprecated `rust_analyzer` rule. (#1405)
7adf7210d0 cargo: Fix handling of relative sysroots (#1371)
57607239ec Enable rustfmt CI for Windows. (#1403)
30e68b49be Added more "ignore" tags to rustfmt and clippy rules. (#1400)
53ad14eead Added support for vendoring external manifests (#1381)
ff243c6ef0 Reorganized rustfmt source tree (#1399)
94e0044afe Refactored the Rustfmt tool to work cross-platform (#1375)
8fca438124 Ran clang-format on all C++ sources (#1396)
e765719e29 Added TemplateVariableInfo to rust_toolchain (#1377)
81590f4b6a Fixed Clippy bug with `--@rules_rust//:clippy_flags`. (#1392)
d77b9f7c6a Use `target_compatible_with` to make `macos` with `Xcode` happy (#1391)
ec27dbe310 Added comments to internal function (#1378)
a9dd2f9200 Removed deprecated file (#1380)
16175c881c Renamed toolchain files targets (#1376)
c7cb5bd7a8 Support crates that have mix of generated and nongenerated inputs (#1340)
521e649ff4 Avoid using common substrings as encodings. (#1370)
28ac6b133d Use a more compact encoding in the `import` macro. (#1365)
3a099bfa97 Fix incorrect assertion in test_env_launcher test (#1368)
4661093fb1 Use target instead of rule in rust_register_toolchains edition docs (#1366)
652f2802e3 Add `env` attribute to `rust_toolchain`. (#1363)
9520f37f1e Update rules_perl in examples (#1364)
1b451c301e Add armv7-linux-androideabi tier 2 triple (#1362)
0265c293f1 Ensure crate_features to be included correctly in rust_project.json (#1356)
121d65fe6a Updated `rules_rust` version to `0.5.0` (#1360)
aca4ec1a0f crate_universe: fix typo (#1314)
69ca2611c5 Don't leak native dependencies of proc_macro (#1359)
4c7f08b8b9 Fixed missing docs (#1358)
e48bec94de feat: build script toolchains annotations (#1344)
ffb946f4b7 Ensure memchr is linked after libobject (#1349)
edca1d8042 Add developing notes for crate_universe (#1351)
120f911d2f Updated rust_bindgen dependencies API (#1354)
42c4528a5f Added Rust 1.61.0 (#1347)
c05e0c6ab1 Fixed fetch_shas script to correctly include .gz and .xz extensions (#1355)
9770b0dd75 Update apple_support (#1346)
87eb807e67 Added support for Rust 1.61.0 to crate_universe (#1348)
84c1d42128 Temporarily disable windows job in CI. (#1352)
421d30e4ff Remove unnecessary `crate_name` usage in `rust_test_suite`. (#1345)
10185339dd Build `rust_test` targets with `crate` using the same crate name as the underlying library target. (#1332)
0049ce3884 Add support for riscv32 targets (#1323)
3aa6de3c63 remove experimental_use_whole_archive_for_native_deps (#1338)
a066bfed46 Replace slashes with underscores in default crate names. (#1336)
1b91e592d5 Revert "Replace slashes with underscores in default crate names. (#1334)" (#1335)
51f8e302e9 "sandwich" rlibs between native deps in linker order (#1333)
df354904a1 Replace slashes with underscores in default crate names. (#1334)
21eed19188 Bump version to 0.4.0 (#1329)
d3d9abac4d Support . workspace member (#1326)
fccaae3055 Error calling `all_crate_deps` without `Cargo.toml` (#1327)
d7c532cb78 Updated wasm_bindgen dependencies API (#1313)
fb4d5546ea Updated wasm_bindgen rules to only require core `rules_nodejs` rules (#1311)
1590670ae1 Prevents running of clippy on bindgen targets (#1320)
73d0164a34 Add support for aarch64-apple-ios-sim (#1304)
61eee54c73 Add bazel-* directories in cargo_manifest_dir/external_crate to gitignore (#1279)
42f78f25e1 crate_universe: Improved documentation (#1305)
bddc4bd94a Silence warnings for example/test dependencies (#1312)
b04fe3b21f Use tinyjson from crates.io instead of github.com. (#1309)
1cab691d14 Remove doc about STATIC_RUST_URL env var. (#1306)
d86e06a884 Don't propagate non-shared transitive linker inputs from `rust_static|shared_library` (#1299)
5abeb93333 Don't emit `CrateInfo` from `rust_static_library` and `rust_shared_library` (#1298)
0175a1b7aa fix for using a nightly channel after https://github.com/bazelbuild/rules_rust/commit/841fc6fb82141576d91aecb1d3f2656d58b0ab71 (#1302)
e07881fa22 Updated crate_universe docs (#1301)
c63ad973f1 rustc: fix a conditional (#1300)
a6f332fcbe Use __EXEC_ROOT__ paths for genfiles in rust_analyzer aspect (#1293)
97de47df51 Remove 'triple' field from triple struct in favor of 'str' (#1297)
58627f59eb Make get_host_triple public to get a triple from Bazel's repository_ctx (#1289)
612f4362bc Updated `rules_rust` version to `0.3.1` (#1296)
26fa5a15de Fixed build issues in release artifact (#1295)
48bb32f817 crate_universe: Added tests for serialized config files. (#1291)
841fc6fb82 Enable xz archives (#1284)
f7cb22efa6 feat(#514): pass extra flags to clippy (#1264)
e9f8b48711 Updated `rules_rust` version to `0.3.0` (#1288)
c900e1c66c Revert "Add workaround for arm vs armv7 android issue (#1259)" (#1290)
01ebef2fb9 Remove DEFAULT_RUST_EDITION (#1256)
03a70796ab Outside of examples, fill in all `edition` attrs (#1257)
207ee4fbcf feat: support extra deps in rust_doc_test (#1286)
4e7d114a8e Fix typo in render config doc (#1281)
db17f291d3 Fix crate annotation anchor (#1282)
fdb6851a92 Fix target name in `rust_test` example. (#1280)
4fb6e40147 Don't leak additive build file content across crates (#1278)
965044ae2b Remove `rust_test` example which doesn't build. (#1267)
f6e7e0a93f add a stopgap experimental_use_whole_archive_for_native_deps attribute (#1269)
34fd46756a process_wrapper: add support for terminating rustc after it emits rmeta. (#1207)
b778fca0ac crate_universe: propagate build_script_tools (#1266)
f6f27a8734 Add workaround for arm vs armv7 android issue (#1259)
c3f56c2d50 Add the BUILD.bazel file to the wasm_bindgen distro filegroup target (#1246) (#1261)
1f2e6231de Set edition for process_wrapper and cargo_build_script_runner (#1254)
55790492ac Updated Rust to 1.60.0 (#1247)
b594f90f17 Workaround for issue in linux Cargo binaries (#1252)
8f0dd9042e rust_test_suite: ensure crate names are valid (#1248)
4144ddeb9c Updating `rules_rust` version to `0.2.1` (#1243)
65cad76a52 Fixed proto package in release artifact (#1241)
4d8de6e361 Updated repository pin in the docs (#1240)
e5a3970754 Updating `rules_rust` version to `0.2.0` (#1235)
d061bf640e Updated `crate_universe` version to `0.2.0` (#1239)
c0505da0d2 Replace `rust_repositories` with `rust_register_toolchains` in docs (#1237)
145ad7609f Fixed `crates_repository` deleting `.cargo/config.toml` files. (#1227)
20066b05e2 fix: distribute `//tools/rust_analyzer` (#1234)
b58ce89603 Enabled `rust_doc_test` for `crate_universe` (#1232)
d2e2470cbf Fix some unit tests to run from another workspace (#1226)
b03aee039a Fixed `crate_universe` clippy defects (#1228)
41b39f0c99 add bots using lld (and examples with clang as a drive by) (#1221)
84e98e4d2f don't emit --codegen={metadata,extra-filename} for rust_static_library and rust_shared_library (#1222)
e48c834a40 Renamed `crate_index` repository to `crate_universe_crate_index` (#1217)
99b4b2574f fix use of stamping in rust_binary_without_process_wrapper (#1218)
8df4517d37 Add NUM_JOBS env var to cargo build scripts (#1216)
628e85e70f Restrucutred `crate_universe` dependency macros (#1208)
e3d67a0a10 Updated docs to guide users to using releases (#1213)
fd912e644c Updated crate_universe docs. (#1212)
cde4c0826c Delete deprecated `rules` targets (#1210)
26e01c8386 cache the release archive in release actions (#1201)
3205c9d846 Updated crate_universe setup guide (#1202)
c078494678 Don't leak deps from rust_proc_macro (#1206)
7c865ffeb1 Build `_import_macro_dep` in `exec` mode (#1203)
635da93206 Updating `rules_rust` version to `0.1.0`. (#1198)
6c797c9070 disable advanced features of C++ rules (#1200)
86d47a1bba Tweak import macro bootstrap to trick rust analyzer aspect (#1179)
80d197205a Added release workflow (#1195)
cd44b3670a Added support for producing distribution archives (#1194)
a665447989 Traverse custom alias-like rules in the rust analyzer aspect (#1190)
4504983fa9 Add a test showing that rust_analayzer aspect traverses aliases (#1188)
297dd18215 Updated `crate_universe` to version `0.1.0`. (#1197)
0d9c7d5e1b Specify root target for rust_analyzer test (#1189)
4a0352fecd Updated `crate_universe` dependencies (#1196)
5126479254 Fixed crate_universe release tools (#1193)
e840400eb6 Remove last remains of use_process_wrapper flag. (#1192)
eb7db68d96 Fix iOS linker arguments (#1186)
de726a10c9 Create internal rust_binary rule instead of using transitions (#1187)
5e6ad9f638 Regenerated `cargo-raze` outputs with v0.15.0 (#1184)
980b662843 add static_library to get_preferred_artifact with pic (#1183)
97fd329540 Populate CFLAGS and CXXFLAGS when invoking build script. (#1081)
git-subtree-dir: third_party/rules_rust
git-subtree-split: 078c6908fc32c168b58e72cc3884dd8e30419e3a
Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
Change-Id: Ifc218edaa852263bd76835ee7de44de07c08aec2
diff --git a/bindgen/3rdparty/BUILD.bazel b/bindgen/3rdparty/BUILD.bazel
new file mode 100644
index 0000000..2317ac9
--- /dev/null
+++ b/bindgen/3rdparty/BUILD.bazel
@@ -0,0 +1,52 @@
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+load("//crate_universe:defs.bzl", "crate", "crates_vendor")
+
+crates_vendor(
+ name = "crates_vendor",
+ annotations = {
+ "bindgen": [crate.annotation(
+ gen_build_script = True,
+ )],
+ "clang-sys": [crate.annotation(
+ gen_build_script = True,
+ )],
+ "indexmap": [crate.annotation(
+ gen_build_script = True,
+ )],
+ "libloading": [crate.annotation(
+ gen_build_script = True,
+ )],
+ "log": [crate.annotation(
+ rustc_flags = ["--cfg=atomic_cas"],
+ )],
+ },
+ cargo_lockfile = "Cargo.Bazel.lock",
+ generate_build_scripts = False,
+ mode = "remote",
+ packages = {
+ "bindgen": crate.spec(
+ version = "0.60.1",
+ ),
+ "libloading": crate.spec(
+ version = "0.7.3",
+ ),
+ },
+ repository_name = "rules_rust_bindgen",
+ tags = ["manual"],
+)
+
+alias(
+ name = "bindgen",
+ actual = "//bindgen/3rdparty/crates:bindgen__bindgen",
+ tags = ["manual"],
+ visibility = ["//visibility:public"],
+)
+
+bzl_library(
+ name = "bzl_lib",
+ srcs = glob(["**/*.bzl"]) + [
+ "//bindgen/3rdparty/crates:defs.bzl",
+ "//bindgen/3rdparty/crates:crates.bzl",
+ ],
+ visibility = ["//bindgen:__pkg__"],
+)
diff --git a/bindgen/raze/Cargo.lock b/bindgen/3rdparty/Cargo.Bazel.lock
similarity index 65%
rename from bindgen/raze/Cargo.lock
rename to bindgen/3rdparty/Cargo.Bazel.lock
index 542cee0..0ed2fcd 100644
--- a/bindgen/raze/Cargo.lock
+++ b/bindgen/3rdparty/Cargo.Bazel.lock
@@ -12,15 +12,6 @@
]
[[package]]
-name = "ansi_term"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
-dependencies = [
- "winapi",
-]
-
-[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -32,10 +23,16 @@
]
[[package]]
-name = "bindgen"
-version = "0.58.1"
+name = "autocfg"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f8523b410d7187a43085e7e064416ea32ded16bd0a4e6fc025e21616d01258f"
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "bindgen"
+version = "0.60.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6"
dependencies = [
"bitflags",
"cexpr",
@@ -56,62 +53,79 @@
[[package]]
name = "bitflags"
-version = "1.2.1"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cexpr"
-version = "0.4.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27"
+checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
dependencies = [
"nom",
]
[[package]]
name = "cfg-if"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
-
-[[package]]
-name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clang-sys"
-version = "1.2.0"
+version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c"
+checksum = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b"
dependencies = [
"glob",
"libc",
- "libloading 0.7.0",
+ "libloading",
]
[[package]]
name = "clap"
-version = "2.33.3"
+version = "3.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+checksum = "ab8b79fe3946ceb4a0b1c080b4018992b8d27e9ff363644c1c9b6387c854614d"
dependencies = [
- "ansi_term",
"atty",
"bitflags",
+ "clap_lex",
+ "indexmap",
"strsim",
+ "termcolor",
"textwrap",
- "unicode-width",
- "vec_map",
]
[[package]]
-name = "env_logger"
-version = "0.8.3"
+name = "clap_lex"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f"
+checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
+dependencies = [
+ "os_str_bytes",
+]
+
+[[package]]
+name = "direct-cargo-bazel-deps"
+version = "0.0.1"
+dependencies = [
+ "bindgen",
+ "libloading",
+]
+
+[[package]]
+name = "either"
+version = "1.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
+
+[[package]]
+name = "env_logger"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
dependencies = [
"atty",
"humantime",
@@ -121,24 +135,22 @@
]
[[package]]
-name = "fake_rules_rust_bindgen_lib"
-version = "0.0.1"
-dependencies = [
- "bindgen",
- "libloading 0.6.3",
-]
-
-[[package]]
name = "glob"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
-name = "hermit-abi"
-version = "0.1.18"
+name = "hashbrown"
+version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
@@ -150,6 +162,16 @@
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
+name = "indexmap"
+version = "1.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -163,56 +185,58 @@
[[package]]
name = "libc"
-version = "0.2.94"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "libloading"
-version = "0.6.3"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2443d8f0478b16759158b2f66d525991a05491138bc05814ef52a250148ef4f9"
+checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
dependencies = [
- "cfg-if 0.1.10",
- "winapi",
-]
-
-[[package]]
-name = "libloading"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a"
-dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
"winapi",
]
[[package]]
name = "log"
-version = "0.4.14"
+version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
+checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
]
[[package]]
name = "memchr"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
+
+[[package]]
+name = "minimal-lexical"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "nom"
-version = "5.1.2"
+version = "7.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
+checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
dependencies = [
"memchr",
- "version_check",
+ "minimal-lexical",
]
[[package]]
+name = "os_str_bytes"
+version = "6.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4"
+
+[[package]]
name = "peeking_take_while"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -220,27 +244,27 @@
[[package]]
name = "proc-macro2"
-version = "1.0.26"
+version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec"
+checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7"
dependencies = [
- "unicode-xid",
+ "unicode-ident",
]
[[package]]
name = "quote"
-version = "1.0.9"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
+checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
dependencies = [
"proc-macro2",
]
[[package]]
name = "regex"
-version = "1.5.4"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
+checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
dependencies = [
"aho-corasick",
"memchr",
@@ -249,9 +273,9 @@
[[package]]
name = "regex-syntax"
-version = "0.6.25"
+version = "0.6.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
+checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]]
name = "rustc-hash"
@@ -261,64 +285,45 @@
[[package]]
name = "shlex"
-version = "1.0.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
+checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
[[package]]
name = "strsim"
-version = "0.8.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "termcolor"
-version = "1.1.2"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
+checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
dependencies = [
"winapi-util",
]
[[package]]
name = "textwrap"
-version = "0.11.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
-dependencies = [
- "unicode-width",
-]
+checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
[[package]]
-name = "unicode-width"
-version = "0.1.8"
+name = "unicode-ident"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
-
-[[package]]
-name = "unicode-xid"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
-
-[[package]]
-name = "vec_map"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
-
-[[package]]
-name = "version_check"
-version = "0.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
+checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7"
[[package]]
name = "which"
-version = "3.1.1"
+version = "4.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724"
+checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
dependencies = [
+ "either",
+ "lazy_static",
"libc",
]
diff --git a/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel b/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel
new file mode 100644
index 0000000..a0b54c3
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense/MIT
+# ])
+
+rust_library(
+ name = "aho_corasick",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.18",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel b/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel
new file mode 100644
index 0000000..3429815
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel
@@ -0,0 +1,132 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "atty",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.14",
+ deps = [
+ ] + select_with_or({
+ # cfg(target_os = "hermit")
+ #
+ # No supported platform triples for cfg: 'cfg(target_os = "hermit")'
+ # Skipped dependencies: [{"id":"hermit-abi 0.1.19","target":"hermit_abi"}]
+ #
+ # 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-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__libc-0.2.126//:libc",
+
+ # Common Deps
+ ],
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
new file mode 100644
index 0000000..d8c2b8b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+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(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.bazel b/bindgen/3rdparty/crates/BUILD.bazel
new file mode 100644
index 0000000..7021421
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.bazel
@@ -0,0 +1,53 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+package(default_visibility = ["//visibility:public"])
+
+exports_files(
+ [
+ "cargo-bazel.json",
+ "defs.bzl",
+ "crates.bzl",
+ ] + glob([
+ "*.bazel",
+ ]),
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "*.bazel",
+ "*.bzl",
+ ]),
+)
+
+# Workspace Member Dependencies
+alias(
+ name = "bindgen",
+ actual = "@rules_rust_bindgen__bindgen-0.60.1//:bindgen",
+ tags = ["manual"],
+)
+
+alias(
+ name = "libloading",
+ actual = "@rules_rust_bindgen__libloading-0.7.3//:libloading",
+ tags = ["manual"],
+)
+
+# Binaries
+alias(
+ name = "bindgen__bindgen",
+ actual = "@rules_rust_bindgen__bindgen-0.60.1//:bindgen__bin",
+ tags = ["manual"],
+)
+
+alias(
+ name = "clap__stdio-fixture",
+ actual = "@rules_rust_bindgen__clap-3.2.12//:stdio-fixture__bin",
+ tags = ["manual"],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel b/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel
new file mode 100644
index 0000000..65ed0d9
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel
@@ -0,0 +1,296 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_library(
+ name = "bindgen",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "clap",
+ "default",
+ "env_logger",
+ "log",
+ "logging",
+ "runtime",
+ "which",
+ "which-rustfmt",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.60.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
+ "@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys",
+ "@rules_rust_bindgen__clap-3.2.12//:clap",
+ "@rules_rust_bindgen__env_logger-0.9.0//:env_logger",
+ "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
+ "@rules_rust_bindgen__log-0.4.17//:log",
+ "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
+ "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
+ "@rules_rust_bindgen__quote-1.0.20//:quote",
+ "@rules_rust_bindgen__regex-1.6.0//:regex",
+ "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
+ "@rules_rust_bindgen__shlex-1.1.0//:shlex",
+ "@rules_rust_bindgen__which-4.2.5//:which",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "bindgen__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "clap",
+ "default",
+ "env_logger",
+ "log",
+ "logging",
+ "runtime",
+ "which",
+ "which-rustfmt",
+ ],
+ crate_root = "src/main.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.60.1",
+ deps = [
+ ":bindgen",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
+ "@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys",
+ "@rules_rust_bindgen__clap-3.2.12//:clap",
+ "@rules_rust_bindgen__env_logger-0.9.0//:env_logger",
+ "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
+ "@rules_rust_bindgen__log-0.4.17//:log",
+ "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
+ "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
+ "@rules_rust_bindgen__quote-1.0.20//:quote",
+ "@rules_rust_bindgen__regex-1.6.0//:regex",
+ "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
+ "@rules_rust_bindgen__shlex-1.1.0//:shlex",
+ "@rules_rust_bindgen__which-4.2.5//:which",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "bindgen_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "clap",
+ "default",
+ "env_logger",
+ "log",
+ "logging",
+ "runtime",
+ "which",
+ "which-rustfmt",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.60.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "bindgen_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
new file mode 100644
index 0000000..a2c944a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.3.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel b/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel
new file mode 100644
index 0000000..62b2c50
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.cexpr-0.6.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "cexpr",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__nom-7.1.1//:nom",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000..7f979d3
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel b/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel
new file mode 100644
index 0000000..fd28d2b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel
@@ -0,0 +1,199 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "clang_sys",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "clang_3_5",
+ "clang_3_6",
+ "clang_3_7",
+ "clang_3_8",
+ "clang_3_9",
+ "clang_4_0",
+ "clang_5_0",
+ "clang_6_0",
+ "libloading",
+ "runtime",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.3.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__clang-sys-1.3.3//:build_script_build",
+ "@rules_rust_bindgen__glob-0.3.0//:glob",
+ "@rules_rust_bindgen__libc-0.2.126//:libc",
+ "@rules_rust_bindgen__libloading-0.7.3//:libloading",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "clang-sys_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "clang_3_5",
+ "clang_3_6",
+ "clang_3_7",
+ "clang_3_8",
+ "clang_3_9",
+ "clang_4_0",
+ "clang_5_0",
+ "clang_6_0",
+ "libloading",
+ "runtime",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ links = "clang",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "1.3.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__glob-0.3.0//:glob",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "clang-sys_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel b/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel
new file mode 100644
index 0000000..de7dad1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel
@@ -0,0 +1,185 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "atty",
+ "color",
+ "default",
+ "std",
+ "strsim",
+ "suggestions",
+ "termcolor",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "3.2.12",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__atty-0.2.14//:atty",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
+ "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
+ "@rules_rust_bindgen__strsim-0.10.0//:strsim",
+ "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
+ "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "stdio-fixture__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "atty",
+ "color",
+ "default",
+ "std",
+ "strsim",
+ "suggestions",
+ "termcolor",
+ ],
+ crate_root = "src/bin/stdio-fixture.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "3.2.12",
+ deps = [
+ ":clap",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__atty-0.2.14//:atty",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
+ "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
+ "@rules_rust_bindgen__strsim-0.10.0//:strsim",
+ "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
+ "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel b/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel
new file mode 100644
index 0000000..6d7a45c
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap_lex",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.4",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__os_str_bytes-6.2.0//:os_str_bytes",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel b/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel
new file mode 100644
index 0000000..b9a02d0
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "either",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.7.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel b/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel
new file mode 100644
index 0000000..8cef2f1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel
@@ -0,0 +1,100 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "env_logger",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "atty",
+ "default",
+ "humantime",
+ "regex",
+ "termcolor",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.9.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__atty-0.2.14//:atty",
+ "@rules_rust_bindgen__humantime-2.1.0//:humantime",
+ "@rules_rust_bindgen__log-0.4.17//:log",
+ "@rules_rust_bindgen__regex-1.6.0//:regex",
+ "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel b/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel
new file mode 100644
index 0000000..b229170
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "glob",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel
new file mode 100644
index 0000000..2324de1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "hashbrown",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "raw",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.12.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel b/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
new file mode 100644
index 0000000..f4755d6
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+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(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.19",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel b/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel
new file mode 100644
index 0000000..e4d9eba
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "humantime",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel b/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel
new file mode 100644
index 0000000..e2235d8
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel
@@ -0,0 +1,178 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "indexmap",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.9.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__hashbrown-0.12.3//:hashbrown",
+ "@rules_rust_bindgen__indexmap-1.9.1//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "indexmap_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "1.9.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__autocfg-1.1.0//:autocfg",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "indexmap_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000..65ba91f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel b/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel
new file mode 100644
index 0000000..3496e7f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "lazycell",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.3.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel b/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel
new file mode 100644
index 0000000..81fa84b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.126",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel b/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel
new file mode 100644
index 0000000..cd99f1a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # ISC
+# ])
+
+rust_library(
+ name = "libloading",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.3",
+ deps = [
+ ] + select_with_or({
+ # 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-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if",
+
+ # Common Deps
+ ],
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.log-0.4.17.bazel b/bindgen/3rdparty/crates/BUILD.log-0.4.17.bazel
new file mode 100644
index 0000000..ef9ffa5
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.log-0.4.17.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+
+ # User provided rustc_flags
+ "--cfg=atomic_cas",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.17",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel b/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel
new file mode 100644
index 0000000..e549393
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense/MIT
+# ])
+
+rust_library(
+ name = "memchr",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.5.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel b/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel
new file mode 100644
index 0000000..bb6a767
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "minimal_lexical",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel b/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel
new file mode 100644
index 0000000..cbfbefb
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "nom",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "alloc",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "7.1.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ "@rules_rust_bindgen__minimal-lexical-0.2.1//:minimal_lexical",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.0.bazel b/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.0.bazel
new file mode 100644
index 0000000..95c948d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "os_str_bytes",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "raw_os_str",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2021",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "6.2.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel b/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel
new file mode 100644
index 0000000..2618979
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "peeking_take_while",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.bazel b/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.bazel
new file mode 100644
index 0000000..e1e99e6
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "proc_macro2",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.40",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__unicode-ident-1.0.2//:unicode_ident",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.quote-1.0.20.bazel b/bindgen/3rdparty/crates/BUILD.quote-1.0.20.bazel
new file mode 100644
index 0000000..bcc7563
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.quote-1.0.20.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "quote",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.20",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel b/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel
new file mode 100644
index 0000000..47333eb
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel
@@ -0,0 +1,109 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "aho-corasick",
+ "memchr",
+ "perf",
+ "perf-cache",
+ "perf-dfa",
+ "perf-inline",
+ "perf-literal",
+ "std",
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.6.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_bindgen__aho-corasick-0.7.18//:aho_corasick",
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ "@rules_rust_bindgen__regex-syntax-0.6.27//:regex_syntax",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.bazel b/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.bazel
new file mode 100644
index 0000000..195baea
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.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 //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex_syntax",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.27",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel
new file mode 100644
index 0000000..75de0b1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "rustc_hash",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel
new file mode 100644
index 0000000..49b021f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "shlex",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel b/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel
new file mode 100644
index 0000000..8c741af
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "strsim",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.10.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel b/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel
new file mode 100644
index 0000000..ae18d1f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel
@@ -0,0 +1,100 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense OR MIT
+# ])
+
+rust_library(
+ name = "termcolor",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.3",
+ deps = [
+ ] + select_with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__winapi-util-0.1.5//:winapi_util",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel b/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel
new file mode 100644
index 0000000..99bfc63
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "textwrap",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.15.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel b/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel
new file mode 100644
index 0000000..a403831
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# ])
+
+rust_library(
+ name = "unicode_ident",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel b/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel
new file mode 100644
index 0000000..acf903d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel
@@ -0,0 +1,104 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "which",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "4.2.5",
+ deps = [
+ ] + select_with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
+
+ # Common Deps
+ "@rules_rust_bindgen__either-1.7.0//:either",
+ "@rules_rust_bindgen__libc-0.2.126//:libc",
+ ],
+ "//conditions:default": [
+ "@rules_rust_bindgen__either-1.7.0//:either",
+ "@rules_rust_bindgen__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000..8747875
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,112 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+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(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "fileapi",
+ "libloaderapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "std",
+ "winbase",
+ "wincon",
+ "winerror",
+ "winnt",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.9",
+ deps = [
+ ] + select_with_or({
+ # i686-pc-windows-gnu
+ #
+ # No supported platform triples for cfg: 'i686-pc-windows-gnu'
+ # Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}]
+ #
+ # x86_64-pc-windows-gnu
+ #
+ # No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
+ # Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}]
+ #
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000..ab0818a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel b/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel
new file mode 100644
index 0000000..5fde268
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel
@@ -0,0 +1,100 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense/MIT
+# ])
+
+rust_library(
+ name = "winapi_util",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.5",
+ deps = [
+ ] + select_with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000..1aed2bb
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/crates.bzl b/bindgen/3rdparty/crates/crates.bzl
new file mode 100644
index 0000000..9ffa4ff
--- /dev/null
+++ b/bindgen/3rdparty/crates/crates.bzl
@@ -0,0 +1,25 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+"""Rules for defining repositories for remote `crates_vendor` repositories"""
+
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//bindgen/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository")
+
+def crate_repositories():
+ maybe(
+ crates_vendor_remote_repository,
+ name = "rules_rust_bindgen",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bazel"),
+ defs_module = Label("@rules_rust//bindgen/3rdparty/crates:defs.bzl"),
+ )
+
+ _crate_repositories()
diff --git a/bindgen/3rdparty/crates/defs.bzl b/bindgen/3rdparty/crates/defs.bzl
new file mode 100644
index 0000000..a7ef859
--- /dev/null
+++ b/bindgen/3rdparty/crates/defs.bzl
@@ -0,0 +1,787 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //bindgen/3rdparty:crates_vendor
+###############################################################################
+"""
+# `crates_repository` API
+
+- [aliases](#aliases)
+- [crate_deps](#crate_deps)
+- [all_crate_deps](#all_crate_deps)
+- [crate_repositories](#crate_repositories)
+
+"""
+
+load("@bazel_skylib//lib:selects.bzl", "selects")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+###############################################################################
+# MACROS API
+###############################################################################
+
+# An identifier that represent common dependencies (unconditional).
+_COMMON_CONDITION = ""
+
+def _flatten_dependency_maps(all_dependency_maps):
+ """Flatten a list of dependency maps into one dictionary.
+
+ Dependency maps have the following structure:
+
+ ```python
+ DEPENDENCIES_MAP = {
+ # The first key in the map is a Bazel package
+ # name of the workspace this file is defined in.
+ "workspace_member_package": {
+
+ # Not all dependnecies are supported for all platforms.
+ # the condition key is the condition required to be true
+ # on the host platform.
+ "condition": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # package name refers to.
+ "package_name": "@full//:label",
+ }
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for workspace_deps_map in all_dependency_maps:
+ for pkg_name, conditional_deps_map in workspace_deps_map.items():
+ if pkg_name not in dependencies:
+ non_frozen_map = dict()
+ for key, values in conditional_deps_map.items():
+ non_frozen_map.update({key: dict(values.items())})
+ dependencies.setdefault(pkg_name, non_frozen_map)
+ continue
+
+ for condition, deps_map in conditional_deps_map.items():
+ # If the condition has not been recorded, do so and continue
+ if condition not in dependencies[pkg_name]:
+ dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
+ continue
+
+ # Alert on any miss-matched dependencies
+ inconsistent_entries = []
+ for crate_name, crate_label in deps_map.items():
+ existing = dependencies[pkg_name][condition].get(crate_name)
+ if existing and existing != crate_label:
+ inconsistent_entries.append((crate_name, existing, crate_label))
+ dependencies[pkg_name][condition].update({crate_name: crate_label})
+
+ return dependencies
+
+def crate_deps(deps, package_name = None):
+ """Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ Args:
+ deps (list): The desired list of crate targets.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()`.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if not deps:
+ return []
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _NORMAL_DEPENDENCIES,
+ _NORMAL_DEV_DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _PROC_MACRO_DEV_DEPENDENCIES,
+ _BUILD_DEPENDENCIES,
+ _BUILD_PROC_MACRO_DEPENDENCIES,
+ ]).pop(package_name, {})
+
+ # Combine all conditional packages so we can easily index over a flat list
+ # TODO: Perhaps this should actually return select statements and maintain
+ # the conditionals of the dependencies
+ flat_deps = {}
+ for deps_set in dependencies.values():
+ for crate_name, crate_label in deps_set.items():
+ flat_deps.update({crate_name: crate_label})
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in flat_deps:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(flat_deps[crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies,
+ ))
+
+ return crate_targets
+
+def all_crate_deps(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Finds the fully qualified label of all requested direct crate dependencies \
+ for the package where this macro is called.
+
+ If no parameters are set, all normal dependencies are returned. Setting any one flag will
+ otherwise impact the contents of the returned list.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
+ if build:
+ all_dependency_maps.append(_BUILD_DEPENDENCIES)
+ if build_proc_macro:
+ all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
+
+ if not dependencies:
+ if dependencies == None:
+ fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
+ else:
+ return []
+
+ crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
+ for condition, deps in dependencies.items():
+ crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()})
+
+ return crate_deps
+
+def aliases(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Produces a map of Crate alias names to their original label
+
+ If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
+ Setting any one flag will otherwise determine the contents of the returned dict.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ dict: The aliases of all associated packages
+ """
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_aliases_maps = []
+ if normal:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ if normal_dev:
+ all_aliases_maps.append(_NORMAL_DEV_ALIASES)
+ if proc_macro:
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+ if proc_macro_dev:
+ all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
+ if build:
+ all_aliases_maps.append(_BUILD_ALIASES)
+ if build_proc_macro:
+ all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
+
+ # Default to always using normal aliases
+ if not all_aliases_maps:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+
+ aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
+
+ if not aliases:
+ return dict()
+
+ common_items = aliases.pop(_COMMON_CONDITION, {}).items()
+
+ # If there are only common items in the dictionary, immediately return them
+ if not len(aliases.keys()) == 1:
+ return dict(common_items)
+
+ # Build a single select statement where each conditional has accounted for the
+ # common set of aliases.
+ crate_aliases = {"//conditions:default": common_items}
+ for condition, deps in aliases.items():
+ condition_triples = _CONDITIONS[condition]
+ if condition_triples in crate_aliases:
+ crate_aliases[condition_triples].update(deps)
+ else:
+ crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)})
+
+ return selects.with_or(crate_aliases)
+
+###############################################################################
+# WORKSPACE MEMBER DEPS AND ALIASES
+###############################################################################
+
+_NORMAL_DEPENDENCIES = {
+ "": {
+ _COMMON_CONDITION: {
+ "bindgen": "@rules_rust_bindgen__bindgen-0.60.1//:bindgen",
+ "libloading": "@rules_rust_bindgen__libloading-0.7.3//:libloading",
+ },
+ },
+}
+
+_NORMAL_ALIASES = {
+ "": {
+ _COMMON_CONDITION: {
+ },
+ },
+}
+
+_NORMAL_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_NORMAL_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_CONDITIONS = {
+ "cfg(target_os = \"hermit\")": [],
+ "cfg(unix)": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
+ "cfg(windows)": ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc"],
+ "i686-pc-windows-gnu": [],
+ "x86_64-pc-windows-gnu": [],
+}
+
+###############################################################################
+
+def crate_repositories():
+ """A macro for defining repositories for all generated crates"""
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__aho-corasick-0.7.18",
+ sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/aho-corasick/0.7.18/download"],
+ strip_prefix = "aho-corasick-0.7.18",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.aho-corasick-0.7.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__atty-0.2.14",
+ sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/atty/0.2.14/download"],
+ strip_prefix = "atty-0.2.14",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.atty-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__autocfg-1.1.0",
+ sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"],
+ strip_prefix = "autocfg-1.1.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__bindgen-0.60.1",
+ sha256 = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bindgen/0.60.1/download"],
+ strip_prefix = "bindgen-0.60.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bindgen-0.60.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__bitflags-1.3.2",
+ sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"],
+ strip_prefix = "bitflags-1.3.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__cexpr-0.6.0",
+ sha256 = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cexpr/0.6.0/download"],
+ strip_prefix = "cexpr-0.6.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cexpr-0.6.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__cfg-if-1.0.0",
+ sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cfg-if/1.0.0/download"],
+ strip_prefix = "cfg-if-1.0.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__clang-sys-1.3.3",
+ sha256 = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/clang-sys/1.3.3/download"],
+ strip_prefix = "clang-sys-1.3.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clang-sys-1.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__clap-3.2.12",
+ sha256 = "ab8b79fe3946ceb4a0b1c080b4018992b8d27e9ff363644c1c9b6387c854614d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/clap/3.2.12/download"],
+ strip_prefix = "clap-3.2.12",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap-3.2.12.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__clap_lex-0.2.4",
+ sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5",
+ 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("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_lex-0.2.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__either-1.7.0",
+ sha256 = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/either/1.7.0/download"],
+ strip_prefix = "either-1.7.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.either-1.7.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__env_logger-0.9.0",
+ sha256 = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/env_logger/0.9.0/download"],
+ strip_prefix = "env_logger-0.9.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.env_logger-0.9.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__glob-0.3.0",
+ sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/glob/0.3.0/download"],
+ strip_prefix = "glob-0.3.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.glob-0.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__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("@rules_rust//bindgen/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__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("@rules_rust//bindgen/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__humantime-2.1.0",
+ sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/humantime/2.1.0/download"],
+ strip_prefix = "humantime-2.1.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.humantime-2.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__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("@rules_rust//bindgen/3rdparty/crates:BUILD.indexmap-1.9.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__lazy_static-1.4.0",
+ sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lazy_static/1.4.0/download"],
+ strip_prefix = "lazy_static-1.4.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__lazycell-1.3.0",
+ sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lazycell/1.3.0/download"],
+ strip_prefix = "lazycell-1.3.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.lazycell-1.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__libc-0.2.126",
+ sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.126/download"],
+ strip_prefix = "libc-0.2.126",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libc-0.2.126.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__libloading-0.7.3",
+ sha256 = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libloading/0.7.3/download"],
+ strip_prefix = "libloading-0.7.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libloading-0.7.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__log-0.4.17",
+ sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.4.17/download"],
+ strip_prefix = "log-0.4.17",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.log-0.4.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__memchr-2.5.0",
+ sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/memchr/2.5.0/download"],
+ strip_prefix = "memchr-2.5.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.memchr-2.5.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__minimal-lexical-0.2.1",
+ sha256 = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/minimal-lexical/0.2.1/download"],
+ strip_prefix = "minimal-lexical-0.2.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.minimal-lexical-0.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__nom-7.1.1",
+ sha256 = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/nom/7.1.1/download"],
+ strip_prefix = "nom-7.1.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.nom-7.1.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__os_str_bytes-6.2.0",
+ sha256 = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/os_str_bytes/6.2.0/download"],
+ strip_prefix = "os_str_bytes-6.2.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.os_str_bytes-6.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__peeking_take_while-0.1.2",
+ sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/peeking_take_while/0.1.2/download"],
+ strip_prefix = "peeking_take_while-0.1.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.peeking_take_while-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__proc-macro2-1.0.40",
+ sha256 = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.40/download"],
+ strip_prefix = "proc-macro2-1.0.40",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.proc-macro2-1.0.40.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__quote-1.0.20",
+ sha256 = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/quote/1.0.20/download"],
+ strip_prefix = "quote-1.0.20",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.quote-1.0.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__regex-1.6.0",
+ sha256 = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/regex/1.6.0/download"],
+ strip_prefix = "regex-1.6.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-1.6.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__regex-syntax-0.6.27",
+ sha256 = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/regex-syntax/0.6.27/download"],
+ strip_prefix = "regex-syntax-0.6.27",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-syntax-0.6.27.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__rustc-hash-1.1.0",
+ sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rustc-hash/1.1.0/download"],
+ strip_prefix = "rustc-hash-1.1.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.rustc-hash-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__shlex-1.1.0",
+ sha256 = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/shlex/1.1.0/download"],
+ strip_prefix = "shlex-1.1.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.shlex-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__strsim-0.10.0",
+ sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/strsim/0.10.0/download"],
+ strip_prefix = "strsim-0.10.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.strsim-0.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__termcolor-1.1.3",
+ sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/termcolor/1.1.3/download"],
+ strip_prefix = "termcolor-1.1.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.termcolor-1.1.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__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("@rules_rust//bindgen/3rdparty/crates:BUILD.textwrap-0.15.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__unicode-ident-1.0.2",
+ sha256 = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.2/download"],
+ strip_prefix = "unicode-ident-1.0.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-ident-1.0.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__which-4.2.5",
+ sha256 = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/which/4.2.5/download"],
+ strip_prefix = "which-4.2.5",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.which-4.2.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__winapi-0.3.9",
+ sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi/0.3.9/download"],
+ strip_prefix = "winapi-0.3.9",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__winapi-i686-pc-windows-gnu-0.4.0",
+ sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
+ 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("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__winapi-util-0.1.5",
+ sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
+ 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("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__winapi-x86_64-pc-windows-gnu-0.4.0",
+ sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
+ 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("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
diff --git a/bindgen/BUILD.bazel b/bindgen/BUILD.bazel
index 8c5426b..bb93162 100644
--- a/bindgen/BUILD.bazel
+++ b/bindgen/BUILD.bazel
@@ -3,23 +3,29 @@
package(default_visibility = ["//visibility:public"])
-toolchain_type(name = "bindgen_toolchain")
-
-bzl_library(
- name = "bzl_lib",
- srcs = glob(["**/*.bzl"]) + ["//bindgen/raze:crates.bzl"],
- deps = ["//rust:bzl_lib"],
+toolchain_type(
+ name = "toolchain_type",
)
alias(
- name = "rules",
- actual = ":bzl_lib",
- deprecation = "Please use the `@rules_rust//bindgen:bzl_lib` target instead",
+ name = "bindgen_toolchain",
+ actual = "toolchain_type",
+ deprecation = "instead use `@rules_rust//bindgen:toolchain_type`",
+ tags = ["manual"],
+)
+
+bzl_library(
+ name = "bzl_lib",
+ srcs = glob(["**/*.bzl"]),
+ deps = [
+ "//bindgen/3rdparty:bzl_lib",
+ "//rust:bzl_lib",
+ ],
)
rust_bindgen_toolchain(
name = "default_bindgen_toolchain_impl",
- bindgen = "//bindgen/raze:cargo_bin_bindgen",
+ bindgen = "//bindgen/3rdparty:bindgen",
clang = select({
"//rust/platform:osx": "@bindgen_clang_osx//:clang",
"//conditions:default": "@bindgen_clang_linux//:clang",
@@ -37,5 +43,5 @@
toolchain(
name = "default_bindgen_toolchain",
toolchain = "default_bindgen_toolchain_impl",
- toolchain_type = "//bindgen:bindgen_toolchain",
+ toolchain_type = "//bindgen:toolchain_type",
)
diff --git a/bindgen/README.md b/bindgen/README.md
index cc0fcd2..a56d141 100644
--- a/bindgen/README.md
+++ b/bindgen/README.md
@@ -1,82 +1,8 @@
# Rust Bindgen Rules
-<div class="toc">
- <h2>Rules</h2>
- <ul>
- <li><a href="docs/index.md#rust_bindgen_toolchain">rust_bindgen_toolchain</a></li>
- <li>rust_bindgen</li>
- <li>rust_bindgen_library</li>
- </ul>
-</div>
-
-## Overview
-
These rules are for using [Bindgen][bindgen] to generate [Rust][rust] bindings to C (and some C++) libraries.
+See the `rules_rust` documentation for more info: https://bazelbuild.github.io/rules_rust/rust_bindgen.html
+
[rust]: http://www.rust-lang.org/
[bindgen]: https://github.com/rust-lang/rust-bindgen
-
-See the [bindgen example](../examples/ffi/rust_calling_c/simple/BUILD.bazel#L9) for a more complete example of use.
-
-### Setup
-
-To use the Rust bindgen rules, add the following to your `WORKSPACE` file to add the
-external repositories for the Rust bindgen toolchain (in addition to the [rust rules setup](..)):
-
-```python
-load("@rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories")
-
-rust_bindgen_repositories()
-```
-This makes the default toolchain defined in [`@rules_rust`](./BUILD) available.
-
-[raze]: https://github.com/google/cargo-raze
-
-It will load crate dependencies of bindgen that are generated using
-[cargo raze][raze] inside the rules_rust
-repository. However, using those dependencies might conflict with other uses
-of [cargo raze][raze]. If you need to change
-those dependencies, please see the [dedicated section below](#custom-deps).
-
-For additional information, see the [Bazel toolchains documentation](https://docs.bazel.build/versions/master/toolchains.html).
-
-## <a name="custom-deps">Customizing dependencies
-
-These rules depends on the [`bindgen`](https://crates.io/crates/bindgen) binary crate, and it
-in turn depends on both a clang binary and the clang library. To obtain these dependencies,
-`rust_bindgen_repositories` imports bindgen and its dependencies using BUILD files generated with
-[`cargo raze`][raze], along with a tarball of clang.
-
-If you want to change the bindgen used, or use [`cargo raze`][raze] in a more
-complex scenario (with more dependencies), you must redefine those
-dependencies.
-
-To do this, once you've imported the needed dependencies (see our
-[Cargo.toml](./raze/Cargo.toml) file to see the default dependencies), you
-need to create your own toolchain. To do so you can create a BUILD
-file with your [`rust_bindgen_toolchain`](../docs/index.md#rust_bindgen_toolchain) definition, for example:
-
-```python
-load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain")
-
-rust_bindgen_toolchain(
- name = "bindgen-toolchain-impl",
- bindgen = "//my/raze:cargo_bin_bindgen",
- clang = "//my/clang:clang",
- libclang = "//my/clang:libclang.so",
- libstdcxx = "//my/cpp:libstdc++",
-)
-
-toolchain(
- name = "bindgen-toolchain",
- toolchain = "bindgen-toolchain-impl",
- toolchain_type = "@rules_rust//bindgen:bindgen_toolchain",
-)
-```
-
-Now that you have your own toolchain, you need to register it by
-inserting the following statement in your `WORKSPACE` file:
-
-```python
-register_toolchains("//my/toolchains:bindgen-toolchain")
-```
diff --git a/bindgen/bindgen.bzl b/bindgen/bindgen.bzl
index a0e93d5..58288d8 100644
--- a/bindgen/bindgen.bzl
+++ b/bindgen/bindgen.bzl
@@ -77,7 +77,7 @@
rust_library(
name = name,
srcs = [name + "__bindgen.rs"],
- tags = tags + ["__bindgen"],
+ tags = tags + ["__bindgen", "noclippy"],
deps = deps + [cc_lib],
**kwargs
)
@@ -92,7 +92,7 @@
if header not in cc_header_list:
fail("Header {} is not in {}'s transitive headers.".format(ctx.attr.header, cc_lib), "header")
- toolchain = ctx.toolchains[Label("//bindgen:bindgen_toolchain")]
+ toolchain = ctx.toolchains[Label("//bindgen:toolchain_type")]
bindgen_bin = toolchain.bindgen
rustfmt_bin = toolchain.rustfmt or rust_toolchain.rustfmt
clang_bin = toolchain.clang
@@ -187,14 +187,14 @@
doc = "Flags to pass directly to the bindgen executable. See https://rust-lang.github.io/rust-bindgen/ for details.",
),
"cc_lib": attr.label(
- doc = "The cc_library that contains the .h file. This is used to find the transitive includes.",
+ doc = "The cc_library that contains the `.h` file. This is used to find the transitive includes.",
providers = [CcInfo],
),
"clang_flags": attr.string_list(
doc = "Flags to pass directly to the clang executable.",
),
"header": attr.label(
- doc = "The .h file to generate bindings for.",
+ doc = "The `.h` file to generate bindings for.",
allow_single_file = True,
),
"rustfmt": attr.bool(
@@ -214,8 +214,8 @@
outputs = {"out": "%{name}.rs"},
fragments = ["cpp"],
toolchains = [
- str(Label("//bindgen:bindgen_toolchain")),
- str(Label("//rust:toolchain")),
+ str(Label("//bindgen:toolchain_type")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -232,7 +232,34 @@
rust_bindgen_toolchain = rule(
_rust_bindgen_toolchain_impl,
- doc = "The tools required for the `rust_bindgen` rule.",
+ doc = """\
+The tools required for the `rust_bindgen` rule.
+
+This rule depends on the [`bindgen`](https://crates.io/crates/bindgen) binary crate, and it
+in turn depends on both a clang binary and the clang library. To obtain these dependencies,
+`rust_bindgen_dependencies` imports bindgen and its dependencies.
+
+```python
+load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain")
+
+rust_bindgen_toolchain(
+ name = "bindgen_toolchain_impl",
+ bindgen = "//my/rust:bindgen",
+ clang = "//my/clang:clang",
+ libclang = "//my/clang:libclang.so",
+ libstdcxx = "//my/cpp:libstdc++",
+)
+
+toolchain(
+ name = "bindgen_toolchain",
+ toolchain = "bindgen_toolchain_impl",
+ toolchain_type = "@rules_rust//bindgen:toolchain_type",
+)
+```
+
+This toolchain will then need to be registered in the current `WORKSPACE`.
+For additional information, see the [Bazel toolchains documentation](https://docs.bazel.build/versions/master/toolchains.html).
+""",
attrs = {
"bindgen": attr.label(
doc = "The label of a `bindgen` executable.",
diff --git a/bindgen/raze/BUILD.bazel b/bindgen/raze/BUILD.bazel
deleted file mode 100644
index fd7e1e5..0000000
--- a/bindgen/raze/BUILD.bazel
+++ /dev/null
@@ -1,48 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-package(default_visibility = ["//visibility:public"])
-
-licenses([
- "notice", # See individual crates for specific licenses
-])
-
-# Aliased targets
-alias(
- name = "bindgen",
- actual = "@rules_rust_bindgen__bindgen__0_58_1//:bindgen",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-alias(
- name = "cargo_bin_bindgen",
- actual = "@rules_rust_bindgen__bindgen__0_58_1//:cargo_bin_bindgen",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-alias(
- name = "libloading",
- actual = "@rules_rust_bindgen__libloading__0_6_3//:libloading",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-# Export file for Stardoc support
-exports_files(
- [
- "crates.bzl",
- ],
- visibility = ["//visibility:public"],
-)
diff --git a/bindgen/raze/Cargo.toml b/bindgen/raze/Cargo.toml
deleted file mode 100644
index 2d9129c..0000000
--- a/bindgen/raze/Cargo.toml
+++ /dev/null
@@ -1,33 +0,0 @@
-[package]
-name = "fake_rules_rust_bindgen_lib"
-version = "0.0.1"
-
-[lib]
-path = "fake_rules_rust_bindgen_lib.rs"
-
-[dependencies]
-bindgen = "0.58.1"
-libloading = "=0.6.3"
-
-[package.metadata.raze]
-genmode = "Remote"
-workspace_path = "//bindgen/raze"
-gen_workspace_prefix = "rules_rust_bindgen"
-rust_rules_workspace_name = "rules_rust"
-package_aliases_dir = "."
-default_gen_buildrs = false
-
-[package.metadata.raze.crates.bindgen.'0.58.1']
-gen_buildrs = true
-extra_aliased_targets = ["cargo_bin_bindgen"]
-
-[package.metadata.raze.crates.clang-sys.'1.0.0']
-gen_buildrs = true
-
-[package.metadata.raze.crates.libloading.'0.6.3']
-gen_buildrs = true
-
-[package.metadata.raze.crates.log.'0.4.11']
-additional_flags = [
- "--cfg=atomic_cas",
-]
diff --git a/bindgen/raze/crates.bzl b/bindgen/raze/crates.bzl
deleted file mode 100644
index 7cda777..0000000
--- a/bindgen/raze/crates.bzl
+++ /dev/null
@@ -1,422 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load
-load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load
-load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load
-
-def rules_rust_bindgen_fetch_remote_crates():
- """This function defines a collection of repos and should be called in a WORKSPACE file"""
- maybe(
- http_archive,
- name = "rules_rust_bindgen__aho_corasick__0_7_18",
- url = "https://crates.io/api/v1/crates/aho-corasick/0.7.18/download",
- type = "tar.gz",
- sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f",
- strip_prefix = "aho-corasick-0.7.18",
- build_file = Label("//bindgen/raze/remote:BUILD.aho-corasick-0.7.18.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__ansi_term__0_11_0",
- url = "https://crates.io/api/v1/crates/ansi_term/0.11.0/download",
- type = "tar.gz",
- sha256 = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b",
- strip_prefix = "ansi_term-0.11.0",
- build_file = Label("//bindgen/raze/remote:BUILD.ansi_term-0.11.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__atty__0_2_14",
- url = "https://crates.io/api/v1/crates/atty/0.2.14/download",
- type = "tar.gz",
- sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
- strip_prefix = "atty-0.2.14",
- build_file = Label("//bindgen/raze/remote:BUILD.atty-0.2.14.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__bindgen__0_58_1",
- url = "https://crates.io/api/v1/crates/bindgen/0.58.1/download",
- type = "tar.gz",
- sha256 = "0f8523b410d7187a43085e7e064416ea32ded16bd0a4e6fc025e21616d01258f",
- strip_prefix = "bindgen-0.58.1",
- build_file = Label("//bindgen/raze/remote:BUILD.bindgen-0.58.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__bitflags__1_2_1",
- url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
- type = "tar.gz",
- sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693",
- strip_prefix = "bitflags-1.2.1",
- build_file = Label("//bindgen/raze/remote:BUILD.bitflags-1.2.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__cexpr__0_4_0",
- url = "https://crates.io/api/v1/crates/cexpr/0.4.0/download",
- type = "tar.gz",
- sha256 = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27",
- strip_prefix = "cexpr-0.4.0",
- build_file = Label("//bindgen/raze/remote:BUILD.cexpr-0.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__cfg_if__0_1_10",
- url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download",
- type = "tar.gz",
- sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822",
- strip_prefix = "cfg-if-0.1.10",
- build_file = Label("//bindgen/raze/remote:BUILD.cfg-if-0.1.10.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__cfg_if__1_0_0",
- url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
- type = "tar.gz",
- sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
- strip_prefix = "cfg-if-1.0.0",
- build_file = Label("//bindgen/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__clang_sys__1_2_0",
- url = "https://crates.io/api/v1/crates/clang-sys/1.2.0/download",
- type = "tar.gz",
- sha256 = "853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c",
- strip_prefix = "clang-sys-1.2.0",
- build_file = Label("//bindgen/raze/remote:BUILD.clang-sys-1.2.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__clap__2_33_3",
- url = "https://crates.io/api/v1/crates/clap/2.33.3/download",
- type = "tar.gz",
- sha256 = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002",
- strip_prefix = "clap-2.33.3",
- build_file = Label("//bindgen/raze/remote:BUILD.clap-2.33.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__env_logger__0_8_3",
- url = "https://crates.io/api/v1/crates/env_logger/0.8.3/download",
- type = "tar.gz",
- sha256 = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f",
- strip_prefix = "env_logger-0.8.3",
- build_file = Label("//bindgen/raze/remote:BUILD.env_logger-0.8.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__glob__0_3_0",
- url = "https://crates.io/api/v1/crates/glob/0.3.0/download",
- type = "tar.gz",
- sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574",
- strip_prefix = "glob-0.3.0",
- build_file = Label("//bindgen/raze/remote:BUILD.glob-0.3.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__hermit_abi__0_1_18",
- url = "https://crates.io/api/v1/crates/hermit-abi/0.1.18/download",
- type = "tar.gz",
- sha256 = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c",
- strip_prefix = "hermit-abi-0.1.18",
- build_file = Label("//bindgen/raze/remote:BUILD.hermit-abi-0.1.18.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__humantime__2_1_0",
- url = "https://crates.io/api/v1/crates/humantime/2.1.0/download",
- type = "tar.gz",
- sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
- strip_prefix = "humantime-2.1.0",
- build_file = Label("//bindgen/raze/remote:BUILD.humantime-2.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__lazy_static__1_4_0",
- url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
- type = "tar.gz",
- sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
- strip_prefix = "lazy_static-1.4.0",
- build_file = Label("//bindgen/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__lazycell__1_3_0",
- url = "https://crates.io/api/v1/crates/lazycell/1.3.0/download",
- type = "tar.gz",
- sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55",
- strip_prefix = "lazycell-1.3.0",
- build_file = Label("//bindgen/raze/remote:BUILD.lazycell-1.3.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__libc__0_2_94",
- url = "https://crates.io/api/v1/crates/libc/0.2.94/download",
- type = "tar.gz",
- sha256 = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e",
- strip_prefix = "libc-0.2.94",
- build_file = Label("//bindgen/raze/remote:BUILD.libc-0.2.94.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__libloading__0_6_3",
- url = "https://crates.io/api/v1/crates/libloading/0.6.3/download",
- type = "tar.gz",
- sha256 = "2443d8f0478b16759158b2f66d525991a05491138bc05814ef52a250148ef4f9",
- strip_prefix = "libloading-0.6.3",
- build_file = Label("//bindgen/raze/remote:BUILD.libloading-0.6.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__libloading__0_7_0",
- url = "https://crates.io/api/v1/crates/libloading/0.7.0/download",
- type = "tar.gz",
- sha256 = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a",
- strip_prefix = "libloading-0.7.0",
- build_file = Label("//bindgen/raze/remote:BUILD.libloading-0.7.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__log__0_4_14",
- url = "https://crates.io/api/v1/crates/log/0.4.14/download",
- type = "tar.gz",
- sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
- strip_prefix = "log-0.4.14",
- build_file = Label("//bindgen/raze/remote:BUILD.log-0.4.14.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__memchr__2_4_0",
- url = "https://crates.io/api/v1/crates/memchr/2.4.0/download",
- type = "tar.gz",
- sha256 = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc",
- strip_prefix = "memchr-2.4.0",
- build_file = Label("//bindgen/raze/remote:BUILD.memchr-2.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__nom__5_1_2",
- url = "https://crates.io/api/v1/crates/nom/5.1.2/download",
- type = "tar.gz",
- sha256 = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af",
- strip_prefix = "nom-5.1.2",
- build_file = Label("//bindgen/raze/remote:BUILD.nom-5.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__peeking_take_while__0_1_2",
- url = "https://crates.io/api/v1/crates/peeking_take_while/0.1.2/download",
- type = "tar.gz",
- sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099",
- strip_prefix = "peeking_take_while-0.1.2",
- build_file = Label("//bindgen/raze/remote:BUILD.peeking_take_while-0.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__proc_macro2__1_0_26",
- url = "https://crates.io/api/v1/crates/proc-macro2/1.0.26/download",
- type = "tar.gz",
- sha256 = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec",
- strip_prefix = "proc-macro2-1.0.26",
- build_file = Label("//bindgen/raze/remote:BUILD.proc-macro2-1.0.26.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__quote__1_0_9",
- url = "https://crates.io/api/v1/crates/quote/1.0.9/download",
- type = "tar.gz",
- sha256 = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7",
- strip_prefix = "quote-1.0.9",
- build_file = Label("//bindgen/raze/remote:BUILD.quote-1.0.9.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__regex__1_5_4",
- url = "https://crates.io/api/v1/crates/regex/1.5.4/download",
- type = "tar.gz",
- sha256 = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461",
- strip_prefix = "regex-1.5.4",
- build_file = Label("//bindgen/raze/remote:BUILD.regex-1.5.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__regex_syntax__0_6_25",
- url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download",
- type = "tar.gz",
- sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b",
- strip_prefix = "regex-syntax-0.6.25",
- build_file = Label("//bindgen/raze/remote:BUILD.regex-syntax-0.6.25.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__rustc_hash__1_1_0",
- url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download",
- type = "tar.gz",
- sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2",
- strip_prefix = "rustc-hash-1.1.0",
- build_file = Label("//bindgen/raze/remote:BUILD.rustc-hash-1.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__shlex__1_0_0",
- url = "https://crates.io/api/v1/crates/shlex/1.0.0/download",
- type = "tar.gz",
- sha256 = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d",
- strip_prefix = "shlex-1.0.0",
- build_file = Label("//bindgen/raze/remote:BUILD.shlex-1.0.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__strsim__0_8_0",
- url = "https://crates.io/api/v1/crates/strsim/0.8.0/download",
- type = "tar.gz",
- sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a",
- strip_prefix = "strsim-0.8.0",
- build_file = Label("//bindgen/raze/remote:BUILD.strsim-0.8.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__termcolor__1_1_2",
- url = "https://crates.io/api/v1/crates/termcolor/1.1.2/download",
- type = "tar.gz",
- sha256 = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4",
- strip_prefix = "termcolor-1.1.2",
- build_file = Label("//bindgen/raze/remote:BUILD.termcolor-1.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__textwrap__0_11_0",
- url = "https://crates.io/api/v1/crates/textwrap/0.11.0/download",
- type = "tar.gz",
- sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060",
- strip_prefix = "textwrap-0.11.0",
- build_file = Label("//bindgen/raze/remote:BUILD.textwrap-0.11.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__unicode_width__0_1_8",
- url = "https://crates.io/api/v1/crates/unicode-width/0.1.8/download",
- type = "tar.gz",
- sha256 = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3",
- strip_prefix = "unicode-width-0.1.8",
- build_file = Label("//bindgen/raze/remote:BUILD.unicode-width-0.1.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__unicode_xid__0_2_2",
- url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
- type = "tar.gz",
- sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
- strip_prefix = "unicode-xid-0.2.2",
- build_file = Label("//bindgen/raze/remote:BUILD.unicode-xid-0.2.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__vec_map__0_8_2",
- url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download",
- type = "tar.gz",
- sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191",
- strip_prefix = "vec_map-0.8.2",
- build_file = Label("//bindgen/raze/remote:BUILD.vec_map-0.8.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__version_check__0_9_3",
- url = "https://crates.io/api/v1/crates/version_check/0.9.3/download",
- type = "tar.gz",
- sha256 = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe",
- strip_prefix = "version_check-0.9.3",
- build_file = Label("//bindgen/raze/remote:BUILD.version_check-0.9.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__which__3_1_1",
- url = "https://crates.io/api/v1/crates/which/3.1.1/download",
- type = "tar.gz",
- sha256 = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724",
- strip_prefix = "which-3.1.1",
- build_file = Label("//bindgen/raze/remote:BUILD.which-3.1.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__winapi__0_3_9",
- url = "https://crates.io/api/v1/crates/winapi/0.3.9/download",
- type = "tar.gz",
- sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
- strip_prefix = "winapi-0.3.9",
- build_file = Label("//bindgen/raze/remote:BUILD.winapi-0.3.9.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__winapi_i686_pc_windows_gnu__0_4_0",
- url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download",
- type = "tar.gz",
- sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
- strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
- build_file = Label("//bindgen/raze/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__winapi_util__0_1_5",
- url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download",
- type = "tar.gz",
- sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
- strip_prefix = "winapi-util-0.1.5",
- build_file = Label("//bindgen/raze/remote:BUILD.winapi-util-0.1.5.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_bindgen__winapi_x86_64_pc_windows_gnu__0_4_0",
- url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download",
- type = "tar.gz",
- sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
- strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
- build_file = Label("//bindgen/raze/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
- )
diff --git a/bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel b/bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel
deleted file mode 100644
index f1f73b7..0000000
--- a/bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "unencumbered", # Unlicense from expression "Unlicense OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "aho_corasick",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.7.18",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__memchr__2_4_0//:memchr",
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel b/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel
deleted file mode 100644
index 9a688a3..0000000
--- a/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel
+++ /dev/null
@@ -1,66 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "colours" with type "example" omitted
-
-rust_library(
- name = "ansi_term",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.11.0",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(target_os = "windows")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi__0_3_9//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/bindgen/raze/remote/BUILD.atty-0.2.14.bazel b/bindgen/raze/remote/BUILD.atty-0.2.14.bazel
deleted file mode 100644
index 6ccea85..0000000
--- a/bindgen/raze/remote/BUILD.atty-0.2.14.bazel
+++ /dev/null
@@ -1,89 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "atty" with type "example" omitted
-
-rust_library(
- name = "atty",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.2.14",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_bindgen__libc__0_2_94//:libc",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi__0_3_9//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/bindgen/raze/remote/BUILD.bazel b/bindgen/raze/remote/BUILD.bazel
deleted file mode 100644
index e69de29..0000000
--- a/bindgen/raze/remote/BUILD.bazel
+++ /dev/null
diff --git a/bindgen/raze/remote/BUILD.bindgen-0.58.1.bazel b/bindgen/raze/remote/BUILD.bindgen-0.58.1.bazel
deleted file mode 100644
index 38fc5b1..0000000
--- a/bindgen/raze/remote/BUILD.bindgen-0.58.1.bazel
+++ /dev/null
@@ -1,163 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # BSD-3-Clause from expression "BSD-3-Clause"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
- "@rules_rust//cargo:cargo_build_script.bzl",
- "cargo_build_script",
-)
-
-cargo_build_script(
- name = "bindgen_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.58.1",
- visibility = ["//visibility:private"],
- deps = [
- "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
- ],
-)
-
-rust_binary(
- # Prefix bin name to disambiguate from (probable) collision with lib name
- # N.B.: The exact form of this is subject to change.
- name = "cargo_bin_bindgen",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_root = "src/main.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.58.1",
- # buildifier: leave-alone
- deps = [
- ":bindgen",
- ":bindgen_build_script",
- "@rules_rust_bindgen__bitflags__1_2_1//:bitflags",
- "@rules_rust_bindgen__cexpr__0_4_0//:cexpr",
- "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
- "@rules_rust_bindgen__clap__2_33_3//:clap",
- "@rules_rust_bindgen__env_logger__0_8_3//:env_logger",
- "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static",
- "@rules_rust_bindgen__lazycell__1_3_0//:lazycell",
- "@rules_rust_bindgen__log__0_4_14//:log",
- "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while",
- "@rules_rust_bindgen__proc_macro2__1_0_26//:proc_macro2",
- "@rules_rust_bindgen__quote__1_0_9//:quote",
- "@rules_rust_bindgen__regex__1_5_4//:regex",
- "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash",
- "@rules_rust_bindgen__shlex__1_0_0//:shlex",
- "@rules_rust_bindgen__which__3_1_1//:which",
- ],
-)
-
-rust_library(
- name = "bindgen",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.58.1",
- # buildifier: leave-alone
- deps = [
- ":bindgen_build_script",
- "@rules_rust_bindgen__bitflags__1_2_1//:bitflags",
- "@rules_rust_bindgen__cexpr__0_4_0//:cexpr",
- "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
- "@rules_rust_bindgen__clap__2_33_3//:clap",
- "@rules_rust_bindgen__env_logger__0_8_3//:env_logger",
- "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static",
- "@rules_rust_bindgen__lazycell__1_3_0//:lazycell",
- "@rules_rust_bindgen__log__0_4_14//:log",
- "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while",
- "@rules_rust_bindgen__proc_macro2__1_0_26//:proc_macro2",
- "@rules_rust_bindgen__quote__1_0_9//:quote",
- "@rules_rust_bindgen__regex__1_5_4//:regex",
- "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash",
- "@rules_rust_bindgen__shlex__1_0_0//:shlex",
- "@rules_rust_bindgen__which__3_1_1//:which",
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel b/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel
deleted file mode 100644
index ee5df63..0000000
--- a/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "bitflags",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.2.1",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel b/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel
deleted file mode 100644
index d2f0fb5..0000000
--- a/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "cexpr",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.4.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__nom__5_1_2//:nom",
- ],
-)
-
-# Unsupported target "clang" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel b/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel
deleted file mode 100644
index 0d5ec5b..0000000
--- a/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "cfg_if",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.10",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "xcrate" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel b/bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel
deleted file mode 100644
index 9f57c52..0000000
--- a/bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "cfg_if",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.0.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "xcrate" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.clang-sys-1.2.0.bazel b/bindgen/raze/remote/BUILD.clang-sys-1.2.0.bazel
deleted file mode 100644
index 2c29ee0..0000000
--- a/bindgen/raze/remote/BUILD.clang-sys-1.2.0.bazel
+++ /dev/null
@@ -1,110 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # Apache-2.0 from expression "Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
- "@rules_rust//cargo:cargo_build_script.bzl",
- "cargo_build_script",
-)
-
-cargo_build_script(
- name = "clang_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- "clang_3_5",
- "clang_3_6",
- "clang_3_7",
- "clang_3_8",
- "clang_3_9",
- "clang_4_0",
- "clang_5_0",
- "clang_6_0",
- "libloading",
- "runtime",
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- links = "clang",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.2.0",
- visibility = ["//visibility:private"],
- deps = [
- "@rules_rust_bindgen__glob__0_3_0//:glob",
- ],
-)
-
-rust_library(
- name = "clang_sys",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "clang_3_5",
- "clang_3_6",
- "clang_3_7",
- "clang_3_8",
- "clang_3_9",
- "clang_4_0",
- "clang_5_0",
- "clang_6_0",
- "libloading",
- "runtime",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.2.0",
- # buildifier: leave-alone
- deps = [
- ":clang_sys_build_script",
- "@rules_rust_bindgen__glob__0_3_0//:glob",
- "@rules_rust_bindgen__libc__0_2_94//:libc",
- "@rules_rust_bindgen__libloading__0_7_0//:libloading",
- ],
-)
-
-# Unsupported target "lib" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.clap-2.33.3.bazel b/bindgen/raze/remote/BUILD.clap-2.33.3.bazel
deleted file mode 100644
index 7a970d7..0000000
--- a/bindgen/raze/remote/BUILD.clap-2.33.3.bazel
+++ /dev/null
@@ -1,93 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "clap",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "ansi_term",
- "atty",
- "color",
- "default",
- "strsim",
- "suggestions",
- "vec_map",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "2.33.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__atty__0_2_14//:atty",
- "@rules_rust_bindgen__bitflags__1_2_1//:bitflags",
- "@rules_rust_bindgen__strsim__0_8_0//:strsim",
- "@rules_rust_bindgen__textwrap__0_11_0//:textwrap",
- "@rules_rust_bindgen__unicode_width__0_1_8//:unicode_width",
- "@rules_rust_bindgen__vec_map__0_8_2//:vec_map",
- ] + selects.with_or({
- # cfg(not(windows))
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:wasm32-unknown-unknown",
- "@rules_rust//rust/platform:wasm32-wasi",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_bindgen__ansi_term__0_11_0//:ansi_term",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/bindgen/raze/remote/BUILD.env_logger-0.8.3.bazel b/bindgen/raze/remote/BUILD.env_logger-0.8.3.bazel
deleted file mode 100644
index 6cdc461..0000000
--- a/bindgen/raze/remote/BUILD.env_logger-0.8.3.bazel
+++ /dev/null
@@ -1,71 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "env_logger",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "atty",
- "default",
- "humantime",
- "regex",
- "termcolor",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.8.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__atty__0_2_14//:atty",
- "@rules_rust_bindgen__humantime__2_1_0//:humantime",
- "@rules_rust_bindgen__log__0_4_14//:log",
- "@rules_rust_bindgen__regex__1_5_4//:regex",
- "@rules_rust_bindgen__termcolor__1_1_2//:termcolor",
- ],
-)
-
-# Unsupported target "init-twice-retains-filter" with type "test" omitted
-
-# Unsupported target "log-in-log" with type "test" omitted
-
-# Unsupported target "log_tls_dtors" with type "test" omitted
-
-# Unsupported target "regexp_filter" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.glob-0.3.0.bazel b/bindgen/raze/remote/BUILD.glob-0.3.0.bazel
deleted file mode 100644
index 93a10df..0000000
--- a/bindgen/raze/remote/BUILD.glob-0.3.0.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "glob",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.3.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "glob-std" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.hermit-abi-0.1.18.bazel b/bindgen/raze/remote/BUILD.hermit-abi-0.1.18.bazel
deleted file mode 100644
index 211d229..0000000
--- a/bindgen/raze/remote/BUILD.hermit-abi-0.1.18.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "hermit_abi",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.18",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__libc__0_2_94//:libc",
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.humantime-2.1.0.bazel b/bindgen/raze/remote/BUILD.humantime-2.1.0.bazel
deleted file mode 100644
index de730f2..0000000
--- a/bindgen/raze/remote/BUILD.humantime-2.1.0.bazel
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "datetime_format" with type "bench" omitted
-
-# Unsupported target "datetime_parse" with type "bench" omitted
-
-rust_library(
- name = "humantime",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "2.1.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel b/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel
deleted file mode 100644
index a90e095..0000000
--- a/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "lazy_static",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.4.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "no_std" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel b/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel
deleted file mode 100644
index 5971cb4..0000000
--- a/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "lazycell",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.3.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.libc-0.2.94.bazel b/bindgen/raze/remote/BUILD.libc-0.2.94.bazel
deleted file mode 100644
index 2ca1b9e..0000000
--- a/bindgen/raze/remote/BUILD.libc-0.2.94.bazel
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "libc",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.2.94",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "const_fn" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel b/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel
deleted file mode 100644
index 47b6906..0000000
--- a/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel
+++ /dev/null
@@ -1,157 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # ISC from expression "ISC"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
- "@rules_rust//cargo:cargo_build_script.bzl",
- "cargo_build_script",
-)
-
-cargo_build_script(
- name = "libloading_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.6.3",
- visibility = ["//visibility:private"],
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- ],
- "//conditions:default": [],
- }),
-)
-
-rust_library(
- name = "libloading",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.6.3",
- # buildifier: leave-alone
- deps = [
- ":libloading_build_script",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_bindgen__cfg_if__0_1_10//:cfg_if",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi__0_3_9//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "constants" with type "test" omitted
-
-# Unsupported target "functions" with type "test" omitted
-
-# Unsupported target "library_filename" with type "test" omitted
-
-# Unsupported target "markers" with type "test" omitted
-
-# Unsupported target "windows" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.libloading-0.7.0.bazel b/bindgen/raze/remote/BUILD.libloading-0.7.0.bazel
deleted file mode 100644
index 5612156..0000000
--- a/bindgen/raze/remote/BUILD.libloading-0.7.0.bazel
+++ /dev/null
@@ -1,97 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # ISC from expression "ISC"
-])
-
-# Generated Targets
-
-rust_library(
- name = "libloading",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.7.0",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_bindgen__cfg_if__1_0_0//:cfg_if",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi__0_3_9//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "constants" with type "test" omitted
-
-# Unsupported target "functions" with type "test" omitted
-
-# Unsupported target "library_filename" with type "test" omitted
-
-# Unsupported target "markers" with type "test" omitted
-
-# Unsupported target "windows" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.log-0.4.14.bazel b/bindgen/raze/remote/BUILD.log-0.4.14.bazel
deleted file mode 100644
index fc3a7e2..0000000
--- a/bindgen/raze/remote/BUILD.log-0.4.14.bazel
+++ /dev/null
@@ -1,64 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "value" with type "bench" omitted
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "log",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- "--cfg=atomic_cas",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.4.14",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__cfg_if__1_0_0//:cfg_if",
- ],
-)
-
-# Unsupported target "filters" with type "test" omitted
-
-# Unsupported target "macros" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.memchr-2.4.0.bazel b/bindgen/raze/remote/BUILD.memchr-2.4.0.bazel
deleted file mode 100644
index bf5b58d..0000000
--- a/bindgen/raze/remote/BUILD.memchr-2.4.0.bazel
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "unencumbered", # Unlicense from expression "Unlicense OR MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "memchr",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "std",
- "use_std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "2.4.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.nom-5.1.2.bazel b/bindgen/raze/remote/BUILD.nom-5.1.2.bazel
deleted file mode 100644
index dbcdd50..0000000
--- a/bindgen/raze/remote/BUILD.nom-5.1.2.bazel
+++ /dev/null
@@ -1,112 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "arithmetic" with type "bench" omitted
-
-# Unsupported target "http" with type "bench" omitted
-
-# Unsupported target "ini" with type "bench" omitted
-
-# Unsupported target "ini_complete" with type "bench" omitted
-
-# Unsupported target "ini_str" with type "bench" omitted
-
-# Unsupported target "json" with type "bench" omitted
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-# Unsupported target "json" with type "example" omitted
-
-# Unsupported target "s_expression" with type "example" omitted
-
-# Unsupported target "string" with type "example" omitted
-
-rust_library(
- name = "nom",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "alloc",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "5.1.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__memchr__2_4_0//:memchr",
- ],
-)
-
-# Unsupported target "arithmetic" with type "test" omitted
-
-# Unsupported target "arithmetic_ast" with type "test" omitted
-
-# Unsupported target "blockbuf-arithmetic" with type "test" omitted
-
-# Unsupported target "css" with type "test" omitted
-
-# Unsupported target "custom_errors" with type "test" omitted
-
-# Unsupported target "escaped" with type "test" omitted
-
-# Unsupported target "float" with type "test" omitted
-
-# Unsupported target "inference" with type "test" omitted
-
-# Unsupported target "ini" with type "test" omitted
-
-# Unsupported target "ini_str" with type "test" omitted
-
-# Unsupported target "issues" with type "test" omitted
-
-# Unsupported target "json" with type "test" omitted
-
-# Unsupported target "mp4" with type "test" omitted
-
-# Unsupported target "multiline" with type "test" omitted
-
-# Unsupported target "named_args" with type "test" omitted
-
-# Unsupported target "overflow" with type "test" omitted
-
-# Unsupported target "reborrow_fold" with type "test" omitted
-
-# Unsupported target "test1" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel b/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel
deleted file mode 100644
index 78249fd..0000000
--- a/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "peeking_take_while",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.2",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.proc-macro2-1.0.26.bazel b/bindgen/raze/remote/BUILD.proc-macro2-1.0.26.bazel
deleted file mode 100644
index d0858e0..0000000
--- a/bindgen/raze/remote/BUILD.proc-macro2-1.0.26.bazel
+++ /dev/null
@@ -1,66 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "proc_macro2",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.0.26",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__unicode_xid__0_2_2//:unicode_xid",
- ],
-)
-
-# Unsupported target "comments" with type "test" omitted
-
-# Unsupported target "features" with type "test" omitted
-
-# Unsupported target "marker" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
-
-# Unsupported target "test_fmt" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.quote-1.0.9.bazel b/bindgen/raze/remote/BUILD.quote-1.0.9.bazel
deleted file mode 100644
index a1b8dc2..0000000
--- a/bindgen/raze/remote/BUILD.quote-1.0.9.bazel
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "quote",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.0.9",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__proc_macro2__1_0_26//:proc_macro2",
- ],
-)
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.regex-1.5.4.bazel b/bindgen/raze/remote/BUILD.regex-1.5.4.bazel
deleted file mode 100644
index 4eddae8..0000000
--- a/bindgen/raze/remote/BUILD.regex-1.5.4.bazel
+++ /dev/null
@@ -1,102 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "shootout-regex-dna" with type "example" omitted
-
-# Unsupported target "shootout-regex-dna-bytes" with type "example" omitted
-
-# Unsupported target "shootout-regex-dna-cheat" with type "example" omitted
-
-# Unsupported target "shootout-regex-dna-replace" with type "example" omitted
-
-# Unsupported target "shootout-regex-dna-single" with type "example" omitted
-
-# Unsupported target "shootout-regex-dna-single-cheat" with type "example" omitted
-
-rust_library(
- name = "regex",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "aho-corasick",
- "memchr",
- "perf",
- "perf-cache",
- "perf-dfa",
- "perf-inline",
- "perf-literal",
- "std",
- "unicode",
- "unicode-age",
- "unicode-bool",
- "unicode-case",
- "unicode-gencat",
- "unicode-perl",
- "unicode-script",
- "unicode-segment",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.5.4",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__aho_corasick__0_7_18//:aho_corasick",
- "@rules_rust_bindgen__memchr__2_4_0//:memchr",
- "@rules_rust_bindgen__regex_syntax__0_6_25//:regex_syntax",
- ],
-)
-
-# Unsupported target "backtrack" with type "test" omitted
-
-# Unsupported target "backtrack-bytes" with type "test" omitted
-
-# Unsupported target "backtrack-utf8bytes" with type "test" omitted
-
-# Unsupported target "crates-regex" with type "test" omitted
-
-# Unsupported target "default" with type "test" omitted
-
-# Unsupported target "default-bytes" with type "test" omitted
-
-# Unsupported target "nfa" with type "test" omitted
-
-# Unsupported target "nfa-bytes" with type "test" omitted
-
-# Unsupported target "nfa-utf8bytes" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel b/bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel
deleted file mode 100644
index b185ef3..0000000
--- a/bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel
+++ /dev/null
@@ -1,63 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "bench" with type "bench" omitted
-
-rust_library(
- name = "regex_syntax",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "unicode",
- "unicode-age",
- "unicode-bool",
- "unicode-case",
- "unicode-gencat",
- "unicode-perl",
- "unicode-script",
- "unicode-segment",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.6.25",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel b/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel
deleted file mode 100644
index e751942..0000000
--- a/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "rustc_hash",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.1.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.shlex-1.0.0.bazel b/bindgen/raze/remote/BUILD.shlex-1.0.0.bazel
deleted file mode 100644
index 3b11348..0000000
--- a/bindgen/raze/remote/BUILD.shlex-1.0.0.bazel
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "shlex",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.0.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel b/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel
deleted file mode 100644
index a1becf3..0000000
--- a/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "benches" with type "bench" omitted
-
-rust_library(
- name = "strsim",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.8.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "lib" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel b/bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel
deleted file mode 100644
index ff23f3f..0000000
--- a/bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel
+++ /dev/null
@@ -1,64 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "unencumbered", # Unlicense from expression "Unlicense OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "termcolor",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.1.2",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi_util__0_1_5//:winapi_util",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel b/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel
deleted file mode 100644
index 541cff5..0000000
--- a/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel
+++ /dev/null
@@ -1,62 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "linear" with type "bench" omitted
-
-# Unsupported target "layout" with type "example" omitted
-
-# Unsupported target "termwidth" with type "example" omitted
-
-rust_library(
- name = "textwrap",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.11.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__unicode_width__0_1_8//:unicode_width",
- ],
-)
-
-# Unsupported target "version-numbers" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel b/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel
deleted file mode 100644
index ee3ab94..0000000
--- a/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel
+++ /dev/null
@@ -1,54 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "unicode_width",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.8",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel b/bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel
deleted file mode 100644
index bd9e2a7..0000000
--- a/bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "xid" with type "bench" omitted
-
-rust_library(
- name = "unicode_xid",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.2.2",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "exhaustive_tests" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel b/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel
deleted file mode 100644
index 031dc5e..0000000
--- a/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "vec_map",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.8.2",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.version_check-0.9.3.bazel b/bindgen/raze/remote/BUILD.version_check-0.9.3.bazel
deleted file mode 100644
index 74a457d..0000000
--- a/bindgen/raze/remote/BUILD.version_check-0.9.3.bazel
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
- name = "version_check",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.9.3",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.which-3.1.1.bazel b/bindgen/raze/remote/BUILD.which-3.1.1.bazel
deleted file mode 100644
index 15a73c6..0000000
--- a/bindgen/raze/remote/BUILD.which-3.1.1.bazel
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "which",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "3.1.1",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_bindgen__libc__0_2_94//:libc",
- ],
-)
-
-# Unsupported target "basic" with type "test" omitted
diff --git a/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel b/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel
deleted file mode 100644
index 6fa8b8c..0000000
--- a/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel
+++ /dev/null
@@ -1,67 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "winapi",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "consoleapi",
- "errhandlingapi",
- "fileapi",
- "libloaderapi",
- "minwinbase",
- "minwindef",
- "processenv",
- "std",
- "winbase",
- "wincon",
- "winerror",
- "winnt",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.3.9",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644
index 7de7c44..0000000
--- a/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "winapi_i686_pc_windows_gnu",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.4.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel b/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel
deleted file mode 100644
index 00689f0..0000000
--- a/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel
+++ /dev/null
@@ -1,64 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "unencumbered", # Unlicense from expression "Unlicense OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "winapi_util",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.5",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_bindgen__winapi__0_3_9//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644
index 747aabe..0000000
--- a/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//bindgen/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "winapi_x86_64_pc_windows_gnu",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.4.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/bindgen/repositories.bzl b/bindgen/repositories.bzl
index f8614ba..3e09d3d 100644
--- a/bindgen/repositories.bzl
+++ b/bindgen/repositories.bzl
@@ -12,21 +12,39 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# buildifier: disable=module-docstring
+"""Dependencies for the Rust `bindgen` rules"""
+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
-load("//bindgen/raze:crates.bzl", "rules_rust_bindgen_fetch_remote_crates")
+load("//bindgen/3rdparty/crates:defs.bzl", "crate_repositories")
# buildifier: disable=unnamed-macro
-def rust_bindgen_repositories():
+def rust_bindgen_dependencies():
"""Declare dependencies needed for bindgen."""
# nb. The bindgen rule itself should work on any platform.
_bindgen_clang_repositories()
- rules_rust_bindgen_fetch_remote_crates()
+ crate_repositories()
- native.register_toolchains(str(Label("//bindgen:default_bindgen_toolchain")))
+# buildifier: disable=unnamed-macro
+def rust_bindgen_register_toolchains(register_toolchains = True):
+ """Registers the default toolchains for the `rules_rust` [bindgen][bg] rules.
+
+ [bg]: https://rust-lang.github.io/rust-bindgen/
+
+ Args:
+ register_toolchains (bool, optional): Whether or not to register toolchains.
+ """
+ if register_toolchains:
+ native.register_toolchains(str(Label("//bindgen:default_bindgen_toolchain")))
+
+# buildifier: disable=unnamed-macro
+def rust_bindgen_repositories():
+ """**Deprecated**: Instead use [rust_bindgen_dependencies](#rust_bindgen_dependencies) and [rust_bindgen_register_toolchains](#rust_bindgen_register_toolchains)"""
+
+ rust_bindgen_dependencies()
+ rust_bindgen_register_toolchains()
_COMMON_WORKSPACE = """\
workspace(name = "{}")