diff --git a/.bazelignore b/.bazelignore
index 1617deec04..34dc0eea33 100644
--- a/.bazelignore
+++ b/.bazelignore
@@ -1,3 +1,4 @@
docs
examples
examples/cargo_manifest_dir/external_crate
+cargo/cargo_raze
diff --git a/cargo/cargo_raze/.bazelci/presubmit.yml b/cargo/cargo_raze/.bazelci/presubmit.yml
new file mode 100644
index 0000000000..745f001123
--- /dev/null
+++ b/cargo/cargo_raze/.bazelci/presubmit.yml
@@ -0,0 +1,19 @@
+---
+buildifier: latest
+tasks:
+ # TODO(acmcarther): Add check to verify that examples are up-to-date.
+ ubuntu1804:
+ build_targets:
+ - "..."
+ test_targets:
+ - "..."
+ windows:
+ build_targets:
+ - "..."
+ test_targets:
+ - "..."
+ macos:
+ build_targets:
+ - "..."
+ test_targets:
+ - "..."
diff --git a/cargo/cargo_raze/.bazelignore b/cargo/cargo_raze/.bazelignore
new file mode 100644
index 0000000000..1e107f52e4
--- /dev/null
+++ b/cargo/cargo_raze/.bazelignore
@@ -0,0 +1 @@
+examples
diff --git a/cargo/cargo_raze/.bazelversion b/cargo/cargo_raze/.bazelversion
new file mode 100644
index 0000000000..0c89fc927e
--- /dev/null
+++ b/cargo/cargo_raze/.bazelversion
@@ -0,0 +1 @@
+4.0.0
\ No newline at end of file
diff --git a/cargo/cargo_raze/.github/workflows/ci.yaml b/cargo/cargo_raze/.github/workflows/ci.yaml
new file mode 100644
index 0000000000..ee7f7379e6
--- /dev/null
+++ b/cargo/cargo_raze/.github/workflows/ci.yaml
@@ -0,0 +1,88 @@
+on: [push, pull_request]
+
+name: CI
+
+jobs:
+ check:
+ name: Check
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ rust:
+ - stable
+ - 1.45.0
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: ${{ matrix.rust }}
+ override: true
+ - uses: actions-rs/cargo@v1
+ with:
+ command: check
+ args: --manifest-path impl/Cargo.toml
+
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ rust:
+ - stable
+ # 1.45 triggers bug in parse_raze_settings_any_package
+ # with settings_packages.len() == 0
+ - 1.46.0
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: ${{ matrix.rust }}
+ override: true
+ - uses: actions-rs/cargo@v1
+ with:
+ command: test
+ args: --manifest-path impl/Cargo.toml
+
+ fmt:
+ name: Rustfmt
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ rust:
+ # The rustfmt.toml appears to use nightly only features
+ - nightly-2021-01-31
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: ${{ matrix.rust }}
+ override: true
+ - run: rustup component add rustfmt
+ - uses: actions-rs/cargo@v1
+ with:
+ command: fmt
+ args: --manifest-path impl/Cargo.toml --all -- --check
+
+ clippy:
+ name: Clippy
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ rust:
+ - stable
+ - 1.45.0
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: ${{ matrix.rust }}
+ override: true
+ - run: rustup component add clippy
+ - uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+ args: --manifest-path impl/Cargo.toml -- -D warnings
diff --git a/cargo/cargo_raze/.gitignore b/cargo/cargo_raze/.gitignore
new file mode 100644
index 0000000000..feeb67d16c
--- /dev/null
+++ b/cargo/cargo_raze/.gitignore
@@ -0,0 +1,2 @@
+**/bazel-*
+**/target/
diff --git a/cargo/cargo_raze/.travis.yml b/cargo/cargo_raze/.travis.yml
new file mode 100644
index 0000000000..15b527aa31
--- /dev/null
+++ b/cargo/cargo_raze/.travis.yml
@@ -0,0 +1,43 @@
+dist: trusty
+sudo: required
+language: rust
+addons:
+ apt:
+ sources:
+ - george-edison55-precise-backports
+ packages:
+ - cmake-data
+ - cmake
+
+# Thanks, github.com/pubref/rules_protobuf!
+# https://github.com/bazelbuild/bazel/issues/29#issuecomment-271428146
+before_install:
+ - OS=linux
+ - ARCH=x86_64
+ - V="$(cat ./.bazelversion)"
+ - GH_BASE="https://github.com/bazelbuild/bazel/releases/download/$V"
+ - GH_ARTIFACT="bazel-$V-installer-$OS-$ARCH.sh"
+ - URL="$GH_BASE/$GH_ARTIFACT"
+ - echo $URL
+ - wget -O install.sh $URL
+ - chmod +x install.sh
+ - ./install.sh --user
+ - rm -f install.sh
+
+rust:
+ - stable
+matrix:
+ allow_failures:
+ - rust: nightly
+
+script:
+ - bazel build //... && bazel test //...
+ # Check that /examples has no changes
+ - |
+ bazel run //tools:examples_raze
+ if [ -n "$(git status --porcelain)" ]; then
+ echo '/examples is out of date. Please rerun all tests and commit the changes generated from this command' >&2
+ exit 1
+ fi
+ # Run Buildifier as a linter step
+ - bazel run //:buildifier_check
diff --git a/cargo/cargo_raze/BUILD.bazel b/cargo/cargo_raze/BUILD.bazel
new file mode 100644
index 0000000000..67d507d08d
--- /dev/null
+++ b/cargo/cargo_raze/BUILD.bazel
@@ -0,0 +1,39 @@
+load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
+
+alias(
+ name = "cargo_raze",
+ actual = "//impl:cargo_raze",
+ visibility = ["//visibility:public"],
+)
+
+alias(
+ name = "cargo_raze_bin",
+ actual = "//impl:cargo_raze_bin",
+ visibility = ["//visibility:public"],
+)
+
+alias(
+ name = "bootstrap",
+ actual = "//tools:bootstrap",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "publish_new_version",
+ actual = "//tools:publish_new_version",
+ visibility = ["//visibility:private"],
+)
+
+test_suite(
+ name = "examples_tests",
+ tests = [
+ "@cargo_raze_examples//tests:examples_tests",
+ ],
+ visibility = ["//visibility:private"],
+)
+
+buildifier(
+ name = "buildifier_check",
+ mode = "check",
+ visibility = ["//visibility:private"],
+)
diff --git a/cargo/cargo_raze/CODEOWNERS b/cargo/cargo_raze/CODEOWNERS
new file mode 100644
index 0000000000..c10a487acb
--- /dev/null
+++ b/cargo/cargo_raze/CODEOWNERS
@@ -0,0 +1,3 @@
+# Code owners of cargo-raze
+
+* @acmcarther
diff --git a/cargo/cargo_raze/CONTRIBUTING.md b/cargo/cargo_raze/CONTRIBUTING.md
new file mode 100644
index 0000000000..c980350f8f
--- /dev/null
+++ b/cargo/cargo_raze/CONTRIBUTING.md
@@ -0,0 +1,23 @@
+# How to Contribute
+
+We'd love to accept your patches and contributions to this project. There are
+just a few small guidelines you need to follow.
+
+## Contributor License Agreement
+
+Contributions to this project must be accompanied by a Contributor License
+Agreement. You (or your employer) retain the copyright to your contribution;
+this simply gives us permission to use and redistribute your contributions as
+part of the project. Head over to to see
+your current agreements on file or to sign a new one.
+
+You generally only need to submit a CLA once, so if you've already submitted one
+(even if it was for a different project), you probably don't need to do it
+again.
+
+## Code reviews
+
+All submissions, including submissions by project members, require review. We
+use GitHub pull requests for this purpose. Consult
+[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
+information on using pull requests.
diff --git a/cargo/cargo_raze/LICENSE b/cargo/cargo_raze/LICENSE
new file mode 100644
index 0000000000..261eeb9e9f
--- /dev/null
+++ b/cargo/cargo_raze/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/cargo/cargo_raze/README.md b/cargo/cargo_raze/README.md
new file mode 100644
index 0000000000..a6a3c872bc
--- /dev/null
+++ b/cargo/cargo_raze/README.md
@@ -0,0 +1,477 @@
+# cargo-raze: Bazel BUILD generation for Rust Crates
+
+[](https://travis-ci.org/google/cargo-raze)
+
+An experimental support Cargo plugin for distilling a workspace-level
+Cargo.toml into BUILD targets that code using [rules_rust](https://github.com/bazelbuild/rules_rust)
+can depend on directly.
+
+## Disclaimer
+
+This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
+
+## Overview
+
+This project synthesizes the dependency resolution logic and some of the
+functionality of Cargo such as features and build scripts into executable
+rules that Bazel can run to compile Rust crates. Though the standard rules_rust
+rules can be used to compile Rust code from scratch, the fine granularity of the
+dependency ecosystem makes transforming dependency trees based on that ecosystem
+onerous, even for code with few dependencies.
+
+## Usage
+
+cargo-raze can generate buildable targets in one of two modes: Vendoring, or
+Non-Vendoring. In the vendoring mode, developers use the common `cargo vendor`
+subcommand to retrieve the dependencies indicated by their workspace Cargo.toml into
+directories that cargo-raze then populates with BUILD files. In the
+non-vendoring mode, cargo-raze generates a flat list of BUILD files, and a
+workspace-level macro that can be invoked in the WORKSPACE file to pull down the
+dependencies automatically in similar fashion to Cargo itself.
+
+In both cases, the first step is to decide where to situate the Cargo
+dependencies in the workspace. This library was designed with monorepos in mind,
+where an organization decides upon a set of dependencies that everyone points
+at. It is intended that stakeholders in the dependencies collaborate to upgrade
+dependencies atomically, and fix breakages across their codebase simultaneously.
+In the event that this isn't feasible, it is still possible to use cargo-raze in
+a decentralized scenario, but it's unlikely that such decoupled repositories
+would interact well together with the current implementation.
+
+Regardless of the approach chosen, the rust_rules should be brought in to the
+WORKSPACE. Here is an example:
+
+```python
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+http_archive(
+ name = "rules_rust",
+ sha256 = "accb5a89cbe63d55dcdae85938e56ff3aa56f21eb847ed826a28a83db8500ae6",
+ strip_prefix = "rules_rust-9aa49569b2b0dacecc51c05cee52708b7255bd98",
+ urls = [
+ # Main branch as of 2021-02-19
+ "https://github.com/bazelbuild/rules_rust/archive/9aa49569b2b0dacecc51c05cee52708b7255bd98.tar.gz",
+ ],
+)
+
+load("@rules_rust//rust:repositories.bzl", "rust_repositories")
+
+rust_repositories()
+```
+
+### Generate a Cargo.toml
+
+For Bazel only projects, users should first generate a standard Cargo.toml
+with the dependencies of interest. Take care to include a `[lib]` directive
+so that Cargo does not complain about missing source files for this mock
+crate. Here is an example:
+
+```toml
+[package]
+name = "compile_with_bazel"
+version = "0.0.0"
+
+# Mandatory (or Cargo tooling is unhappy)
+[lib]
+path = "fake_lib.rs"
+
+[dependencies]
+log = "=0.3.6"
+
+```
+
+Once the standard Cargo.toml is in place, add the `[package.metadata.raze]`
+directives per the next section.
+
+### Using existing Cargo.toml
+
+Almost all canonical cargo setups should be able to function inplace with
+`cargo-raze`. Assuming the Cargo workspace is now nested under a Bazel workspace,
+Users can simply add [RazeSettings](./impl/src/settings.rs) to their Cargo.toml
+files to be used for generating Bazel files
+
+```toml
+# Above this line should be the contents of your Cargo.toml file
+
+[package.metadata.raze]
+# The path at which to write output files.
+#
+# `cargo raze` will generate Bazel-compatible BUILD files into this path.
+# This can either be a relative path (e.g. "foo/bar"), relative to this
+# Cargo.toml file; or relative to the Bazel workspace root (e.g. "//foo/bar").
+workspace_path = "//cargo"
+
+# This causes aliases for dependencies to be rendered in the BUILD
+# file located next to this `Cargo.toml` file.
+package_aliases_dir = "."
+
+# The set of targets to generate BUILD rules for.
+targets = [
+ "x86_64-apple-darwin",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-linux-gnu",
+]
+
+# The two acceptable options are "Remote" and "Vendored" which
+# is used to indicate whether the user is using a non-vendored or
+# vendored set of dependencies.
+genmode = "Remote"
+```
+
+#### Cargo workspace projects
+
+In projects that use [cargo workspaces](cargo_workspaces) uses should organize
+all of their `raze` settings into the `[workspace.metadata.raze]` field in the
+top level `Cargo.toml` file which contains the `[workspace]` definition. These
+settings should be identical to the ones seen in `[package.metadata.raze]` in
+[the previous section](#using-existing-cargotoml). However, crate settings may still
+be placed in the `Cargo.toml` files of the workspace memebers:
+
+```toml
+# Above this line should be the contents of your package's Cargo.toml file
+
+# Note that `some-dependency` is the name of an example dependency and
+# `<0.3.0` is a semver version for the dependency crate's version. This
+# should always be compaitble in some way with the dependency version
+# specified in the `[dependencies]` section of the package defined in
+# this file
+[package.metadata.raze.crates.some-dependency.'<0.3.0']
+additional_flags = [
+ "--cfg=optional_feature_a",
+ "--cfg=optional_feature_b",
+]
+
+# This demonstrates that multiple crate settings may be defined.
+[package.metadata.raze.crates.some-other-dependency.'*']
+additional_flags = [
+ "--cfg=special_feature",
+]
+```
+
+[cargo_workspaces]: https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
+
+### Remote Dependency Mode
+
+In Remote mode, a directory similar to the vendoring mode is selected. In this
+case, though, it contains only BUILD files, a vendoring instruction for the
+WORKSPACE, and aliases to the explicit dependencies. Slightly different plumbing
+is required.
+
+This tells Raze not to expect the dependencies to be vendored and to generate
+different files.
+
+#### Generate buildable targets
+
+First, install cargo-raze.
+
+```bash
+$ cargo install cargo-raze
+```
+
+Next, execute cargo raze from within the cargo directory
+
+```bash
+$ cargo raze
+```
+
+Finally, invoke the remote library fetching function within your WORKSPACE:
+
+```python
+load("//cargo:crates.bzl", "raze_fetch_remote_crates")
+
+raze_fetch_remote_crates()
+```
+
+This tells Bazel where to get the dependencies from, and how to build them:
+using the files generated into `//cargo`.
+
+_Note that this method's name depends on your `gen_workspace_prefix` setting_.
+
+You can depend on any _explicit_ dependencies in any Rust rule by depending on
+`//cargo:your_dependency_name`.
+
+### Vendoring Mode
+
+In Vendoring mode, a root directly is selected that will house the vendored
+dependencies and become the gateway to those build rules. `//cargo` is
+conventional, but `//third_party/cargo` may be desirable to satisfy
+organizational needs. Vendoring directly into root isn't well supported due to
+implementation-specific idiosyncracies, but it may be supported in the future.
+From here forward, `//cargo` will be the assumed directory.
+
+#### Generate buildable targets (vendored)
+
+First, install the required tools for vendoring and generating BUILDable
+targets.
+
+```bash
+$ cargo install cargo-raze
+```
+
+Following that, vendor your dependencies from within the cargo/ directory. This
+will also update your `Cargo.lock` file.
+
+```bash
+$ cargo vendor --versioned-dirs
+```
+
+Finally, generate your BUILD files, again from within the `cargo/` directory
+
+```bash
+$ cargo raze
+```
+
+You can now depend on any _explicit_ dependencies in any Rust rule by depending on
+`//cargo:your_dependency_name`.
+
+### Handling Unconventional Crates
+
+Some crates execute a "build script", which, while technically unrestricted in
+what it can do, usually does one of a few common things.
+
+All options noted below are enumerated in the
+[src/settings.rs](./impl/src/settings.rs) file.
+
+#### Crates that generate files using locally known information
+
+In some cases, a crate uses only basic information in order to generate a Rust
+source file. These build-scripts rules can actually be executed and used within
+Bazel by including a directive in your Cargo.toml prior to generation:
+
+```toml
+[package.metadata.raze.crates.clang-sys.'0.21.1']
+gen_buildrs = true
+```
+
+This setting tells cargo-raze to generate a rust_binary target for the build
+script and to direct its generated (OUT_DIR-style) outputs to the parent crate.
+
+#### Crates that depend on certain flags being determined by a build script
+
+Some build scripts conditionally emit directives to stdout that Cargo knows how
+to propagate. Unfortunately, its not so simple to manage build-time generated
+dependency information, so if the flags are statically known (perhaps, since the
+compilation target is statically known), they can be provided from within the
+Cargo.toml, in the following manner
+
+```toml
+[package.metadata.raze.crates.unicase.'2.1.0']
+additional_flags = [
+ # Rustc is 1.15, enable all optional settings
+ "--cfg=__unicase__iter_cmp",
+ "--cfg=__unicase__defauler_hasher",
+]
+```
+
+Flags provided in this manner are directly handed to rustc. It may be helpful to
+refer to the build-script section of the documentation to interpret build
+scripts and stdout directives that are encountered, available here:
+https://doc.rust-lang.org/cargo/reference/build-scripts.html
+
+#### Crates that need system libraries
+
+There are two ways to provide system libraries that a crate needs for
+compilation. The first is to vendor the system library directly, craft a BUILD
+rule for it, and add the dependency to the corresponding `-sys` crate. For
+openssl, this may in part look like:
+
+```toml
+[package.metadata.raze.crates.openssl-sys.'0.9.24']
+additional_flags = [
+ # Vendored openssl is 1.0.2m
+ "--cfg=ossl102",
+ "--cfg=version=102",
+]
+additional_deps = [
+ "@//third_party/openssl:crypto",
+ "@//third_party/openssl:ssl",
+]
+
+[package.metadata.raze.crates.openssl.'0.10.2']
+additional_flags = [
+ # Vendored openssl is 1.0.2m
+ "--cfg=ossl102",
+ "--cfg=version=102",
+ "--cfg=ossl10x",
+]
+```
+
+In some cases, directly wiring up a local system dependency may be preferable.
+To do this, refer to the `new_local_repository` section of the Bazel
+documentation. For a precompiled version of llvm in a WORKSPACE, this may look
+something like:
+
+```python
+new_local_repository(
+ name = "llvm",
+ build_file = "BUILD.llvm.bazel",
+ path = "/usr/lib/llvm-3.9",
+)
+```
+
+In a few cases, the sys crate may need to be overridden entirely. This can be
+facilitated by removing and supplementing dependencies in the Cargo.toml,
+pre-generation:
+
+```toml
+[package.metadata.raze.crates.sdl2.'0.31.0']
+skipped_deps = [
+ "sdl2-sys-0.31.0"
+]
+additional_deps = [
+ "@//cargo/overrides/sdl2-sys:sdl2_sys"
+]
+```
+
+#### Crates that supply useful binaries
+
+Some crates provide useful binaries that themselves can be used as part of a
+compilation process: Bindgen is a great example. Bindgen produces Rust source
+files by processing C or C++ files. A directive can be added to the Cargo.toml
+to tell Bazel to expose such binaries for you:
+
+```toml
+[package.metadata.raze.crates.bindgen.'0.32.2']
+gen_buildrs = true # needed to build bindgen
+extra_aliased_targets = [
+ "cargo_bin_bindgen"
+]
+```
+
+Cargo-raze prefixes binary targets with `cargo_bin_`, as although Cargo permits
+binaries and libraries to share the same target name, Bazel disallows this.
+
+#### Crates that only provide binaries
+
+Currently, cargo does not gather metadata about crates that do not provide any
+libraries. This means that these specifying them in the `[dependencies]` section
+of your `Cargo.toml` file will not result in generated Bazel targets. Cargo-raze
+has a special field to handle these crates when using `genmode = "Remote"`:
+
+```toml
+[package.metadata.raze.binary_deps]
+wasm-bindgen-cli = "0.2.68"
+```
+
+In the snippet above, the `wasm-bindgen-cli` crate is defined as binary dependency
+and Cargo-raze will ensure metadata for this and any other crate defined here are
+included in the resulting output directory. Lockfiles for targets specified under
+`[package.metadata.raze.binary_deps]` will be generated into a `lockfiles` directory inside the path
+specified by `workspace_path`.
+
+Note that the `binary_deps` field can go in workspace _and_ package metadata, however, only one
+definition of a binary dependency can exist at a time. If you have multiple packages that depend
+on a single binary dependency, that definition needs to be be moved to the workspace metadata.
+
+### Build scripts by default
+
+Setting default_gen_buildrs to true will cause cargo-raze to generate build scripts
+for all crates that require them:
+
+```toml
+[package.metadata.raze]
+workspace_path = "//cargo"
+genmode = "Remote"
+default_gen_buildrs = true
+```
+
+This setting is a trade-off between convenience and correctness. By enabling it,
+you should find many crates work without having to specify any flags explicitly,
+and without having to manually enable individual build scripts. But by turning
+it on, you are allowing all of the crates you are using to run arbitrary code at
+build time, and the actions they perform may not be hermetic.
+
+Even with this setting enabled, you may still need to provide extra settings for
+a few crates. For example, the ring crate needs access to the source tree at build
+time:
+
+```toml
+[package.metadata.raze.crates.ring.'*']
+compile_data_attr = "glob([\"**/*.der\"])"
+```
+
+If you wish to disable the build script on an individual crate, you can do so
+as follows:
+
+```toml
+[package.metadata.raze.crates.some_dependency.'*']
+gen_buildrs = false
+```
+
+## FAQ
+
+### Why choose Bazel to build a Rust project?
+
+Bazel ("fast", "correct", choose two) is a battle-tested build system used by
+Google to compile incredibly large, multilingual projects without duplicating
+effort, and without compromising on correctness. It accomplishes this in part by
+limiting what mechanisms a given compilation object can use to discover
+dependencies and by forcing buildable units to express the complete set of
+their dependencies. It expects two identical sets of build target inputs to produce a
+byte-for-byte equivalent final result.
+
+In exchange, users are rewarded with a customizable and extensible build system
+that compiles any kind of compilable target and allows expressing "unconventional
+dependencies", such as Protobuf objects, precompiled graphics shaders, or
+generated code, while remaining fast and correct.
+
+Its also probable (though not yet demonstrated with benchmarks) that large
+applications built with Bazel's strengths in mind: highly granular build units,
+will compile significantly faster as they are able to cache more aggressively
+and avoid recompilation of as much code while iterating.
+
+### Why try to integrate Cargo's dependencies into this build tool?
+
+For better or worse, the Rust ecosystem heavily depends on Cargo crates in order
+to provide functionality that is often present in standard libraries. This is
+actually a fantastic thing for the evolution of the language, as it describes a
+structured process to stabilization (experimental crate -> 1.0 crate -> RFC ->
+inclusion in stdlib), but it means that people who lack access to this ecosystem
+must reinvent many wheels.
+
+Putting that aside there are also fantastic crates that help Rust developers
+interact with industry standard systems and libraries which can greatly
+accelerate development in the language.
+
+### Why not build directly with Cargo / Why generate rustc invocations?
+
+Though the burden of emulating Cargo's functionality (where possible at all!) is
+high, it appears to be the only way to maintain the guarantees (correctness,
+reproducibility) that Bazel depends on to stay performant. It is possible and
+likely with inflight RFCs that Cargo will become sufficiently flexible to
+allow it to be used directly for compilation but at this point in time it
+appears that maintaining a semblance of feature parity is actually easier than
+avoiding all of the sharp edges introduced by treating Cargo like the Rust
+compiler.
+
+### What is buildable right now with Bazel, and what is not?
+
+With a little bit of elbow grease it is possible to build nearly everything,
+including projects that depend on openssl-sys. Many sys crates will require
+identifying the system library that they wrap, and either vendoring it into the
+project, or telling Bazel where it lives on your system. Some may require minor
+source tweaks, such as eliminating hardcoded cargo environment variable
+requirements. Fixes can be non-trivial in a few cases, but a good number of
+the most popular crates have been built in an example repo, available at
+https://github.com/acmcarther/cargo-raze-crater
+
+## Example Repos
+
+See these examples of providing crate configuration:
+
+**Using vendored mode**:
+
+- [hello-cargo-library](https://github.com/google/cargo-raze/tree/master/examples/vendored/hello_cargo_library)
+- [complicated-cargo-library](https://github.com/google/cargo-raze/tree/master/examples/vendored/complicated_cargo_library)
+- [non-cratesio](https://github.com/google/cargo-raze/tree/master/examples/vendored/non_cratesio_library)
+
+**Using remote mode**:
+
+- [complicated-example](https://github.com/google/cargo-raze/tree/master/examples/remote/complicated_cargo_library)
+- [non-cratesio](https://github.com/google/cargo-raze/tree/master/examples/remote/non_cratesio)
+
+**Compiling OpenSSL**:
+
+- [openssl](https://github.com/acmcarther/compile_openssl)
+
+The `[package.metadata.raze]` section is derived from a struct declared in [impl/src/settings.rs](./impl/src/settings.rs).
diff --git a/cargo/cargo_raze/WORKSPACE.bazel b/cargo/cargo_raze/WORKSPACE.bazel
new file mode 100644
index 0000000000..058ecfa303
--- /dev/null
+++ b/cargo/cargo_raze/WORKSPACE.bazel
@@ -0,0 +1,87 @@
+workspace(name = "cargo_raze")
+
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+http_archive(
+ name = "rules_rust",
+ sha256 = "accb5a89cbe63d55dcdae85938e56ff3aa56f21eb847ed826a28a83db8500ae6",
+ strip_prefix = "rules_rust-9aa49569b2b0dacecc51c05cee52708b7255bd98",
+ urls = [
+ # Main branch as of 2021-02-19
+ "https://github.com/bazelbuild/rules_rust/archive/9aa49569b2b0dacecc51c05cee52708b7255bd98.tar.gz",
+ ],
+)
+
+load("@rules_rust//rust:repositories.bzl", "rust_repositories")
+
+rust_repositories(
+ edition = "2018",
+ version = "1.49.0",
+)
+
+load("//third_party:third_party_repositories.bzl", "third_party_repositories")
+
+third_party_repositories()
+
+load("//third_party:third_party_transitive_deps.bzl", "third_party_transitive_deps")
+
+third_party_transitive_deps()
+
+load("//tools:examples_repository.bzl", "examples_repository")
+
+examples_repository()
+
+load("@cargo_raze_examples//:repositories.bzl", examples_repositories = "repositories")
+
+examples_repositories()
+
+#############################################################################################
+# Buildifier
+# Note: This should be removed in favor of the buildifier target that can be added in bazelci
+#############################################################################################
+
+# buildifier is written in Go and hence needs rules_go to be built.
+# See https://github.com/bazelbuild/rules_go for the up to date setup instructions.
+http_archive(
+ name = "io_bazel_rules_go",
+ sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
+ "https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
+ ],
+)
+
+load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
+
+go_rules_dependencies()
+
+go_register_toolchains()
+
+http_archive(
+ name = "bazel_gazelle",
+ sha256 = "b85f48fa105c4403326e9525ad2b2cc437babaa6e15a3fc0b1dbab0ab064bc7c",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
+ "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
+ ],
+)
+
+load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
+
+gazelle_dependencies(go_repository_default_config = "@//:WORKSPACE.bazel")
+
+http_archive(
+ name = "com_google_protobuf",
+ strip_prefix = "protobuf-master",
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
+)
+
+load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
+
+protobuf_deps()
+
+http_archive(
+ name = "com_github_bazelbuild_buildtools",
+ strip_prefix = "buildtools-master",
+ url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
+)
diff --git a/cargo/cargo_raze/examples/.bazelversion b/cargo/cargo_raze/examples/.bazelversion
new file mode 100644
index 0000000000..0c89fc927e
--- /dev/null
+++ b/cargo/cargo_raze/examples/.bazelversion
@@ -0,0 +1 @@
+4.0.0
\ No newline at end of file
diff --git a/cargo/cargo_raze/examples/.gitignore b/cargo/cargo_raze/examples/.gitignore
new file mode 100644
index 0000000000..3c36b03635
--- /dev/null
+++ b/cargo/cargo_raze/examples/.gitignore
@@ -0,0 +1,10 @@
+bazel-bin
+bazel-examples
+bazel-genfiles
+bazel-out
+bazel-testlogs
+
+# Ignore everything but the `BUILD` files within the vendored directories
+vendored/*/cargo/vendor/*/*
+!vendored/*/cargo/vendor/*/BUILD
+!vendored/*/cargo/vendor/*/BUILD.bazel
diff --git a/cargo/cargo_raze/examples/BUILD b/cargo/cargo_raze/examples/BUILD
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/WORKSPACE b/cargo/cargo_raze/examples/WORKSPACE
new file mode 100644
index 0000000000..327a21ef82
--- /dev/null
+++ b/cargo/cargo_raze/examples/WORKSPACE
@@ -0,0 +1,21 @@
+workspace(name = "cargo_raze_examples")
+
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+http_archive(
+ name = "rules_rust",
+ sha256 = "accb5a89cbe63d55dcdae85938e56ff3aa56f21eb847ed826a28a83db8500ae6",
+ strip_prefix = "rules_rust-9aa49569b2b0dacecc51c05cee52708b7255bd98",
+ urls = [
+ # Main branch as of 2021-02-19
+ "https://github.com/bazelbuild/rules_rust/archive/9aa49569b2b0dacecc51c05cee52708b7255bd98.tar.gz",
+ ],
+)
+
+load("@rules_rust//rust:repositories.bzl", "rust_repositories")
+
+rust_repositories()
+
+load("//:repositories.bzl", "repositories")
+
+repositories()
diff --git a/cargo/cargo_raze/examples/remote/README.md b/cargo/cargo_raze/examples/remote/README.md
new file mode 100644
index 0000000000..585ad5bcf1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/README.md
@@ -0,0 +1,13 @@
+# Adding new remote examples
+
+The smoke test script generates a WORKSPACE file that looks up the `crates.bzl` functions
+and assumes that the function name is `_fetch_remote_crates`.
+
+In order to make sure that this assertion holds, please make sure set up **Cargo.toml** as such:
+
+**Cargo.toml**
+```toml
+
+[package.metadata.raze]
+gen_workspace_prefix = ""
+```
\ No newline at end of file
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/BUILD.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/BUILD.bazel
new file mode 100644
index 0000000000..18642ea53f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+load("//remote/binary_dependencies/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "binary_dependencies_bin",
+ srcs = ["src/main.rs"],
+ data = [
+ "//remote/binary_dependencies/cargo:cargo_bin_texture_synthesis",
+ ],
+ deps = all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.lock b/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.lock
new file mode 100644
index 0000000000..ff2c4f9aa6
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.lock
@@ -0,0 +1,210 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "addr2line"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[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"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "backtrace"
+version = "0.3.50"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "46254cf2fdcdf1badb5934448c1bcbe046a56537b3987d96c51a7afc5d03f293"
+dependencies = [
+ "addr2line",
+ "cfg-if",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "binary_dependencies"
+version = "0.1.0"
+dependencies = [
+ "ferris-says",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+[[package]]
+name = "clap"
+version = "2.33.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags",
+ "strsim",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "error-chain"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
+name = "ferris-says"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687"
+dependencies = [
+ "clap",
+ "error-chain",
+ "smallvec",
+ "textwrap",
+ "unicode-width",
+]
+
+[[package]]
+name = "gimli"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c60c0dfe32c10b43a144bad8fc83538c52f58302c92300ea7ec7bf7b38d5a7b9"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
+[[package]]
+name = "object"
+version = "0.20.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
+[[package]]
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+dependencies = [
+ "unicode-width",
+]
+
+[[package]]
+name = "unicode-width"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
+
+[[package]]
+name = "vec_map"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.toml b/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.toml
new file mode 100644
index 0000000000..cf53ba7348
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/Cargo.toml
@@ -0,0 +1,31 @@
+[package]
+name = "binary_dependencies"
+version = "0.1.0"
+authors = ["UebelAndre "]
+
+[[bin]]
+name = "binary_dependencies"
+path = "src/main.rs"
+
+[dependencies]
+ferris-says = "0.2.0"
+
+[package.metadata.raze]
+workspace_path = "//remote/binary_dependencies/cargo"
+gen_workspace_prefix = "remote_binary_dependencies"
+genmode = "Remote"
+default_gen_buildrs = true
+package_aliases_dir = "cargo"
+experimental_api = true
+
+[package.metadata.raze.binary_deps]
+texture-synthesis-cli = "0.8.0"
+
+[package.metadata.raze.crates.texture-synthesis-cli.'0.8.0']
+extra_aliased_targets = ["cargo_bin_texture_synthesis"]
+
+[package.metadata.raze.crates.crossbeam-utils.'0.7.2']
+gen_buildrs = false
+
+[package.metadata.raze.crates.image.'0.23.10']
+data_attr = "[\"README.md\"]"
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/README.md b/cargo/cargo_raze/examples/remote/binary_dependencies/README.md
new file mode 100644
index 0000000000..a6437f842e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/README.md
@@ -0,0 +1,3 @@
+# binary_dependency
+
+This demonstrates a binary dependency being made available as a `rust_binary`
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/BUILD.bazel
new file mode 100644
index 0000000000..efe45f7c3e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/BUILD.bazel
@@ -0,0 +1,41 @@
+"""
+@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 = "ferris_says",
+ actual = "@remote_binary_dependencies__ferris_says__0_2_0//:ferris_says",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ # Extra aliased target, from raze configuration
+ # N.B.: The exact form of this is subject to change.
+ name = "cargo_bin_texture_synthesis",
+ actual = "@remote_binary_dependencies__texture_synthesis_cli__0_8_0//:cargo_bin_texture_synthesis",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/Cargo.raze.lock b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/Cargo.raze.lock
new file mode 100644
index 0000000000..7539b5d35e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/Cargo.raze.lock
@@ -0,0 +1,1084 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "addr2line"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[package]]
+name = "adler32"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
+
+[[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"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "backtrace"
+version = "0.3.54"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2baad346b2d4e94a24347adeee9c7a93f412ee94b9cc26e5b59dea23848e9f28"
+dependencies = [
+ "addr2line",
+ "cfg-if 1.0.0",
+ "libc",
+ "miniz_oxide 0.4.3",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "binary_dependencies"
+version = "0.1.0"
+dependencies = [
+ "ferris-says",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "bytemuck"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41aa2ec95ca3b5c54cf73c91acf06d24f4495d5f1b1c12506ae3483d646177ac"
+
+[[package]]
+name = "byteorder"
+version = "1.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
+
+[[package]]
+name = "cast"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b9434b9a5aa1450faa3f9cb14ea0e8c53bb5d2b3c1bfd1ab4fc03e9f33fbfb0"
+dependencies = [
+ "rustc_version",
+]
+
+[[package]]
+name = "cc"
+version = "1.0.61"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d"
+
+[[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 = "clap"
+version = "2.33.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags",
+ "strsim",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "cloudabi"
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "color_quant"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
+
+[[package]]
+name = "console"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a50aab2529019abfabfa93f1e6c41ef392f91fbf179b347a7e96abb524884a08"
+dependencies = [
+ "encode_unicode",
+ "lazy_static",
+ "libc",
+ "regex",
+ "terminal_size",
+ "unicode-width",
+ "winapi",
+ "winapi-util",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
+dependencies = [
+ "autocfg 1.0.1",
+ "cfg-if 0.1.10",
+ "lazy_static",
+]
+
+[[package]]
+name = "deflate"
+version = "0.8.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73770f8e1fe7d64df17ca66ad28994a0a623ea497fa69486e14984e715c5d174"
+dependencies = [
+ "adler32",
+ "byteorder",
+]
+
+[[package]]
+name = "downcast-rs"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
+
+[[package]]
+name = "encode_unicode"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+
+[[package]]
+name = "error-chain"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
+name = "ferris-says"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687"
+dependencies = [
+ "clap",
+ "error-chain",
+ "smallvec 0.4.5",
+ "textwrap",
+ "unicode-width",
+]
+
+[[package]]
+name = "fuchsia-cprng"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
+
+[[package]]
+name = "getrandom"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+ "wasi 0.9.0+wasi-snapshot-preview1",
+]
+
+[[package]]
+name = "gimli"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
+
+[[package]]
+name = "heck"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
+dependencies = [
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "image"
+version = "0.23.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "985fc06b1304d19c28d5c562ed78ef5316183f2b0053b46763a0b94862373c34"
+dependencies = [
+ "bytemuck",
+ "byteorder",
+ "color_quant",
+ "jpeg-decoder",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+ "png",
+]
+
+[[package]]
+name = "indicatif"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49a68371cf417889c9d7f98235b7102ea7c54fc59bcbd22f3dea785be9d27e40"
+dependencies = [
+ "console",
+ "lazy_static",
+ "number_prefix",
+ "regex",
+]
+
+[[package]]
+name = "jpeg-decoder"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc797adac5f083b8ff0ca6f6294a999393d76e197c36488e2ef732c4715f6fa3"
+dependencies = [
+ "byteorder",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.80"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614"
+
+[[package]]
+name = "maybe-uninit"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
+
+[[package]]
+name = "minifb"
+version = "0.15.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "128502f9d895b6d84db78114f87918a598894e9c4616ef2c1792bdbbdf8ee0cf"
+dependencies = [
+ "cast",
+ "cc",
+ "orbclient",
+ "raw-window-handle",
+ "tempfile",
+ "time",
+ "wayland-client",
+ "wayland-protocols",
+ "winapi",
+ "x11-dl",
+]
+
+[[package]]
+name = "miniz_oxide"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435"
+dependencies = [
+ "adler32",
+]
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+dependencies = [
+ "adler",
+ "autocfg 1.0.1",
+]
+
+[[package]]
+name = "nix"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b2e0b4f3320ed72aaedb9a5ac838690a8047c7b275da22711fddff4f8a14229"
+dependencies = [
+ "bitflags",
+ "cc",
+ "cfg-if 0.1.10",
+ "libc",
+ "void",
+]
+
+[[package]]
+name = "num"
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4703ad64153382334aa8db57c637364c322d3372e097840c72000dabdcf6156e"
+dependencies = [
+ "num-integer",
+ "num-iter",
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+dependencies = [
+ "autocfg 1.0.1",
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"
+dependencies = [
+ "autocfg 1.0.1",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5fa6d5f418879385b213d905f7cf5bf4aa553d4c380f0152d1d4f2749186fa9"
+dependencies = [
+ "autocfg 1.0.1",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
+dependencies = [
+ "autocfg 1.0.1",
+]
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "number_prefix"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a"
+
+[[package]]
+name = "object"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
+
+[[package]]
+name = "orbclient"
+version = "0.3.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8b18f57ab94fbd058e30aa57f712ec423c0bb7403f8493a6c58eef0c36d9402"
+dependencies = [
+ "redox_syscall",
+ "sdl2",
+]
+
+[[package]]
+name = "pdqselect"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ec91767ecc0a0bbe558ce8c9da33c068066c57ecc8bb8477ef8c1ad3ef77c27"
+
+[[package]]
+name = "pkg-config"
+version = "0.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
+
+[[package]]
+name = "png"
+version = "0.16.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfe7f9f1c730833200b134370e1d5098964231af8450bce9b78ee3ab5278b970"
+dependencies = [
+ "bitflags",
+ "crc32fast",
+ "deflate",
+ "miniz_oxide 0.3.7",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20"
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
+dependencies = [
+ "unicode-xid",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
+dependencies = [
+ "autocfg 0.1.7",
+ "libc",
+ "rand_chacha 0.1.1",
+ "rand_core 0.4.2",
+ "rand_hc 0.1.0",
+ "rand_isaac",
+ "rand_jitter",
+ "rand_os",
+ "rand_pcg 0.1.2",
+ "rand_xorshift",
+ "winapi",
+]
+
+[[package]]
+name = "rand"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+dependencies = [
+ "getrandom",
+ "libc",
+ "rand_chacha 0.2.2",
+ "rand_core 0.5.1",
+ "rand_hc 0.2.0",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
+dependencies = [
+ "autocfg 0.1.7",
+ "rand_core 0.3.1",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+dependencies = [
+ "ppv-lite86",
+ "rand_core 0.5.1",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
+dependencies = [
+ "rand_core 0.4.2",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
+
+[[package]]
+name = "rand_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
+dependencies = [
+ "rand_core 0.3.1",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+dependencies = [
+ "rand_core 0.5.1",
+]
+
+[[package]]
+name = "rand_isaac"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
+dependencies = [
+ "rand_core 0.3.1",
+]
+
+[[package]]
+name = "rand_jitter"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b"
+dependencies = [
+ "libc",
+ "rand_core 0.4.2",
+ "winapi",
+]
+
+[[package]]
+name = "rand_os"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
+dependencies = [
+ "cloudabi",
+ "fuchsia-cprng",
+ "libc",
+ "rand_core 0.4.2",
+ "rdrand",
+ "winapi",
+]
+
+[[package]]
+name = "rand_pcg"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
+dependencies = [
+ "autocfg 0.1.7",
+ "rand_core 0.4.2",
+]
+
+[[package]]
+name = "rand_pcg"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
+dependencies = [
+ "rand_core 0.5.1",
+]
+
+[[package]]
+name = "rand_xorshift"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
+dependencies = [
+ "rand_core 0.3.1",
+]
+
+[[package]]
+name = "raw-window-handle"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0a441a7a6c80ad6473bd4b74ec1c9a4c951794285bf941c2126f607c72e48211"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "rdrand"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
+dependencies = [
+ "rand_core 0.3.1",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.1.57"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+
+[[package]]
+name = "regex"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b"
+dependencies = [
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c"
+
+[[package]]
+name = "remove_dir_all"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "rstar"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0650eaaa56cbd1726fd671150fce8ac6ed9d9a25d1624430d7ee9d196052f6b6"
+dependencies = [
+ "num-traits",
+ "pdqselect",
+]
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
+
+[[package]]
+name = "rustc_version"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "sdl2"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d051a07231e303f5f719da78cb6f7394f6d5b54f733aef5b0b447804a83edd7b"
+dependencies = [
+ "bitflags",
+ "lazy_static",
+ "libc",
+ "num",
+ "rand 0.6.5",
+ "sdl2-sys",
+]
+
+[[package]]
+name = "sdl2-sys"
+version = "0.32.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34e71125077d297d57e4c1acfe8981b5bdfbf5a20e7b589abfdcb33bf1127f86"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+]
+
+[[package]]
+name = "semver"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+dependencies = [
+ "semver-parser",
+]
+
+[[package]]
+name = "semver-parser"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "smallvec"
+version = "0.6.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6"
+dependencies = [
+ "maybe-uninit",
+]
+
+[[package]]
+name = "spin"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
+
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
+[[package]]
+name = "structopt"
+version = "0.3.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "126d630294ec449fae0b16f964e35bf3c74f940da9dca17ee9b905f7b3112eb8"
+dependencies = [
+ "clap",
+ "lazy_static",
+ "structopt-derive",
+]
+
+[[package]]
+name = "structopt-derive"
+version = "0.4.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65e51c492f9e23a220534971ff5afc14037289de430e3c83f9daf6a1b6ae91e8"
+dependencies = [
+ "heck",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "syn"
+version = "1.0.48"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+ "rand 0.7.3",
+ "redox_syscall",
+ "remove_dir_all",
+ "winapi",
+]
+
+[[package]]
+name = "terminal_size"
+version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a14cd9f8c72704232f0bfc8455c0e861f0ad4eb60cc9ec8a170e231414c1e13"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "texture-synthesis"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2ff7e9b61c0c11d66b78f7474d69217a4e0fc5b758ff33b67c6dc0b87b126191"
+dependencies = [
+ "crossbeam-utils",
+ "image",
+ "num_cpus",
+ "rand 0.7.3",
+ "rand_pcg 0.2.1",
+ "rstar",
+]
+
+[[package]]
+name = "texture-synthesis-cli"
+version = "0.8.0"
+dependencies = [
+ "atty",
+ "indicatif",
+ "minifb",
+ "structopt",
+ "texture-synthesis",
+]
+
+[[package]]
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+dependencies = [
+ "unicode-width",
+]
+
+[[package]]
+name = "time"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+dependencies = [
+ "libc",
+ "wasi 0.10.0+wasi-snapshot-preview1",
+ "winapi",
+]
+
+[[package]]
+name = "unicode-segmentation"
+version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
+
+[[package]]
+name = "unicode-width"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
+
+[[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.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
+
+[[package]]
+name = "void"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "wasi"
+version = "0.10.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
+
+[[package]]
+name = "wayland-client"
+version = "0.24.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bcc929c26d59a655b0d2cd337299326acc1f6e3d4434c3ae2d6c78d32290ca4"
+dependencies = [
+ "bitflags",
+ "downcast-rs",
+ "libc",
+ "nix",
+ "wayland-commons",
+ "wayland-scanner",
+ "wayland-sys",
+]
+
+[[package]]
+name = "wayland-commons"
+version = "0.24.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "539cdd0c296802332d763ff663739a7f83bdf67b3df58e99fe0215e96a495142"
+dependencies = [
+ "nix",
+ "smallvec 0.6.13",
+ "spin",
+ "wayland-sys",
+]
+
+[[package]]
+name = "wayland-protocols"
+version = "0.24.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79df44471a2e01b61c089472443858062fa64ea60dfd24267848efd7a8f161b6"
+dependencies = [
+ "bitflags",
+ "wayland-client",
+ "wayland-commons",
+ "wayland-scanner",
+]
+
+[[package]]
+name = "wayland-scanner"
+version = "0.24.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43ea5ea1a117137d72c0c197431d198d69783b5e8ca996b0583c98e10b44d426"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "xml-rs",
+]
+
+[[package]]
+name = "wayland-sys"
+version = "0.24.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "537500923d50be11d95a63c4cb538145e4c82edf61296b7debc1f94a1a6514ed"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "x11-dl"
+version = "2.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2bf981e3a5b3301209754218f962052d4d9ee97e478f4d26d4a6eced34c1fef8"
+dependencies = [
+ "lazy_static",
+ "libc",
+ "maybe-uninit",
+ "pkg-config",
+]
+
+[[package]]
+name = "xml-rs"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b07db065a5cf61a7e4ba64f29e67db906fb1787316516c4e6e5ff0fea1efcd8a"
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/crates.bzl
new file mode 100644
index 0000000000..b41421031e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/crates.bzl
@@ -0,0 +1,880 @@
+"""
+@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
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dependencies for the Rust targets of that package.
+_DEPENDENCIES = {
+ "remote/binary_dependencies": {
+ "ferris-says": "@remote_binary_dependencies__ferris_says__0_2_0//:ferris_says",
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dependencies for the Rust targets of that package.
+_PROC_MACRO_DEPENDENCIES = {
+ "remote/binary_dependencies": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dev dependencies for the Rust targets of that package.
+_DEV_DEPENDENCIES = {
+ "remote/binary_dependencies": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dev dependencies for the Rust targets of that package.
+_DEV_PROC_MACRO_DEPENDENCIES = {
+ "remote/binary_dependencies": {
+ },
+}
+
+def crate_deps(deps, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ WARNING: This macro is part of an expeirmental API and is subject to change.
+
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _DEV_DEPENDENCIES,
+ _DEV_PROC_MACRO_DEPENDENCIES,
+ ])
+
+ if not deps:
+ return []
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in dependencies[package_name]:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(dependencies[package_name][crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies[package_name],
+ ))
+
+ return crate_targets
+
+def all_crate_deps(normal = False, normal_dev = False, proc_macro = False, proc_macro_dev = False, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: 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. Defaults to False.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list. Defaults to False.
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list. Defaults to False.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list. Defaults to False.
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_DEV_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps)
+
+ if not dependencies:
+ return []
+
+ return dependencies[package_name].values()
+
+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.
+ "package_name": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # alias refers to.
+ "alias": "@full//:label",
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for dep_map in all_dependency_maps:
+ for pkg_name in dep_map:
+ if pkg_name not in dependencies:
+ # Add a non-frozen dict to the collection of dependencies
+ dependencies.setdefault(pkg_name, dict(dep_map[pkg_name].items()))
+ continue
+
+ duplicate_crate_aliases = [key for key in dependencies[pkg_name] if key in dep_map[pkg_name]]
+ if duplicate_crate_aliases:
+ fail("There should be no duplicate crate aliases: {}".format(duplicate_crate_aliases))
+
+ dependencies[pkg_name].update(dep_map[pkg_name])
+
+ return dependencies
+
+def remote_binary_dependencies_fetch_remote_crates():
+ """This function defines a collection of repos and should be called in a WORKSPACE file"""
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__addr2line__0_14_0",
+ url = "https://crates.io/api/v1/crates/addr2line/0.14.0/download",
+ type = "tar.gz",
+ sha256 = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423",
+ strip_prefix = "addr2line-0.14.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.addr2line-0.14.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__adler__0_2_3",
+ url = "https://crates.io/api/v1/crates/adler/0.2.3/download",
+ type = "tar.gz",
+ sha256 = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e",
+ strip_prefix = "adler-0.2.3",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.adler-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__adler32__1_2_0",
+ url = "https://crates.io/api/v1/crates/adler32/1.2.0/download",
+ type = "tar.gz",
+ sha256 = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234",
+ strip_prefix = "adler32-1.2.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.adler32-1.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.ansi_term-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.atty-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__autocfg__1_0_1",
+ url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
+ type = "tar.gz",
+ sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
+ strip_prefix = "autocfg-1.0.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__backtrace__0_3_54",
+ url = "https://crates.io/api/v1/crates/backtrace/0.3.54/download",
+ type = "tar.gz",
+ sha256 = "2baad346b2d4e94a24347adeee9c7a93f412ee94b9cc26e5b59dea23848e9f28",
+ strip_prefix = "backtrace-0.3.54",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.backtrace-0.3.54.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__bytemuck__1_4_1",
+ url = "https://crates.io/api/v1/crates/bytemuck/1.4.1/download",
+ type = "tar.gz",
+ sha256 = "41aa2ec95ca3b5c54cf73c91acf06d24f4495d5f1b1c12506ae3483d646177ac",
+ strip_prefix = "bytemuck-1.4.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.bytemuck-1.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__byteorder__1_3_4",
+ url = "https://crates.io/api/v1/crates/byteorder/1.3.4/download",
+ type = "tar.gz",
+ sha256 = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de",
+ strip_prefix = "byteorder-1.3.4",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.byteorder-1.3.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.cfg-if-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.clap-2.33.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__console__0_13_0",
+ url = "https://crates.io/api/v1/crates/console/0.13.0/download",
+ type = "tar.gz",
+ sha256 = "a50aab2529019abfabfa93f1e6c41ef392f91fbf179b347a7e96abb524884a08",
+ strip_prefix = "console-0.13.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.console-0.13.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__crc32fast__1_2_1",
+ url = "https://crates.io/api/v1/crates/crc32fast/1.2.1/download",
+ type = "tar.gz",
+ sha256 = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a",
+ strip_prefix = "crc32fast-1.2.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.crc32fast-1.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__crossbeam_utils__0_7_2",
+ url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download",
+ type = "tar.gz",
+ sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8",
+ strip_prefix = "crossbeam-utils-0.7.2",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.crossbeam-utils-0.7.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__deflate__0_8_6",
+ url = "https://crates.io/api/v1/crates/deflate/0.8.6/download",
+ type = "tar.gz",
+ sha256 = "73770f8e1fe7d64df17ca66ad28994a0a623ea497fa69486e14984e715c5d174",
+ strip_prefix = "deflate-0.8.6",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.deflate-0.8.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__encode_unicode__0_3_6",
+ url = "https://crates.io/api/v1/crates/encode_unicode/0.3.6/download",
+ type = "tar.gz",
+ sha256 = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f",
+ strip_prefix = "encode_unicode-0.3.6",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.encode_unicode-0.3.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__error_chain__0_10_0",
+ url = "https://crates.io/api/v1/crates/error-chain/0.10.0/download",
+ type = "tar.gz",
+ sha256 = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8",
+ strip_prefix = "error-chain-0.10.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.error-chain-0.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__ferris_says__0_2_0",
+ url = "https://crates.io/api/v1/crates/ferris-says/0.2.0/download",
+ type = "tar.gz",
+ sha256 = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687",
+ strip_prefix = "ferris-says-0.2.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.ferris-says-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__gimli__0_23_0",
+ url = "https://crates.io/api/v1/crates/gimli/0.23.0/download",
+ type = "tar.gz",
+ sha256 = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce",
+ strip_prefix = "gimli-0.23.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.gimli-0.23.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__heck__0_3_1",
+ url = "https://crates.io/api/v1/crates/heck/0.3.1/download",
+ type = "tar.gz",
+ sha256 = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205",
+ strip_prefix = "heck-0.3.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.heck-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__hermit_abi__0_1_17",
+ url = "https://crates.io/api/v1/crates/hermit-abi/0.1.17/download",
+ type = "tar.gz",
+ sha256 = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8",
+ strip_prefix = "hermit-abi-0.1.17",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.hermit-abi-0.1.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__image__0_23_10",
+ url = "https://crates.io/api/v1/crates/image/0.23.10/download",
+ type = "tar.gz",
+ sha256 = "985fc06b1304d19c28d5c562ed78ef5316183f2b0053b46763a0b94862373c34",
+ strip_prefix = "image-0.23.10",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.image-0.23.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__indicatif__0_14_0",
+ url = "https://crates.io/api/v1/crates/indicatif/0.14.0/download",
+ type = "tar.gz",
+ sha256 = "49a68371cf417889c9d7f98235b7102ea7c54fc59bcbd22f3dea785be9d27e40",
+ strip_prefix = "indicatif-0.14.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.indicatif-0.14.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__jpeg_decoder__0_1_20",
+ url = "https://crates.io/api/v1/crates/jpeg-decoder/0.1.20/download",
+ type = "tar.gz",
+ sha256 = "cc797adac5f083b8ff0ca6f6294a999393d76e197c36488e2ef732c4715f6fa3",
+ strip_prefix = "jpeg-decoder-0.1.20",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.jpeg-decoder-0.1.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__libc__0_2_80",
+ url = "https://crates.io/api/v1/crates/libc/0.2.80/download",
+ type = "tar.gz",
+ sha256 = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614",
+ strip_prefix = "libc-0.2.80",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.libc-0.2.80.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__miniz_oxide__0_3_7",
+ url = "https://crates.io/api/v1/crates/miniz_oxide/0.3.7/download",
+ type = "tar.gz",
+ sha256 = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435",
+ strip_prefix = "miniz_oxide-0.3.7",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.miniz_oxide-0.3.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__miniz_oxide__0_4_3",
+ url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.3/download",
+ type = "tar.gz",
+ sha256 = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d",
+ strip_prefix = "miniz_oxide-0.4.3",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.miniz_oxide-0.4.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__num_integer__0_1_44",
+ url = "https://crates.io/api/v1/crates/num-integer/0.1.44/download",
+ type = "tar.gz",
+ sha256 = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db",
+ strip_prefix = "num-integer-0.1.44",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.num-integer-0.1.44.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__num_iter__0_1_42",
+ url = "https://crates.io/api/v1/crates/num-iter/0.1.42/download",
+ type = "tar.gz",
+ sha256 = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59",
+ strip_prefix = "num-iter-0.1.42",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.num-iter-0.1.42.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__num_rational__0_3_1",
+ url = "https://crates.io/api/v1/crates/num-rational/0.3.1/download",
+ type = "tar.gz",
+ sha256 = "e5fa6d5f418879385b213d905f7cf5bf4aa553d4c380f0152d1d4f2749186fa9",
+ strip_prefix = "num-rational-0.3.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.num-rational-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__num_traits__0_2_14",
+ url = "https://crates.io/api/v1/crates/num-traits/0.2.14/download",
+ type = "tar.gz",
+ sha256 = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290",
+ strip_prefix = "num-traits-0.2.14",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.num-traits-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__num_cpus__1_13_0",
+ url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download",
+ type = "tar.gz",
+ sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3",
+ strip_prefix = "num_cpus-1.13.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.num_cpus-1.13.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__number_prefix__0_3_0",
+ url = "https://crates.io/api/v1/crates/number_prefix/0.3.0/download",
+ type = "tar.gz",
+ sha256 = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a",
+ strip_prefix = "number_prefix-0.3.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.number_prefix-0.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__object__0_22_0",
+ url = "https://crates.io/api/v1/crates/object/0.22.0/download",
+ type = "tar.gz",
+ sha256 = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397",
+ strip_prefix = "object-0.22.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.object-0.22.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__pdqselect__0_1_0",
+ url = "https://crates.io/api/v1/crates/pdqselect/0.1.0/download",
+ type = "tar.gz",
+ sha256 = "4ec91767ecc0a0bbe558ce8c9da33c068066c57ecc8bb8477ef8c1ad3ef77c27",
+ strip_prefix = "pdqselect-0.1.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.pdqselect-0.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__png__0_16_7",
+ url = "https://crates.io/api/v1/crates/png/0.16.7/download",
+ type = "tar.gz",
+ sha256 = "dfe7f9f1c730833200b134370e1d5098964231af8450bce9b78ee3ab5278b970",
+ strip_prefix = "png-0.16.7",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.png-0.16.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__ppv_lite86__0_2_9",
+ url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.9/download",
+ type = "tar.gz",
+ sha256 = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20",
+ strip_prefix = "ppv-lite86-0.2.9",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.ppv-lite86-0.2.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__proc_macro_error__1_0_4",
+ url = "https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download",
+ type = "tar.gz",
+ sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c",
+ strip_prefix = "proc-macro-error-1.0.4",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.proc-macro-error-1.0.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__proc_macro_error_attr__1_0_4",
+ url = "https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download",
+ type = "tar.gz",
+ sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869",
+ strip_prefix = "proc-macro-error-attr-1.0.4",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__proc_macro2__1_0_24",
+ url = "https://crates.io/api/v1/crates/proc-macro2/1.0.24/download",
+ type = "tar.gz",
+ sha256 = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71",
+ strip_prefix = "proc-macro2-1.0.24",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.proc-macro2-1.0.24.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__quote__1_0_7",
+ url = "https://crates.io/api/v1/crates/quote/1.0.7/download",
+ type = "tar.gz",
+ sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37",
+ strip_prefix = "quote-1.0.7",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.quote-1.0.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rand__0_7_3",
+ url = "https://crates.io/api/v1/crates/rand/0.7.3/download",
+ type = "tar.gz",
+ sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03",
+ strip_prefix = "rand-0.7.3",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rand-0.7.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rand_chacha__0_2_2",
+ url = "https://crates.io/api/v1/crates/rand_chacha/0.2.2/download",
+ type = "tar.gz",
+ sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402",
+ strip_prefix = "rand_chacha-0.2.2",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rand_chacha-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rand_core__0_5_1",
+ url = "https://crates.io/api/v1/crates/rand_core/0.5.1/download",
+ type = "tar.gz",
+ sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19",
+ strip_prefix = "rand_core-0.5.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rand_core-0.5.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rand_hc__0_2_0",
+ url = "https://crates.io/api/v1/crates/rand_hc/0.2.0/download",
+ type = "tar.gz",
+ sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c",
+ strip_prefix = "rand_hc-0.2.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rand_hc-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rand_pcg__0_2_1",
+ url = "https://crates.io/api/v1/crates/rand_pcg/0.2.1/download",
+ type = "tar.gz",
+ sha256 = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429",
+ strip_prefix = "rand_pcg-0.2.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rand_pcg-0.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__regex__1_4_1",
+ url = "https://crates.io/api/v1/crates/regex/1.4.1/download",
+ type = "tar.gz",
+ sha256 = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b",
+ strip_prefix = "regex-1.4.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.regex-1.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__regex_syntax__0_6_20",
+ url = "https://crates.io/api/v1/crates/regex-syntax/0.6.20/download",
+ type = "tar.gz",
+ sha256 = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c",
+ strip_prefix = "regex-syntax-0.6.20",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.regex-syntax-0.6.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rstar__0_7_1",
+ url = "https://crates.io/api/v1/crates/rstar/0.7.1/download",
+ type = "tar.gz",
+ sha256 = "0650eaaa56cbd1726fd671150fce8ac6ed9d9a25d1624430d7ee9d196052f6b6",
+ strip_prefix = "rstar-0.7.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rstar-0.7.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__rustc_demangle__0_1_18",
+ url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.18/download",
+ type = "tar.gz",
+ sha256 = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232",
+ strip_prefix = "rustc-demangle-0.1.18",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.rustc-demangle-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__smallvec__0_4_5",
+ url = "https://crates.io/api/v1/crates/smallvec/0.4.5/download",
+ type = "tar.gz",
+ sha256 = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10",
+ strip_prefix = "smallvec-0.4.5",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.smallvec-0.4.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.strsim-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__structopt__0_3_20",
+ url = "https://crates.io/api/v1/crates/structopt/0.3.20/download",
+ type = "tar.gz",
+ sha256 = "126d630294ec449fae0b16f964e35bf3c74f940da9dca17ee9b905f7b3112eb8",
+ strip_prefix = "structopt-0.3.20",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.structopt-0.3.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__structopt_derive__0_4_13",
+ url = "https://crates.io/api/v1/crates/structopt-derive/0.4.13/download",
+ type = "tar.gz",
+ sha256 = "65e51c492f9e23a220534971ff5afc14037289de430e3c83f9daf6a1b6ae91e8",
+ strip_prefix = "structopt-derive-0.4.13",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.structopt-derive-0.4.13.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__syn__1_0_48",
+ url = "https://crates.io/api/v1/crates/syn/1.0.48/download",
+ type = "tar.gz",
+ sha256 = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac",
+ strip_prefix = "syn-1.0.48",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.syn-1.0.48.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__terminal_size__0_1_13",
+ url = "https://crates.io/api/v1/crates/terminal_size/0.1.13/download",
+ type = "tar.gz",
+ sha256 = "9a14cd9f8c72704232f0bfc8455c0e861f0ad4eb60cc9ec8a170e231414c1e13",
+ strip_prefix = "terminal_size-0.1.13",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.terminal_size-0.1.13.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__texture_synthesis__0_8_0",
+ url = "https://crates.io/api/v1/crates/texture-synthesis/0.8.0/download",
+ type = "tar.gz",
+ sha256 = "2ff7e9b61c0c11d66b78f7474d69217a4e0fc5b758ff33b67c6dc0b87b126191",
+ strip_prefix = "texture-synthesis-0.8.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.texture-synthesis-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__texture_synthesis_cli__0_8_0",
+ url = "https://crates.io/api/v1/crates/texture-synthesis-cli/0.8.0/download",
+ type = "tar.gz",
+ sha256 = "4d0a65298b735ba486081633e90469182d7c0ca59018fec1e81383bde852be2e",
+ strip_prefix = "texture-synthesis-cli-0.8.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.texture-synthesis-cli-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.textwrap-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__unicode_segmentation__1_6_0",
+ url = "https://crates.io/api/v1/crates/unicode-segmentation/1.6.0/download",
+ type = "tar.gz",
+ sha256 = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0",
+ strip_prefix = "unicode-segmentation-1.6.0",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.unicode-segmentation-1.6.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.unicode-width-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__unicode_xid__0_2_1",
+ url = "https://crates.io/api/v1/crates/unicode-xid/0.2.1/download",
+ type = "tar.gz",
+ sha256 = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564",
+ strip_prefix = "unicode-xid-0.2.1",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.unicode-xid-0.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.vec_map-0.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__version_check__0_9_2",
+ url = "https://crates.io/api/v1/crates/version_check/0.9.2/download",
+ type = "tar.gz",
+ sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed",
+ strip_prefix = "version_check-0.9.2",
+ build_file = Label("//remote/binary_dependencies/cargo/remote:BUILD.version_check-0.9.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.winapi-util-0.1.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_binary_dependencies__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("//remote/binary_dependencies/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.addr2line-0.14.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.addr2line-0.14.0.bazel
new file mode 100644
index 0000000000..3f2b9195fa
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.addr2line-0.14.0.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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
+
+# Unsupported target "addr2line" with type "example" omitted
+
+rust_library(
+ name = "addr2line",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.14.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__gimli__0_23_0//:gimli",
+ ],
+)
+
+# Unsupported target "correctness" with type "test" omitted
+
+# Unsupported target "output_equivalence" with type "test" omitted
+
+# Unsupported target "parse" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel
new file mode 100644
index 0000000000..0e9a5df322
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "0BSD OR (MIT OR Apache-2.0)"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "adler",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler32-1.2.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler32-1.2.0.bazel
new file mode 100644
index 0000000000..2e3fd548f9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.adler32-1.2.0.bazel
@@ -0,0 +1,67 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Zlib from expression "Zlib"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "adler32",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.0",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(target_arch = "wasm32")
+ (
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel
new file mode 100644
index 0000000000..6d8940e5c1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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",
+ ): [
+ "@remote_binary_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel
new file mode 100644
index 0000000000..47442b938b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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: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-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",
+ ): [
+ "@remote_binary_dependencies__libc__0_2_80//: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",
+ ): [
+ "@remote_binary_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel
new file mode 100644
index 0000000000..d0bb211a50
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.backtrace-0.3.54.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.backtrace-0.3.54.bazel
new file mode 100644
index 0000000000..019c3f4e8c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.backtrace-0.3.54.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "benchmarks" with type "bench" omitted
+
+# Unsupported target "backtrace" with type "example" omitted
+
+# Unsupported target "raw" with type "example" omitted
+
+rust_library(
+ name = "backtrace",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "addr2line",
+ "default",
+ "gimli-symbolize",
+ "miniz_oxide",
+ "object",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.54",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__addr2line__0_14_0//:addr2line",
+ "@remote_binary_dependencies__cfg_if__1_0_0//:cfg_if",
+ "@remote_binary_dependencies__libc__0_2_80//:libc",
+ "@remote_binary_dependencies__miniz_oxide__0_4_3//:miniz_oxide",
+ "@remote_binary_dependencies__object__0_22_0//:object",
+ "@remote_binary_dependencies__rustc_demangle__0_1_18//:rustc_demangle",
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "accuracy" with type "test" omitted
+
+# Unsupported target "concurrent-panics" with type "test" omitted
+
+# Unsupported target "long_fn_name" with type "test" omitted
+
+# Unsupported target "skip_inner_frames" with type "test" omitted
+
+# Unsupported target "smoke" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel
new file mode 100644
index 0000000000..f2623f6d95
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "bitflags_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ":bitflags_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bytemuck-1.4.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bytemuck-1.4.1.bazel
new file mode 100644
index 0000000000..4b888b9639
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.bytemuck-1.4.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Zlib from expression "Zlib OR (Apache-2.0 OR MIT)"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "bytemuck",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.4.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "cast_slice_tests" with type "test" omitted
+
+# Unsupported target "derive" with type "test" omitted
+
+# Unsupported target "doc_tests" with type "test" omitted
+
+# Unsupported target "offset_of_tests" with type "test" omitted
+
+# Unsupported target "std_tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.byteorder-1.3.4.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.byteorder-1.3.4.bazel
new file mode 100644
index 0000000000..19c785403b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.byteorder-1.3.4.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# 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 = "byteorder_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.3.4",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "byteorder",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.3.4",
+ # buildifier: leave-alone
+ deps = [
+ ":byteorder_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-0.1.10.bazel
new file mode 100644
index 0000000000..21de387be8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-0.1.10.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..7bd167230e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel
new file mode 100644
index 0000000000..ad8e1533a8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel
@@ -0,0 +1,93 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.33.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__atty__0_2_14//:atty",
+ "@remote_binary_dependencies__bitflags__1_2_1//:bitflags",
+ "@remote_binary_dependencies__strsim__0_8_0//:strsim",
+ "@remote_binary_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_binary_dependencies__unicode_width__0_1_8//:unicode_width",
+ "@remote_binary_dependencies__vec_map__0_8_2//:vec_map",
+ ] + selects.with_or({
+ # cfg(not(windows))
+ (
+ "@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-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:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_binary_dependencies__ansi_term__0_11_0//:ansi_term",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.console-0.13.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.console-0.13.0.bazel
new file mode 100644
index 0000000000..7df4accc51
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.console-0.13.0.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "colors" with type "example" omitted
+
+# Unsupported target "colors256" with type "example" omitted
+
+# Unsupported target "cursor_at" with type "example" omitted
+
+# Unsupported target "term" with type "example" omitted
+
+rust_library(
+ name = "console",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "ansi-parsing",
+ "default",
+ "regex",
+ "unicode-width",
+ "winapi-util",
+ "windows-console-colors",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__lazy_static__1_4_0//:lazy_static",
+ "@remote_binary_dependencies__libc__0_2_80//:libc",
+ "@remote_binary_dependencies__regex__1_4_1//:regex",
+ "@remote_binary_dependencies__terminal_size__0_1_13//:terminal_size",
+ "@remote_binary_dependencies__unicode_width__0_1_8//:unicode_width",
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "@remote_binary_dependencies__encode_unicode__0_3_6//:encode_unicode",
+ "@remote_binary_dependencies__winapi__0_3_9//:winapi",
+ "@remote_binary_dependencies__winapi_util__0_1_5//:winapi_util",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crc32fast-1.2.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crc32fast-1.2.1.bazel
new file mode 100644
index 0000000000..fe3f7fef54
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crc32fast-1.2.1.bazel
@@ -0,0 +1,90 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "crc32fast_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "crc32fast",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ":crc32fast_build_script",
+ "@remote_binary_dependencies__cfg_if__1_0_0//:cfg_if",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel
new file mode 100644
index 0000000000..82abe08c8d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "atomic_cell" with type "bench" omitted
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+rust_library(
+ name = "crossbeam_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__cfg_if__0_1_10//:cfg_if",
+ "@remote_binary_dependencies__lazy_static__1_4_0//:lazy_static",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "test" omitted
+
+# Unsupported target "cache_padded" with type "test" omitted
+
+# Unsupported target "parker" with type "test" omitted
+
+# Unsupported target "sharded_lock" with type "test" omitted
+
+# Unsupported target "thread" with type "test" omitted
+
+# Unsupported target "wait_group" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.deflate-0.8.6.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.deflate-0.8.6.bazel
new file mode 100644
index 0000000000..1861fe618e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.deflate-0.8.6.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 = "deflate",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.6",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__adler32__1_2_0//:adler32",
+ "@remote_binary_dependencies__byteorder__1_3_4//:byteorder",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.encode_unicode-0.3.6.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.encode_unicode-0.3.6.bazel
new file mode 100644
index 0000000000..ca82f1157a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.encode_unicode-0.3.6.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "multiiterators" with type "bench" omitted
+
+rust_library(
+ name = "encode_unicode",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "errs" with type "test" omitted
+
+# Unsupported target "exhaustive" with type "test" omitted
+
+# Unsupported target "iterators" with type "test" omitted
+
+# Unsupported target "oks" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel
new file mode 100644
index 0000000000..016fbfa8ed
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "all" with type "example" omitted
+
+# Unsupported target "doc" with type "example" omitted
+
+# Unsupported target "quickstart" with type "example" omitted
+
+# Unsupported target "size" with type "example" omitted
+
+rust_library(
+ name = "error_chain",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "backtrace",
+ "default",
+ "example_generated",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__backtrace__0_3_54//:backtrace",
+ ],
+)
+
+# Unsupported target "quick_main" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel
new file mode 100644
index 0000000000..eb3be68c88
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_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_fsays",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ ":ferris_says",
+ "@remote_binary_dependencies__clap__2_33_3//:clap",
+ "@remote_binary_dependencies__error_chain__0_10_0//:error_chain",
+ "@remote_binary_dependencies__smallvec__0_4_5//:smallvec",
+ "@remote_binary_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_binary_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+rust_library(
+ name = "ferris_says",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__clap__2_33_3//:clap",
+ "@remote_binary_dependencies__error_chain__0_10_0//:error_chain",
+ "@remote_binary_dependencies__smallvec__0_4_5//:smallvec",
+ "@remote_binary_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_binary_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "integration_test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel
new file mode 100644
index 0000000000..76b5a1449c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel
@@ -0,0 +1,68 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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
+
+# Unsupported target "bench" with type "bench" omitted
+
+# Unsupported target "dwarf-validate" with type "example" omitted
+
+# Unsupported target "dwarfdump" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+# Unsupported target "simple_line" with type "example" omitted
+
+rust_library(
+ name = "gimli",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "read",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.23.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "convert_self" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.heck-0.3.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.heck-0.3.1.bazel
new file mode 100644
index 0000000000..002fe342d8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.heck-0.3.1.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "heck",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__unicode_segmentation__1_6_0//:unicode_segmentation",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.hermit-abi-0.1.17.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.hermit-abi-0.1.17.bazel
new file mode 100644
index 0000000000..1c8b6fa65d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.hermit-abi-0.1.17.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.17",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__libc__0_2_80//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.image-0.23.10.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.image-0.23.10.bazel
new file mode 100644
index 0000000000..819a16549d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.image-0.23.10.bazel
@@ -0,0 +1,70 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "decode" with type "bench" omitted
+
+# Unsupported target "encode" with type "bench" omitted
+
+rust_library(
+ name = "image",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ "@remote_binary_dependencies__jpeg_decoder__0_1_20//:jpeg_decoder": "jpeg",
+ },
+ crate_features = [
+ "bmp",
+ "jpeg",
+ "png",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [] + ["README.md"],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.23.10",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__bytemuck__1_4_1//:bytemuck",
+ "@remote_binary_dependencies__byteorder__1_3_4//:byteorder",
+ "@remote_binary_dependencies__jpeg_decoder__0_1_20//:jpeg_decoder",
+ "@remote_binary_dependencies__num_iter__0_1_42//:num_iter",
+ "@remote_binary_dependencies__num_rational__0_3_1//:num_rational",
+ "@remote_binary_dependencies__num_traits__0_2_14//:num_traits",
+ "@remote_binary_dependencies__png__0_16_7//:png",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.indicatif-0.14.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.indicatif-0.14.0.bazel
new file mode 100644
index 0000000000..5e9ae7f3e9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.indicatif-0.14.0.bazel
@@ -0,0 +1,88 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "cargowrap" with type "example" omitted
+
+# Unsupported target "download" with type "example" omitted
+
+# Unsupported target "download-continued" with type "example" omitted
+
+# Unsupported target "download-speed" with type "example" omitted
+
+# Unsupported target "fastbar" with type "example" omitted
+
+# Unsupported target "finebars" with type "example" omitted
+
+# Unsupported target "iterator" with type "example" omitted
+
+# Unsupported target "log" with type "example" omitted
+
+# Unsupported target "long-spinner" with type "example" omitted
+
+# Unsupported target "morebars" with type "example" omitted
+
+# Unsupported target "multi" with type "example" omitted
+
+# Unsupported target "single" with type "example" omitted
+
+# Unsupported target "tokio" with type "example" omitted
+
+# Unsupported target "yarnish" with type "example" omitted
+
+rust_library(
+ name = "indicatif",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.14.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__console__0_13_0//:console",
+ "@remote_binary_dependencies__lazy_static__1_4_0//:lazy_static",
+ "@remote_binary_dependencies__number_prefix__0_3_0//:number_prefix",
+ "@remote_binary_dependencies__regex__1_4_1//:regex",
+ ],
+)
+
+# Unsupported target "multi-autodrop" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.jpeg-decoder-0.1.20.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.jpeg-decoder-0.1.20.bazel
new file mode 100644
index 0000000000..c1d505f319
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.jpeg-decoder-0.1.20.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "decoding_benchmark" with type "bench" omitted
+
+# Unsupported target "decode" with type "example" omitted
+
+rust_library(
+ name = "jpeg_decoder",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.20",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__byteorder__1_3_4//:byteorder",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000000..aa4e011433
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.lazy_static-1.4.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.libc-0.2.80.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.libc-0.2.80.bazel
new file mode 100644
index 0000000000..c4aec9dd0a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.libc-0.2.80.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "libc_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.80",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.80",
+ # buildifier: leave-alone
+ deps = [
+ ":libc_build_script",
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.3.7.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.3.7.bazel
new file mode 100644
index 0000000000..206707b8eb
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.3.7.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "miniz_oxide",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.7",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__adler32__1_2_0//:adler32",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
new file mode 100644
index 0000000000..ddfe902b0d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR (Zlib OR 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 = "miniz_oxide_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "miniz_oxide",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ # buildifier: leave-alone
+ deps = [
+ ":miniz_oxide_build_script",
+ "@remote_binary_dependencies__adler__0_2_3//:adler",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-integer-0.1.44.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-integer-0.1.44.bazel
new file mode 100644
index 0000000000..7fd6361f5e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-integer-0.1.44.bazel
@@ -0,0 +1,99 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "num_integer_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "i128",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.44",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+# Unsupported target "average" with type "bench" omitted
+
+# Unsupported target "gcd" with type "bench" omitted
+
+# Unsupported target "roots" with type "bench" omitted
+
+rust_library(
+ name = "num_integer",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "i128",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.44",
+ # buildifier: leave-alone
+ deps = [
+ ":num_integer_build_script",
+ "@remote_binary_dependencies__num_traits__0_2_14//:num_traits",
+ ],
+)
+
+# Unsupported target "average" with type "test" omitted
+
+# Unsupported target "roots" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-iter-0.1.42.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-iter-0.1.42.bazel
new file mode 100644
index 0000000000..f6678cf165
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-iter-0.1.42.bazel
@@ -0,0 +1,90 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "num_iter_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.42",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "num_iter",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.42",
+ # buildifier: leave-alone
+ deps = [
+ ":num_iter_build_script",
+ "@remote_binary_dependencies__num_integer__0_1_44//:num_integer",
+ "@remote_binary_dependencies__num_traits__0_2_14//:num_traits",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-rational-0.3.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-rational-0.3.1.bazel
new file mode 100644
index 0000000000..bb7f4db0bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-rational-0.3.1.bazel
@@ -0,0 +1,86 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "num_rational_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "num_rational",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.1",
+ # buildifier: leave-alone
+ deps = [
+ ":num_rational_build_script",
+ "@remote_binary_dependencies__num_integer__0_1_44//:num_integer",
+ "@remote_binary_dependencies__num_traits__0_2_14//:num_traits",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-traits-0.2.14.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-traits-0.2.14.bazel
new file mode 100644
index 0000000000..d378e835d5
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num-traits-0.2.14.bazel
@@ -0,0 +1,92 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "num_traits_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "i128",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.14",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "num_traits",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "i128",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.14",
+ # buildifier: leave-alone
+ deps = [
+ ":num_traits_build_script",
+ ],
+)
+
+# Unsupported target "cast" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num_cpus-1.13.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num_cpus-1.13.0.bazel
new file mode 100644
index 0000000000..f404c75e9b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.num_cpus-1.13.0.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "values" with type "example" omitted
+
+rust_library(
+ name = "num_cpus",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__libc__0_2_80//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.number_prefix-0.3.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.number_prefix-0.3.0.bazel
new file mode 100644
index 0000000000..e46857b543
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.number_prefix-0.3.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "conversions" with type "example" omitted
+
+rust_library(
+ name = "number_prefix",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.object-0.22.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.object-0.22.0.bazel
new file mode 100644
index 0000000000..9d18ca9827
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.object-0.22.0.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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
+
+# Unsupported target "ar" with type "example" omitted
+
+# Unsupported target "nm" with type "example" omitted
+
+# Unsupported target "objcopy" with type "example" omitted
+
+# Unsupported target "objdump" with type "example" omitted
+
+# Unsupported target "objectmap" with type "example" omitted
+
+rust_library(
+ name = "object",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "archive",
+ "coff",
+ "elf",
+ "macho",
+ "pe",
+ "read_core",
+ "unaligned",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.22.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "integration" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.pdqselect-0.1.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.pdqselect-0.1.0.bazel
new file mode 100644
index 0000000000..f53fc46b81
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.pdqselect-0.1.0.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 = "pdqselect",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.png-0.16.7.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.png-0.16.7.bazel
new file mode 100644
index 0000000000..1c8dfbf5b5
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.png-0.16.7.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "decoder" with type "bench" omitted
+
+# Unsupported target "pngcheck" with type "example" omitted
+
+# Unsupported target "show" with type "example" omitted
+
+rust_library(
+ name = "png",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "deflate",
+ "png-encoding",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.16.7",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__bitflags__1_2_1//:bitflags",
+ "@remote_binary_dependencies__crc32fast__1_2_1//:crc32fast",
+ "@remote_binary_dependencies__deflate__0_8_6//:deflate",
+ "@remote_binary_dependencies__miniz_oxide__0_3_7//:miniz_oxide",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel
new file mode 100644
index 0000000000..f216464961
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ppv_lite86",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "simd",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-1.0.4.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-1.0.4.bazel
new file mode 100644
index 0000000000..8e64da7c0b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-1.0.4.bazel
@@ -0,0 +1,102 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "proc_macro_error_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "syn",
+ "syn-error",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__version_check__0_9_2//:version_check",
+ ],
+)
+
+rust_library(
+ name = "proc_macro_error",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "syn",
+ "syn-error",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ proc_macro_deps = [
+ "@remote_binary_dependencies__proc_macro_error_attr__1_0_4//:proc_macro_error_attr",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ":proc_macro_error_build_script",
+ "@remote_binary_dependencies__proc_macro2__1_0_24//:proc_macro2",
+ "@remote_binary_dependencies__quote__1_0_7//:quote",
+ "@remote_binary_dependencies__syn__1_0_48//:syn",
+ ],
+)
+
+# Unsupported target "macro-errors" with type "test" omitted
+
+# Unsupported target "ok" with type "test" omitted
+
+# Unsupported target "runtime-errors" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-attr-1.0.4.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-attr-1.0.4.bazel
new file mode 100644
index 0000000000..32a4de8c0e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro-error-attr-1.0.4.bazel
@@ -0,0 +1,86 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "proc_macro_error_attr_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_binary_dependencies__version_check__0_9_2//:version_check",
+ ],
+)
+
+rust_library(
+ name = "proc_macro_error_attr",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ":proc_macro_error_attr_build_script",
+ "@remote_binary_dependencies__proc_macro2__1_0_24//:proc_macro2",
+ "@remote_binary_dependencies__quote__1_0_7//:quote",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro2-1.0.24.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro2-1.0.24.bazel
new file mode 100644
index 0000000000..7b2fe02c70
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.proc-macro2-1.0.24.bazel
@@ -0,0 +1,98 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "proc_macro2_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.24",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "proc_macro2",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.24",
+ # buildifier: leave-alone
+ deps = [
+ ":proc_macro2_build_script",
+ "@remote_binary_dependencies__unicode_xid__0_2_1//: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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.quote-1.0.7.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.quote-1.0.7.bazel
new file mode 100644
index 0000000000..8cceb87930
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.quote-1.0.7.bazel
@@ -0,0 +1,60 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "quote",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.7",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__proc_macro2__1_0_24//:proc_macro2",
+ ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand-0.7.3.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand-0.7.3.bazel
new file mode 100644
index 0000000000..ea2eb48a31
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand-0.7.3.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "generators" with type "bench" omitted
+
+# Unsupported target "misc" with type "bench" omitted
+
+# Unsupported target "seq" with type "bench" omitted
+
+# Unsupported target "weighted" with type "bench" omitted
+
+# Unsupported target "monte-carlo" with type "example" omitted
+
+# Unsupported target "monty-hall" with type "example" omitted
+
+rust_library(
+ name = "rand",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__rand_chacha__0_2_2//:rand_chacha",
+ "@remote_binary_dependencies__rand_core__0_5_1//:rand_core",
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_chacha-0.2.2.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_chacha-0.2.2.bazel
new file mode 100644
index 0000000000..b63d646f89
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_chacha-0.2.2.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_chacha",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.2",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__ppv_lite86__0_2_9//:ppv_lite86",
+ "@remote_binary_dependencies__rand_core__0_5_1//:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_core-0.5.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_core-0.5.1.bazel
new file mode 100644
index 0000000000..60219d3bad
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_core-0.5.1.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_core",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_hc-0.2.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_hc-0.2.0.bazel
new file mode 100644
index 0000000000..2df18c585a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_hc-0.2.0.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_hc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__rand_core__0_5_1//:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_pcg-0.2.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_pcg-0.2.1.bazel
new file mode 100644
index 0000000000..641bf90129
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rand_pcg-0.2.1.bazel
@@ -0,0 +1,60 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_pcg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__rand_core__0_5_1//:rand_core",
+ ],
+)
+
+# Unsupported target "lcg128xsl64" with type "test" omitted
+
+# Unsupported target "lcg64xsh32" with type "test" omitted
+
+# Unsupported target "mcg128xsl64" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-1.4.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-1.4.1.bazel
new file mode 100644
index 0000000000..55a2651a7e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-1.4.1.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.4.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__regex_syntax__0_6_20//: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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-syntax-0.6.20.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-syntax-0.6.20.bazel
new file mode 100644
index 0000000000..ff6a806c8c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.regex-syntax-0.6.20.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.20",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rstar-0.7.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rstar-0.7.1.bazel
new file mode 100644
index 0000000000..ef28b07adc
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rstar-0.7.1.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rstar",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__num_traits__0_2_14//:num_traits",
+ "@remote_binary_dependencies__pdqselect__0_1_0//:pdqselect",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel
new file mode 100644
index 0000000000..04c6be4019
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rustc_demangle",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.18",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel
new file mode 100644
index 0000000000..62f92e7e79
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "reciprocal", # MPL-2.0 from expression "MPL-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel
new file mode 100644
index 0000000000..f0c68240d8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-0.3.20.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-0.3.20.bazel
new file mode 100644
index 0000000000..beb71892e9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-0.3.20.bazel
@@ -0,0 +1,151 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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
+
+# Unsupported target "after_help" with type "example" omitted
+
+# Unsupported target "at_least_two" with type "example" omitted
+
+# Unsupported target "basic" with type "example" omitted
+
+# Unsupported target "deny_missing_docs" with type "example" omitted
+
+# Unsupported target "doc_comments" with type "example" omitted
+
+# Unsupported target "enum_in_args" with type "example" omitted
+
+# Unsupported target "enum_tuple" with type "example" omitted
+
+# Unsupported target "env" with type "example" omitted
+
+# Unsupported target "example" with type "example" omitted
+
+# Unsupported target "flatten" with type "example" omitted
+
+# Unsupported target "gen_completions" with type "example" omitted
+
+# Unsupported target "git" with type "example" omitted
+
+# Unsupported target "group" with type "example" omitted
+
+# Unsupported target "keyvalue" with type "example" omitted
+
+# Unsupported target "negative_flag" with type "example" omitted
+
+# Unsupported target "no_version" with type "example" omitted
+
+# Unsupported target "rename_all" with type "example" omitted
+
+# Unsupported target "required_if" with type "example" omitted
+
+# Unsupported target "skip" with type "example" omitted
+
+# Unsupported target "subcommand_aliases" with type "example" omitted
+
+# Unsupported target "true_or_false" with type "example" omitted
+
+rust_library(
+ name = "structopt",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ proc_macro_deps = [
+ "@remote_binary_dependencies__structopt_derive__0_4_13//:structopt_derive",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.20",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__clap__2_33_3//:clap",
+ "@remote_binary_dependencies__lazy_static__1_4_0//:lazy_static",
+ ],
+)
+
+# Unsupported target "argument_naming" with type "test" omitted
+
+# Unsupported target "arguments" with type "test" omitted
+
+# Unsupported target "author_version_about" with type "test" omitted
+
+# Unsupported target "custom-string-parsers" with type "test" omitted
+
+# Unsupported target "default_value" with type "test" omitted
+
+# Unsupported target "deny-warnings" with type "test" omitted
+
+# Unsupported target "doc-comments-help" with type "test" omitted
+
+# Unsupported target "explicit_name_no_renaming" with type "test" omitted
+
+# Unsupported target "flags" with type "test" omitted
+
+# Unsupported target "flatten" with type "test" omitted
+
+# Unsupported target "issues" with type "test" omitted
+
+# Unsupported target "macro-errors" with type "test" omitted
+
+# Unsupported target "nested-subcommands" with type "test" omitted
+
+# Unsupported target "non_literal_attributes" with type "test" omitted
+
+# Unsupported target "options" with type "test" omitted
+
+# Unsupported target "privacy" with type "test" omitted
+
+# Unsupported target "raw_bool_literal" with type "test" omitted
+
+# Unsupported target "raw_idents" with type "test" omitted
+
+# Unsupported target "regressions" with type "test" omitted
+
+# Unsupported target "rename_all_env" with type "test" omitted
+
+# Unsupported target "skip" with type "test" omitted
+
+# Unsupported target "special_types" with type "test" omitted
+
+# Unsupported target "subcommands" with type "test" omitted
+
+# Unsupported target "utils" with type "test" omitted
+
+# Unsupported target "we_need_syn_full" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-derive-0.4.13.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-derive-0.4.13.bazel
new file mode 100644
index 0000000000..68bf3c405f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.structopt-derive-0.4.13.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 = "structopt_derive",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.13",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__heck__0_3_1//:heck",
+ "@remote_binary_dependencies__proc_macro2__1_0_24//:proc_macro2",
+ "@remote_binary_dependencies__proc_macro_error__1_0_4//:proc_macro_error",
+ "@remote_binary_dependencies__quote__1_0_7//:quote",
+ "@remote_binary_dependencies__syn__1_0_48//:syn",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.syn-1.0.48.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.syn-1.0.48.bazel
new file mode 100644
index 0000000000..b733d98a33
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.syn-1.0.48.bazel
@@ -0,0 +1,158 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "syn_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.48",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+# Unsupported target "file" with type "bench" omitted
+
+# Unsupported target "rust" with type "bench" omitted
+
+rust_library(
+ name = "syn",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.48",
+ # buildifier: leave-alone
+ deps = [
+ ":syn_build_script",
+ "@remote_binary_dependencies__proc_macro2__1_0_24//:proc_macro2",
+ "@remote_binary_dependencies__quote__1_0_7//:quote",
+ "@remote_binary_dependencies__unicode_xid__0_2_1//:unicode_xid",
+ ],
+)
+
+# Unsupported target "test_asyncness" with type "test" omitted
+
+# Unsupported target "test_attribute" with type "test" omitted
+
+# Unsupported target "test_derive_input" with type "test" omitted
+
+# Unsupported target "test_expr" with type "test" omitted
+
+# Unsupported target "test_generics" with type "test" omitted
+
+# Unsupported target "test_grouping" with type "test" omitted
+
+# Unsupported target "test_ident" with type "test" omitted
+
+# Unsupported target "test_item" with type "test" omitted
+
+# Unsupported target "test_iterators" with type "test" omitted
+
+# Unsupported target "test_lit" with type "test" omitted
+
+# Unsupported target "test_meta" with type "test" omitted
+
+# Unsupported target "test_parse_buffer" with type "test" omitted
+
+# Unsupported target "test_parse_stream" with type "test" omitted
+
+# Unsupported target "test_pat" with type "test" omitted
+
+# Unsupported target "test_path" with type "test" omitted
+
+# Unsupported target "test_precedence" with type "test" omitted
+
+# Unsupported target "test_receiver" with type "test" omitted
+
+# Unsupported target "test_round_trip" with type "test" omitted
+
+# Unsupported target "test_shebang" with type "test" omitted
+
+# Unsupported target "test_should_parse" with type "test" omitted
+
+# Unsupported target "test_size" with type "test" omitted
+
+# Unsupported target "test_stmt" with type "test" omitted
+
+# Unsupported target "test_token_trees" with type "test" omitted
+
+# Unsupported target "test_ty" with type "test" omitted
+
+# Unsupported target "test_visibility" with type "test" omitted
+
+# Unsupported target "zzz_stable" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.terminal_size-0.1.13.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.terminal_size-0.1.13.bazel
new file mode 100644
index 0000000000..e7fd25da58
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.terminal_size-0.1.13.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "terminal_size",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.13",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(not(windows))
+ (
+ "@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-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:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_binary_dependencies__libc__0_2_80//: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",
+ ): [
+ "@remote_binary_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-0.8.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-0.8.0.bazel
new file mode 100644
index 0000000000..43c9f8a49b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-0.8.0.bazel
@@ -0,0 +1,107 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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 "all-the-things" with type "bench" omitted
+
+# Unsupported target "01_single_example_synthesis" with type "example" omitted
+
+# Unsupported target "02_multi_example_synthesis" with type "example" omitted
+
+# Unsupported target "03_guided_synthesis" with type "example" omitted
+
+# Unsupported target "04_style_transfer" with type "example" omitted
+
+# Unsupported target "05_inpaint" with type "example" omitted
+
+# Unsupported target "06_inpaint_channel" with type "example" omitted
+
+# Unsupported target "07_tiling_texture" with type "example" omitted
+
+# Unsupported target "08_repeat_transform" with type "example" omitted
+
+# Unsupported target "09_sample_masks" with type "example" omitted
+
+rust_library(
+ name = "texture_synthesis",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__image__0_23_10//:image",
+ "@remote_binary_dependencies__num_cpus__1_13_0//:num_cpus",
+ "@remote_binary_dependencies__rand__0_7_3//:rand",
+ "@remote_binary_dependencies__rand_pcg__0_2_1//:rand_pcg",
+ "@remote_binary_dependencies__rstar__0_7_1//:rstar",
+ ] + selects.with_or({
+ # cfg(not(target_arch = "wasm32"))
+ (
+ "@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-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform: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-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_binary_dependencies__crossbeam_utils__0_7_2//:crossbeam_utils",
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "diff" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-cli-0.8.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-cli-0.8.0.bazel
new file mode 100644
index 0000000000..8907a1b4ad
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.texture-synthesis-cli-0.8.0.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_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_texture_synthesis",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/main.rs",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__structopt__0_3_20//:structopt",
+ "@remote_binary_dependencies__texture_synthesis__0_8_0//:texture_synthesis",
+ ] + selects.with_or({
+ # cfg(not(target_arch = "wasm32"))
+ (
+ "@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-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform: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-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_binary_dependencies__atty__0_2_14//:atty",
+ "@remote_binary_dependencies__indicatif__0_14_0//:indicatif",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel
new file mode 100644
index 0000000000..a11848d00b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_binary_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "version-numbers" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-segmentation-1.6.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-segmentation-1.6.0.bazel
new file mode 100644
index 0000000000..0952bdfb3b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-segmentation-1.6.0.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_segmentation",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.6.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel
new file mode 100644
index 0000000000..5f8f6920c2
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_width",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-xid-0.2.1.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-xid-0.2.1.bazel
new file mode 100644
index 0000000000..2e2cf63130
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.unicode-xid-0.2.1.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_xid",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "exhaustive_tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel
new file mode 100644
index 0000000000..f3fd21e6fe
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "vec_map",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.version_check-0.9.2.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.version_check-0.9.2.bazel
new file mode 100644
index 0000000000..0d6ba5cc65
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.version_check-0.9.2.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "version_check",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.9.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..6e2b3719bb
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,109 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "fileapi",
+ "handleapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "std",
+ "winbase",
+ "wincon",
+ "winerror",
+ "winnt",
+ "winuser",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "fileapi",
+ "handleapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "std",
+ "winbase",
+ "wincon",
+ "winerror",
+ "winnt",
+ "winuser",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..66b6215e26
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_i686_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_i686_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-util-0.1.5.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-util-0.1.5.bazel
new file mode 100644
index 0000000000..f22e442ac9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-util-0.1.5.bazel
@@ -0,0 +1,64 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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",
+ ): [
+ "@remote_binary_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..807852d743
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/binary_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_x86_64_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_x86_64_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/binary_dependencies/src/main.rs b/cargo/cargo_raze/examples/remote/binary_dependencies/src/main.rs
new file mode 100644
index 0000000000..867a266598
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/binary_dependencies/src/main.rs
@@ -0,0 +1,37 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::{
+ io::{stdout, BufWriter},
+ path::Path,
+ process::Command,
+};
+
+fn main() {
+
+ // Note: This will need to change if the dependency version changes
+ let texture_synthesis_path =
+ Path::new("./external/remote_binary_dependencies__texture_synthesis_cli__0_8_0/cargo_bin_texture_synthesis");
+
+
+ // Run the command
+ let texture_synthesis_output = Command::new(texture_synthesis_path)
+ .arg("--help")
+ .output()
+ .unwrap();
+
+ // Print the results
+ let mut writer = BufWriter::new(stdout());
+ ferris_says::say(&texture_synthesis_output.stdout, 120, &mut writer).unwrap();
+}
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.lock b/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.lock
new file mode 100644
index 0000000000..444948860e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.lock
@@ -0,0 +1,296 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "addr2line"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[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"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "backtrace"
+version = "0.3.53"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e"
+dependencies = [
+ "addr2line",
+ "cfg-if 1.0.0",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[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 = "clap"
+version = "2.33.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags",
+ "strsim",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "error-chain"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
+name = "ferris-says"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687"
+dependencies = [
+ "clap",
+ "error-chain",
+ "smallvec",
+ "textwrap",
+ "unicode-width",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "gimli"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
+[[package]]
+name = "num_printer"
+version = "0.1.0"
+dependencies = [
+ "clap",
+ "printer",
+]
+
+[[package]]
+name = "object"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693"
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20"
+
+[[package]]
+name = "printer"
+version = "0.1.0"
+dependencies = [
+ "ferris-says",
+ "rng",
+]
+
+[[package]]
+name = "rand"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+dependencies = [
+ "getrandom",
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rng"
+version = "0.1.0"
+dependencies = [
+ "rand",
+]
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b"
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
+[[package]]
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+dependencies = [
+ "unicode-width",
+]
+
+[[package]]
+name = "unicode-width"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
+
+[[package]]
+name = "vec_map"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.toml b/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.toml
new file mode 100644
index 0000000000..6148737d2c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/Cargo.toml
@@ -0,0 +1,14 @@
+[workspace]
+members = [
+ "num_printer",
+ "printer",
+ "rng",
+]
+
+[workspace.metadata.raze]
+workspace_path = "//remote/cargo_workspace/cargo"
+gen_workspace_prefix = "remote_cargo_workspace"
+genmode = "Remote"
+default_gen_buildrs = true
+experimental_api = true
+render_package_aliases = false
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/BUILD.bazel
new file mode 100644
index 0000000000..0cad4cf6a7
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/BUILD.bazel
@@ -0,0 +1,14 @@
+"""
+@generated
+cargo-raze generated Bazel file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/crates.bzl
new file mode 100644
index 0000000000..4c4d5fc931
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/crates.bzl
@@ -0,0 +1,518 @@
+"""
+@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
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dependencies for the Rust targets of that package.
+_DEPENDENCIES = {
+ "remote/cargo_workspace/num_printer": {
+ "clap": "@remote_cargo_workspace__clap__2_33_3//:clap",
+ },
+ "remote/cargo_workspace/printer": {
+ "ferris-says": "@remote_cargo_workspace__ferris_says__0_2_0//:ferris_says",
+ },
+ "remote/cargo_workspace/rng": {
+ "rand": "@remote_cargo_workspace__rand__0_7_3//:rand",
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dependencies for the Rust targets of that package.
+_PROC_MACRO_DEPENDENCIES = {
+ "remote/cargo_workspace/num_printer": {
+ },
+ "remote/cargo_workspace/printer": {
+ },
+ "remote/cargo_workspace/rng": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dev dependencies for the Rust targets of that package.
+_DEV_DEPENDENCIES = {
+ "remote/cargo_workspace/num_printer": {
+ },
+ "remote/cargo_workspace/printer": {
+ },
+ "remote/cargo_workspace/rng": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dev dependencies for the Rust targets of that package.
+_DEV_PROC_MACRO_DEPENDENCIES = {
+ "remote/cargo_workspace/num_printer": {
+ },
+ "remote/cargo_workspace/printer": {
+ },
+ "remote/cargo_workspace/rng": {
+ },
+}
+
+def crate_deps(deps, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ WARNING: This macro is part of an expeirmental API and is subject to change.
+
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _DEV_DEPENDENCIES,
+ _DEV_PROC_MACRO_DEPENDENCIES,
+ ])
+
+ if not deps:
+ return []
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in dependencies[package_name]:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(dependencies[package_name][crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies[package_name],
+ ))
+
+ return crate_targets
+
+def all_crate_deps(normal = False, normal_dev = False, proc_macro = False, proc_macro_dev = False, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: 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. Defaults to False.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list. Defaults to False.
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list. Defaults to False.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list. Defaults to False.
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_DEV_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps)
+
+ if not dependencies:
+ return []
+
+ return dependencies[package_name].values()
+
+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.
+ "package_name": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # alias refers to.
+ "alias": "@full//:label",
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for dep_map in all_dependency_maps:
+ for pkg_name in dep_map:
+ if pkg_name not in dependencies:
+ # Add a non-frozen dict to the collection of dependencies
+ dependencies.setdefault(pkg_name, dict(dep_map[pkg_name].items()))
+ continue
+
+ duplicate_crate_aliases = [key for key in dependencies[pkg_name] if key in dep_map[pkg_name]]
+ if duplicate_crate_aliases:
+ fail("There should be no duplicate crate aliases: {}".format(duplicate_crate_aliases))
+
+ dependencies[pkg_name].update(dep_map[pkg_name])
+
+ return dependencies
+
+def remote_cargo_workspace_fetch_remote_crates():
+ """This function defines a collection of repos and should be called in a WORKSPACE file"""
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__addr2line__0_13_0",
+ url = "https://crates.io/api/v1/crates/addr2line/0.13.0/download",
+ type = "tar.gz",
+ sha256 = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072",
+ strip_prefix = "addr2line-0.13.0",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.addr2line-0.13.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__adler__0_2_3",
+ url = "https://crates.io/api/v1/crates/adler/0.2.3/download",
+ type = "tar.gz",
+ sha256 = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e",
+ strip_prefix = "adler-0.2.3",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.adler-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.ansi_term-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.atty-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__autocfg__1_0_1",
+ url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
+ type = "tar.gz",
+ sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
+ strip_prefix = "autocfg-1.0.1",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__backtrace__0_3_53",
+ url = "https://crates.io/api/v1/crates/backtrace/0.3.53/download",
+ type = "tar.gz",
+ sha256 = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e",
+ strip_prefix = "backtrace-0.3.53",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.backtrace-0.3.53.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.cfg-if-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.clap-2.33.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__error_chain__0_10_0",
+ url = "https://crates.io/api/v1/crates/error-chain/0.10.0/download",
+ type = "tar.gz",
+ sha256 = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8",
+ strip_prefix = "error-chain-0.10.0",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.error-chain-0.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__ferris_says__0_2_0",
+ url = "https://crates.io/api/v1/crates/ferris-says/0.2.0/download",
+ type = "tar.gz",
+ sha256 = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687",
+ strip_prefix = "ferris-says-0.2.0",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.ferris-says-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__getrandom__0_1_15",
+ url = "https://crates.io/api/v1/crates/getrandom/0.1.15/download",
+ type = "tar.gz",
+ sha256 = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6",
+ strip_prefix = "getrandom-0.1.15",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.getrandom-0.1.15.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__gimli__0_22_0",
+ url = "https://crates.io/api/v1/crates/gimli/0.22.0/download",
+ type = "tar.gz",
+ sha256 = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724",
+ strip_prefix = "gimli-0.22.0",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.gimli-0.22.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__hermit_abi__0_1_17",
+ url = "https://crates.io/api/v1/crates/hermit-abi/0.1.17/download",
+ type = "tar.gz",
+ sha256 = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8",
+ strip_prefix = "hermit-abi-0.1.17",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.hermit-abi-0.1.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__libc__0_2_79",
+ url = "https://crates.io/api/v1/crates/libc/0.2.79/download",
+ type = "tar.gz",
+ sha256 = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743",
+ strip_prefix = "libc-0.2.79",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.libc-0.2.79.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__miniz_oxide__0_4_3",
+ url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.3/download",
+ type = "tar.gz",
+ sha256 = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d",
+ strip_prefix = "miniz_oxide-0.4.3",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.miniz_oxide-0.4.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__object__0_21_1",
+ url = "https://crates.io/api/v1/crates/object/0.21.1/download",
+ type = "tar.gz",
+ sha256 = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693",
+ strip_prefix = "object-0.21.1",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.object-0.21.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__ppv_lite86__0_2_9",
+ url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.9/download",
+ type = "tar.gz",
+ sha256 = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20",
+ strip_prefix = "ppv-lite86-0.2.9",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.ppv-lite86-0.2.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__rand__0_7_3",
+ url = "https://crates.io/api/v1/crates/rand/0.7.3/download",
+ type = "tar.gz",
+ sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03",
+ strip_prefix = "rand-0.7.3",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.rand-0.7.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__rand_chacha__0_2_2",
+ url = "https://crates.io/api/v1/crates/rand_chacha/0.2.2/download",
+ type = "tar.gz",
+ sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402",
+ strip_prefix = "rand_chacha-0.2.2",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.rand_chacha-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__rand_core__0_5_1",
+ url = "https://crates.io/api/v1/crates/rand_core/0.5.1/download",
+ type = "tar.gz",
+ sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19",
+ strip_prefix = "rand_core-0.5.1",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.rand_core-0.5.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__rand_hc__0_2_0",
+ url = "https://crates.io/api/v1/crates/rand_hc/0.2.0/download",
+ type = "tar.gz",
+ sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c",
+ strip_prefix = "rand_hc-0.2.0",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.rand_hc-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__rustc_demangle__0_1_17",
+ url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.17/download",
+ type = "tar.gz",
+ sha256 = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b",
+ strip_prefix = "rustc-demangle-0.1.17",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.rustc-demangle-0.1.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__smallvec__0_4_5",
+ url = "https://crates.io/api/v1/crates/smallvec/0.4.5/download",
+ type = "tar.gz",
+ sha256 = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10",
+ strip_prefix = "smallvec-0.4.5",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.smallvec-0.4.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.strsim-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.textwrap-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.unicode-width-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.vec_map-0.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__wasi__0_9_0_wasi_snapshot_preview1",
+ url = "https://crates.io/api/v1/crates/wasi/0.9.0+wasi-snapshot-preview1/download",
+ type = "tar.gz",
+ sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519",
+ strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1",
+ build_file = Label("//remote/cargo_workspace/cargo/remote:BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_cargo_workspace__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("//remote/cargo_workspace/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.addr2line-0.13.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.addr2line-0.13.0.bazel
new file mode 100644
index 0000000000..46acfbaa41
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.addr2line-0.13.0.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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
+
+# Unsupported target "addr2line" with type "example" omitted
+
+rust_library(
+ name = "addr2line",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__gimli__0_22_0//:gimli",
+ ],
+)
+
+# Unsupported target "correctness" with type "test" omitted
+
+# Unsupported target "output_equivalence" with type "test" omitted
+
+# Unsupported target "parse" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.adler-0.2.3.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.adler-0.2.3.bazel
new file mode 100644
index 0000000000..b687a87db1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.adler-0.2.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "0BSD OR (MIT OR Apache-2.0)"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "adler",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ansi_term-0.11.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ansi_term-0.11.0.bazel
new file mode 100644
index 0000000000..df5497a846
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ansi_term-0.11.0.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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",
+ ): [
+ "@remote_cargo_workspace__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.atty-0.2.14.bazel
new file mode 100644
index 0000000000..104e50bd7d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.atty-0.2.14.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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: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-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",
+ ): [
+ "@remote_cargo_workspace__libc__0_2_79//: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",
+ ): [
+ "@remote_cargo_workspace__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.autocfg-1.0.1.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.autocfg-1.0.1.bazel
new file mode 100644
index 0000000000..08522ad246
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.autocfg-1.0.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.backtrace-0.3.53.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.backtrace-0.3.53.bazel
new file mode 100644
index 0000000000..25df7f0d83
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.backtrace-0.3.53.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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 "benchmarks" with type "bench" omitted
+
+# Unsupported target "backtrace" with type "example" omitted
+
+# Unsupported target "raw" with type "example" omitted
+
+rust_library(
+ name = "backtrace",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "addr2line",
+ "default",
+ "gimli-symbolize",
+ "miniz_oxide",
+ "object",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.53",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__addr2line__0_13_0//:addr2line",
+ "@remote_cargo_workspace__cfg_if__1_0_0//:cfg_if",
+ "@remote_cargo_workspace__libc__0_2_79//:libc",
+ "@remote_cargo_workspace__miniz_oxide__0_4_3//:miniz_oxide",
+ "@remote_cargo_workspace__object__0_21_1//:object",
+ "@remote_cargo_workspace__rustc_demangle__0_1_17//:rustc_demangle",
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "accuracy" with type "test" omitted
+
+# Unsupported target "concurrent-panics" with type "test" omitted
+
+# Unsupported target "long_fn_name" with type "test" omitted
+
+# Unsupported target "skip_inner_frames" with type "test" omitted
+
+# Unsupported target "smoke" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.bitflags-1.2.1.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.bitflags-1.2.1.bazel
new file mode 100644
index 0000000000..ce06b1b991
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.bitflags-1.2.1.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "bitflags_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ":bitflags_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-0.1.10.bazel
new file mode 100644
index 0000000000..be5af78158
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-0.1.10.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..7499fb887a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.clap-2.33.3.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.clap-2.33.3.bazel
new file mode 100644
index 0000000000..c5eccb1106
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.clap-2.33.3.bazel
@@ -0,0 +1,93 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.33.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__atty__0_2_14//:atty",
+ "@remote_cargo_workspace__bitflags__1_2_1//:bitflags",
+ "@remote_cargo_workspace__strsim__0_8_0//:strsim",
+ "@remote_cargo_workspace__textwrap__0_11_0//:textwrap",
+ "@remote_cargo_workspace__unicode_width__0_1_8//:unicode_width",
+ "@remote_cargo_workspace__vec_map__0_8_2//:vec_map",
+ ] + selects.with_or({
+ # cfg(not(windows))
+ (
+ "@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-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:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_cargo_workspace__ansi_term__0_11_0//:ansi_term",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.error-chain-0.10.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.error-chain-0.10.0.bazel
new file mode 100644
index 0000000000..22c0cdd5f0
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.error-chain-0.10.0.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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 "all" with type "example" omitted
+
+# Unsupported target "doc" with type "example" omitted
+
+# Unsupported target "quickstart" with type "example" omitted
+
+# Unsupported target "size" with type "example" omitted
+
+rust_library(
+ name = "error_chain",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "backtrace",
+ "default",
+ "example_generated",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__backtrace__0_3_53//:backtrace",
+ ],
+)
+
+# Unsupported target "quick_main" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ferris-says-0.2.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ferris-says-0.2.0.bazel
new file mode 100644
index 0000000000..ec5841d2ea
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ferris-says-0.2.0.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_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_fsays",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ ":ferris_says",
+ "@remote_cargo_workspace__clap__2_33_3//:clap",
+ "@remote_cargo_workspace__error_chain__0_10_0//:error_chain",
+ "@remote_cargo_workspace__smallvec__0_4_5//:smallvec",
+ "@remote_cargo_workspace__textwrap__0_11_0//:textwrap",
+ "@remote_cargo_workspace__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+rust_library(
+ name = "ferris_says",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__clap__2_33_3//:clap",
+ "@remote_cargo_workspace__error_chain__0_10_0//:error_chain",
+ "@remote_cargo_workspace__smallvec__0_4_5//:smallvec",
+ "@remote_cargo_workspace__textwrap__0_11_0//:textwrap",
+ "@remote_cargo_workspace__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "integration_test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.getrandom-0.1.15.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.getrandom-0.1.15.bazel
new file mode 100644
index 0000000000..6b9f7ca925
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.getrandom-0.1.15.bazel
@@ -0,0 +1,166 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "getrandom_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + selects.with_or({
+ # cfg(target_os = "wasi")
+ (
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # wasm32-unknown-unknown
+ (
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "mod" with type "bench" omitted
+
+rust_library(
+ name = "getrandom",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ # buildifier: leave-alone
+ deps = [
+ ":getrandom_build_script",
+ "@remote_cargo_workspace__cfg_if__0_1_10//:cfg_if",
+ ] + selects.with_or({
+ # cfg(target_os = "wasi")
+ (
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ "@remote_cargo_workspace__wasi__0_9_0_wasi_snapshot_preview1//:wasi",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ "@remote_cargo_workspace__libc__0_2_79//:libc",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # wasm32-unknown-unknown
+ (
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "common" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.gimli-0.22.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.gimli-0.22.0.bazel
new file mode 100644
index 0000000000..a66331d95c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.gimli-0.22.0.bazel
@@ -0,0 +1,68 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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
+
+# Unsupported target "bench" with type "bench" omitted
+
+# Unsupported target "dwarf-validate" with type "example" omitted
+
+# Unsupported target "dwarfdump" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+# Unsupported target "simple_line" with type "example" omitted
+
+rust_library(
+ name = "gimli",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "read",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.22.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "convert_self" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.hermit-abi-0.1.17.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.hermit-abi-0.1.17.bazel
new file mode 100644
index 0000000000..18290862dd
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.hermit-abi-0.1.17.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.17",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__libc__0_2_79//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.libc-0.2.79.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.libc-0.2.79.bazel
new file mode 100644
index 0000000000..4eaabc527a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.libc-0.2.79.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "libc_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.2.79",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.79",
+ # buildifier: leave-alone
+ deps = [
+ ":libc_build_script",
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
new file mode 100644
index 0000000000..7043c0e782
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR (Zlib OR 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 = "miniz_oxide_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_cargo_workspace__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "miniz_oxide",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ # buildifier: leave-alone
+ deps = [
+ ":miniz_oxide_build_script",
+ "@remote_cargo_workspace__adler__0_2_3//:adler",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.object-0.21.1.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.object-0.21.1.bazel
new file mode 100644
index 0000000000..d659525ccf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.object-0.21.1.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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
+
+# Unsupported target "nm" with type "example" omitted
+
+# Unsupported target "objcopy" with type "example" omitted
+
+# Unsupported target "objdump" with type "example" omitted
+
+rust_library(
+ name = "object",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "coff",
+ "elf",
+ "macho",
+ "pe",
+ "read_core",
+ "unaligned",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.21.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "integration" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel
new file mode 100644
index 0000000000..e6811b88e9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.ppv-lite86-0.2.9.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ppv_lite86",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "simd",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand-0.7.3.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand-0.7.3.bazel
new file mode 100644
index 0000000000..f8699d2e9d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand-0.7.3.bazel
@@ -0,0 +1,100 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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 "generators" with type "bench" omitted
+
+# Unsupported target "misc" with type "bench" omitted
+
+# Unsupported target "seq" with type "bench" omitted
+
+# Unsupported target "weighted" with type "bench" omitted
+
+# Unsupported target "monte-carlo" with type "example" omitted
+
+# Unsupported target "monty-hall" with type "example" omitted
+
+rust_library(
+ name = "rand",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ "@remote_cargo_workspace__getrandom__0_1_15//:getrandom": "getrandom_package",
+ },
+ crate_features = [
+ "alloc",
+ "default",
+ "getrandom",
+ "getrandom_package",
+ "libc",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__getrandom__0_1_15//:getrandom",
+ "@remote_cargo_workspace__rand_chacha__0_2_2//:rand_chacha",
+ "@remote_cargo_workspace__rand_core__0_5_1//:rand_core",
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ "@remote_cargo_workspace__libc__0_2_79//:libc",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_chacha-0.2.2.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_chacha-0.2.2.bazel
new file mode 100644
index 0000000000..c2a0e2f573
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_chacha-0.2.2.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_chacha",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.2",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__ppv_lite86__0_2_9//:ppv_lite86",
+ "@remote_cargo_workspace__rand_core__0_5_1//:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_core-0.5.1.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_core-0.5.1.bazel
new file mode 100644
index 0000000000..72740cbd19
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_core-0.5.1.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_core",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "getrandom",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__getrandom__0_1_15//:getrandom",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_hc-0.2.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_hc-0.2.0.bazel
new file mode 100644
index 0000000000..3a5f2158ae
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rand_hc-0.2.0.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_hc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__rand_core__0_5_1//:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rustc-demangle-0.1.17.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rustc-demangle-0.1.17.bazel
new file mode 100644
index 0000000000..ce469bda7b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.rustc-demangle-0.1.17.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rustc_demangle",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.17",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.smallvec-0.4.5.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.smallvec-0.4.5.bazel
new file mode 100644
index 0000000000..8a48335512
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.smallvec-0.4.5.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "reciprocal", # MPL-2.0 from expression "MPL-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.strsim-0.8.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.strsim-0.8.0.bazel
new file mode 100644
index 0000000000..2d67ad312a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.strsim-0.8.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.textwrap-0.11.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.textwrap-0.11.0.bazel
new file mode 100644
index 0000000000..873a7c0a26
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.textwrap-0.11.0.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_cargo_workspace__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "version-numbers" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.unicode-width-0.1.8.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.unicode-width-0.1.8.bazel
new file mode 100644
index 0000000000..1bff62503b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.unicode-width-0.1.8.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_width",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.vec_map-0.8.2.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.vec_map-0.8.2.bazel
new file mode 100644
index 0000000000..94774faa3c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.vec_map-0.8.2.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "vec_map",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel
new file mode 100644
index 0000000000..0ed79721e5
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "wasi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.9.0+wasi-snapshot-preview1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..6b4c61bd01
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,95 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..4520ea9664
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_i686_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_i686_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..ccff499eb6
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_x86_64_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_x86_64_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/BUILD.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/BUILD.bazel
new file mode 100644
index 0000000000..7530e54426
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+load("//remote/cargo_workspace/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "number_printer",
+ srcs = ["src/main.rs"],
+ edition = "2018",
+ deps = [
+ "//remote/cargo_workspace/printer",
+ ] + all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/Cargo.toml b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/Cargo.toml
new file mode 100644
index 0000000000..b3711a0e3e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/Cargo.toml
@@ -0,0 +1,13 @@
+[package]
+name = "num_printer"
+version = "0.1.0"
+edition = "2018"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[[bin]]
+name = "number-printer"
+path = "src/main.rs"
+
+[dependencies]
+clap = "2.33.3"
+printer = { path = "../printer" }
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/src/main.rs b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/src/main.rs
new file mode 100644
index 0000000000..0a89712577
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/num_printer/src/main.rs
@@ -0,0 +1,26 @@
+use clap::{App, Arg};
+
+use printer;
+
+fn main() {
+ let matches = App::new("Number Printer")
+ .about("Print some numbers")
+ .arg(Arg::with_name("rng").help("Print a random number"))
+ .arg(
+ Arg::with_name("num")
+ .help("Print this number")
+ .takes_value(true),
+ )
+ .get_matches();
+
+ let num = match matches.value_of("num") {
+ Some(value) => value.parse::().unwrap(),
+ None => 1337,
+ };
+
+ if matches.is_present("rng") {
+ printer::print_random_number();
+ } else {
+ printer::print_number(num);
+ }
+}
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/printer/BUILD.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/BUILD.bazel
new file mode 100644
index 0000000000..7537a32ccf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_library")
+load("//remote/cargo_workspace/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "printer",
+ srcs = ["src/lib.rs"],
+ edition = "2018",
+ deps = [
+ "//remote/cargo_workspace/rng",
+ ] + all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/printer/Cargo.toml b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/Cargo.toml
new file mode 100644
index 0000000000..9e3537a900
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "printer"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+rng = { path = "../rng" }
+ferris-says = "0.2.0"
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/printer/src/lib.rs b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/src/lib.rs
new file mode 100644
index 0000000000..c76741ce42
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/printer/src/lib.rs
@@ -0,0 +1,18 @@
+use ferris_says;
+
+use std::io::{stdout, BufWriter};
+
+use rng;
+
+/// Have ferris say a number
+pub fn print_number(num: i32) {
+ let number = format!("{}", num);
+ let stdout = stdout();
+ let mut writer = BufWriter::new(stdout.lock());
+ ferris_says::say(number.as_bytes(), number.len(), &mut writer).unwrap();
+}
+
+/// Have ferris say a random number
+pub fn print_random_number() {
+ print_number(rng::random_number());
+}
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/rng/BUILD.bazel b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/BUILD.bazel
new file mode 100644
index 0000000000..873fd1a615
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_library")
+load("//remote/cargo_workspace/cargo:crates.bzl", "crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "rng",
+ srcs = ["src/lib.rs"],
+ edition = "2018",
+ deps = crate_deps([
+ "rand",
+ ]),
+)
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/rng/Cargo.toml b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/Cargo.toml
new file mode 100644
index 0000000000..a2a098c9e2
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "rng"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+rand = "0.7.3"
diff --git a/cargo/cargo_raze/examples/remote/cargo_workspace/rng/src/lib.rs b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/src/lib.rs
new file mode 100644
index 0000000000..a50e0a2ece
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/cargo_workspace/rng/src/lib.rs
@@ -0,0 +1,7 @@
+use rand::{thread_rng, Rng};
+
+/// Generate a random number
+pub fn random_number() -> i32 {
+ let mut rng = thread_rng();
+ rng.gen()
+}
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/BUILD b/cargo/cargo_raze/examples/remote/complicated_cargo_library/BUILD
new file mode 100644
index 0000000000..79419f3d8c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/BUILD
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "complicated_cargo_library",
+ srcs = ["src/main.rs"],
+ deps = [
+ "//remote/complicated_cargo_library/cargo:libloading",
+ "//remote/complicated_cargo_library/cargo:regex",
+ "//remote/complicated_cargo_library/cargo:specs",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.lock b/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.lock
new file mode 100644
index 0000000000..8fdcd47ea6
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.lock
@@ -0,0 +1,408 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "ahash"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217"
+
+[[package]]
+name = "aho-corasick"
+version = "0.7.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "arrayvec"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+
+[[package]]
+name = "atom"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9ff149ed9780025acfdb36862d35b28856bb693ceb451259a7164442f22fdc3"
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[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 = "compile_with_bazel"
+version = "0.1.0"
+dependencies = [
+ "libloading",
+ "regex",
+ "security-framework-sys",
+ "specs",
+]
+
+[[package]]
+name = "const_fn"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6"
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b"
+
+[[package]]
+name = "crossbeam-channel"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
+dependencies = [
+ "cfg-if 1.0.0",
+ "crossbeam-utils 0.8.1",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
+dependencies = [
+ "cfg-if 1.0.0",
+ "crossbeam-epoch",
+ "crossbeam-utils 0.8.1",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d"
+dependencies = [
+ "cfg-if 1.0.0",
+ "const_fn",
+ "crossbeam-utils 0.8.1",
+ "lazy_static",
+ "memoffset",
+ "scopeguard",
+]
+
+[[package]]
+name = "crossbeam-queue"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
+dependencies = [
+ "cfg-if 0.1.10",
+ "crossbeam-utils 0.7.2",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
+dependencies = [
+ "autocfg",
+ "cfg-if 0.1.10",
+ "lazy_static",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
+dependencies = [
+ "autocfg",
+ "cfg-if 1.0.0",
+ "lazy_static",
+]
+
+[[package]]
+name = "either"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
+
+[[package]]
+name = "hashbrown"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96282e96bfcd3da0d3aa9938bedf1e50df3269b6db08b4876d2da0bb1a0841cf"
+dependencies = [
+ "ahash",
+ "autocfg",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "hibitset"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93a1bb8316a44459a7d14253c4d28dd7395cbd23cc04a68c46e851b8e46d64b1"
+dependencies = [
+ "atom",
+ "rayon",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.85"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3"
+
+[[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",
+ "winapi",
+]
+
+[[package]]
+name = "log"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
+[[package]]
+name = "maybe-uninit"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
+
+[[package]]
+name = "memchr"
+version = "2.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
+
+[[package]]
+name = "memoffset"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "mopa"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a785740271256c230f57462d3b83e52f998433a7062fc18f96d5999474a9f915"
+
+[[package]]
+name = "nom"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
+dependencies = [
+ "memchr",
+ "version_check",
+]
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0"
+
+[[package]]
+name = "rayon"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
+dependencies = [
+ "autocfg",
+ "crossbeam-deque",
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
+dependencies = [
+ "crossbeam-channel",
+ "crossbeam-deque",
+ "crossbeam-utils 0.8.1",
+ "lazy_static",
+ "num_cpus",
+]
+
+[[package]]
+name = "regex"
+version = "1.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+ "thread_local",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581"
+
+[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
+name = "security-framework-sys"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "shred"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5f08237e667ac94ad20f8878b5943d91a93ccb231428446c57c21c57779016d"
+dependencies = [
+ "arrayvec",
+ "hashbrown",
+ "mopa",
+ "rayon",
+ "smallvec",
+ "tynm",
+]
+
+[[package]]
+name = "shrev"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5752e017e03af9d735b4b069f53b7a7fd90fefafa04d8bd0c25581b0bff437f"
+
+[[package]]
+name = "smallvec"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
+
+[[package]]
+name = "specs"
+version = "0.16.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fff28a29366aff703d5da8a7e2c8875dc8453ac1118f842cbc0fa70c7db51240"
+dependencies = [
+ "crossbeam-queue",
+ "hashbrown",
+ "hibitset",
+ "log",
+ "rayon",
+ "shred",
+ "shrev",
+ "tuple_utils",
+]
+
+[[package]]
+name = "thread_local"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "tuple_utils"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44834418e2c5b16f47bedf35c28e148db099187dd5feee6367fb2525863af4f1"
+
+[[package]]
+name = "tynm"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4df2caa2dc9c3d1f7641ba981f4cd40ab229775aa7aeb834c9ab2850d50623d"
+dependencies = [
+ "nom",
+]
+
+[[package]]
+name = "version_check"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.toml b/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.toml
new file mode 100644
index 0000000000..bb1d4ab577
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/Cargo.toml
@@ -0,0 +1,38 @@
+[package]
+name = "compile_with_bazel"
+version = "0.1.0"
+
+[[bin]]
+name = "complicated_cargo_library"
+path = "src/main.rs"
+
+[dependencies]
+# Newer versions of libloading don't depend on C code anymore, so we're using an older version to
+# test additional_build_file.
+libloading = "=0.7.0"
+regex = "=1.4.3"
+security-framework-sys = "=2.0.0"
+specs = "=0.16.1"
+
+[package.metadata.raze]
+workspace_path = "//remote/complicated_cargo_library/cargo"
+gen_workspace_prefix = "remote_complicated_cargo_library"
+genmode = "Remote"
+package_aliases_dir = "cargo"
+
+[package.metadata.raze.crates.regex.'1.4.3']
+skipped_deps = [
+ # This will break the regex crate
+ #"regex-syntax-0.4.2"
+]
+additional_deps = [
+ # Add an unused dep
+ "@remote_complicated_cargo_library__specs__0_16_1//:specs"
+]
+additional_flags = [
+ # Add an unused flag
+ "--cfg=not_used"
+]
+# Add an unused environment variable
+additional_env = { NOT_USED_KEY = "not_used_value" }
+
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/README.md b/cargo/cargo_raze/examples/remote/complicated_cargo_library/README.md
new file mode 100644
index 0000000000..8238925a1e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/README.md
@@ -0,0 +1,3 @@
+# complicated_cargo_library_remote
+
+This is a "no vendor" version of the complicated_cargo_library.
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/BUILD.bazel
new file mode 100644
index 0000000000..b7b12f63ee
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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 = "libloading",
+ actual = "@remote_complicated_cargo_library__libloading__0_7_0//:libloading",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "regex",
+ actual = "@remote_complicated_cargo_library__regex__1_4_3//:regex",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "security_framework_sys",
+ actual = "@remote_complicated_cargo_library__security_framework_sys__2_0_0//:security_framework_sys",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "specs",
+ actual = "@remote_complicated_cargo_library__specs__0_16_1//:specs",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/crates.bzl
new file mode 100644
index 0000000000..a5d2b0c471
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/crates.bzl
@@ -0,0 +1,482 @@
+"""
+@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 remote_complicated_cargo_library_fetch_remote_crates():
+ """This function defines a collection of repos and should be called in a WORKSPACE file"""
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__ahash__0_3_8",
+ url = "https://crates.io/api/v1/crates/ahash/0.3.8/download",
+ type = "tar.gz",
+ sha256 = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217",
+ strip_prefix = "ahash-0.3.8",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.ahash-0.3.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__aho_corasick__0_7_15",
+ url = "https://crates.io/api/v1/crates/aho-corasick/0.7.15/download",
+ type = "tar.gz",
+ sha256 = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5",
+ strip_prefix = "aho-corasick-0.7.15",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.aho-corasick-0.7.15.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__arrayvec__0_5_2",
+ url = "https://crates.io/api/v1/crates/arrayvec/0.5.2/download",
+ type = "tar.gz",
+ sha256 = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b",
+ strip_prefix = "arrayvec-0.5.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.arrayvec-0.5.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__atom__0_3_6",
+ url = "https://crates.io/api/v1/crates/atom/0.3.6/download",
+ type = "tar.gz",
+ sha256 = "c9ff149ed9780025acfdb36862d35b28856bb693ceb451259a7164442f22fdc3",
+ strip_prefix = "atom-0.3.6",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.atom-0.3.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__autocfg__1_0_1",
+ url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
+ type = "tar.gz",
+ sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
+ strip_prefix = "autocfg-1.0.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.cfg-if-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__const_fn__0_4_5",
+ url = "https://crates.io/api/v1/crates/const_fn/0.4.5/download",
+ type = "tar.gz",
+ sha256 = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6",
+ strip_prefix = "const_fn-0.4.5",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.const_fn-0.4.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__core_foundation_sys__0_8_2",
+ url = "https://crates.io/api/v1/crates/core-foundation-sys/0.8.2/download",
+ type = "tar.gz",
+ sha256 = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b",
+ strip_prefix = "core-foundation-sys-0.8.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.core-foundation-sys-0.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_channel__0_5_0",
+ url = "https://crates.io/api/v1/crates/crossbeam-channel/0.5.0/download",
+ type = "tar.gz",
+ sha256 = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775",
+ strip_prefix = "crossbeam-channel-0.5.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-channel-0.5.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_deque__0_8_0",
+ url = "https://crates.io/api/v1/crates/crossbeam-deque/0.8.0/download",
+ type = "tar.gz",
+ sha256 = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9",
+ strip_prefix = "crossbeam-deque-0.8.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-deque-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_epoch__0_9_1",
+ url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.9.1/download",
+ type = "tar.gz",
+ sha256 = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d",
+ strip_prefix = "crossbeam-epoch-0.9.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-epoch-0.9.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_queue__0_2_3",
+ url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.3/download",
+ type = "tar.gz",
+ sha256 = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570",
+ strip_prefix = "crossbeam-queue-0.2.3",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-queue-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_utils__0_7_2",
+ url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download",
+ type = "tar.gz",
+ sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8",
+ strip_prefix = "crossbeam-utils-0.7.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-utils-0.7.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__crossbeam_utils__0_8_1",
+ url = "https://crates.io/api/v1/crates/crossbeam-utils/0.8.1/download",
+ type = "tar.gz",
+ sha256 = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d",
+ strip_prefix = "crossbeam-utils-0.8.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.crossbeam-utils-0.8.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__either__1_6_1",
+ url = "https://crates.io/api/v1/crates/either/1.6.1/download",
+ type = "tar.gz",
+ sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457",
+ strip_prefix = "either-1.6.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.either-1.6.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__hashbrown__0_7_2",
+ url = "https://crates.io/api/v1/crates/hashbrown/0.7.2/download",
+ type = "tar.gz",
+ sha256 = "96282e96bfcd3da0d3aa9938bedf1e50df3269b6db08b4876d2da0bb1a0841cf",
+ strip_prefix = "hashbrown-0.7.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.hashbrown-0.7.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.hermit-abi-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__hibitset__0_6_3",
+ url = "https://crates.io/api/v1/crates/hibitset/0.6.3/download",
+ type = "tar.gz",
+ sha256 = "93a1bb8316a44459a7d14253c4d28dd7395cbd23cc04a68c46e851b8e46d64b1",
+ strip_prefix = "hibitset-0.6.3",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.hibitset-0.6.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__libc__0_2_85",
+ url = "https://crates.io/api/v1/crates/libc/0.2.85/download",
+ type = "tar.gz",
+ sha256 = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3",
+ strip_prefix = "libc-0.2.85",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.libc-0.2.85.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.libloading-0.7.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.log-0.4.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__maybe_uninit__2_0_0",
+ url = "https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download",
+ type = "tar.gz",
+ sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00",
+ strip_prefix = "maybe-uninit-2.0.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.maybe-uninit-2.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__memchr__2_3_4",
+ url = "https://crates.io/api/v1/crates/memchr/2.3.4/download",
+ type = "tar.gz",
+ sha256 = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525",
+ strip_prefix = "memchr-2.3.4",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.memchr-2.3.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__memoffset__0_6_1",
+ url = "https://crates.io/api/v1/crates/memoffset/0.6.1/download",
+ type = "tar.gz",
+ sha256 = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87",
+ strip_prefix = "memoffset-0.6.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.memoffset-0.6.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__mopa__0_2_2",
+ url = "https://crates.io/api/v1/crates/mopa/0.2.2/download",
+ type = "tar.gz",
+ sha256 = "a785740271256c230f57462d3b83e52f998433a7062fc18f96d5999474a9f915",
+ strip_prefix = "mopa-0.2.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.mopa-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.nom-5.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__num_cpus__1_13_0",
+ url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download",
+ type = "tar.gz",
+ sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3",
+ strip_prefix = "num_cpus-1.13.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.num_cpus-1.13.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__once_cell__1_5_2",
+ url = "https://crates.io/api/v1/crates/once_cell/1.5.2/download",
+ type = "tar.gz",
+ sha256 = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0",
+ strip_prefix = "once_cell-1.5.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.once_cell-1.5.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__rayon__1_5_0",
+ url = "https://crates.io/api/v1/crates/rayon/1.5.0/download",
+ type = "tar.gz",
+ sha256 = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674",
+ strip_prefix = "rayon-1.5.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.rayon-1.5.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__rayon_core__1_9_0",
+ url = "https://crates.io/api/v1/crates/rayon-core/1.9.0/download",
+ type = "tar.gz",
+ sha256 = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a",
+ strip_prefix = "rayon-core-1.9.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.rayon-core-1.9.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__regex__1_4_3",
+ url = "https://crates.io/api/v1/crates/regex/1.4.3/download",
+ type = "tar.gz",
+ sha256 = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a",
+ strip_prefix = "regex-1.4.3",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.regex-1.4.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__regex_syntax__0_6_22",
+ url = "https://crates.io/api/v1/crates/regex-syntax/0.6.22/download",
+ type = "tar.gz",
+ sha256 = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581",
+ strip_prefix = "regex-syntax-0.6.22",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.regex-syntax-0.6.22.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__scopeguard__1_1_0",
+ url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download",
+ type = "tar.gz",
+ sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd",
+ strip_prefix = "scopeguard-1.1.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.scopeguard-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__security_framework_sys__2_0_0",
+ url = "https://crates.io/api/v1/crates/security-framework-sys/2.0.0/download",
+ type = "tar.gz",
+ sha256 = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b",
+ strip_prefix = "security-framework-sys-2.0.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.security-framework-sys-2.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__shred__0_10_2",
+ url = "https://crates.io/api/v1/crates/shred/0.10.2/download",
+ type = "tar.gz",
+ sha256 = "c5f08237e667ac94ad20f8878b5943d91a93ccb231428446c57c21c57779016d",
+ strip_prefix = "shred-0.10.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.shred-0.10.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__shrev__1_1_1",
+ url = "https://crates.io/api/v1/crates/shrev/1.1.1/download",
+ type = "tar.gz",
+ sha256 = "b5752e017e03af9d735b4b069f53b7a7fd90fefafa04d8bd0c25581b0bff437f",
+ strip_prefix = "shrev-1.1.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.shrev-1.1.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__smallvec__1_6_1",
+ url = "https://crates.io/api/v1/crates/smallvec/1.6.1/download",
+ type = "tar.gz",
+ sha256 = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e",
+ strip_prefix = "smallvec-1.6.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.smallvec-1.6.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__specs__0_16_1",
+ url = "https://crates.io/api/v1/crates/specs/0.16.1/download",
+ type = "tar.gz",
+ sha256 = "fff28a29366aff703d5da8a7e2c8875dc8453ac1118f842cbc0fa70c7db51240",
+ strip_prefix = "specs-0.16.1",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.specs-0.16.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__thread_local__1_1_3",
+ url = "https://crates.io/api/v1/crates/thread_local/1.1.3/download",
+ type = "tar.gz",
+ sha256 = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd",
+ strip_prefix = "thread_local-1.1.3",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.thread_local-1.1.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__tuple_utils__0_3_0",
+ url = "https://crates.io/api/v1/crates/tuple_utils/0.3.0/download",
+ type = "tar.gz",
+ sha256 = "44834418e2c5b16f47bedf35c28e148db099187dd5feee6367fb2525863af4f1",
+ strip_prefix = "tuple_utils-0.3.0",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.tuple_utils-0.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__tynm__0_1_6",
+ url = "https://crates.io/api/v1/crates/tynm/0.1.6/download",
+ type = "tar.gz",
+ sha256 = "a4df2caa2dc9c3d1f7641ba981f4cd40ab229775aa7aeb834c9ab2850d50623d",
+ strip_prefix = "tynm-0.1.6",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.tynm-0.1.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__version_check__0_9_2",
+ url = "https://crates.io/api/v1/crates/version_check/0.9.2/download",
+ type = "tar.gz",
+ sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed",
+ strip_prefix = "version_check-0.9.2",
+ build_file = Label("//remote/complicated_cargo_library/cargo/remote:BUILD.version_check-0.9.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_complicated_cargo_library__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("//remote/complicated_cargo_library/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/libloading_global_static.BUILD b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/libloading_global_static.BUILD
new file mode 100644
index 0000000000..fb256f44af
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/libloading_global_static.BUILD
@@ -0,0 +1,8 @@
+# buildifier: disable=load-on-top
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
+cc_library(
+ name = "global_static",
+ srcs = ["src/os/unix/global_static.c"],
+ copts = ["-fPIC"],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.ahash-0.3.8.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.ahash-0.3.8.bazel
new file mode 100644
index 0000000000..60b508c23b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.ahash-0.3.8.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "ahash" with type "bench" omitted
+
+# Unsupported target "map" with type "bench" omitted
+
+rust_library(
+ name = "ahash",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "bench" with type "test" omitted
+
+# Unsupported target "map_tests" with type "test" omitted
+
+# Unsupported target "nopanic" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.aho-corasick-0.7.15.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.aho-corasick-0.7.15.bazel
new file mode 100644
index 0000000000..999d64696c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.aho-corasick-0.7.15.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.15",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__memchr__2_3_4//:memchr",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.arrayvec-0.5.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.arrayvec-0.5.2.bazel
new file mode 100644
index 0000000000..dbe98981a3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.arrayvec-0.5.2.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "arraystring" with type "bench" omitted
+
+# Unsupported target "extend" with type "bench" omitted
+
+rust_library(
+ name = "arrayvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "serde" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.atom-0.3.6.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.atom-0.3.6.bazel
new file mode 100644
index 0000000000..46ddeb670f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.atom-0.3.6.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "fifo" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+rust_library(
+ name = "atom",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "atom" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.autocfg-1.0.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.autocfg-1.0.1.bazel
new file mode 100644
index 0000000000..e9f8bf0089
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.autocfg-1.0.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-0.1.10.bazel
new file mode 100644
index 0000000000..0ebe4184bd
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-0.1.10.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..2e8a4c291d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.const_fn-0.4.5.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.const_fn-0.4.5.bazel
new file mode 100644
index 0000000000..00c4fcae57
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.const_fn-0.4.5.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+# 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 = "const_fn_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "const_fn",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ":const_fn_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.core-foundation-sys-0.8.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.core-foundation-sys-0.8.2.bazel
new file mode 100644
index 0000000000..9c06ed16bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.core-foundation-sys-0.8.2.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "core_foundation_sys_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.8.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "core_foundation_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ ":core_foundation_sys_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-channel-0.5.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-channel-0.5.0.bazel
new file mode 100644
index 0000000000..335f876bad
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-channel-0.5.0.bazel
@@ -0,0 +1,94 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "crossbeam" with type "bench" omitted
+
+# Unsupported target "fibonacci" with type "example" omitted
+
+# Unsupported target "matching" with type "example" omitted
+
+# Unsupported target "stopwatch" with type "example" omitted
+
+rust_library(
+ name = "crossbeam_channel",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "crossbeam-utils",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__cfg_if__1_0_0//:cfg_if",
+ "@remote_complicated_cargo_library__crossbeam_utils__0_8_1//:crossbeam_utils",
+ ],
+)
+
+# Unsupported target "after" with type "test" omitted
+
+# Unsupported target "array" with type "test" omitted
+
+# Unsupported target "golang" with type "test" omitted
+
+# Unsupported target "iter" with type "test" omitted
+
+# Unsupported target "list" with type "test" omitted
+
+# Unsupported target "mpsc" with type "test" omitted
+
+# Unsupported target "never" with type "test" omitted
+
+# Unsupported target "ready" with type "test" omitted
+
+# Unsupported target "same_channel" with type "test" omitted
+
+# Unsupported target "select" with type "test" omitted
+
+# Unsupported target "select_macro" with type "test" omitted
+
+# Unsupported target "thread_locals" with type "test" omitted
+
+# Unsupported target "tick" with type "test" omitted
+
+# Unsupported target "zero" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-deque-0.8.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-deque-0.8.0.bazel
new file mode 100644
index 0000000000..f2c0985267
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-deque-0.8.0.bazel
@@ -0,0 +1,68 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "crossbeam_deque",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__cfg_if__1_0_0//:cfg_if",
+ "@remote_complicated_cargo_library__crossbeam_epoch__0_9_1//:crossbeam_epoch",
+ "@remote_complicated_cargo_library__crossbeam_utils__0_8_1//:crossbeam_utils",
+ ],
+)
+
+# Unsupported target "fifo" with type "test" omitted
+
+# Unsupported target "injector" with type "test" omitted
+
+# Unsupported target "lifo" with type "test" omitted
+
+# Unsupported target "steal" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-epoch-0.9.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-epoch-0.9.1.bazel
new file mode 100644
index 0000000000..7cf2f3fc5b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-epoch-0.9.1.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "defer" with type "bench" omitted
+
+# Unsupported target "flush" with type "bench" omitted
+
+# Unsupported target "pin" with type "bench" omitted
+
+# Unsupported target "sanitize" with type "example" omitted
+
+# Unsupported target "treiber_stack" with type "example" omitted
+
+rust_library(
+ name = "crossbeam_epoch",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ proc_macro_deps = [
+ "@remote_complicated_cargo_library__const_fn__0_4_5//:const_fn",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.9.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__cfg_if__1_0_0//:cfg_if",
+ "@remote_complicated_cargo_library__crossbeam_utils__0_8_1//:crossbeam_utils",
+ "@remote_complicated_cargo_library__lazy_static__1_4_0//:lazy_static",
+ "@remote_complicated_cargo_library__memoffset__0_6_1//:memoffset",
+ "@remote_complicated_cargo_library__scopeguard__1_1_0//:scopeguard",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel
new file mode 100644
index 0000000000..12f86e9c70
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR (Apache-2.0 AND BSD-2-Clause)"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "crossbeam_queue",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__cfg_if__0_1_10//:cfg_if",
+ "@remote_complicated_cargo_library__crossbeam_utils__0_7_2//:crossbeam_utils",
+ "@remote_complicated_cargo_library__maybe_uninit__2_0_0//:maybe_uninit",
+ ],
+)
+
+# Unsupported target "array_queue" with type "test" omitted
+
+# Unsupported target "seg_queue" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel
new file mode 100644
index 0000000000..e9322cc924
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel
@@ -0,0 +1,104 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "crossbeam_utils_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "bench" omitted
+
+rust_library(
+ name = "crossbeam_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ # buildifier: leave-alone
+ deps = [
+ ":crossbeam_utils_build_script",
+ "@remote_complicated_cargo_library__cfg_if__0_1_10//:cfg_if",
+ "@remote_complicated_cargo_library__lazy_static__1_4_0//:lazy_static",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "test" omitted
+
+# Unsupported target "cache_padded" with type "test" omitted
+
+# Unsupported target "parker" with type "test" omitted
+
+# Unsupported target "sharded_lock" with type "test" omitted
+
+# Unsupported target "thread" with type "test" omitted
+
+# Unsupported target "wait_group" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel
new file mode 100644
index 0000000000..9ea33dd3a3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel
@@ -0,0 +1,106 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "crossbeam_utils_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "bench" omitted
+
+rust_library(
+ name = "crossbeam_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.1",
+ # buildifier: leave-alone
+ deps = [
+ ":crossbeam_utils_build_script",
+ "@remote_complicated_cargo_library__cfg_if__1_0_0//:cfg_if",
+ "@remote_complicated_cargo_library__lazy_static__1_4_0//:lazy_static",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "test" omitted
+
+# Unsupported target "cache_padded" with type "test" omitted
+
+# Unsupported target "parker" with type "test" omitted
+
+# Unsupported target "sharded_lock" with type "test" omitted
+
+# Unsupported target "thread" with type "test" omitted
+
+# Unsupported target "wait_group" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.either-1.6.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.either-1.6.1.bazel
new file mode 100644
index 0000000000..fbe309b54b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.either-1.6.1.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "either",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.6.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hashbrown-0.7.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hashbrown-0.7.2.bazel
new file mode 100644
index 0000000000..09cc2d132a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hashbrown-0.7.2.bazel
@@ -0,0 +1,101 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+# 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 = "hashbrown_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "ahash",
+ "default",
+ "inline-more",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "hashbrown",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "ahash",
+ "default",
+ "inline-more",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ # buildifier: leave-alone
+ deps = [
+ ":hashbrown_build_script",
+ "@remote_complicated_cargo_library__ahash__0_3_8//:ahash",
+ ],
+)
+
+# Unsupported target "hasher" with type "test" omitted
+
+# Unsupported target "rayon" with type "test" omitted
+
+# Unsupported target "serde" with type "test" omitted
+
+# Unsupported target "set" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hermit-abi-0.1.18.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hermit-abi-0.1.18.bazel
new file mode 100644
index 0000000000..90ae965800
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hermit-abi-0.1.18.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.18",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__libc__0_2_85//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hibitset-0.6.3.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hibitset-0.6.3.bazel
new file mode 100644
index 0000000000..cbfe2d4339
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.hibitset-0.6.3.bazel
@@ -0,0 +1,61 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "benches" with type "bench" omitted
+
+# Unsupported target "iter" with type "bench" omitted
+
+rust_library(
+ name = "hibitset",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "parallel",
+ "rayon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__atom__0_3_6//:atom",
+ "@remote_complicated_cargo_library__rayon__1_5_0//:rayon",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000000..f077af5864
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.lazy_static-1.4.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libc-0.2.85.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libc-0.2.85.bazel
new file mode 100644
index 0000000000..c207bb3639
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libc-0.2.85.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "libc_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.85",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.85",
+ # buildifier: leave-alone
+ deps = [
+ ":libc_build_script",
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libloading-0.7.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libloading-0.7.0.bazel
new file mode 100644
index 0000000000..7c2d5ac4bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.libloading-0.7.0.bazel
@@ -0,0 +1,97 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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",
+ crate_type = "lib",
+ 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: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-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",
+ ): [
+ "@remote_complicated_cargo_library__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",
+ ): [
+ "@remote_complicated_cargo_library__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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.log-0.4.14.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.log-0.4.14.bazel
new file mode 100644
index 0000000000..c8bd659d14
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.log-0.4.14.bazel
@@ -0,0 +1,90 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "log_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.4.14",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+# Unsupported target "value" with type "bench" omitted
+
+rust_library(
+ name = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.14",
+ # buildifier: leave-alone
+ deps = [
+ ":log_build_script",
+ "@remote_complicated_cargo_library__cfg_if__1_0_0//:cfg_if",
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel
new file mode 100644
index 0000000000..d03c40f162
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+# 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 = "maybe_uninit_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 = "2.0.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "maybe_uninit",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.0.0",
+ # buildifier: leave-alone
+ deps = [
+ ":maybe_uninit_build_script",
+ ],
+)
+
+# Unsupported target "doesnt_drop" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memchr-2.3.4.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memchr-2.3.4.bazel
new file mode 100644
index 0000000000..cb2df2340a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memchr-2.3.4.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# 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 = "memchr_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ "std",
+ "use_std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.3.4",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "memchr",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.3.4",
+ # buildifier: leave-alone
+ deps = [
+ ":memchr_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memoffset-0.6.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memoffset-0.6.1.bazel
new file mode 100644
index 0000000000..c25fffad46
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.memoffset-0.6.1.bazel
@@ -0,0 +1,86 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# 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 = "memoffset_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "memoffset",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.1",
+ # buildifier: leave-alone
+ deps = [
+ ":memoffset_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.mopa-0.2.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.mopa-0.2.2.bazel
new file mode 100644
index 0000000000..ebc65b30db
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.mopa-0.2.2.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "no_std" with type "example" omitted
+
+# Unsupported target "no_std_or_alloc" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+rust_library(
+ name = "mopa",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.nom-5.1.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.nom-5.1.2.bazel
new file mode 100644
index 0000000000..8046e63b77
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.nom-5.1.2.bazel
@@ -0,0 +1,143 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# 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 = "nom_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "alloc",
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "5.1.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__version_check__0_9_2//:version_check",
+ ],
+)
+
+# 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 "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",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "5.1.2",
+ # buildifier: leave-alone
+ deps = [
+ ":nom_build_script",
+ "@remote_complicated_cargo_library__memchr__2_3_4//: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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.num_cpus-1.13.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.num_cpus-1.13.0.bazel
new file mode 100644
index 0000000000..087d16a1bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.num_cpus-1.13.0.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "values" with type "example" omitted
+
+rust_library(
+ name = "num_cpus",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__libc__0_2_85//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.once_cell-1.5.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.once_cell-1.5.2.bazel
new file mode 100644
index 0000000000..2e592439ad
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.once_cell-1.5.2.bazel
@@ -0,0 +1,72 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "example" omitted
+
+# Unsupported target "bench_acquire" with type "example" omitted
+
+# Unsupported target "bench_vs_lazy_static" with type "example" omitted
+
+# Unsupported target "lazy_static" with type "example" omitted
+
+# Unsupported target "reentrant_init_deadlocks" with type "example" omitted
+
+# Unsupported target "regex" with type "example" omitted
+
+# Unsupported target "test_synchronization" with type "example" omitted
+
+rust_library(
+ name = "once_cell",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.5.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "it" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-1.5.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-1.5.0.bazel
new file mode 100644
index 0000000000..27b717855c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-1.5.0.bazel
@@ -0,0 +1,117 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+# 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 = "rayon_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.5.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_complicated_cargo_library__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+# Unsupported target "cpu_monitor" with type "example" omitted
+
+rust_library(
+ name = "rayon",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.5.0",
+ # buildifier: leave-alone
+ deps = [
+ ":rayon_build_script",
+ "@remote_complicated_cargo_library__crossbeam_deque__0_8_0//:crossbeam_deque",
+ "@remote_complicated_cargo_library__either__1_6_1//:either",
+ "@remote_complicated_cargo_library__rayon_core__1_9_0//:rayon_core",
+ ],
+)
+
+# Unsupported target "chars" with type "test" omitted
+
+# Unsupported target "clones" with type "test" omitted
+
+# Unsupported target "collect" with type "test" omitted
+
+# Unsupported target "cross-pool" with type "test" omitted
+
+# Unsupported target "debug" with type "test" omitted
+
+# Unsupported target "intersperse" with type "test" omitted
+
+# Unsupported target "issue671" with type "test" omitted
+
+# Unsupported target "issue671-unzip" with type "test" omitted
+
+# Unsupported target "iter_panic" with type "test" omitted
+
+# Unsupported target "named-threads" with type "test" omitted
+
+# Unsupported target "octillion" with type "test" omitted
+
+# Unsupported target "producer_split_at" with type "test" omitted
+
+# Unsupported target "sort-panic-safe" with type "test" omitted
+
+# Unsupported target "str" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-core-1.9.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-core-1.9.0.bazel
new file mode 100644
index 0000000000..980f8dd857
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.rayon-core-1.9.0.bazel
@@ -0,0 +1,146 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+# 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 = "rayon_core_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.9.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+rust_library(
+ name = "rayon_core",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.9.0",
+ # buildifier: leave-alone
+ deps = [
+ ":rayon_core_build_script",
+ "@remote_complicated_cargo_library__crossbeam_channel__0_5_0//:crossbeam_channel",
+ "@remote_complicated_cargo_library__crossbeam_deque__0_8_0//:crossbeam_deque",
+ "@remote_complicated_cargo_library__crossbeam_utils__0_8_1//:crossbeam_utils",
+ "@remote_complicated_cargo_library__lazy_static__1_4_0//:lazy_static",
+ "@remote_complicated_cargo_library__num_cpus__1_13_0//:num_cpus",
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "double_init_fail" with type "test" omitted
+
+# Unsupported target "init_zero_threads" with type "test" omitted
+
+# Unsupported target "scope_join" with type "test" omitted
+
+# Unsupported target "scoped_threadpool" with type "test" omitted
+
+# Unsupported target "simple_panic" with type "test" omitted
+
+# Unsupported target "stack_overflow_crash" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-1.4.3.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-1.4.3.bazel
new file mode 100644
index 0000000000..8bd7fca6fb
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-1.4.3.bazel
@@ -0,0 +1,110 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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",
+ "default",
+ "memchr",
+ "perf",
+ "perf-cache",
+ "perf-dfa",
+ "perf-inline",
+ "perf-literal",
+ "std",
+ "thread_local",
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_env = {
+ "NOT_USED_KEY": "not_used_value",
+ },
+ rustc_flags = [
+ "--cap-lints=allow",
+ "--cfg=not_used",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.4.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__aho_corasick__0_7_15//:aho_corasick",
+ "@remote_complicated_cargo_library__memchr__2_3_4//:memchr",
+ "@remote_complicated_cargo_library__regex_syntax__0_6_22//:regex_syntax",
+ "@remote_complicated_cargo_library__specs__0_16_1//:specs",
+ "@remote_complicated_cargo_library__thread_local__1_1_3//:thread_local",
+ ],
+)
+
+# 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/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-syntax-0.6.22.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-syntax-0.6.22.bazel
new file mode 100644
index 0000000000..90956909f3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.regex-syntax-0.6.22.bazel
@@ -0,0 +1,64 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 = [
+ "default",
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.22",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.scopeguard-1.1.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.scopeguard-1.1.0.bazel
new file mode 100644
index 0000000000..fa96df9a46
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.scopeguard-1.1.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "readme" with type "example" omitted
+
+rust_library(
+ name = "scopeguard",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.1.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.security-framework-sys-2.0.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.security-framework-sys-2.0.0.bazel
new file mode 100644
index 0000000000..7034b3dda8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.security-framework-sys-2.0.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "security_framework_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "OSX_10_9",
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.0.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__core_foundation_sys__0_8_2//:core_foundation_sys",
+ "@remote_complicated_cargo_library__libc__0_2_85//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shred-0.10.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shred-0.10.2.bazel
new file mode 100644
index 0000000000..79c0df623f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shred-0.10.2.bazel
@@ -0,0 +1,97 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+
+# Unsupported target "async" with type "example" omitted
+
+# Unsupported target "basic_dispatch" with type "example" omitted
+
+# Unsupported target "batch_dispatching" with type "example" omitted
+
+# Unsupported target "custom_bundle" with type "example" omitted
+
+# Unsupported target "derive_bundle" with type "example" omitted
+
+# Unsupported target "dyn_sys_data" with type "example" omitted
+
+# Unsupported target "dynamic_resource_id" with type "example" omitted
+
+# Unsupported target "fetch_opt" with type "example" omitted
+
+# Unsupported target "generic_derive" with type "example" omitted
+
+# Unsupported target "par_seq" with type "example" omitted
+
+# Unsupported target "seq_dispatch" with type "example" omitted
+
+# Unsupported target "thread_local" with type "example" omitted
+
+rust_library(
+ name = "shred",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "parallel",
+ "rayon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.2",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__arrayvec__0_5_2//:arrayvec",
+ "@remote_complicated_cargo_library__hashbrown__0_7_2//:hashbrown",
+ "@remote_complicated_cargo_library__mopa__0_2_2//:mopa",
+ "@remote_complicated_cargo_library__rayon__1_5_0//:rayon",
+ "@remote_complicated_cargo_library__smallvec__1_6_1//:smallvec",
+ "@remote_complicated_cargo_library__tynm__0_1_6//:tynm",
+ ],
+)
+
+# Unsupported target "dispatch" with type "test" omitted
+
+# Unsupported target "dispose" with type "test" omitted
+
+# Unsupported target "fetch_panic" with type "test" omitted
+
+# Unsupported target "meta_table_safety_113" with type "test" omitted
+
+# Unsupported target "no_parallel" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shrev-1.1.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shrev-1.1.1.bazel
new file mode 100644
index 0000000000..40a822083a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.shrev-1.1.1.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "basic" with type "example" omitted
+
+rust_library(
+ name = "shrev",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.1.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "bounds" with type "test" omitted
+
+# Unsupported target "would_write" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.smallvec-1.6.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.smallvec-1.6.1.bazel
new file mode 100644
index 0000000000..ea16ac9ad8
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.smallvec-1.6.1.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.6.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "macro" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.specs-0.16.1.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.specs-0.16.1.bazel
new file mode 100644
index 0000000000..e01be5ece3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.specs-0.16.1.bazel
@@ -0,0 +1,96 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 "benches_main" with type "bench" omitted
+
+# Unsupported target "big_or_small" with type "bench" omitted
+
+# Unsupported target "parallel" with type "bench" omitted
+
+# Unsupported target "world" with type "bench" omitted
+
+# Unsupported target "async" with type "example" omitted
+
+# Unsupported target "basic" with type "example" omitted
+
+# Unsupported target "bitset" with type "example" omitted
+
+# Unsupported target "cluster_bomb" with type "example" omitted
+
+# Unsupported target "full" with type "example" omitted
+
+# Unsupported target "ordered_track" with type "example" omitted
+
+# Unsupported target "saveload" with type "example" omitted
+
+# Unsupported target "slices" with type "example" omitted
+
+# Unsupported target "track" with type "example" omitted
+
+rust_library(
+ name = "specs",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "parallel",
+ "rayon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.16.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__crossbeam_queue__0_2_3//:crossbeam_queue",
+ "@remote_complicated_cargo_library__hashbrown__0_7_2//:hashbrown",
+ "@remote_complicated_cargo_library__hibitset__0_6_3//:hibitset",
+ "@remote_complicated_cargo_library__log__0_4_14//:log",
+ "@remote_complicated_cargo_library__rayon__1_5_0//:rayon",
+ "@remote_complicated_cargo_library__shred__0_10_2//:shred",
+ "@remote_complicated_cargo_library__shrev__1_1_1//:shrev",
+ "@remote_complicated_cargo_library__tuple_utils__0_3_0//:tuple_utils",
+ ],
+)
+
+# Unsupported target "no_parallel" with type "test" omitted
+
+# Unsupported target "saveload" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.thread_local-1.1.3.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.thread_local-1.1.3.bazel
new file mode 100644
index 0000000000..ae46c9240f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.thread_local-1.1.3.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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
+
+# Unsupported target "thread_local" with type "bench" omitted
+
+rust_library(
+ name = "thread_local",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.1.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__once_cell__1_5_2//:once_cell",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tuple_utils-0.3.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tuple_utils-0.3.0.bazel
new file mode 100644
index 0000000000..de789968cc
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tuple_utils-0.3.0.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", 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 = "tuple_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tynm-0.1.6.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tynm-0.1.6.bazel
new file mode 100644
index 0000000000..2cc2547857
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.tynm-0.1.6.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "tynm",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.6",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_complicated_cargo_library__nom__5_1_2//:nom",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.version_check-0.9.2.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.version_check-0.9.2.bazel
new file mode 100644
index 0000000000..711d3be9ab
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.version_check-0.9.2.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "version_check",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.9.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..3a4b1d9f73
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,87 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "errhandlingapi",
+ "libloaderapi",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "errhandlingapi",
+ "libloaderapi",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..8d7af079cf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_i686_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_i686_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..db5dc478ed
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_x86_64_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_x86_64_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/complicated_cargo_library/src/main.rs b/cargo/cargo_raze/examples/remote/complicated_cargo_library/src/main.rs
new file mode 100644
index 0000000000..07131ff2e1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/complicated_cargo_library/src/main.rs
@@ -0,0 +1,15 @@
+extern crate libloading;
+extern crate regex;
+extern crate specs;
+
+#[allow(unused_imports)]
+use regex::Match;
+
+fn main() {
+ println!("hello world");
+
+ // Make sure libloading is not optimized out
+ unsafe {
+ let _lib = libloading::Library::new("/path/to/liblibrary.so");
+ }
+}
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/BUILD.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/BUILD.bazel
new file mode 100644
index 0000000000..f1432b7bcc
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/BUILD.bazel
@@ -0,0 +1,18 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_test")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "dev_dependencies_bin",
+ srcs = ["src/main.rs"],
+ edition = "2018",
+ deps = ["@cargo_raze_examples//remote/dev_dependencies/cargo:ferris_says"],
+)
+
+rust_test(
+ name = "dev_dependencies_test",
+ srcs = ["src/main.rs"],
+ edition = "2018",
+ proc_macro_deps = ["@cargo_raze_examples//remote/dev_dependencies/cargo:indoc"],
+ deps = ["@cargo_raze_examples//remote/dev_dependencies/cargo:ferris_says"],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.lock b/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.lock
new file mode 100644
index 0000000000..768f339675
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.lock
@@ -0,0 +1,226 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "addr2line"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[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"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "backtrace"
+version = "0.3.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc"
+dependencies = [
+ "addr2line",
+ "cfg-if",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "clap"
+version = "2.33.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags",
+ "strsim",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "dev_dependencies"
+version = "0.1.0"
+dependencies = [
+ "ferris-says",
+ "indoc",
+]
+
+[[package]]
+name = "error-chain"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
+name = "ferris-says"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687"
+dependencies = [
+ "clap",
+ "error-chain",
+ "smallvec",
+ "textwrap",
+ "unicode-width",
+]
+
+[[package]]
+name = "gimli"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "indoc"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
+dependencies = [
+ "unindent",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.85"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
+[[package]]
+name = "object"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4"
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
+[[package]]
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+dependencies = [
+ "unicode-width",
+]
+
+[[package]]
+name = "unicode-width"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
+
+[[package]]
+name = "unindent"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
+
+[[package]]
+name = "vec_map"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.toml b/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.toml
new file mode 100644
index 0000000000..250bdb2854
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/Cargo.toml
@@ -0,0 +1,21 @@
+[package]
+name = "dev_dependencies"
+version = "0.1.0"
+authors = ["UebelAndre "]
+
+[[bin]]
+name = "dev_dependencies"
+path = "src/main.rs"
+
+[dependencies]
+ferris-says = "0.2.0"
+
+[dev-dependencies]
+indoc = "1.0.3"
+
+[package.metadata.raze]
+workspace_path = "//remote/dev_dependencies/cargo"
+gen_workspace_prefix = "remote_dev_dependencies"
+genmode = "Remote"
+default_gen_buildrs = true
+package_aliases_dir = "cargo"
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/README.md b/cargo/cargo_raze/examples/remote/dev_dependencies/README.md
new file mode 100644
index 0000000000..a6437f842e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/README.md
@@ -0,0 +1,3 @@
+# binary_dependency
+
+This demonstrates a binary dependency being made available as a `rust_binary`
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/BUILD.bazel
new file mode 100644
index 0000000000..96998b30cd
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/BUILD.bazel
@@ -0,0 +1,39 @@
+"""
+@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 = "ferris_says",
+ actual = "@remote_dev_dependencies__ferris_says__0_2_0//:ferris_says",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "indoc",
+ actual = "@remote_dev_dependencies__indoc__1_0_3//:indoc",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/crates.bzl
new file mode 100644
index 0000000000..4a9adbe991
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/crates.bzl
@@ -0,0 +1,282 @@
+"""
+@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 remote_dev_dependencies_fetch_remote_crates():
+ """This function defines a collection of repos and should be called in a WORKSPACE file"""
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__addr2line__0_14_1",
+ url = "https://crates.io/api/v1/crates/addr2line/0.14.1/download",
+ type = "tar.gz",
+ sha256 = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7",
+ strip_prefix = "addr2line-0.14.1",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.addr2line-0.14.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__adler__0_2_3",
+ url = "https://crates.io/api/v1/crates/adler/0.2.3/download",
+ type = "tar.gz",
+ sha256 = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e",
+ strip_prefix = "adler-0.2.3",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.adler-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.ansi_term-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.atty-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__autocfg__1_0_1",
+ url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
+ type = "tar.gz",
+ sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
+ strip_prefix = "autocfg-1.0.1",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__backtrace__0_3_56",
+ url = "https://crates.io/api/v1/crates/backtrace/0.3.56/download",
+ type = "tar.gz",
+ sha256 = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc",
+ strip_prefix = "backtrace-0.3.56",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.backtrace-0.3.56.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.clap-2.33.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__error_chain__0_10_0",
+ url = "https://crates.io/api/v1/crates/error-chain/0.10.0/download",
+ type = "tar.gz",
+ sha256 = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8",
+ strip_prefix = "error-chain-0.10.0",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.error-chain-0.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__ferris_says__0_2_0",
+ url = "https://crates.io/api/v1/crates/ferris-says/0.2.0/download",
+ type = "tar.gz",
+ sha256 = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687",
+ strip_prefix = "ferris-says-0.2.0",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.ferris-says-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__gimli__0_23_0",
+ url = "https://crates.io/api/v1/crates/gimli/0.23.0/download",
+ type = "tar.gz",
+ sha256 = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce",
+ strip_prefix = "gimli-0.23.0",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.gimli-0.23.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.hermit-abi-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__indoc__1_0_3",
+ url = "https://crates.io/api/v1/crates/indoc/1.0.3/download",
+ type = "tar.gz",
+ sha256 = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136",
+ strip_prefix = "indoc-1.0.3",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.indoc-1.0.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__libc__0_2_85",
+ url = "https://crates.io/api/v1/crates/libc/0.2.85/download",
+ type = "tar.gz",
+ sha256 = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3",
+ strip_prefix = "libc-0.2.85",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.libc-0.2.85.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__miniz_oxide__0_4_3",
+ url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.3/download",
+ type = "tar.gz",
+ sha256 = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d",
+ strip_prefix = "miniz_oxide-0.4.3",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.miniz_oxide-0.4.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__object__0_23_0",
+ url = "https://crates.io/api/v1/crates/object/0.23.0/download",
+ type = "tar.gz",
+ sha256 = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4",
+ strip_prefix = "object-0.23.0",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.object-0.23.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__rustc_demangle__0_1_18",
+ url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.18/download",
+ type = "tar.gz",
+ sha256 = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232",
+ strip_prefix = "rustc-demangle-0.1.18",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.rustc-demangle-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__smallvec__0_4_5",
+ url = "https://crates.io/api/v1/crates/smallvec/0.4.5/download",
+ type = "tar.gz",
+ sha256 = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10",
+ strip_prefix = "smallvec-0.4.5",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.smallvec-0.4.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.strsim-0.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.textwrap-0.11.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.unicode-width-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__unindent__0_1_7",
+ url = "https://crates.io/api/v1/crates/unindent/0.1.7/download",
+ type = "tar.gz",
+ sha256 = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7",
+ strip_prefix = "unindent-0.1.7",
+ build_file = Label("//remote/dev_dependencies/cargo/remote:BUILD.unindent-0.1.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.vec_map-0.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_dev_dependencies__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("//remote/dev_dependencies/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.addr2line-0.14.1.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.addr2line-0.14.1.bazel
new file mode 100644
index 0000000000..b4d51ec383
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.addr2line-0.14.1.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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
+
+# Unsupported target "addr2line" with type "example" omitted
+
+rust_library(
+ name = "addr2line",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.14.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__gimli__0_23_0//:gimli",
+ ],
+)
+
+# Unsupported target "correctness" with type "test" omitted
+
+# Unsupported target "output_equivalence" with type "test" omitted
+
+# Unsupported target "parse" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel
new file mode 100644
index 0000000000..16d50e3f36
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.adler-0.2.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "0BSD OR (MIT OR Apache-2.0)"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "adler",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel
new file mode 100644
index 0000000000..297a8f343d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ansi_term-0.11.0.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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",
+ ): [
+ "@remote_dev_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel
new file mode 100644
index 0000000000..bd531c7c49
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.atty-0.2.14.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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: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-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",
+ ): [
+ "@remote_dev_dependencies__libc__0_2_85//: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",
+ ): [
+ "@remote_dev_dependencies__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel
new file mode 100644
index 0000000000..2d2c8f0d42
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.autocfg-1.0.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.backtrace-0.3.56.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.backtrace-0.3.56.bazel
new file mode 100644
index 0000000000..ddebeaa887
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.backtrace-0.3.56.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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 "benchmarks" with type "bench" omitted
+
+# Unsupported target "backtrace" with type "example" omitted
+
+# Unsupported target "raw" with type "example" omitted
+
+rust_library(
+ name = "backtrace",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "addr2line",
+ "default",
+ "gimli-symbolize",
+ "miniz_oxide",
+ "object",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.56",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__addr2line__0_14_1//:addr2line",
+ "@remote_dev_dependencies__cfg_if__1_0_0//:cfg_if",
+ "@remote_dev_dependencies__libc__0_2_85//:libc",
+ "@remote_dev_dependencies__miniz_oxide__0_4_3//:miniz_oxide",
+ "@remote_dev_dependencies__object__0_23_0//:object",
+ "@remote_dev_dependencies__rustc_demangle__0_1_18//:rustc_demangle",
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "accuracy" with type "test" omitted
+
+# Unsupported target "concurrent-panics" with type "test" omitted
+
+# Unsupported target "long_fn_name" with type "test" omitted
+
+# Unsupported target "skip_inner_frames" with type "test" omitted
+
+# Unsupported target "smoke" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel
new file mode 100644
index 0000000000..2aaf1acbbc
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.bitflags-1.2.1.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "bitflags_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ":bitflags_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..1c7d676d54
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel
new file mode 100644
index 0000000000..d8403cec77
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.clap-2.33.3.bazel
@@ -0,0 +1,93 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.33.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__atty__0_2_14//:atty",
+ "@remote_dev_dependencies__bitflags__1_2_1//:bitflags",
+ "@remote_dev_dependencies__strsim__0_8_0//:strsim",
+ "@remote_dev_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_dev_dependencies__unicode_width__0_1_8//:unicode_width",
+ "@remote_dev_dependencies__vec_map__0_8_2//:vec_map",
+ ] + selects.with_or({
+ # cfg(not(windows))
+ (
+ "@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-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:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_dev_dependencies__ansi_term__0_11_0//:ansi_term",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel
new file mode 100644
index 0000000000..df48f1f8eb
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.error-chain-0.10.0.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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 "all" with type "example" omitted
+
+# Unsupported target "doc" with type "example" omitted
+
+# Unsupported target "quickstart" with type "example" omitted
+
+# Unsupported target "size" with type "example" omitted
+
+rust_library(
+ name = "error_chain",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "backtrace",
+ "default",
+ "example_generated",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__backtrace__0_3_56//:backtrace",
+ ],
+)
+
+# Unsupported target "quick_main" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel
new file mode 100644
index 0000000000..706539b4f1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.ferris-says-0.2.0.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_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_fsays",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ ":ferris_says",
+ "@remote_dev_dependencies__clap__2_33_3//:clap",
+ "@remote_dev_dependencies__error_chain__0_10_0//:error_chain",
+ "@remote_dev_dependencies__smallvec__0_4_5//:smallvec",
+ "@remote_dev_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_dev_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+rust_library(
+ name = "ferris_says",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__clap__2_33_3//:clap",
+ "@remote_dev_dependencies__error_chain__0_10_0//:error_chain",
+ "@remote_dev_dependencies__smallvec__0_4_5//:smallvec",
+ "@remote_dev_dependencies__textwrap__0_11_0//:textwrap",
+ "@remote_dev_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "integration_test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel
new file mode 100644
index 0000000000..209991c009
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.gimli-0.23.0.bazel
@@ -0,0 +1,68 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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
+
+# Unsupported target "bench" with type "bench" omitted
+
+# Unsupported target "dwarf-validate" with type "example" omitted
+
+# Unsupported target "dwarfdump" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+# Unsupported target "simple_line" with type "example" omitted
+
+rust_library(
+ name = "gimli",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "read",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.23.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "convert_self" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.hermit-abi-0.1.18.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.hermit-abi-0.1.18.bazel
new file mode 100644
index 0000000000..f5dcdc8c43
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.hermit-abi-0.1.18.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.18",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__libc__0_2_85//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.indoc-1.0.3.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.indoc-1.0.3.bazel
new file mode 100644
index 0000000000..0a839869ec
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.indoc-1.0.3.bazel
@@ -0,0 +1,64 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "indoc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__unindent__0_1_7//:unindent",
+ ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "test_formatdoc" with type "test" omitted
+
+# Unsupported target "test_indoc" with type "test" omitted
+
+# Unsupported target "test_unindent" with type "test" omitted
+
+# Unsupported target "test_writedoc" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.libc-0.2.85.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.libc-0.2.85.bazel
new file mode 100644
index 0000000000..3d1cc34ab6
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.libc-0.2.85.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "libc_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.2.85",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.85",
+ # buildifier: leave-alone
+ deps = [
+ ":libc_build_script",
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
new file mode 100644
index 0000000000..ee69c47c6b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR (Zlib OR 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 = "miniz_oxide_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@remote_dev_dependencies__autocfg__1_0_1//:autocfg",
+ ],
+)
+
+rust_library(
+ name = "miniz_oxide",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ # buildifier: leave-alone
+ deps = [
+ ":miniz_oxide_build_script",
+ "@remote_dev_dependencies__adler__0_2_3//:adler",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.object-0.23.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.object-0.23.0.bazel
new file mode 100644
index 0000000000..eca6ed2fbf
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.object-0.23.0.bazel
@@ -0,0 +1,76 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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
+
+# Unsupported target "ar" with type "example" omitted
+
+# Unsupported target "nm" with type "example" omitted
+
+# Unsupported target "objcopy" with type "example" omitted
+
+# Unsupported target "objdump" with type "example" omitted
+
+# Unsupported target "objectmap" with type "example" omitted
+
+# Unsupported target "readobj" with type "example" omitted
+
+rust_library(
+ name = "object",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "archive",
+ "coff",
+ "elf",
+ "macho",
+ "pe",
+ "read_core",
+ "unaligned",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.23.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "integration" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel
new file mode 100644
index 0000000000..46d2a5c744
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rustc_demangle",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.18",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel
new file mode 100644
index 0000000000..1d9f13f941
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.smallvec-0.4.5.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "reciprocal", # MPL-2.0 from expression "MPL-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel
new file mode 100644
index 0000000000..da6095ab5b
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.strsim-0.8.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel
new file mode 100644
index 0000000000..6a716f3111
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.textwrap-0.11.0.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_dev_dependencies__unicode_width__0_1_8//:unicode_width",
+ ],
+)
+
+# Unsupported target "version-numbers" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel
new file mode 100644
index 0000000000..eb82686cc7
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unicode-width-0.1.8.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_width",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unindent-0.1.7.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unindent-0.1.7.bazel
new file mode 100644
index 0000000000..de3bebb5fc
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.unindent-0.1.7.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unindent",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.7",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel
new file mode 100644
index 0000000000..14606fa799
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.vec_map-0.8.2.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "vec_map",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..18855b058f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,95 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..9193695ff0
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_i686_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_i686_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..b7fc0d9901
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/dev_dependencies/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_x86_64_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_x86_64_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/dev_dependencies/src/main.rs b/cargo/cargo_raze/examples/remote/dev_dependencies/src/main.rs
new file mode 100644
index 0000000000..2fc8b3b8a3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/dev_dependencies/src/main.rs
@@ -0,0 +1,41 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::io::{stdout, BufWriter};
+
+fn main() {
+ let out = b"Hello fellow Rustaceans!";
+ let width = 24;
+
+ let mut writer = BufWriter::new(stdout());
+ ferris_says::say(out, width, &mut writer).unwrap();
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ use indoc::indoc;
+
+ #[test]
+ fn test_dev_dependencies() {
+ let out = indoc! { b"
+ Hello fellow Rustaceans!
+ " };
+ let width = 24;
+
+ let mut writer = BufWriter::new(stdout());
+ ferris_says::say(out, width, &mut writer).unwrap();
+ }
+}
diff --git a/cargo/cargo_raze/examples/remote/no_deps/BUILD b/cargo/cargo_raze/examples/remote/no_deps/BUILD
new file mode 100644
index 0000000000..8ebd2acb4f
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/BUILD
@@ -0,0 +1,8 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "no_deps",
+ srcs = ["src/main.rs"],
+)
diff --git a/cargo/cargo_raze/examples/remote/no_deps/Cargo.lock b/cargo/cargo_raze/examples/remote/no_deps/Cargo.lock
new file mode 100644
index 0000000000..b8dadbcc40
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/Cargo.lock
@@ -0,0 +1,6 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "no_deps"
+version = "0.1.0"
+
diff --git a/cargo/cargo_raze/examples/remote/no_deps/Cargo.toml b/cargo/cargo_raze/examples/remote/no_deps/Cargo.toml
new file mode 100644
index 0000000000..278456cc4e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/Cargo.toml
@@ -0,0 +1,15 @@
+[package]
+name = "no_deps"
+version = "0.1.0"
+authors = ["UebelAndre "]
+
+[[bin]]
+name = "no_deps"
+path = "src/main.rs"
+
+[package.metadata.raze]
+workspace_path = "//remote/no_deps/cargo"
+genmode = "Remote"
+gen_workspace_prefix = "remote_no_deps"
+package_aliases_dir = "cargo"
+default_gen_buildrs = true
diff --git a/cargo/cargo_raze/examples/remote/no_deps/README.md b/cargo/cargo_raze/examples/remote/no_deps/README.md
new file mode 100644
index 0000000000..5d1afdaa84
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/README.md
@@ -0,0 +1,3 @@
+# no_deps
+
+This project demonstrates `cargo raze` working with a project that has not yet defined any dependencies.
diff --git a/cargo/cargo_raze/examples/remote/no_deps/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/no_deps/cargo/BUILD.bazel
new file mode 100644
index 0000000000..1613ea088d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/cargo/BUILD.bazel
@@ -0,0 +1,22 @@
+"""
+@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
+])
+
+# No targets defined
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/no_deps/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/no_deps/cargo/crates.bzl
new file mode 100644
index 0000000000..c7e4f52dc4
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/cargo/crates.bzl
@@ -0,0 +1,14 @@
+"""
+@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 remote_no_deps_fetch_remote_crates():
+ """No crates were detected in the source Cargo.toml. This is a no-op"""
+ pass
diff --git a/cargo/cargo_raze/examples/remote/no_deps/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/no_deps/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/no_deps/src/main.rs b/cargo/cargo_raze/examples/remote/no_deps/src/main.rs
new file mode 100644
index 0000000000..6b38db2970
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/no_deps/src/main.rs
@@ -0,0 +1,17 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+pub fn main() {
+ println!("This binary has no dependencies")
+}
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/BUILD b/cargo/cargo_raze/examples/remote/non_cratesio/BUILD
new file mode 100644
index 0000000000..768e99c9bd
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/BUILD
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "non_cratesio_remote",
+ srcs = ["src/main.rs"],
+ deps = [
+ "//remote/non_cratesio/cargo:env_logger",
+ "//remote/non_cratesio/cargo:log",
+ "//remote/non_cratesio/cargo:rand",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.lock b/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.lock
new file mode 100644
index 0000000000..f01e739b32
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.lock
@@ -0,0 +1,221 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "aho-corasick"
+version = "0.6.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+[[package]]
+name = "compile_with_bazel"
+version = "0.1.0"
+dependencies = [
+ "env_logger",
+ "log 0.4.0",
+ "rand",
+]
+
+[[package]]
+name = "env_logger"
+version = "0.5.5"
+source = "git+https://github.com/sebasmagri/env_logger.git?tag=v0.5.5#4d7926c515a8620e7fa0e91a07047023170c1064"
+dependencies = [
+ "atty",
+ "humantime",
+ "log 0.4.11",
+ "regex",
+ "termcolor",
+]
+
+[[package]]
+name = "fuchsia-zircon"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
+dependencies = [
+ "bitflags",
+ "fuchsia-zircon-sys",
+]
+
+[[package]]
+name = "fuchsia-zircon-sys"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "humantime"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
+dependencies = [
+ "quick-error",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235"
+
+[[package]]
+name = "log"
+version = "0.4.0"
+source = "git+https://github.com/rust-lang-nursery/log.git?rev=bf40d1f563c#bf40d1f563cf3eef63233d935ce56f2198b381d3"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "log"
+version = "0.4.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "memchr"
+version = "2.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
+
+[[package]]
+name = "quick-error"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
+
+[[package]]
+name = "rand"
+version = "0.4.1"
+source = "git+https://github.com/rust-random/rand.git?tag=0.4.1#b333d687138b5cb9b225f49ba80bf1bfef01e068"
+dependencies = [
+ "fuchsia-zircon",
+ "libc",
+]
+
+[[package]]
+name = "regex"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+ "thread_local",
+ "utf8-ranges",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7"
+dependencies = [
+ "ucd-util",
+]
+
+[[package]]
+name = "termcolor"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc4587ead41bf016f11af03e55a624c06568b5a19db4e90fde573d805074f83"
+dependencies = [
+ "wincolor",
+]
+
+[[package]]
+name = "thread_local"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "ucd-util"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c85f514e095d348c279b1e5cd76795082cf15bd59b93207832abe0b1d8fed236"
+
+[[package]]
+name = "utf8-ranges"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "wincolor"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eeb06499a3a4d44302791052df005d5232b927ed1a9658146d842165c4de7767"
+dependencies = [
+ "winapi",
+]
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.toml b/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.toml
new file mode 100644
index 0000000000..3f82dedd16
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/Cargo.toml
@@ -0,0 +1,35 @@
+[package]
+name = "compile_with_bazel"
+version = "0.1.0"
+authors = ["Bradlee Speice "]
+
+[dependencies]
+rand = { git = "https://github.com/rust-random/rand.git", tag = "0.4.1" }
+env_logger = { git = "https://github.com/sebasmagri/env_logger.git", tag = "v0.5.5" }
+# Note that we use a (slightly) outdated version of log; because env_logger resolves a version
+# of `log` from crates.io that may clash with the resolution here, we need to force
+# a specific version that's different from what `env_logger` depends on.
+log = { git = "https://github.com/rust-lang-nursery/log.git", rev = "bf40d1f563c" }
+
+[[bin]]
+name = "non_cratesio"
+path = "src/main.rs"
+
+[package.metadata.raze]
+workspace_path = "//remote/non_cratesio/cargo"
+targets = [
+ "aarch64-apple-darwin",
+ "aarch64-unknown-linux-gnu",
+ "x86_64-apple-darwin",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-linux-gnu",
+]
+genmode = "Remote"
+gen_workspace_prefix = "remote_non_cratesio"
+package_aliases_dir = "cargo"
+default_gen_buildrs = false
+
+[package.metadata.raze.crates.log.'0.4.11']
+additional_flags = [
+ "--cfg=atomic_cas"
+]
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/README.md b/cargo/cargo_raze/examples/remote/non_cratesio/README.md
new file mode 100644
index 0000000000..6350524603
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/README.md
@@ -0,0 +1,15 @@
+# non_cratesio_remote
+
+
+## Manual steps run (that you would use to replicate this)
+
+1. Run `cargo install cargo-raze`
+2. Generate a Cargo.toml with desired dependencies into cargo/Cargo.toml
+3. Add a [package.metadata.raze] section with your desired options (see cargo-raze `settings::CargoToml` for
+ the exact details)
+4. Run `cargo vendor --versioned-dirs` from `cargo/`
+5. Run `cargo raze` from `cargo/`
+
+At this point you will have a dependency specification that Bazel can understand. You will also have starter BUILD files that referene the specified dependencies and generate rust_library rules.
+
+To expose those dependencies, `alias` entries are created for the explicit Cargo dependencies. It is important to only expose explicit dependencies for the sake of hygiene.
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/BUILD.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/BUILD.bazel
new file mode 100644
index 0000000000..c3a66c8eb1
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/BUILD.bazel
@@ -0,0 +1,48 @@
+"""
+@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 = "env_logger",
+ actual = "@remote_non_cratesio__env_logger__0_5_5//:env_logger",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "log",
+ actual = "@remote_non_cratesio__log__0_4_0//:log",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "rand",
+ actual = "@remote_non_cratesio__rand__0_4_1//:rand",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/crates.bzl b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/crates.bzl
new file mode 100644
index 0000000000..753e799764
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/crates.bzl
@@ -0,0 +1,269 @@
+"""
+@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 remote_non_cratesio_fetch_remote_crates():
+ """This function defines a collection of repos and should be called in a WORKSPACE file"""
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__aho_corasick__0_6_10",
+ url = "https://crates.io/api/v1/crates/aho-corasick/0.6.10/download",
+ type = "tar.gz",
+ sha256 = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5",
+ strip_prefix = "aho-corasick-0.6.10",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.aho-corasick-0.6.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.atty-0.2.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.cfg-if-0.1.10.bazel"),
+ )
+
+ maybe(
+ new_git_repository,
+ name = "remote_non_cratesio__env_logger__0_5_5",
+ remote = "https://github.com/sebasmagri/env_logger.git",
+ commit = "4d7926c515a8620e7fa0e91a07047023170c1064",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.env_logger-0.5.5.bazel"),
+ init_submodules = True,
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__fuchsia_zircon__0_3_3",
+ url = "https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download",
+ type = "tar.gz",
+ sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82",
+ strip_prefix = "fuchsia-zircon-0.3.3",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.fuchsia-zircon-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__fuchsia_zircon_sys__0_3_3",
+ url = "https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download",
+ type = "tar.gz",
+ sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7",
+ strip_prefix = "fuchsia-zircon-sys-0.3.3",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.fuchsia-zircon-sys-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__hermit_abi__0_1_15",
+ url = "https://crates.io/api/v1/crates/hermit-abi/0.1.15/download",
+ type = "tar.gz",
+ sha256 = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9",
+ strip_prefix = "hermit-abi-0.1.15",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.hermit-abi-0.1.15.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__humantime__1_3_0",
+ url = "https://crates.io/api/v1/crates/humantime/1.3.0/download",
+ type = "tar.gz",
+ sha256 = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f",
+ strip_prefix = "humantime-1.3.0",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.humantime-1.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__libc__0_2_77",
+ url = "https://crates.io/api/v1/crates/libc/0.2.77/download",
+ type = "tar.gz",
+ sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235",
+ strip_prefix = "libc-0.2.77",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.libc-0.2.77.bazel"),
+ )
+
+ maybe(
+ new_git_repository,
+ name = "remote_non_cratesio__log__0_4_0",
+ remote = "https://github.com/rust-lang-nursery/log.git",
+ commit = "bf40d1f563cf3eef63233d935ce56f2198b381d3",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.log-0.4.0.bazel"),
+ init_submodules = True,
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__log__0_4_11",
+ url = "https://crates.io/api/v1/crates/log/0.4.11/download",
+ type = "tar.gz",
+ sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b",
+ strip_prefix = "log-0.4.11",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.log-0.4.11.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__memchr__2_3_3",
+ url = "https://crates.io/api/v1/crates/memchr/2.3.3/download",
+ type = "tar.gz",
+ sha256 = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400",
+ strip_prefix = "memchr-2.3.3",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.memchr-2.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__quick_error__1_2_3",
+ url = "https://crates.io/api/v1/crates/quick-error/1.2.3/download",
+ type = "tar.gz",
+ sha256 = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0",
+ strip_prefix = "quick-error-1.2.3",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.quick-error-1.2.3.bazel"),
+ )
+
+ maybe(
+ new_git_repository,
+ name = "remote_non_cratesio__rand__0_4_1",
+ remote = "https://github.com/rust-random/rand.git",
+ commit = "b333d687138b5cb9b225f49ba80bf1bfef01e068",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.rand-0.4.1.bazel"),
+ init_submodules = True,
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__regex__0_2_11",
+ url = "https://crates.io/api/v1/crates/regex/0.2.11/download",
+ type = "tar.gz",
+ sha256 = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384",
+ strip_prefix = "regex-0.2.11",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.regex-0.2.11.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__regex_syntax__0_5_6",
+ url = "https://crates.io/api/v1/crates/regex-syntax/0.5.6/download",
+ type = "tar.gz",
+ sha256 = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7",
+ strip_prefix = "regex-syntax-0.5.6",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.regex-syntax-0.5.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__termcolor__0_3_6",
+ url = "https://crates.io/api/v1/crates/termcolor/0.3.6/download",
+ type = "tar.gz",
+ sha256 = "adc4587ead41bf016f11af03e55a624c06568b5a19db4e90fde573d805074f83",
+ strip_prefix = "termcolor-0.3.6",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.termcolor-0.3.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__thread_local__0_3_6",
+ url = "https://crates.io/api/v1/crates/thread_local/0.3.6/download",
+ type = "tar.gz",
+ sha256 = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b",
+ strip_prefix = "thread_local-0.3.6",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.thread_local-0.3.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__ucd_util__0_1_8",
+ url = "https://crates.io/api/v1/crates/ucd-util/0.1.8/download",
+ type = "tar.gz",
+ sha256 = "c85f514e095d348c279b1e5cd76795082cf15bd59b93207832abe0b1d8fed236",
+ strip_prefix = "ucd-util-0.1.8",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.ucd-util-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__utf8_ranges__1_0_4",
+ url = "https://crates.io/api/v1/crates/utf8-ranges/1.0.4/download",
+ type = "tar.gz",
+ sha256 = "b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba",
+ strip_prefix = "utf8-ranges-1.0.4",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.utf8-ranges-1.0.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__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("//remote/non_cratesio/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "remote_non_cratesio__wincolor__0_1_6",
+ url = "https://crates.io/api/v1/crates/wincolor/0.1.6/download",
+ type = "tar.gz",
+ sha256 = "eeb06499a3a4d44302791052df005d5232b927ed1a9658146d842165c4de7767",
+ strip_prefix = "wincolor-0.1.6",
+ build_file = Label("//remote/non_cratesio/cargo/remote:BUILD.wincolor-0.1.6.bazel"),
+ )
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.aho-corasick-0.6.10.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.aho-corasick-0.6.10.bazel
new file mode 100644
index 0000000000..9da31fda06
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.aho-corasick-0.6.10.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+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_aho_corasick_dot",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ ":aho_corasick",
+ "@remote_non_cratesio__memchr__2_3_3//:memchr",
+ ],
+)
+
+# Unsupported target "dict-search" with type "example" omitted
+
+rust_library(
+ name = "aho_corasick",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__memchr__2_3_3//:memchr",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.atty-0.2.14.bazel
new file mode 100644
index 0000000000..b6a595b95e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.atty-0.2.14.bazel
@@ -0,0 +1,76 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ 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:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "@remote_non_cratesio__libc__0_2_77//:libc",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "@remote_non_cratesio__winapi__0_3_9//:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.bazel
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.bitflags-1.2.1.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.bitflags-1.2.1.bazel
new file mode 100644
index 0000000000..d5cb5d6fc3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.bitflags-1.2.1.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.cfg-if-0.1.10.bazel
new file mode 100644
index 0000000000..fda70a32f0
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.cfg-if-0.1.10.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.env_logger-0.5.5.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.env_logger-0.5.5.bazel
new file mode 100644
index 0000000000..18c54e56ce
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.env_logger-0.5.5.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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 "custom_default_format" with type "example" omitted
+
+# Unsupported target "custom_format" with type "example" omitted
+
+# Unsupported target "custom_logger" with type "example" omitted
+
+# Unsupported target "default" with type "example" omitted
+
+# Unsupported target "direct_logger" with type "example" omitted
+
+rust_library(
+ name = "env_logger",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "regex",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.5",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__atty__0_2_14//:atty",
+ "@remote_non_cratesio__humantime__1_3_0//:humantime",
+ "@remote_non_cratesio__log__0_4_11//:log",
+ "@remote_non_cratesio__regex__0_2_11//:regex",
+ "@remote_non_cratesio__termcolor__0_3_6//:termcolor",
+ ],
+)
+
+# Unsupported target "log-in-log" with type "test" omitted
+
+# Unsupported target "regexp_filter" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel
new file mode 100644
index 0000000000..ab1a96320a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # BSD-3-Clause from expression "BSD-3-Clause"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "fuchsia_zircon",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.3",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__bitflags__1_2_1//:bitflags",
+ "@remote_non_cratesio__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel
new file mode 100644
index 0000000000..ae1d0d8ffe
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # BSD-3-Clause from expression "BSD-3-Clause"
+])
+
+# Generated Targets
+
+# Unsupported target "hello" with type "example" omitted
+
+rust_library(
+ name = "fuchsia_zircon_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.hermit-abi-0.1.15.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.hermit-abi-0.1.15.bazel
new file mode 100644
index 0000000000..9967bd490a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.hermit-abi-0.1.15.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__libc__0_2_77//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.humantime-1.3.0.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.humantime-1.3.0.bazel
new file mode 100644
index 0000000000..8152294775
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.humantime-1.3.0.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.3.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__quick_error__1_2_3//:quick_error",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000000..58cd3c151e
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.lazy_static-1.4.0.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.libc-0.2.77.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.libc-0.2.77.bazel
new file mode 100644
index 0000000000..b3aca2fc11
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.libc-0.2.77.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.77",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.0.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.0.bazel
new file mode 100644
index 0000000000..27f0339d23
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.0.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__cfg_if__0_1_10//:cfg_if",
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.11.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.11.bazel
new file mode 100644
index 0000000000..1d12eddeec
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.log-0.4.11.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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 = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ "--cfg=atomic_cas",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.11",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__cfg_if__0_1_10//:cfg_if",
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.memchr-2.3.3.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.memchr-2.3.3.bazel
new file mode 100644
index 0000000000..486626d4f5
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.memchr-2.3.3.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.3.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.quick-error-1.2.3.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.quick-error-1.2.3.bazel
new file mode 100644
index 0000000000..4fa32d7102
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.quick-error-1.2.3.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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 "context" with type "example" omitted
+
+rust_library(
+ name = "quick_error",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.rand-0.4.1.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.rand-0.4.1.bazel
new file mode 100644
index 0000000000..c5c23a9525
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.rand-0.4.1.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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
+
+# Unsupported target "generators" with type "bench" omitted
+
+# Unsupported target "misc" with type "bench" omitted
+
+rust_library(
+ name = "rand",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "libc",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.1",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__libc__0_2_77//:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-0.2.11.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-0.2.11.bazel
new file mode 100644
index 0000000000..a87e15f1e3
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-0.2.11.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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
+
+# 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 = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.11",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__aho_corasick__0_6_10//:aho_corasick",
+ "@remote_non_cratesio__memchr__2_3_3//:memchr",
+ "@remote_non_cratesio__regex_syntax__0_5_6//:regex_syntax",
+ "@remote_non_cratesio__thread_local__0_3_6//:thread_local",
+ "@remote_non_cratesio__utf8_ranges__1_0_4//:utf8_ranges",
+ ],
+)
+
+# 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 "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/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-syntax-0.5.6.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-syntax-0.5.6.bazel
new file mode 100644
index 0000000000..98255e6c5a
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.regex-syntax-0.5.6.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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 = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.6",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__ucd_util__0_1_8//:ucd_util",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.termcolor-0.3.6.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.termcolor-0.3.6.bazel
new file mode 100644
index 0000000000..92b28bd806
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.termcolor-0.3.6.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "@remote_non_cratesio__wincolor__0_1_6//:wincolor",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.thread_local-0.3.6.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.thread_local-0.3.6.bazel
new file mode 100644
index 0000000000..1f9d6c33de
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.thread_local-0.3.6.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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
+
+# Unsupported target "thread_local" with type "bench" omitted
+
+rust_library(
+ name = "thread_local",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__lazy_static__1_4_0//:lazy_static",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.ucd-util-0.1.8.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.ucd-util-0.1.8.bazel
new file mode 100644
index 0000000000..4d1da0ac40
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.ucd-util-0.1.8.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ucd_util",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.utf8-ranges-1.0.4.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.utf8-ranges-1.0.4.bazel
new file mode 100644
index 0000000000..3a258948e6
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.utf8-ranges-1.0.4.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "utf8_ranges",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..4bed837a30
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,61 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ "wincon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..639a336e5d
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..56a6265fb9
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.wincolor-0.1.6.bazel b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.wincolor-0.1.6.bazel
new file mode 100644
index 0000000000..16c33f69d4
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/cargo/remote/BUILD.wincolor-0.1.6.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//remote/non_cratesio/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "wincolor",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.6",
+ # buildifier: leave-alone
+ deps = [
+ "@remote_non_cratesio__winapi__0_3_9//:winapi",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/remote/non_cratesio/src/main.rs b/cargo/cargo_raze/examples/remote/non_cratesio/src/main.rs
new file mode 100644
index 0000000000..0bc45b471c
--- /dev/null
+++ b/cargo/cargo_raze/examples/remote/non_cratesio/src/main.rs
@@ -0,0 +1,14 @@
+#[macro_use]
+extern crate log;
+extern crate env_logger;
+extern crate rand;
+
+use rand::Rng;
+
+pub fn main() {
+ env_logger::init();
+
+ let random_val = rand::thread_rng().gen::();
+
+ info!("Got a value: {}", random_val);
+}
diff --git a/cargo/cargo_raze/examples/repositories.bzl b/cargo/cargo_raze/examples/repositories.bzl
new file mode 100644
index 0000000000..afbd9176d3
--- /dev/null
+++ b/cargo/cargo_raze/examples/repositories.bzl
@@ -0,0 +1,17 @@
+"""This module is the single location for all dependencies for the Cargo Raze examples"""
+
+load("@cargo_raze_examples//remote/binary_dependencies/cargo:crates.bzl", "remote_binary_dependencies_fetch_remote_crates")
+load("@cargo_raze_examples//remote/cargo_workspace/cargo:crates.bzl", "remote_cargo_workspace_fetch_remote_crates")
+load("@cargo_raze_examples//remote/complicated_cargo_library/cargo:crates.bzl", "remote_complicated_cargo_library_fetch_remote_crates")
+load("@cargo_raze_examples//remote/dev_dependencies/cargo:crates.bzl", "remote_dev_dependencies_fetch_remote_crates")
+load("@cargo_raze_examples//remote/no_deps/cargo:crates.bzl", "remote_no_deps_fetch_remote_crates")
+load("@cargo_raze_examples//remote/non_cratesio/cargo:crates.bzl", "remote_non_cratesio_fetch_remote_crates")
+
+def repositories():
+ """Defines all the cargo dependencies of the Cargo-raze examples"""
+ remote_binary_dependencies_fetch_remote_crates()
+ remote_cargo_workspace_fetch_remote_crates()
+ remote_complicated_cargo_library_fetch_remote_crates()
+ remote_no_deps_fetch_remote_crates()
+ remote_non_cratesio_fetch_remote_crates()
+ remote_dev_dependencies_fetch_remote_crates()
diff --git a/cargo/cargo_raze/examples/tests/BUILD.bazel b/cargo/cargo_raze/examples/tests/BUILD.bazel
new file mode 100644
index 0000000000..0076597595
--- /dev/null
+++ b/cargo/cargo_raze/examples/tests/BUILD.bazel
@@ -0,0 +1,23 @@
+"""All executable targets within this workspace should have a launch_test
+within this file to ensure the targets not only build successfully but run
+successfully as well
+"""
+
+load("//tests:launch_test.bzl", "launch_test")
+
+test_suite(
+ name = "examples_tests",
+ tests = [
+ launch_test(target = "@cargo_raze_examples//remote/binary_dependencies:binary_dependencies_bin"),
+ launch_test(target = "@cargo_raze_examples//remote/cargo_workspace/num_printer:number_printer"),
+ launch_test(target = "@cargo_raze_examples//remote/complicated_cargo_library"),
+ launch_test(target = "@cargo_raze_examples//remote/no_deps"),
+ launch_test(target = "@cargo_raze_examples//remote/non_cratesio:non_cratesio_remote"),
+ launch_test(target = "@cargo_raze_examples//vendored/cargo_workspace/num_printer:number_printer"),
+ launch_test(target = "@cargo_raze_examples//vendored/complicated_cargo_library"),
+ launch_test(target = "@cargo_raze_examples//vendored/hello_cargo_library"),
+ launch_test(target = "@cargo_raze_examples//vendored/non_cratesio_library"),
+ "@cargo_raze_examples//remote/dev_dependencies:dev_dependencies_test",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/tests/launch_test.bzl b/cargo/cargo_raze/examples/tests/launch_test.bzl
new file mode 100644
index 0000000000..24fa072f47
--- /dev/null
+++ b/cargo/cargo_raze/examples/tests/launch_test.bzl
@@ -0,0 +1,56 @@
+"""This file contains a helper used for testing example targets"""
+
+_bash_script = """\
+#!/bin/bash
+
+if [[ -f "{target}" ]]; then
+ exec "{target}"
+else
+ exec "external/{target}"
+fi
+"""
+
+# buildifier: disable=unnamed-macro
+def launch_test(target):
+ """Helper for creating tests meant only to launch an executable target
+
+ Args:
+ target (str): The label or package of the target to test. In the case
+ of the package being passed, the target is assumed to have the
+ same name.
+ Returns:
+ string: The name of the generated test target.
+ """
+
+ # Account for a missing target (since Buildifier will remove it if it matches the package name)
+ if ":" not in target:
+ target_label = Label(target + ":{}".format(target.split("/")[-1]))
+ else:
+ target_label = Label(target)
+
+ name = "remote_" + target_label.name if "remote" in target else "vendored_" + target_label.name
+
+ native.genrule(
+ name = name + "_launcher",
+ outs = [name + "_launcher.sh"],
+ srcs = [target_label],
+ cmd = "echo '{}' > $@".format(
+ _bash_script.format(
+ target = str(target_label).lstrip("@/").replace("//", "/").replace(":", "/"),
+ ),
+ ),
+ tags = ["manual"],
+ )
+
+ native.sh_test(
+ name = name + "_launch_test",
+ size = "small",
+ srcs = [
+ name + "_launcher",
+ ],
+ data = [
+ target_label,
+ ],
+ )
+
+ return name + "_launch_test"
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.lock b/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.lock
new file mode 100644
index 0000000000..444948860e
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.lock
@@ -0,0 +1,296 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "addr2line"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[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"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "backtrace"
+version = "0.3.53"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e"
+dependencies = [
+ "addr2line",
+ "cfg-if 1.0.0",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[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 = "clap"
+version = "2.33.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags",
+ "strsim",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "error-chain"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
+name = "ferris-says"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f34f82e9a8b1533c027d018abd90b8687bf923be287b2617dfce4bea4ea3687"
+dependencies = [
+ "clap",
+ "error-chain",
+ "smallvec",
+ "textwrap",
+ "unicode-width",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "gimli"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
+[[package]]
+name = "num_printer"
+version = "0.1.0"
+dependencies = [
+ "clap",
+ "printer",
+]
+
+[[package]]
+name = "object"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693"
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20"
+
+[[package]]
+name = "printer"
+version = "0.1.0"
+dependencies = [
+ "ferris-says",
+ "rng",
+]
+
+[[package]]
+name = "rand"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+dependencies = [
+ "getrandom",
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rng"
+version = "0.1.0"
+dependencies = [
+ "rand",
+]
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b"
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
+[[package]]
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+dependencies = [
+ "unicode-width",
+]
+
+[[package]]
+name = "unicode-width"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
+
+[[package]]
+name = "vec_map"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.toml b/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.toml
new file mode 100644
index 0000000000..35081df1c7
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/Cargo.toml
@@ -0,0 +1,15 @@
+[workspace]
+members = [
+ "num_printer",
+ "printer",
+ "rng",
+]
+
+[workspace.metadata.raze]
+workspace_path = "//vendored/cargo_workspace/cargo"
+gen_workspace_prefix = "vendored_cargo_workspace"
+genmode = "Vendored"
+default_gen_buildrs = true
+package_aliases_dir = "cargo"
+experimental_api = true
+render_package_aliases = false
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/BUILD.bazel
new file mode 100644
index 0000000000..0cad4cf6a7
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/BUILD.bazel
@@ -0,0 +1,14 @@
+"""
+@generated
+cargo-raze generated Bazel file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# Export file for Stardoc support
+exports_files(
+ [
+ "crates.bzl",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/crates.bzl b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/crates.bzl
new file mode 100644
index 0000000000..f2be6bc589
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/crates.bzl
@@ -0,0 +1,182 @@
+"""
+@generated
+cargo-raze generated Bazel file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dependencies for the Rust targets of that package.
+_DEPENDENCIES = {
+ "vendored/cargo_workspace/num_printer": {
+ "clap": "//vendored/cargo_workspace/cargo/vendor/clap-2.33.3:clap",
+ },
+ "vendored/cargo_workspace/printer": {
+ "ferris-says": "//vendored/cargo_workspace/cargo/vendor/ferris-says-0.2.0:ferris_says",
+ },
+ "vendored/cargo_workspace/rng": {
+ "rand": "//vendored/cargo_workspace/cargo/vendor/rand-0.7.3:rand",
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dependencies for the Rust targets of that package.
+_PROC_MACRO_DEPENDENCIES = {
+ "vendored/cargo_workspace/num_printer": {
+ },
+ "vendored/cargo_workspace/printer": {
+ },
+ "vendored/cargo_workspace/rng": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dev dependencies for the Rust targets of that package.
+_DEV_DEPENDENCIES = {
+ "vendored/cargo_workspace/num_printer": {
+ },
+ "vendored/cargo_workspace/printer": {
+ },
+ "vendored/cargo_workspace/rng": {
+ },
+}
+
+# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dev dependencies for the Rust targets of that package.
+_DEV_PROC_MACRO_DEPENDENCIES = {
+ "vendored/cargo_workspace/num_printer": {
+ },
+ "vendored/cargo_workspace/printer": {
+ },
+ "vendored/cargo_workspace/rng": {
+ },
+}
+
+def crate_deps(deps, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ WARNING: This macro is part of an expeirmental API and is subject to change.
+
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _DEV_DEPENDENCIES,
+ _DEV_PROC_MACRO_DEPENDENCIES,
+ ])
+
+ if not deps:
+ return []
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in dependencies[package_name]:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(dependencies[package_name][crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies[package_name],
+ ))
+
+ return crate_targets
+
+def all_crate_deps(normal = False, normal_dev = False, proc_macro = False, proc_macro_dev = False, package_name = None):
+ """EXPERIMENTAL -- MAY CHANGE AT ANY TIME: 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. Defaults to False.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list. Defaults to False.
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list. Defaults to False.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list. Defaults to False.
+ 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 cargo-raze generated targets (str)
+ """
+
+ if not package_name:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_DEV_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps)
+
+ if not dependencies:
+ return []
+
+ return dependencies[package_name].values()
+
+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.
+ "package_name": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # alias refers to.
+ "alias": "@full//:label",
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for dep_map in all_dependency_maps:
+ for pkg_name in dep_map:
+ if pkg_name not in dependencies:
+ # Add a non-frozen dict to the collection of dependencies
+ dependencies.setdefault(pkg_name, dict(dep_map[pkg_name].items()))
+ continue
+
+ duplicate_crate_aliases = [key for key in dependencies[pkg_name] if key in dep_map[pkg_name]]
+ if duplicate_crate_aliases:
+ fail("There should be no duplicate crate aliases: {}".format(duplicate_crate_aliases))
+
+ dependencies[pkg_name].update(dep_map[pkg_name])
+
+ return dependencies
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/addr2line-0.13.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/addr2line-0.13.0/BUILD.bazel
new file mode 100644
index 0000000000..336e0e23bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/addr2line-0.13.0/BUILD.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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
+
+# Unsupported target "addr2line" with type "example" omitted
+
+rust_library(
+ name = "addr2line",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/gimli-0.22.0:gimli",
+ ],
+)
+
+# Unsupported target "correctness" with type "test" omitted
+
+# Unsupported target "output_equivalence" with type "test" omitted
+
+# Unsupported target "parse" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/adler-0.2.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/adler-0.2.3/BUILD.bazel
new file mode 100644
index 0000000000..6b6f69e0cd
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/adler-0.2.3/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "0BSD OR (MIT OR Apache-2.0)"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "adler",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ansi_term-0.11.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ansi_term-0.11.0/BUILD.bazel
new file mode 100644
index 0000000000..322d37deed
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ansi_term-0.11.0/BUILD.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/winapi-0.3.9:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/atty-0.2.14/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/atty-0.2.14/BUILD.bazel
new file mode 100644
index 0000000000..3eb490712b
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/atty-0.2.14/BUILD.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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: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-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",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/libc-0.2.79: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",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/winapi-0.3.9:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/autocfg-1.0.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/autocfg-1.0.1/BUILD.bazel
new file mode 100644
index 0000000000..b0b2c71507
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/autocfg-1.0.1/BUILD.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/backtrace-0.3.53/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/backtrace-0.3.53/BUILD.bazel
new file mode 100644
index 0000000000..682811be50
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/backtrace-0.3.53/BUILD.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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 "benchmarks" with type "bench" omitted
+
+# Unsupported target "backtrace" with type "example" omitted
+
+# Unsupported target "raw" with type "example" omitted
+
+rust_library(
+ name = "backtrace",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "addr2line",
+ "default",
+ "gimli-symbolize",
+ "miniz_oxide",
+ "object",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.53",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/addr2line-0.13.0:addr2line",
+ "//vendored/cargo_workspace/cargo/vendor/cfg-if-1.0.0:cfg_if",
+ "//vendored/cargo_workspace/cargo/vendor/libc-0.2.79:libc",
+ "//vendored/cargo_workspace/cargo/vendor/miniz_oxide-0.4.3:miniz_oxide",
+ "//vendored/cargo_workspace/cargo/vendor/object-0.21.1:object",
+ "//vendored/cargo_workspace/cargo/vendor/rustc-demangle-0.1.17:rustc_demangle",
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "accuracy" with type "test" omitted
+
+# Unsupported target "concurrent-panics" with type "test" omitted
+
+# Unsupported target "long_fn_name" with type "test" omitted
+
+# Unsupported target "skip_inner_frames" with type "test" omitted
+
+# Unsupported target "smoke" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/bitflags-1.2.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/bitflags-1.2.1/BUILD.bazel
new file mode 100644
index 0000000000..62704bf6b5
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/bitflags-1.2.1/BUILD.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "bitflags_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "default",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.1",
+ # buildifier: leave-alone
+ deps = [
+ ":bitflags_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-0.1.10/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
new file mode 100644
index 0000000000..f6cebe70e1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-1.0.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-1.0.0/BUILD.bazel
new file mode 100644
index 0000000000..982e1f51f0
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/cfg-if-1.0.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/clap-2.33.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/clap-2.33.3/BUILD.bazel
new file mode 100644
index 0000000000..62a69c8aa9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/clap-2.33.3/BUILD.bazel
@@ -0,0 +1,93 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.33.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/atty-0.2.14:atty",
+ "//vendored/cargo_workspace/cargo/vendor/bitflags-1.2.1:bitflags",
+ "//vendored/cargo_workspace/cargo/vendor/strsim-0.8.0:strsim",
+ "//vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0:textwrap",
+ "//vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8:unicode_width",
+ "//vendored/cargo_workspace/cargo/vendor/vec_map-0.8.2:vec_map",
+ ] + selects.with_or({
+ # cfg(not(windows))
+ (
+ "@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-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:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/ansi_term-0.11.0:ansi_term",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/error-chain-0.10.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/error-chain-0.10.0/BUILD.bazel
new file mode 100644
index 0000000000..ad252125fe
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/error-chain-0.10.0/BUILD.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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 "all" with type "example" omitted
+
+# Unsupported target "doc" with type "example" omitted
+
+# Unsupported target "quickstart" with type "example" omitted
+
+# Unsupported target "size" with type "example" omitted
+
+rust_library(
+ name = "error_chain",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "backtrace",
+ "default",
+ "example_generated",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/backtrace-0.3.53:backtrace",
+ ],
+)
+
+# Unsupported target "quick_main" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ferris-says-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ferris-says-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..b0ee658fdd
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ferris-says-0.2.0/BUILD.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_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_fsays",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/clap-2.33.3:clap",
+ "//vendored/cargo_workspace/cargo/vendor/error-chain-0.10.0:error_chain",
+ "//vendored/cargo_workspace/cargo/vendor/smallvec-0.4.5:smallvec",
+ "//vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0:textwrap",
+ "//vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8:unicode_width",
+ ":ferris_says",
+ ],
+)
+
+rust_library(
+ name = "ferris_says",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/clap-2.33.3:clap",
+ "//vendored/cargo_workspace/cargo/vendor/error-chain-0.10.0:error_chain",
+ "//vendored/cargo_workspace/cargo/vendor/smallvec-0.4.5:smallvec",
+ "//vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0:textwrap",
+ "//vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8:unicode_width",
+ ],
+)
+
+# Unsupported target "integration_test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15/BUILD.bazel
new file mode 100644
index 0000000000..a105de43dd
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15/BUILD.bazel
@@ -0,0 +1,166 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "getrandom_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "std",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + selects.with_or({
+ # cfg(target_os = "wasi")
+ (
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # wasm32-unknown-unknown
+ (
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "mod" with type "bench" omitted
+
+rust_library(
+ name = "getrandom",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/cfg-if-0.1.10:cfg_if",
+ ":getrandom_build_script",
+ ] + selects.with_or({
+ # cfg(target_os = "wasi")
+ (
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/wasi-0.9.0+wasi-snapshot-preview1:wasi",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/libc-0.2.79:libc",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # wasm32-unknown-unknown
+ (
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "common" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/gimli-0.22.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/gimli-0.22.0/BUILD.bazel
new file mode 100644
index 0000000000..37d29c9b25
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/gimli-0.22.0/BUILD.bazel
@@ -0,0 +1,68 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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
+
+# Unsupported target "bench" with type "bench" omitted
+
+# Unsupported target "dwarf-validate" with type "example" omitted
+
+# Unsupported target "dwarfdump" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+# Unsupported target "simple_line" with type "example" omitted
+
+rust_library(
+ name = "gimli",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "read",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.22.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "convert_self" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/hermit-abi-0.1.17/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/hermit-abi-0.1.17/BUILD.bazel
new file mode 100644
index 0000000000..69e24b4656
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/hermit-abi-0.1.17/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.17",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/libc-0.2.79:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/libc-0.2.79/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/libc-0.2.79/BUILD.bazel
new file mode 100644
index 0000000000..b7778a7793
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/libc-0.2.79/BUILD.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "libc_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.2.79",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.79",
+ # buildifier: leave-alone
+ deps = [
+ ":libc_build_script",
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/miniz_oxide-0.4.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/miniz_oxide-0.4.3/BUILD.bazel
new file mode 100644
index 0000000000..0510a191f4
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/miniz_oxide-0.4.3/BUILD.bazel
@@ -0,0 +1,85 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR (Zlib OR 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 = "miniz_oxide_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/autocfg-1.0.1:autocfg",
+ ],
+)
+
+rust_library(
+ name = "miniz_oxide",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/adler-0.2.3:adler",
+ ":miniz_oxide_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/object-0.21.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/object-0.21.1/BUILD.bazel
new file mode 100644
index 0000000000..9f2d44cc46
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/object-0.21.1/BUILD.bazel
@@ -0,0 +1,69 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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
+
+# Unsupported target "nm" with type "example" omitted
+
+# Unsupported target "objcopy" with type "example" omitted
+
+# Unsupported target "objdump" with type "example" omitted
+
+rust_library(
+ name = "object",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "coff",
+ "elf",
+ "macho",
+ "pe",
+ "read_core",
+ "unaligned",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.21.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "integration" with type "test" omitted
+
+# Unsupported target "parse_self" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ppv-lite86-0.2.9/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ppv-lite86-0.2.9/BUILD.bazel
new file mode 100644
index 0000000000..2dd639f978
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/ppv-lite86-0.2.9/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ppv_lite86",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "simd",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand-0.7.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand-0.7.3/BUILD.bazel
new file mode 100644
index 0000000000..077198289b
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand-0.7.3/BUILD.bazel
@@ -0,0 +1,100 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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 "generators" with type "bench" omitted
+
+# Unsupported target "misc" with type "bench" omitted
+
+# Unsupported target "seq" with type "bench" omitted
+
+# Unsupported target "weighted" with type "bench" omitted
+
+# Unsupported target "monte-carlo" with type "example" omitted
+
+# Unsupported target "monty-hall" with type "example" omitted
+
+rust_library(
+ name = "rand",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ "//vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15:getrandom": "getrandom_package",
+ },
+ crate_features = [
+ "alloc",
+ "default",
+ "getrandom",
+ "getrandom_package",
+ "libc",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15:getrandom",
+ "//vendored/cargo_workspace/cargo/vendor/rand_chacha-0.2.2:rand_chacha",
+ "//vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1:rand_core",
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ "//vendored/cargo_workspace/cargo/vendor/libc-0.2.79:libc",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_chacha-0.2.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_chacha-0.2.2/BUILD.bazel
new file mode 100644
index 0000000000..fd5e33d2b9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_chacha-0.2.2/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_chacha",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/ppv-lite86-0.2.9:ppv_lite86",
+ "//vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1/BUILD.bazel
new file mode 100644
index 0000000000..5cd00abe29
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_core",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "getrandom",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.1",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/getrandom-0.1.15:getrandom",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_hc-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_hc-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..20f4c33dfa
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rand_hc-0.2.0/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rand_hc",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/rand_core-0.5.1:rand_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rustc-demangle-0.1.17/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rustc-demangle-0.1.17/BUILD.bazel
new file mode 100644
index 0000000000..65fd87776f
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/rustc-demangle-0.1.17/BUILD.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "rustc_demangle",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.17",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/smallvec-0.4.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/smallvec-0.4.5/BUILD.bazel
new file mode 100644
index 0000000000..dceb5a0358
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/smallvec-0.4.5/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "reciprocal", # MPL-2.0 from expression "MPL-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/strsim-0.8.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/strsim-0.8.0/BUILD.bazel
new file mode 100644
index 0000000000..a33b7be83c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/strsim-0.8.0/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0/BUILD.bazel
new file mode 100644
index 0000000000..a1e4a97ce7
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/textwrap-0.11.0/BUILD.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8:unicode_width",
+ ],
+)
+
+# Unsupported target "version-numbers" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8/BUILD.bazel
new file mode 100644
index 0000000000..cde2dd5d27
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/unicode-width-0.1.8/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_width",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/vec_map-0.8.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/vec_map-0.8.2/BUILD.bazel
new file mode 100644
index 0000000000..ffb1d0a954
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/vec_map-0.8.2/BUILD.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "vec_map",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/wasi-0.9.0+wasi-snapshot-preview1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/wasi-0.9.0+wasi-snapshot-preview1/BUILD.bazel
new file mode 100644
index 0000000000..1e7ed52928
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/wasi-0.9.0+wasi-snapshot-preview1/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "wasi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.9.0+wasi-snapshot-preview1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-0.3.9/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-0.3.9/BUILD.bazel
new file mode 100644
index 0000000000..350b2e204c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-0.3.9/BUILD.bazel
@@ -0,0 +1,95 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ build_script_env = {
+ },
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "build.rs",
+ data = glob(["**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..47dff9674a
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_i686_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_i686_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..445e43f101
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/cargo_workspace/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR 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 = "winapi_x86_64_pc_windows_gnu_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.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ],
+)
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ":winapi_x86_64_pc_windows_gnu_build_script",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/BUILD.bazel
new file mode 100644
index 0000000000..9204aebd75
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+load("//vendored/cargo_workspace/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "number_printer",
+ srcs = ["src/main.rs"],
+ edition = "2018",
+ deps = [
+ "//vendored/cargo_workspace/printer",
+ ] + all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/Cargo.toml b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/Cargo.toml
new file mode 100644
index 0000000000..b3711a0e3e
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/Cargo.toml
@@ -0,0 +1,13 @@
+[package]
+name = "num_printer"
+version = "0.1.0"
+edition = "2018"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[[bin]]
+name = "number-printer"
+path = "src/main.rs"
+
+[dependencies]
+clap = "2.33.3"
+printer = { path = "../printer" }
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/cargo/BUILD.bazel
new file mode 100644
index 0000000000..f9c72cf1a0
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/cargo/BUILD.bazel
@@ -0,0 +1,22 @@
+"""
+@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 = "clap",
+ actual = "//vendored/cargo_workspace/cargo/vendor/clap-2.33.3:clap",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/src/main.rs b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/src/main.rs
new file mode 100644
index 0000000000..0a89712577
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/num_printer/src/main.rs
@@ -0,0 +1,26 @@
+use clap::{App, Arg};
+
+use printer;
+
+fn main() {
+ let matches = App::new("Number Printer")
+ .about("Print some numbers")
+ .arg(Arg::with_name("rng").help("Print a random number"))
+ .arg(
+ Arg::with_name("num")
+ .help("Print this number")
+ .takes_value(true),
+ )
+ .get_matches();
+
+ let num = match matches.value_of("num") {
+ Some(value) => value.parse::().unwrap(),
+ None => 1337,
+ };
+
+ if matches.is_present("rng") {
+ printer::print_random_number();
+ } else {
+ printer::print_number(num);
+ }
+}
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/BUILD.bazel
new file mode 100644
index 0000000000..5aea3ac03a
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/BUILD.bazel
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_library")
+load("//vendored/cargo_workspace/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "printer",
+ srcs = ["src/lib.rs"],
+ edition = "2018",
+ deps = [
+ "//vendored/cargo_workspace/rng",
+ ] + all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/Cargo.toml b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/Cargo.toml
new file mode 100644
index 0000000000..9e3537a900
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "printer"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+rng = { path = "../rng" }
+ferris-says = "0.2.0"
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/cargo/BUILD.bazel
new file mode 100644
index 0000000000..1b0b71eeb2
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/cargo/BUILD.bazel
@@ -0,0 +1,22 @@
+"""
+@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 = "ferris_says",
+ actual = "//vendored/cargo_workspace/cargo/vendor/ferris-says-0.2.0:ferris_says",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/src/lib.rs b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/src/lib.rs
new file mode 100644
index 0000000000..c76741ce42
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/printer/src/lib.rs
@@ -0,0 +1,18 @@
+use ferris_says;
+
+use std::io::{stdout, BufWriter};
+
+use rng;
+
+/// Have ferris say a number
+pub fn print_number(num: i32) {
+ let number = format!("{}", num);
+ let stdout = stdout();
+ let mut writer = BufWriter::new(stdout.lock());
+ ferris_says::say(number.as_bytes(), number.len(), &mut writer).unwrap();
+}
+
+/// Have ferris say a random number
+pub fn print_random_number() {
+ print_number(rng::random_number());
+}
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/BUILD.bazel b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/BUILD.bazel
new file mode 100644
index 0000000000..76c0c11eb1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/BUILD.bazel
@@ -0,0 +1,11 @@
+load("@rules_rust//rust:rust.bzl", "rust_library")
+load("//vendored/cargo_workspace/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "rng",
+ srcs = ["src/lib.rs"],
+ edition = "2018",
+ deps = all_crate_deps(),
+)
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/Cargo.toml b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/Cargo.toml
new file mode 100644
index 0000000000..a2a098c9e2
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "rng"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+rand = "0.7.3"
diff --git a/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/src/lib.rs b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/src/lib.rs
new file mode 100644
index 0000000000..a50e0a2ece
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/cargo_workspace/rng/src/lib.rs
@@ -0,0 +1,7 @@
+use rand::{thread_rng, Rng};
+
+/// Generate a random number
+pub fn random_number() -> i32 {
+ let mut rng = thread_rng();
+ rng.gen()
+}
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/BUILD b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/BUILD
new file mode 100644
index 0000000000..06baeb09fb
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/BUILD
@@ -0,0 +1,12 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "complicated_cargo_library",
+ srcs = ["src/main.rs"],
+ deps = [
+ "//vendored/complicated_cargo_library/cargo:regex",
+ "//vendored/complicated_cargo_library/cargo:specs",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.lock b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.lock
new file mode 100644
index 0000000000..da9b9e0183
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.lock
@@ -0,0 +1,483 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "MacTypes-sys"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eaf9f0d0b1cc33a4d2aee14fb4b2eac03462ef4db29c8ac4057327d8a71ad86f"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "aho-corasick"
+version = "0.6.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "arrayvec"
+version = "0.3.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "06f59fe10306bb78facd90d28c2038ad23ffaaefa85bac43c8a434cde383334f"
+dependencies = [
+ "nodrop",
+ "odds",
+]
+
+[[package]]
+name = "atom"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c86699c3f02778ec07158376991c8f783dd1f2f95c579ffaf0738dc984b2fe2"
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+[[package]]
+name = "complicated_cargo_library"
+version = "0.1.0"
+dependencies = [
+ "conduit-mime-types",
+ "regex",
+ "security-framework-sys",
+ "specs",
+]
+
+[[package]]
+name = "conduit-mime-types"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95ca30253581af809925ef68c2641cc140d6183f43e12e0af4992d53768bd7b8"
+dependencies = [
+ "rustc-serialize",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "716c271e8613ace48344f723b60b900a93150271e5be206212d052bbc0883efa"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crossbeam"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24ce9782d4d5c53674646a6a4c1863a21a8fc0cb649b3c94dfc16e45071dea19"
+
+[[package]]
+name = "crossbeam-channel"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87"
+dependencies = [
+ "crossbeam-utils",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
+dependencies = [
+ "autocfg",
+ "cfg-if",
+ "crossbeam-utils",
+ "lazy_static",
+ "maybe-uninit",
+ "memoffset",
+ "scopeguard",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
+dependencies = [
+ "autocfg",
+ "cfg-if",
+ "lazy_static",
+]
+
+[[package]]
+name = "derivative"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c6d883546668a3e2011b6a716a7330b82eabb0151b138217f632c8243e17135"
+dependencies = [
+ "proc-macro2",
+ "quote 0.6.13",
+ "syn 0.15.44",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "hibitset"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b78998e3c243d71525596e8f373dfc4b82703f25907b9e4d260383cff8307d84"
+dependencies = [
+ "atom",
+ "rayon",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235"
+
+[[package]]
+name = "maybe-uninit"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
+
+[[package]]
+name = "memchr"
+version = "2.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
+
+[[package]]
+name = "memoffset"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "mopa"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a785740271256c230f57462d3b83e52f998433a7062fc18f96d5999474a9f915"
+
+[[package]]
+name = "nodrop"
+version = "0.1.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "odds"
+version = "0.2.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4eae0151b9dacf24fcc170d9995e511669a082856a91f958a2fe380bfab3fb22"
+
+[[package]]
+name = "proc-macro2"
+version = "0.4.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
+dependencies = [
+ "unicode-xid 0.1.0",
+]
+
+[[package]]
+name = "pulse"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "655612b6c8d96a8a02f331fe296cb4f925b68e87c1d195544675abca2d9b9af0"
+dependencies = [
+ "atom",
+ "time",
+]
+
+[[package]]
+name = "quote"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
+
+[[package]]
+name = "quote"
+version = "0.6.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rayon"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b614fe08b6665cb9a231d07ac1364b0ef3cb3698f1239ee0c4c3a88a524f54c8"
+dependencies = [
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8c4fec834fb6e6d2dd5eece3c7b432a52f0ba887cf40e595190c4107edc08bf"
+dependencies = [
+ "crossbeam-channel",
+ "crossbeam-deque",
+ "crossbeam-utils",
+ "lazy_static",
+ "num_cpus",
+]
+
+[[package]]
+name = "regex"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+ "thread_local",
+ "utf8-ranges",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7"
+dependencies = [
+ "ucd-util",
+]
+
+[[package]]
+name = "rustc-serialize"
+version = "0.3.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
+
+[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
+name = "security-framework-sys"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d6696852716b589dff9e886ff83778bb635150168e83afa8ac6b8a78cb82abc"
+dependencies = [
+ "MacTypes-sys",
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "shred"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d3abceaa9d0a9b47ab84b53c6029c21bcad7d7dd63e14db51ea0680faee2159"
+dependencies = [
+ "arrayvec",
+ "fnv",
+ "mopa",
+ "pulse",
+ "rayon",
+ "shred-derive",
+ "smallvec",
+]
+
+[[package]]
+name = "shred-derive"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4a894913b6e93fe2cd712a3bc955ec6f6b01c675c1c58b02fdfa13f77868049"
+dependencies = [
+ "quote 0.3.15",
+ "syn 0.11.11",
+]
+
+[[package]]
+name = "smallvec"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10"
+
+[[package]]
+name = "specs"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a210dc96ea065cb88391aa6956ed1b2a14051c668b5bc18bac66a95c215b639f"
+dependencies = [
+ "crossbeam",
+ "derivative",
+ "fnv",
+ "hibitset",
+ "mopa",
+ "rayon",
+ "shred",
+ "shred-derive",
+ "tuple_utils",
+]
+
+[[package]]
+name = "syn"
+version = "0.11.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
+dependencies = [
+ "quote 0.3.15",
+ "synom",
+ "unicode-xid 0.0.4",
+]
+
+[[package]]
+name = "syn"
+version = "0.15.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
+dependencies = [
+ "proc-macro2",
+ "quote 0.6.13",
+ "unicode-xid 0.1.0",
+]
+
+[[package]]
+name = "synom"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
+dependencies = [
+ "unicode-xid 0.0.4",
+]
+
+[[package]]
+name = "thread_local"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "time"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+dependencies = [
+ "libc",
+ "wasi",
+ "winapi",
+]
+
+[[package]]
+name = "tuple_utils"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cbfecd7bb8f0a3e96b3b31c46af2677a55a588767c0091f484601424fcb20e7e"
+
+[[package]]
+name = "ucd-util"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c85f514e095d348c279b1e5cd76795082cf15bd59b93207832abe0b1d8fed236"
+
+[[package]]
+name = "unicode-xid"
+version = "0.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
+
+[[package]]
+name = "unicode-xid"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
+
+[[package]]
+name = "utf8-ranges"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba"
+
+[[package]]
+name = "wasi"
+version = "0.10.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.toml b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.toml
new file mode 100644
index 0000000000..eb0b1a786c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/Cargo.toml
@@ -0,0 +1,40 @@
+[package]
+name = "complicated_cargo_library"
+version = "0.1.0"
+
+[dependencies]
+conduit-mime-types = "0.7.3"
+regex = "0.2.5"
+security-framework-sys = "0.2.2"
+specs = "0.10.0"
+
+[[bin]]
+name = "complicated_cargo_library"
+path = "src/main.rs"
+
+[package.metadata.raze]
+workspace_path = "//vendored/complicated_cargo_library/cargo"
+gen_workspace_prefix = "vendored_complicated_cargo_library"
+genmode = "Vendored"
+package_aliases_dir = "cargo"
+default_gen_buildrs = false
+
+[package.metadata.raze.crates.proc-macro2.'0.4.30']
+additional_flags = [
+ "--cfg=use_proc_macro",
+]
+
+[package.metadata.raze.crates.regex.'0.2.11']
+additional_deps = [
+ # Add an unused dep
+ "//vendored/complicated_cargo_library/cargo:specs"
+]
+additional_flags = [
+ # Add an unused flag
+ "--cfg=not_used"
+]
+# Add an unused environment variable
+additional_env = { NOT_USED_KEY = "not_used_value" }
+
+[package.metadata.raze.crates.conduit-mime-types.'0.7.3']
+data_attr = "glob([\"data/**\"])"
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/README.md b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/README.md
new file mode 100644
index 0000000000..81cab3648d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/README.md
@@ -0,0 +1,13 @@
+# complicated_cargo_library
+
+This is similar to hello_cargo_library, but has more dependencies.
+
+## How to build
+
+In order to build this example, the dependencies must be vendored. This can be achieved by performing the following:
+
+1. Navigate to `./examples/vendored/complicated_cargo_library` from the root of the `cargo-raze` checkout
+2. Run `cargo vendor --versioned-dirs cargo/vendor`
+3. Rerun `cargo raze` to regenerate the Bazel BUILD files
+
+At this point you should now be able to run `bazel build ...` to compile the source code.
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/BUILD.bazel
new file mode 100644
index 0000000000..70dde465b8
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/BUILD.bazel
@@ -0,0 +1,49 @@
+"""
+@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 = "conduit_mime_types",
+ actual = "//vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3:conduit_mime_types",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "regex",
+ actual = "//vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11:regex",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "security_framework_sys",
+ actual = "//vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3:security_framework_sys",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "specs",
+ actual = "//vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0:specs",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel
new file mode 100644
index 0000000000..b94999a071
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR APSL-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "MacTypes_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.1.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel
new file mode 100644
index 0000000000..1dd9fc4250
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+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_aho_corasick_dot",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3:memchr",
+ ":aho_corasick",
+ ],
+)
+
+# Unsupported target "dict-search" with type "example" omitted
+
+rust_library(
+ name = "aho_corasick",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3:memchr",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel
new file mode 100644
index 0000000000..6b9f6abec9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel
@@ -0,0 +1,61 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "arrayvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.25",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.14:nodrop",
+ "//vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26:odds",
+ ],
+)
+
+# Unsupported target "generic_array" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel
new file mode 100644
index 0000000000..0e06637dca
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "fifo" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+rust_library(
+ name = "atom",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "atom" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/autocfg-1.0.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/autocfg-1.0.1/BUILD.bazel
new file mode 100644
index 0000000000..0a7459c194
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/autocfg-1.0.1/BUILD.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
new file mode 100644
index 0000000000..f1ff51886d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel
new file mode 100644
index 0000000000..7eacdde646
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "conduit_mime_types",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [] + glob(["data/**"]),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24:rustc_serialize",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel
new file mode 100644
index 0000000000..03f1290455
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = "core_foundation_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.1",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel
new file mode 100644
index 0000000000..6e3e401db1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel
@@ -0,0 +1,101 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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_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_bench",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/bench.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.2",
+ # buildifier: leave-alone
+ deps = [
+ ":crossbeam",
+ ],
+)
+
+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_stress_msq",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/bin/stress-msq.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.2",
+ # buildifier: leave-alone
+ deps = [
+ ":crossbeam",
+ ],
+)
+
+rust_library(
+ name = "crossbeam",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-channel-0.4.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-channel-0.4.4/BUILD.bazel
new file mode 100644
index 0000000000..fe2187ba52
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-channel-0.4.4/BUILD.bazel
@@ -0,0 +1,91 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "crossbeam" with type "bench" omitted
+
+# Unsupported target "fibonacci" with type "example" omitted
+
+# Unsupported target "matching" with type "example" omitted
+
+# Unsupported target "stopwatch" with type "example" omitted
+
+rust_library(
+ name = "crossbeam_channel",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.4",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2:crossbeam_utils",
+ "//vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0:maybe_uninit",
+ ],
+)
+
+# Unsupported target "after" with type "test" omitted
+
+# Unsupported target "array" with type "test" omitted
+
+# Unsupported target "golang" with type "test" omitted
+
+# Unsupported target "iter" with type "test" omitted
+
+# Unsupported target "list" with type "test" omitted
+
+# Unsupported target "mpsc" with type "test" omitted
+
+# Unsupported target "never" with type "test" omitted
+
+# Unsupported target "ready" with type "test" omitted
+
+# Unsupported target "same_channel" with type "test" omitted
+
+# Unsupported target "select" with type "test" omitted
+
+# Unsupported target "select_macro" with type "test" omitted
+
+# Unsupported target "thread_locals" with type "test" omitted
+
+# Unsupported target "tick" with type "test" omitted
+
+# Unsupported target "zero" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.7.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.7.3/BUILD.bazel
new file mode 100644
index 0000000000..bf183c9279
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.7.3/BUILD.bazel
@@ -0,0 +1,64 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "crossbeam_deque",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.8.2:crossbeam_epoch",
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2:crossbeam_utils",
+ "//vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0:maybe_uninit",
+ ],
+)
+
+# Unsupported target "fifo" with type "test" omitted
+
+# Unsupported target "injector" with type "test" omitted
+
+# Unsupported target "lifo" with type "test" omitted
+
+# Unsupported target "steal" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.8.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.8.2/BUILD.bazel
new file mode 100644
index 0000000000..5b9e07a585
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.8.2/BUILD.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "defer" with type "bench" omitted
+
+# Unsupported target "flush" with type "bench" omitted
+
+# Unsupported target "pin" with type "bench" omitted
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+# Unsupported target "sanitize" with type "example" omitted
+
+# Unsupported target "treiber_stack" with type "example" omitted
+
+rust_library(
+ name = "crossbeam_epoch",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.10:cfg_if",
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2:crossbeam_utils",
+ "//vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ "//vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0:maybe_uninit",
+ "//vendored/complicated_cargo_library/cargo/vendor/memoffset-0.5.5:memoffset",
+ "//vendored/complicated_cargo_library/cargo/vendor/scopeguard-1.1.0:scopeguard",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2/BUILD.bazel
new file mode 100644
index 0000000000..c544ba42be
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2/BUILD.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "atomic_cell" with type "bench" omitted
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+rust_library(
+ name = "crossbeam_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.7.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.10:cfg_if",
+ "//vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ ],
+)
+
+# Unsupported target "atomic_cell" with type "test" omitted
+
+# Unsupported target "cache_padded" with type "test" omitted
+
+# Unsupported target "parker" with type "test" omitted
+
+# Unsupported target "sharded_lock" with type "test" omitted
+
+# Unsupported target "thread" with type "test" omitted
+
+# Unsupported target "wait_group" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.4/BUILD.bazel
new file mode 100644
index 0000000000..c824355b0b
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.4/BUILD.bazel
@@ -0,0 +1,178 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "derivative",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30:proc_macro2",
+ "//vendored/complicated_cargo_library/cargo/vendor/quote-0.6.13:quote",
+ "//vendored/complicated_cargo_library/cargo/vendor/syn-0.15.44:syn",
+ ],
+)
+
+# Unsupported target "compile-test" with type "test" omitted
+
+# Unsupported target "derive-clone" with type "test" omitted
+
+# Unsupported target "derive-clone-generics" with type "test" omitted
+
+# Unsupported target "derive-debug" with type "test" omitted
+
+# Unsupported target "derive-debug-bounds" with type "test" omitted
+
+# Unsupported target "derive-debug-generics" with type "test" omitted
+
+# Unsupported target "derive-debug-transparent" with type "test" omitted
+
+# Unsupported target "derive-default" with type "test" omitted
+
+# Unsupported target "derive-default-bounds" with type "test" omitted
+
+# Unsupported target "derive-eq" with type "test" omitted
+
+# Unsupported target "derive-hash" with type "test" omitted
+
+# Unsupported target "derive-ord" with type "test" omitted
+
+# Unsupported target "derive-partial-eq" with type "test" omitted
+
+# Unsupported target "issue-37-turbofish" with type "test" omitted
+
+# Unsupported target "rustc-class-implement-traits" with type "test" omitted
+
+# Unsupported target "rustc-deriving-bounds" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-array" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-enum" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-generic-enum" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-generic-tuple-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-clone-tuple-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-cmp-generic-enum" with type "test" omitted
+
+# Unsupported target "rustc-deriving-cmp-generic-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-cmp-generic-struct-enum" with type "test" omitted
+
+# Unsupported target "rustc-deriving-cmp-generic-tuple-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-copyclone" with type "test" omitted
+
+# Unsupported target "rustc-deriving-default-box" with type "test" omitted
+
+# Unsupported target "rustc-deriving-enum-single-variant" with type "test" omitted
+
+# Unsupported target "rustc-deriving-hash" with type "test" omitted
+
+# Unsupported target "rustc-deriving-in-fn" with type "test" omitted
+
+# Unsupported target "rustc-deriving-meta" with type "test" omitted
+
+# Unsupported target "rustc-deriving-meta-multiple" with type "test" omitted
+
+# Unsupported target "rustc-deriving-show" with type "test" omitted
+
+# Unsupported target "rustc-deriving-show-2" with type "test" omitted
+
+# Unsupported target "rustc-deriving-via-extension-hash-enum" with type "test" omitted
+
+# Unsupported target "rustc-deriving-via-extension-hash-struct" with type "test" omitted
+
+# Unsupported target "rustc-deriving-via-extension-type-params" with type "test" omitted
+
+# Unsupported target "rustc-expr-copy" with type "test" omitted
+
+# Unsupported target "rustc-exterior" with type "test" omitted
+
+# Unsupported target "rustc-issue-12860" with type "test" omitted
+
+# Unsupported target "rustc-issue-13434" with type "test" omitted
+
+# Unsupported target "rustc-issue-16530" with type "test" omitted
+
+# Unsupported target "rustc-issue-19037" with type "test" omitted
+
+# Unsupported target "rustc-issue-19102" with type "test" omitted
+
+# Unsupported target "rustc-issue-19135" with type "test" omitted
+
+# Unsupported target "rustc-issue-19358" with type "test" omitted
+
+# Unsupported target "rustc-issue-21402" with type "test" omitted
+
+# Unsupported target "rustc-issue-23649-3" with type "test" omitted
+
+# Unsupported target "rustc-issue-24085" with type "test" omitted
+
+# Unsupported target "rustc-issue-25394" with type "test" omitted
+
+# Unsupported target "rustc-issue-28561" with type "test" omitted
+
+# Unsupported target "rustc-issue-29030" with type "test" omitted
+
+# Unsupported target "rustc-issue-29540" with type "test" omitted
+
+# Unsupported target "rustc-issue-29710" with type "test" omitted
+
+# Unsupported target "rustc-issue-32292" with type "test" omitted
+
+# Unsupported target "rustc-issue-3935" with type "test" omitted
+
+# Unsupported target "rustc-issue-42453" with type "test" omitted
+
+# Unsupported target "rustc-issue-6341" with type "test" omitted
+
+# Unsupported target "rustc-typeclasses-eq-example" with type "test" omitted
+
+# Unsupported target "rustc-zero-sized-btreemap-insert" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.7/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.7/BUILD.bazel
new file mode 100644
index 0000000000..f4406f16aa
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.7/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = "fnv",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.7",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel
new file mode 100644
index 0000000000..79c9d5e6f5
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel
new file mode 100644
index 0000000000..6eb457aadf
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel
@@ -0,0 +1,60 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "benches" with type "bench" omitted
+
+rust_library(
+ name = "hibitset",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "parallel",
+ "rayon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5:atom",
+ "//vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2:rayon",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel
new file mode 100644
index 0000000000..6c067c1b9e
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77/BUILD.bazel
new file mode 100644
index 0000000000..9bbb6b054b
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77/BUILD.bazel
@@ -0,0 +1,60 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.77",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0/BUILD.bazel
new file mode 100644
index 0000000000..16729979a5
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/maybe-uninit-2.0.0/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+rust_library(
+ name = "maybe_uninit",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.0.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "doesnt_drop" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3/BUILD.bazel
new file mode 100644
index 0000000000..51d4a53eff
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.3.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.5.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.5.5/BUILD.bazel
new file mode 100644
index 0000000000..8a6b4e6a8d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.5.5/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+rust_library(
+ name = "memoffset",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel
new file mode 100644
index 0000000000..0c086ae9f4
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "no_std" with type "example" omitted
+
+# Unsupported target "no_std_or_alloc" with type "example" omitted
+
+# Unsupported target "simple" with type "example" omitted
+
+rust_library(
+ name = "mopa",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.2",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.14/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.14/BUILD.bazel
new file mode 100644
index 0000000000..9e26fdd3d8
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.14/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "nodrop",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.14",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel
new file mode 100644
index 0000000000..5d915242c4
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "values" with type "example" omitted
+
+rust_library(
+ name = "num_cpus",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel
new file mode 100644
index 0000000000..2e58268206
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "count_ones" with type "bench" omitted
+
+# Unsupported target "find" with type "bench" omitted
+
+rust_library(
+ name = "odds",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.26",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "slice" with type "test" omitted
+
+# Unsupported target "stride" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30/BUILD.bazel
new file mode 100644
index 0000000000..2f4bfa8bf8
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30/BUILD.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ "--cfg=use_proc_macro",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.30",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0:unicode_xid",
+ ],
+)
+
+# Unsupported target "marker" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel
new file mode 100644
index 0000000000..752c9072c8
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel
@@ -0,0 +1,64 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "benches" with type "bench" omitted
+
+rust_library(
+ name = "pulse",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5:atom",
+ "//vendored/complicated_cargo_library/cargo/vendor/time-0.1.44:time",
+ ],
+)
+
+# Unsupported target "barrier" with type "test" omitted
+
+# Unsupported target "select" with type "test" omitted
+
+# Unsupported target "simple" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel
new file mode 100644
index 0000000000..455dc51913
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "quote",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.15",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.13/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.13/BUILD.bazel
new file mode 100644
index 0000000000..284e833522
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.13/BUILD.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "quote",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.13",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30:proc_macro2",
+ ],
+)
+
+# Unsupported target "test" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel
new file mode 100644
index 0000000000..31be514b2d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "cpu_monitor" with type "example" omitted
+
+rust_library(
+ name = "rayon",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.8.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.8.1:rayon_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.8.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.8.1/BUILD.bazel
new file mode 100644
index 0000000000..ad64c42b0c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.8.1/BUILD.bazel
@@ -0,0 +1,96 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "build-script-build" with type "custom-build" omitted
+
+rust_library(
+ name = "rayon_core",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.8.1",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-channel-0.4.4:crossbeam_channel",
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.7.3:crossbeam_deque",
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.7.2:crossbeam_utils",
+ "//vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ "//vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.13.0:num_cpus",
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@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-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",
+ ): [
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+# Unsupported target "double_init_fail" with type "test" omitted
+
+# Unsupported target "init_zero_threads" with type "test" omitted
+
+# Unsupported target "scope_join" with type "test" omitted
+
+# Unsupported target "scoped_threadpool" with type "test" omitted
+
+# Unsupported target "simple_panic" with type "test" omitted
+
+# Unsupported target "stack_overflow_crash" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel
new file mode 100644
index 0000000000..8ab15d2e90
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel
@@ -0,0 +1,94 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# 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 = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_env = {
+ "NOT_USED_KEY": "not_used_value",
+ },
+ rustc_flags = [
+ "--cap-lints=allow",
+ "--cfg=not_used",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.11",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10:aho_corasick",
+ "//vendored/complicated_cargo_library/cargo/vendor/memchr-2.3.3:memchr",
+ "//vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6:regex_syntax",
+ "//vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6:thread_local",
+ "//vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.4:utf8_ranges",
+ "//vendored/complicated_cargo_library/cargo:specs",
+ ],
+)
+
+# 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 "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/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel
new file mode 100644
index 0000000000..92c81295c6
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.6",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.8:ucd_util",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel
new file mode 100644
index 0000000000..6324e7f9e1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "base64" with type "bench" omitted
+
+# Unsupported target "hex" with type "bench" omitted
+
+# Unsupported target "json" with type "bench" omitted
+
+rust_library(
+ name = "rustc_serialize",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.24",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-1.1.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-1.1.0/BUILD.bazel
new file mode 100644
index 0000000000..fe8eacf340
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-1.1.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 "readme" with type "example" omitted
+
+rust_library(
+ name = "scopeguard",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.1.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel
new file mode 100644
index 0000000000..983540b4b8
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = "security_framework_sys",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0:MacTypes_sys",
+ "//vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1:core_foundation_sys",
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel
new file mode 100644
index 0000000000..7435166daa
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel
@@ -0,0 +1,82 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "basic_dispatch" with type "example" omitted
+
+# Unsupported target "custom_bundle" with type "example" omitted
+
+# Unsupported target "derive_bundle" with type "example" omitted
+
+# Unsupported target "fetch_opt" with type "example" omitted
+
+# Unsupported target "generic_derive" with type "example" omitted
+
+# Unsupported target "par_seq" with type "example" omitted
+
+# Unsupported target "seq_dispatch" with type "example" omitted
+
+# Unsupported target "thread_local" with type "example" omitted
+
+rust_library(
+ name = "shred",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ proc_macro_deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0:shred_derive",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.2",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25:arrayvec",
+ "//vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.7:fnv",
+ "//vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2:mopa",
+ "//vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3:pulse",
+ "//vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2:rayon",
+ "//vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5:smallvec",
+ ],
+)
+
+# Unsupported target "dispatch" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel
new file mode 100644
index 0000000000..85c9d3f917
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "shred_derive",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "proc-macro",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15:quote",
+ "//vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11:syn",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel
new file mode 100644
index 0000000000..81ca1502dc
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "reciprocal", # MPL-2.0 from expression "MPL-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.5",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel
new file mode 100644
index 0000000000..bf569a9b6e
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel
@@ -0,0 +1,86 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "parallel" with type "bench" omitted
+
+# Unsupported target "storage" with type "bench" omitted
+
+# Unsupported target "world" with type "bench" omitted
+
+# Unsupported target "async" with type "example" omitted
+
+# Unsupported target "basic" with type "example" omitted
+
+# Unsupported target "bitset" with type "example" omitted
+
+# Unsupported target "cluster_bomb" with type "example" omitted
+
+# Unsupported target "common" with type "example" omitted
+
+# Unsupported target "full" with type "example" omitted
+
+# Unsupported target "serialize" with type "example" omitted
+
+rust_library(
+ name = "specs",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ proc_macro_deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.4:derivative",
+ "//vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0:shred_derive",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2:crossbeam",
+ "//vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.7:fnv",
+ "//vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2:hibitset",
+ "//vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2:mopa",
+ "//vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2:rayon",
+ "//vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2:shred",
+ "//vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0:tuple_utils",
+ ],
+)
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel
new file mode 100644
index 0000000000..698dac5876
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "syn",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "parsing",
+ "printing",
+ "quote",
+ "synom",
+ "unicode-xid",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.11",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15:quote",
+ "//vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3:synom",
+ "//vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4:unicode_xid",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.44/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.44/BUILD.bazel
new file mode 100644
index 0000000000..b96ce113ce
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.44/BUILD.bazel
@@ -0,0 +1,99 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = "syn",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "extra-traits",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ "visit",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.15.44",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.30:proc_macro2",
+ "//vendored/complicated_cargo_library/cargo/vendor/quote-0.6.13:quote",
+ "//vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0:unicode_xid",
+ ],
+)
+
+# Unsupported target "test_asyncness" with type "test" omitted
+
+# Unsupported target "test_attribute" with type "test" omitted
+
+# Unsupported target "test_derive_input" with type "test" omitted
+
+# Unsupported target "test_expr" with type "test" omitted
+
+# Unsupported target "test_generics" with type "test" omitted
+
+# Unsupported target "test_grouping" with type "test" omitted
+
+# Unsupported target "test_ident" with type "test" omitted
+
+# Unsupported target "test_lit" with type "test" omitted
+
+# Unsupported target "test_meta" with type "test" omitted
+
+# Unsupported target "test_parse_buffer" with type "test" omitted
+
+# Unsupported target "test_pat" with type "test" omitted
+
+# Unsupported target "test_precedence" with type "test" omitted
+
+# Unsupported target "test_round_trip" with type "test" omitted
+
+# Unsupported target "test_should_parse" with type "test" omitted
+
+# Unsupported target "test_token_trees" with type "test" omitted
+
+# Unsupported target "zzz_stable" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel
new file mode 100644
index 0000000000..580572cf15
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "synom",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.11.3",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4:unicode_xid",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel
new file mode 100644
index 0000000000..742021f7fe
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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
+
+# Unsupported target "thread_local" with type "bench" omitted
+
+rust_library(
+ name = "thread_local",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.44/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.44/BUILD.bazel
new file mode 100644
index 0000000000..1d42e80214
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.44/BUILD.bazel
@@ -0,0 +1,73 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "time",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.44",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.77:libc",
+ ] + selects.with_or({
+ # cfg(target_os = "wasi")
+ (
+ "@rules_rust//rust/platform:wasm32-wasi",
+ ): [
+ "//vendored/complicated_cargo_library/cargo/vendor/wasi-0.10.0+wasi-snapshot-preview1:wasi",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "//vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.9:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..76f11f9be6
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = "tuple_utils",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel
new file mode 100644
index 0000000000..fe5c422d82
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ucd_util",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel
new file mode 100644
index 0000000000..49a12cd7e2
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_xid",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel
new file mode 100644
index 0000000000..b79c8143c2
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "unicode_xid",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel
new file mode 100644
index 0000000000..8f64eb7e45
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "utf8_ranges",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/wasi-0.10.0+wasi-snapshot-preview1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/wasi-0.10.0+wasi-snapshot-preview1/BUILD.bazel
new file mode 100644
index 0000000000..5dcc3cfb95
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/wasi-0.10.0+wasi-snapshot-preview1/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "wasi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.10.0+wasi-snapshot-preview1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.9/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.9/BUILD.bazel
new file mode 100644
index 0000000000..008afb7c17
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.9/BUILD.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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 = [
+ "minwinbase",
+ "minwindef",
+ "ntdef",
+ "profileapi",
+ "std",
+ "sysinfoapi",
+ "timezoneapi",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..5b435126f9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..a98f2b87eb
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/complicated_cargo_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/complicated_cargo_library/src/main.rs b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/src/main.rs
new file mode 100644
index 0000000000..2d26cf7944
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/complicated_cargo_library/src/main.rs
@@ -0,0 +1,9 @@
+extern crate regex;
+extern crate specs;
+
+#[allow(unused_imports)]
+use regex::Match;
+
+fn main() {
+ println!("hello world");
+}
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/BUILD b/cargo/cargo_raze/examples/vendored/hello_cargo_library/BUILD
new file mode 100644
index 0000000000..b101e8c650
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/BUILD
@@ -0,0 +1,12 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "hello_cargo_library",
+ srcs = ["src/main.rs"],
+ deps = [
+ "//vendored/hello_cargo_library/cargo:fern",
+ "//vendored/hello_cargo_library/cargo:log",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.lock b/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.lock
new file mode 100644
index 0000000000..102fa2cc94
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.lock
@@ -0,0 +1,24 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "compile_with_bazel"
+version = "0.1.0"
+dependencies = [
+ "fern",
+ "log",
+]
+
+[[package]]
+name = "fern"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4d2f58d053ad7791bfaad58a3f3541fe2d2aecc564dd82aee7f92fa402c054b2"
+dependencies = [
+ "log",
+]
+
+[[package]]
+name = "log"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab83497bf8bf4ed2a74259c1c802351fcd67a65baa86394b6ba73c36f4838054"
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.toml b/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.toml
new file mode 100644
index 0000000000..9d41dab2d9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/Cargo.toml
@@ -0,0 +1,27 @@
+[package]
+name = "compile_with_bazel"
+version = "0.1.0"
+authors = ["Alex McArther "]
+
+[dependencies]
+log = "=0.3.6"
+fern = "=0.3.5"
+
+[[bin]]
+name = "hello_cargo_library"
+path = "src/main.rs"
+
+[package.metadata.raze]
+workspace_path = "//vendored/hello_cargo_library/cargo"
+targets = [
+ "aarch64-apple-darwin",
+ "aarch64-unknown-linux-gnu",
+ "x86_64-apple-darwin",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-linux-gnu",
+]
+output_buildfile_suffix = "BUILD.bazel"
+gen_workspace_prefix = "vendored_hello_cargo_library"
+genmode = "Vendored"
+package_aliases_dir = "cargo"
+default_gen_buildrs = false
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/README.md b/cargo/cargo_raze/examples/vendored/hello_cargo_library/README.md
new file mode 100644
index 0000000000..a1ba6f4f9b
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/README.md
@@ -0,0 +1,11 @@
+# hello_cargo_library
+
+## How to build
+
+In order to build this example, the dependencies must be vendored. This can be achieved by performing the following:
+
+1. Navigate to `./examples/vendored/hello_cargo_library` from the root of the `cargo-raze` checkout
+2. Run `cargo vendor --versioned-dirs cargo/vendor`
+3. Rerun `cargo raze` to regenerate the Bazel BUILD files
+
+At this point you should now be able to run `bazel build ...` to compile the source code.
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/BUILD.bazel
new file mode 100644
index 0000000000..f084fc9712
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/BUILD.bazel
@@ -0,0 +1,31 @@
+"""
+@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 = "fern",
+ actual = "//vendored/hello_cargo_library/cargo/vendor/fern-0.3.5:fern",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "log",
+ actual = "//vendored/hello_cargo_library/cargo/vendor/log-0.3.6:log",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel
new file mode 100644
index 0000000000..7ec6ba241a
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/hello_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "fern",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.5",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/hello_cargo_library/cargo/vendor/log-0.3.6:log",
+ ],
+)
+
+# Unsupported target "doc_test_copy" with type "test" omitted
+
+# Unsupported target "lib" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.6/BUILD.bazel
new file mode 100644
index 0000000000..63a34c4e22
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.6/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/hello_cargo_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/hello_cargo_library/src/main.rs b/cargo/cargo_raze/examples/vendored/hello_cargo_library/src/main.rs
new file mode 100644
index 0000000000..08f0cab427
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/hello_cargo_library/src/main.rs
@@ -0,0 +1,19 @@
+#[macro_use]
+extern crate log;
+extern crate fern;
+
+pub fn main() {
+ let logger_config = fern::DispatchConfig {
+ format: Box::new(|msg: &str, level: &log::LogLevel, _location: &log::LogLocation| {
+ format!("[{}]{}", level, msg)
+ }),
+ output: vec![fern::OutputConfig::stdout(), fern::OutputConfig::file("output.log")],
+ level: log::LogLevelFilter::Trace,
+ };
+ if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) {
+ panic!("Failed to initialize global logger: {}", e);
+ }
+
+ trace!("Hello world");
+ warn!("Hello world!");
+}
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/BUILD b/cargo/cargo_raze/examples/vendored/non_cratesio_library/BUILD
new file mode 100644
index 0000000000..ded4f865b0
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/BUILD
@@ -0,0 +1,13 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_binary(
+ name = "non_cratesio_library",
+ srcs = ["src/main.rs"],
+ deps = [
+ "//vendored/non_cratesio_library/cargo:env_logger",
+ "//vendored/non_cratesio_library/cargo:futures",
+ "//vendored/non_cratesio_library/cargo:log",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.lock b/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.lock
new file mode 100644
index 0000000000..d45c8e5bb1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.lock
@@ -0,0 +1,296 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "aho-corasick"
+version = "0.6.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+[[package]]
+name = "compile_with_bazel"
+version = "0.1.0"
+dependencies = [
+ "env_logger",
+ "futures",
+ "log 0.4.0",
+]
+
+[[package]]
+name = "either"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
+
+[[package]]
+name = "env_logger"
+version = "0.5.5"
+source = "git+https://github.com/sebasmagri/env_logger.git?tag=v0.5.5#4d7926c515a8620e7fa0e91a07047023170c1064"
+dependencies = [
+ "atty",
+ "humantime",
+ "log 0.4.11",
+ "regex",
+ "termcolor",
+]
+
+[[package]]
+name = "futures"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-executor",
+ "futures-io",
+ "futures-sink",
+ "futures-stable",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "futures-executor"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "lazy_static",
+ "num_cpus",
+]
+
+[[package]]
+name = "futures-io"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-core",
+ "iovec",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+]
+
+[[package]]
+name = "futures-stable"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "futures-core",
+ "futures-executor",
+]
+
+[[package]]
+name = "futures-util"
+version = "0.2.0"
+source = "git+https://github.com/rust-lang-nursery/futures-rs.git?tag=0.2.0#53796cc27ead6988478fa09681750386fb3998a2"
+dependencies = [
+ "either",
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-sink",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "humantime"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
+dependencies = [
+ "quick-error",
+]
+
+[[package]]
+name = "iovec"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235"
+
+[[package]]
+name = "log"
+version = "0.4.0"
+source = "git+https://github.com/rust-lang-nursery/log.git?rev=bf40d1f563c#bf40d1f563cf3eef63233d935ce56f2198b381d3"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "log"
+version = "0.4.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "memchr"
+version = "2.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "quick-error"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
+
+[[package]]
+name = "regex"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+ "thread_local",
+ "utf8-ranges",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7"
+dependencies = [
+ "ucd-util",
+]
+
+[[package]]
+name = "termcolor"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc4587ead41bf016f11af03e55a624c06568b5a19db4e90fde573d805074f83"
+dependencies = [
+ "wincolor",
+]
+
+[[package]]
+name = "thread_local"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "ucd-util"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c85f514e095d348c279b1e5cd76795082cf15bd59b93207832abe0b1d8fed236"
+
+[[package]]
+name = "utf8-ranges"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "wincolor"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eeb06499a3a4d44302791052df005d5232b927ed1a9658146d842165c4de7767"
+dependencies = [
+ "winapi",
+]
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.toml b/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.toml
new file mode 100644
index 0000000000..985606424d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/Cargo.toml
@@ -0,0 +1,36 @@
+[package]
+name = "compile_with_bazel"
+version = "0.1.0"
+authors = ["Bradlee Speice "]
+
+[dependencies]
+
+futures = { git = "https://github.com/rust-lang-nursery/futures-rs.git", tag = "0.2.0" }
+env_logger = { git = "https://github.com/sebasmagri/env_logger.git", tag = "v0.5.5" }
+# Note that we use a (slightly) outdated version of log; because env_logger resolves a version
+# of `log` from crates.io that may clash with the resolution here, we need to force
+# a specific version that's different from what `env_logger` depends on.
+log = { git = "https://github.com/rust-lang-nursery/log.git", rev = "bf40d1f563c" }
+
+[[bin]]
+name = "non_cratesio_library"
+path = "src/main.rs"
+
+[package.metadata.raze]
+workspace_path = "//vendored/non_cratesio_library/cargo"
+targets = [
+ "aarch64-apple-darwin",
+ "aarch64-unknown-linux-gnu",
+ "x86_64-apple-darwin",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-linux-gnu",
+]
+gen_workspace_prefix = "vendored_non_cratesio_library"
+genmode = "Vendored"
+package_aliases_dir = "cargo"
+default_gen_buildrs = false
+
+[package.metadata.raze.crates.log.'0.4.11']
+additional_flags = [
+ "--cfg=atomic_cas"
+]
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/README.md b/cargo/cargo_raze/examples/vendored/non_cratesio_library/README.md
new file mode 100644
index 0000000000..4ac06ec9b1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/README.md
@@ -0,0 +1,11 @@
+# non_cratesio_library
+
+## How to build
+
+In order to build this example, the dependencies must be vendored. This can be achieved by performing the following:
+
+1. Navigate to `./examples/vendored/non_cratesio_library` from the root of the `cargo-raze` checkout
+2. Run `cargo vendor --versioned-dirs cargo/vendor`
+3. Rerun `cargo raze` to regenerate the Bazel BUILD files
+
+At this point you should now be able to run `bazel build ...` to compile the source code.
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/BUILD.bazel
new file mode 100644
index 0000000000..3072bd7c3d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/BUILD.bazel
@@ -0,0 +1,40 @@
+"""
+@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 = "env_logger",
+ actual = "//vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5:env_logger",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "futures",
+ actual = "//vendored/non_cratesio_library/cargo/vendor/futures-0.2.0:futures",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
+
+alias(
+ name = "log",
+ actual = "//vendored/non_cratesio_library/cargo/vendor/log-0.4.0:log",
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel
new file mode 100644
index 0000000000..25b6df21be
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel
@@ -0,0 +1,83 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+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_aho_corasick_dot",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/main.rs",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3:memchr",
+ ":aho_corasick",
+ ],
+)
+
+# Unsupported target "dict-search" with type "example" omitted
+
+rust_library(
+ name = "aho_corasick",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.6.10",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3:memchr",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.14/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.14/BUILD.bazel
new file mode 100644
index 0000000000..715e044ab5
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.14/BUILD.bazel
@@ -0,0 +1,76 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ 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:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+ "//conditions:default": [],
+ }) + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "//vendored/non_cratesio_library/cargo/vendor/winapi-0.3.9:winapi",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
new file mode 100644
index 0000000000..89c4f5d184
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.10/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/either-1.6.1/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/either-1.6.1/BUILD.bazel
new file mode 100644
index 0000000000..2d1178901a
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/either-1.6.1/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "either",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.6.1",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel
new file mode 100644
index 0000000000..f0541cb650
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel
@@ -0,0 +1,74 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "custom_default_format" with type "example" omitted
+
+# Unsupported target "custom_format" with type "example" omitted
+
+# Unsupported target "custom_logger" with type "example" omitted
+
+# Unsupported target "default" with type "example" omitted
+
+# Unsupported target "direct_logger" with type "example" omitted
+
+rust_library(
+ name = "env_logger",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "regex",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.5",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/atty-0.2.14:atty",
+ "//vendored/non_cratesio_library/cargo/vendor/humantime-1.3.0:humantime",
+ "//vendored/non_cratesio_library/cargo/vendor/log-0.4.11:log",
+ "//vendored/non_cratesio_library/cargo/vendor/regex-0.2.11:regex",
+ "//vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.6:termcolor",
+ ],
+)
+
+# Unsupported target "log-in-log" with type "test" omitted
+
+# Unsupported target "regexp_filter" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..f39e112e29
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel
@@ -0,0 +1,104 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "futures",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0:futures_channel",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0:futures_executor",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0:futures_io",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0:futures_sink",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0:futures_stable",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0:futures_util",
+ ],
+)
+
+# Unsupported target "all" with type "test" omitted
+
+# Unsupported target "async_await_tests" with type "test" omitted
+
+# Unsupported target "buffer_unordered" with type "test" omitted
+
+# Unsupported target "eager_drop" with type "test" omitted
+
+# Unsupported target "eventual" with type "test" omitted
+
+# Unsupported target "fuse" with type "test" omitted
+
+# Unsupported target "future_flatten_stream" with type "test" omitted
+
+# Unsupported target "futures_ordered" with type "test" omitted
+
+# Unsupported target "futures_unordered" with type "test" omitted
+
+# Unsupported target "inspect" with type "test" omitted
+
+# Unsupported target "ready_queue" with type "test" omitted
+
+# Unsupported target "recurse" with type "test" omitted
+
+# Unsupported target "select_all" with type "test" omitted
+
+# Unsupported target "select_ok" with type "test" omitted
+
+# Unsupported target "shared" with type "test" omitted
+
+# Unsupported target "sink" with type "test" omitted
+
+# Unsupported target "split" with type "test" omitted
+
+# Unsupported target "stream" with type "test" omitted
+
+# Unsupported target "stream_catch_unwind" with type "test" omitted
+
+# Unsupported target "stream_select_all" with type "test" omitted
+
+# Unsupported target "unfold" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..5bf20d9a32
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel
@@ -0,0 +1,65 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "sync_mpsc" with type "bench" omitted
+
+rust_library(
+ name = "futures_channel",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ ],
+)
+
+# Unsupported target "channel" with type "test" omitted
+
+# Unsupported target "mpsc" with type "test" omitted
+
+# Unsupported target "mpsc-close" with type "test" omitted
+
+# Unsupported target "oneshot" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..3a30649129
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "futures_core",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "either",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/either-1.6.1:either",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..d8b5f8a1c9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel
@@ -0,0 +1,67 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "poll" with type "bench" omitted
+
+# Unsupported target "thread_notify" with type "bench" omitted
+
+rust_library(
+ name = "futures_executor",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "lazy_static",
+ "num_cpus",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0:futures_channel",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0:futures_util",
+ "//vendored/non_cratesio_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ "//vendored/non_cratesio_library/cargo/vendor/num_cpus-1.13.0:num_cpus",
+ ],
+)
+
+# Unsupported target "local_pool" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..612d2400f9
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "futures_io",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "iovec",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ "//vendored/non_cratesio_library/cargo/vendor/iovec-0.1.4:iovec",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..2db41c6fad
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "futures_sink",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0:futures_channel",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..98bc30575d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "futures_stable",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0:futures_executor",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel
new file mode 100644
index 0000000000..6e4061ee82
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "bilock" with type "bench" omitted
+
+# Unsupported target "futures_unordered" with type "bench" omitted
+
+rust_library(
+ name = "futures_util",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/either-1.6.1:either",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0:futures_channel",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0:futures_core",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0:futures_io",
+ "//vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0:futures_sink",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel
new file mode 100644
index 0000000000..0a5696fb3c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/hermit-abi-0.1.15/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.15",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.3.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.3.0/BUILD.bazel
new file mode 100644
index 0000000000..e2b4e2f235
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.3.0/BUILD.bazel
@@ -0,0 +1,58 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.3.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.3:quick_error",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.4/BUILD.bazel
new file mode 100644
index 0000000000..86b7835a08
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.4/BUILD.bazel
@@ -0,0 +1,66 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "iovec",
+ srcs = glob(["**/*.rs"]),
+ aliases = {
+ },
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.4",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel
new file mode 100644
index 0000000000..4bdae39f0f
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.4.0/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ 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/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.77/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.77/BUILD.bazel
new file mode 100644
index 0000000000..1dffc16c3d
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.77/BUILD.bazel
@@ -0,0 +1,59 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.77",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..90eea3a79c
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.10:cfg_if",
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.11/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.11/BUILD.bazel
new file mode 100644
index 0000000000..eae1458cf7
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.11/BUILD.bazel
@@ -0,0 +1,62 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 = "log",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ "--cfg=atomic_cas",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.11",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.10:cfg_if",
+ ],
+)
+
+# Unsupported target "filters" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3/BUILD.bazel
new file mode 100644
index 0000000000..d78ca840c6
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3/BUILD.bazel
@@ -0,0 +1,57 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "2.3.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel
new file mode 100644
index 0000000000..0507f8ccd5
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.13.0/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "values" with type "example" omitted
+
+rust_library(
+ name = "num_cpus",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.13.0",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.77:libc",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.3/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.3/BUILD.bazel
new file mode 100644
index 0000000000..5c2b928123
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.3/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 "context" with type "example" omitted
+
+rust_library(
+ name = "quick_error",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.2.3",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.11/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.11/BUILD.bazel
new file mode 100644
index 0000000000..3de01beee4
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.11/BUILD.bazel
@@ -0,0 +1,89 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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
+
+# 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 = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.2.11",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.10:aho_corasick",
+ "//vendored/non_cratesio_library/cargo/vendor/memchr-2.3.3:memchr",
+ "//vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.6:regex_syntax",
+ "//vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.6:thread_local",
+ "//vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.4:utf8_ranges",
+ ],
+)
+
+# 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 "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/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel
new file mode 100644
index 0000000000..fa7c787470
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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 = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.5.6",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.8:ucd_util",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.6/BUILD.bazel
new file mode 100644
index 0000000000..43684ffb82
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.6/BUILD.bazel
@@ -0,0 +1,63 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ ] + selects.with_or({
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ "//vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6:wincolor",
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel
new file mode 100644
index 0000000000..2e30d1c596
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel
@@ -0,0 +1,56 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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
+
+# Unsupported target "thread_local" with type "bench" omitted
+
+rust_library(
+ name = "thread_local",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.6",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/lazy_static-1.4.0:lazy_static",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel
new file mode 100644
index 0000000000..111cde18d1
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.8/BUILD.bazel
@@ -0,0 +1,53 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "notice", # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "ucd_util",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.8",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel
new file mode 100644
index 0000000000..61b442de74
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.4/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+ name = "utf8_ranges",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "1.0.4",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.9/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.9/BUILD.bazel
new file mode 100644
index 0000000000..1423df2847
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.9/BUILD.bazel
@@ -0,0 +1,61 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ "minwinbase",
+ "minwindef",
+ "processenv",
+ "winbase",
+ "wincon",
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.3.9",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..b055a4af78
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
new file mode 100644
index 0000000000..49bfb18e05
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel
@@ -0,0 +1,55 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", 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",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.4.0",
+ # buildifier: leave-alone
+ deps = [
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel
new file mode 100644
index 0000000000..564a0b53bf
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel
@@ -0,0 +1,54 @@
+"""
+@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:rust.bzl",
+ "rust_binary",
+ "rust_library",
+ "rust_test",
+)
+
+package(default_visibility = [
+ # Public for visibility by "@raze__crate__version//" targets.
+ #
+ # Prefer access through "//vendored/non_cratesio_library/cargo", which limits external
+ # visibility to explicit Cargo.toml dependencies.
+ "//visibility:public",
+])
+
+licenses([
+ "unencumbered", # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+
+rust_library(
+ name = "wincolor",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ crate_type = "lib",
+ data = [],
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-raze",
+ "manual",
+ ],
+ version = "0.1.6",
+ # buildifier: leave-alone
+ deps = [
+ "//vendored/non_cratesio_library/cargo/vendor/winapi-0.3.9:winapi",
+ ],
+)
diff --git a/cargo/cargo_raze/examples/vendored/non_cratesio_library/src/main.rs b/cargo/cargo_raze/examples/vendored/non_cratesio_library/src/main.rs
new file mode 100644
index 0000000000..93b25d48f4
--- /dev/null
+++ b/cargo/cargo_raze/examples/vendored/non_cratesio_library/src/main.rs
@@ -0,0 +1,22 @@
+#[macro_use]
+extern crate log;
+extern crate env_logger;
+extern crate futures;
+
+use futures::executor::block_on;
+use futures::future::ok;
+use futures::Future;
+
+fn return_a_future() -> Box> {
+ Box::new(ok(42))
+}
+
+pub fn main() {
+ env_logger::init();
+ trace!("Getting prepared to call a future");
+
+ let f = return_a_future();
+ let result = block_on(f).unwrap();
+
+ info!("Got result from future: {:?}", result);
+}
diff --git a/cargo/cargo_raze/impl/BUILD.bazel b/cargo/cargo_raze/impl/BUILD.bazel
new file mode 100644
index 0000000000..7304186e86
--- /dev/null
+++ b/cargo/cargo_raze/impl/BUILD.bazel
@@ -0,0 +1,84 @@
+load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test")
+load("//third_party/cargo:crates.bzl", "all_crate_deps")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "cargo_raze",
+ srcs = glob(
+ ["src/**/*.rs"],
+ exclude = ["src/bin/cargo-raze.rs"],
+ ),
+ data = glob(
+ ["src/**/*.template"],
+ exclude = ["src/testing/**/*.template"],
+ ),
+ edition = "2018",
+ proc_macro_deps = all_crate_deps(proc_macro = True),
+ deps = all_crate_deps(),
+)
+
+rust_binary(
+ name = "cargo_raze_bin",
+ srcs = [
+ "src/bin/cargo-raze.rs",
+ ],
+ edition = "2018",
+ proc_macro_deps = all_crate_deps(proc_macro = True),
+ deps = [":cargo_raze"] + all_crate_deps(),
+)
+
+alias(
+ name = "cargo",
+ actual = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": "@rust_darwin_aarch64//:cargo",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": "@rust_linux_aarch64//:cargo",
+ "@rules_rust//rust/platform:x86_64-apple-darwin": "@rust_darwin_x86_64//:cargo",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": "@rust_windows_x86_64//:cargo",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": "@rust_linux_x86_64//:cargo",
+ }),
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "rustc",
+ actual = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": "@rust_darwin_aarch64//:rustc",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": "@rust_linux_aarch64//:rustc",
+ "@rules_rust//rust/platform:x86_64-apple-darwin": "@rust_darwin_x86_64//:rustc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": "@rust_windows_x86_64//:rustc",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": "@rust_linux_x86_64//:rustc",
+ }),
+ visibility = ["//visibility:private"],
+)
+
+_TEST_DATA = glob(["src/**/*.template"]) + [
+ ":cargo",
+ ":rustc",
+]
+
+_TEST_ENV = {
+ "CARGO": "$(execpath :cargo)",
+ "CARGO_HOME": "$(execpath :cargo).home",
+ "RUSTC": "$(execpath :rustc)",
+}
+
+rust_test(
+ name = "cargo_raze_lib_test",
+ crate = ":cargo_raze",
+ data = _TEST_DATA,
+ edition = "2018",
+ env = _TEST_ENV,
+ proc_macro_deps = all_crate_deps(proc_macro_dev = True),
+ deps = all_crate_deps(normal_dev = True),
+)
+
+rust_test(
+ name = "cargo_raze_bin_test",
+ crate = ":cargo_raze_bin",
+ data = _TEST_DATA,
+ edition = "2018",
+ env = _TEST_ENV,
+ proc_macro_deps = all_crate_deps(proc_macro_dev = True),
+ deps = all_crate_deps(normal_dev = True),
+)
diff --git a/cargo/cargo_raze/impl/Cargo.lock b/cargo/cargo_raze/impl/Cargo.lock
new file mode 100644
index 0000000000..342a70d5fd
--- /dev/null
+++ b/cargo/cargo_raze/impl/Cargo.lock
@@ -0,0 +1,2816 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "adler"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+[[package]]
+name = "aho-corasick"
+version = "0.7.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "anyhow"
+version = "1.0.38"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1"
+
+[[package]]
+name = "arrayref"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
+
+[[package]]
+name = "arrayvec"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+
+[[package]]
+name = "ascii-canvas"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff8eb72df928aafb99fe5d37b383f2fe25bd2a765e3e5f7c365916b6f2463a29"
+dependencies = [
+ "term",
+]
+
+[[package]]
+name = "assert-json-diff"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4259cbe96513d2f1073027a259fc2ca917feb3026a5a8d984e3628e490255cc0"
+dependencies = [
+ "extend",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "async-channel"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9"
+dependencies = [
+ "concurrent-queue",
+ "event-listener",
+ "futures-core",
+]
+
+[[package]]
+name = "async-executor"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb877970c7b440ead138f6321a3b5395d6061183af779340b65e20c0fede9146"
+dependencies = [
+ "async-task",
+ "concurrent-queue",
+ "fastrand",
+ "futures-lite",
+ "once_cell",
+ "vec-arena",
+]
+
+[[package]]
+name = "async-global-executor"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6"
+dependencies = [
+ "async-channel",
+ "async-executor",
+ "async-io",
+ "async-mutex",
+ "blocking",
+ "futures-lite",
+ "num_cpus",
+ "once_cell",
+]
+
+[[package]]
+name = "async-io"
+version = "1.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd"
+dependencies = [
+ "concurrent-queue",
+ "fastrand",
+ "futures-lite",
+ "libc",
+ "log",
+ "nb-connect",
+ "once_cell",
+ "parking",
+ "polling",
+ "vec-arena",
+ "waker-fn",
+ "winapi",
+]
+
+[[package]]
+name = "async-lock"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1996609732bde4a9988bc42125f55f2af5f3c36370e27c778d5191a4a1b63bfb"
+dependencies = [
+ "event-listener",
+]
+
+[[package]]
+name = "async-mutex"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e"
+dependencies = [
+ "event-listener",
+]
+
+[[package]]
+name = "async-object-pool"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aeb901c30ebc2fc4ab46395bbfbdba9542c16559d853645d75190c3056caf3bc"
+dependencies = [
+ "async-std",
+]
+
+[[package]]
+name = "async-process"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c8cea09c1fb10a317d1b5af8024eeba256d6554763e85ecd90ff8df31c7bbda"
+dependencies = [
+ "async-io",
+ "blocking",
+ "cfg-if 0.1.10",
+ "event-listener",
+ "futures-lite",
+ "once_cell",
+ "signal-hook",
+ "winapi",
+]
+
+[[package]]
+name = "async-std"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341"
+dependencies = [
+ "async-channel",
+ "async-global-executor",
+ "async-io",
+ "async-lock",
+ "async-process",
+ "crossbeam-utils",
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-lite",
+ "gloo-timers",
+ "kv-log-macro",
+ "log",
+ "memchr",
+ "num_cpus",
+ "once_cell",
+ "pin-project-lite",
+ "pin-utils",
+ "slab",
+ "wasm-bindgen-futures",
+]
+
+[[package]]
+name = "async-stream"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3670df70cbc01729f901f94c887814b3c68db038aad1329a418bae178bc5295c"
+dependencies = [
+ "async-stream-impl",
+ "futures-core",
+]
+
+[[package]]
+name = "async-stream-impl"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3548b8efc9f8e8a5a0a2808c5bd8451a9031b9e5b879a79590304ae928b0a70"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "async-task"
+version = "4.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
+
+[[package]]
+name = "async-trait"
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d3a45e77e34375a7923b1e8febb049bb011f064714a8e17a1a616fef01da13d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "atomic-waker"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+[[package]]
+name = "base64"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+
+[[package]]
+name = "basic-cookies"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb53b6b315f924c7f113b162e53b3901c05fc9966baf84d201dfcc7432a4bb38"
+dependencies = [
+ "lalrpop",
+ "lalrpop-util",
+ "regex",
+]
+
+[[package]]
+name = "bit-set"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "blake2b_simd"
+version = "0.5.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
+dependencies = [
+ "arrayref",
+ "arrayvec",
+ "constant_time_eq",
+]
+
+[[package]]
+name = "block-buffer"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
+dependencies = [
+ "block-padding",
+ "byte-tools",
+ "byteorder",
+ "generic-array",
+]
+
+[[package]]
+name = "block-padding"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
+dependencies = [
+ "byte-tools",
+]
+
+[[package]]
+name = "blocking"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9"
+dependencies = [
+ "async-channel",
+ "async-task",
+ "atomic-waker",
+ "fastrand",
+ "futures-lite",
+ "once_cell",
+]
+
+[[package]]
+name = "bstr"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "473fc6b38233f9af7baa94fb5852dca389e3d95b8e21c8e3719301462c5d9faf"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "bumpalo"
+version = "3.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"
+
+[[package]]
+name = "byte-tools"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
+
+[[package]]
+name = "byteorder"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b"
+
+[[package]]
+name = "bytes"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
+
+[[package]]
+name = "cache-padded"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
+
+[[package]]
+name = "cargo-clone-crate"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b78a45c9c653977a5f6513261370501ce16de5ddcef970adbff135cf63540fe"
+dependencies = [
+ "anyhow",
+ "flate2",
+ "log",
+ "regex",
+ "reqwest",
+ "semver",
+ "serde_json",
+ "tar",
+]
+
+[[package]]
+name = "cargo-lock"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bad00408e56f778335802ea240b8d70bebf6ea6c43c7508ebb6259431b5f16c2"
+dependencies = [
+ "semver",
+ "serde",
+ "toml",
+ "url",
+]
+
+[[package]]
+name = "cargo-platform"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0226944a63d1bf35a3b5f948dd7c59e263db83695c9e8bffc4037de02e30f1d7"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cargo-raze"
+version = "0.10.0"
+dependencies = [
+ "anyhow",
+ "cargo-clone-crate",
+ "cargo-lock",
+ "cargo-platform",
+ "cargo_metadata",
+ "cargo_toml",
+ "cfg-expr",
+ "crates-index",
+ "docopt",
+ "flate2",
+ "glob",
+ "hamcrest2",
+ "httpmock",
+ "indoc",
+ "itertools 0.10.0",
+ "lazy_static",
+ "log",
+ "pathdiff",
+ "regex",
+ "rustc-serialize",
+ "semver",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "slug",
+ "spdx",
+ "tar",
+ "tempfile",
+ "tera",
+ "toml",
+ "url",
+]
+
+[[package]]
+name = "cargo_metadata"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7714a157da7991e23d90686b9524b9e12e0407a108647f52e9328f4b3d51ac7f"
+dependencies = [
+ "cargo-platform",
+ "semver",
+ "semver-parser",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "cargo_toml"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "513d17226888c7b8283ac02a1c1b0d8a9d4cbf6db65dfadb79f598f5d7966fe9"
+dependencies = [
+ "serde",
+ "serde_derive",
+ "toml",
+]
+
+[[package]]
+name = "cc"
+version = "1.0.66"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48"
+dependencies = [
+ "jobserver",
+]
+
+[[package]]
+name = "cfg-expr"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb4f9cf6cb58661f5cdcda0240ab42788e009bd957ba56c1367aa01c7c6fbc05"
+dependencies = [
+ "smallvec",
+]
+
+[[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 = "chrono"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
+dependencies = [
+ "libc",
+ "num-integer",
+ "num-traits",
+ "time",
+ "winapi",
+]
+
+[[package]]
+name = "chrono-tz"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2554a3155fec064362507487171dcc4edc3df60cb10f3a1fb10ed8094822b120"
+dependencies = [
+ "chrono",
+ "parse-zoneinfo",
+]
+
+[[package]]
+name = "concurrent-queue"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
+dependencies = [
+ "cache-padded",
+]
+
+[[package]]
+name = "constant_time_eq"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
+
+[[package]]
+name = "core-foundation"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b"
+
+[[package]]
+name = "crates-index"
+version = "0.16.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f24823d553339d125040d989d2a593a01b034fe5ac17714423bcd2c3d168878"
+dependencies = [
+ "git2",
+ "glob",
+ "hex",
+ "home",
+ "memchr",
+ "semver",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "smartstring",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
+dependencies = [
+ "autocfg",
+ "cfg-if 1.0.0",
+ "lazy_static",
+]
+
+[[package]]
+name = "crunchy"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+
+[[package]]
+name = "curl"
+version = "0.4.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e268162af1a5fe89917ae25ba3b0a77c8da752bdc58e7dbb4f15b91fbd33756e"
+dependencies = [
+ "curl-sys",
+ "libc",
+ "openssl-probe",
+ "openssl-sys",
+ "schannel",
+ "socket2",
+ "winapi",
+]
+
+[[package]]
+name = "curl-sys"
+version = "0.4.39+curl-7.74.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "07a8ce861e7b68a0b394e814d7ee9f1b2750ff8bd10372c6ad3bacc10e86f874"
+dependencies = [
+ "cc",
+ "libc",
+ "libnghttp2-sys",
+ "libz-sys",
+ "openssl-sys",
+ "pkg-config",
+ "vcpkg",
+ "winapi",
+]
+
+[[package]]
+name = "deunicode"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690"
+
+[[package]]
+name = "diff"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
+
+[[package]]
+name = "difference"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
+
+[[package]]
+name = "digest"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
+dependencies = [
+ "generic-array",
+]
+
+[[package]]
+name = "dirs"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
+dependencies = [
+ "libc",
+ "redox_users",
+ "winapi",
+]
+
+[[package]]
+name = "docopt"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f525a586d310c87df72ebcd98009e57f1cc030c8c268305287a476beb653969"
+dependencies = [
+ "lazy_static",
+ "regex",
+ "serde",
+ "strsim",
+]
+
+[[package]]
+name = "either"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
+
+[[package]]
+name = "ena"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
+dependencies = [
+ "log",
+]
+
+[[package]]
+name = "encoding_rs"
+version = "0.8.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
+[[package]]
+name = "event-listener"
+version = "2.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
+
+[[package]]
+name = "extend"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f47da3a72ec598d9c8937a7ebca8962a5c7a1f28444e38c2b33c771ba3f55f05"
+dependencies = [
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "fake-simd"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
+
+[[package]]
+name = "fastrand"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3"
+dependencies = [
+ "instant",
+]
+
+[[package]]
+name = "filetime"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "redox_syscall 0.2.4",
+ "winapi",
+]
+
+[[package]]
+name = "fixedbitset"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
+
+[[package]]
+name = "flate2"
+version = "1.0.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7411863d55df97a419aa64cb4d2f167103ea9d767e2c54a1868b7ac3f6b47129"
+dependencies = [
+ "cfg-if 1.0.0",
+ "crc32fast",
+ "libc",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "flume"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0362ef9c4c1fa854ff95b4cb78045a86e810d804dc04937961988b45427104a9"
+dependencies = [
+ "futures-core",
+ "futures-sink",
+ "pin-project 1.0.4",
+ "spinning_top",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "foreign-types"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+dependencies = [
+ "foreign-types-shared",
+]
+
+[[package]]
+name = "foreign-types-shared"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+
+[[package]]
+name = "form_urlencoded"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00"
+dependencies = [
+ "matches",
+ "percent-encoding",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2d31b7ec7efab6eefc7c57233bb10b847986139d88cc2f5a02a1ae6871a1846"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79e5145dde8da7d1b3892dad07a9c98fc04bc39892b1ecc9692cf53e2b780a65"
+
+[[package]]
+name = "futures-io"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28be053525281ad8259d47e4de5de657b25e7bac113458555bb4b70bc6870500"
+
+[[package]]
+name = "futures-lite"
+version = "1.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb"
+dependencies = [
+ "fastrand",
+ "futures-core",
+ "futures-io",
+ "memchr",
+ "parking",
+ "pin-project-lite",
+ "waker-fn",
+]
+
+[[package]]
+name = "futures-macro"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c287d25add322d9f9abdcdc5927ca398917996600182178774032e9f8258fedd"
+dependencies = [
+ "proc-macro-hack",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "caf5c69029bda2e743fddd0582d1083951d65cc9539aebf8812f36c3491342d6"
+
+[[package]]
+name = "futures-task"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13de07eb8ea81ae445aca7b69f5f7bf15d7bf4912d8ca37d6645c77ae8a58d86"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "futures-util"
+version = "0.3.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "632a8cd0f2a4b3fdea1657f08bde063848c3bd00f9bbf6e256b8be78802e624b"
+dependencies = [
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "pin-utils",
+ "proc-macro-hack",
+ "proc-macro-nested",
+ "slab",
+]
+
+[[package]]
+name = "generic-array"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec"
+dependencies = [
+ "typenum",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "wasi 0.9.0+wasi-snapshot-preview1",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "wasi 0.10.1+wasi-snapshot-preview1",
+]
+
+[[package]]
+name = "git2"
+version = "0.13.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f28f83eecb0de4d4afb74aef4874963739d6d167752a7a5ba156e56b27a4ede7"
+dependencies = [
+ "bitflags",
+ "libc",
+ "libgit2-sys",
+ "log",
+ "openssl-probe",
+ "openssl-sys",
+ "url",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
+
+[[package]]
+name = "globset"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c152169ef1e421390738366d2f796655fec62621dabbd0fd476f905934061e4a"
+dependencies = [
+ "aho-corasick",
+ "bstr",
+ "fnv",
+ "log",
+ "regex",
+]
+
+[[package]]
+name = "globwalk"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc"
+dependencies = [
+ "bitflags",
+ "ignore",
+ "walkdir",
+]
+
+[[package]]
+name = "gloo-timers"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "js-sys",
+ "wasm-bindgen",
+ "web-sys",
+]
+
+[[package]]
+name = "h2"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5"
+dependencies = [
+ "bytes",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "futures-util",
+ "http",
+ "indexmap",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tracing",
+ "tracing-futures",
+]
+
+[[package]]
+name = "hamcrest2"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f837c62de05dc9cc71ff6486cd85de8856a330395ae338a04bfcefe5e91075"
+dependencies = [
+ "num",
+ "regex",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "hex"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "home"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "http"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7245cd7449cc792608c3c8a9eaf69bd4eabbabf802713748fd739c98b82f0747"
+dependencies = [
+ "bytes",
+ "fnv",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "httparse"
+version = "1.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
+
+[[package]]
+name = "httpdate"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
+
+[[package]]
+name = "httpmock"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3651b042b15370cea138892c0496c195ab77b472548d43e6595284c57da1bf5"
+dependencies = [
+ "assert-json-diff",
+ "async-object-pool",
+ "async-trait",
+ "base64",
+ "basic-cookies",
+ "crossbeam-utils",
+ "difference",
+ "futures-util",
+ "hyper",
+ "isahc",
+ "lazy_static",
+ "levenshtein",
+ "log",
+ "qstring",
+ "regex",
+ "serde",
+ "serde_json",
+ "serde_regex",
+ "tokio",
+]
+
+[[package]]
+name = "humansize"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6cab2627acfc432780848602f3f558f7e9dd427352224b0d9324025796d2a5e"
+
+[[package]]
+name = "hyper"
+version = "0.14.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12219dc884514cb4a6a03737f4413c0e01c23a1b059b0156004b23f1e19dccbe"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "h2",
+ "http",
+ "http-body",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project 1.0.4",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+ "want",
+]
+
+[[package]]
+name = "hyper-tls"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
+dependencies = [
+ "bytes",
+ "hyper",
+ "native-tls",
+ "tokio",
+ "tokio-native-tls",
+]
+
+[[package]]
+name = "idna"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
+dependencies = [
+ "matches",
+ "unicode-bidi",
+ "unicode-normalization",
+]
+
+[[package]]
+name = "ignore"
+version = "0.4.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c"
+dependencies = [
+ "crossbeam-utils",
+ "globset",
+ "lazy_static",
+ "log",
+ "memchr",
+ "regex",
+ "same-file",
+ "thread_local",
+ "walkdir",
+ "winapi-util",
+]
+
+[[package]]
+name = "indexmap"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
+name = "indoc"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
+dependencies = [
+ "unindent",
+]
+
+[[package]]
+name = "instant"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
+[[package]]
+name = "ipnet"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135"
+
+[[package]]
+name = "isahc"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff5419136b615bb64a2d0f8ccc91ed2e74c3bcf77e71c1820dbd6663898d1b34"
+dependencies = [
+ "crossbeam-utils",
+ "curl",
+ "curl-sys",
+ "encoding_rs",
+ "flume",
+ "futures-lite",
+ "http",
+ "log",
+ "mime",
+ "once_cell",
+ "slab",
+ "sluice",
+ "tracing",
+ "tracing-futures",
+ "url",
+ "waker-fn",
+]
+
+[[package]]
+name = "itertools"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
+
+[[package]]
+name = "jobserver"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d7383929f7c9c7c2d0fa596f325832df98c3704f2c60553080f7127a58175"
+dependencies = [
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "kv-log-macro"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
+dependencies = [
+ "log",
+]
+
+[[package]]
+name = "lalrpop"
+version = "0.19.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a71d75b267b3299da9ccff4dd80d73325b5d8adcd76fe97cf92725eb7c6f122"
+dependencies = [
+ "ascii-canvas",
+ "atty",
+ "bit-set",
+ "diff",
+ "ena",
+ "itertools 0.9.0",
+ "lalrpop-util",
+ "petgraph",
+ "pico-args",
+ "regex",
+ "regex-syntax",
+ "string_cache",
+ "term",
+ "tiny-keccak",
+ "unicode-xid",
+]
+
+[[package]]
+name = "lalrpop-util"
+version = "0.19.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ebbd90154472db6267a7d28ca08fea7788e5619fef10f2398155cb74c08f77a"
+dependencies = [
+ "regex",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "levenshtein"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "66189c12161c65c0023ceb53e2fccc0013311bcb36a7cbd0f9c5e938b408ac96"
+
+[[package]]
+name = "libc"
+version = "0.2.82"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89203f3fba0a3795506acaad8ebce3c80c0af93f994d5a1d7a0b1eeb23271929"
+
+[[package]]
+name = "libgit2-sys"
+version = "0.12.18+1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885"
+dependencies = [
+ "cc",
+ "libc",
+ "libssh2-sys",
+ "libz-sys",
+ "openssl-sys",
+ "pkg-config",
+]
+
+[[package]]
+name = "libnghttp2-sys"
+version = "0.1.5+1.42.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9657455ff47889b70ffd37c3e118e8cdd23fd1f9f3293a285f141070621c4c79"
+dependencies = [
+ "cc",
+ "libc",
+]
+
+[[package]]
+name = "libssh2-sys"
+version = "0.2.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df40b13fe7ea1be9b9dffa365a51273816c345fc1811478b57ed7d964fbfc4ce"
+dependencies = [
+ "cc",
+ "libc",
+ "libz-sys",
+ "openssl-sys",
+ "pkg-config",
+ "vcpkg",
+]
+
+[[package]]
+name = "libz-sys"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655"
+dependencies = [
+ "cc",
+ "libc",
+ "pkg-config",
+ "vcpkg",
+]
+
+[[package]]
+name = "lock_api"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd96ffd135b2fd7b973ac026d28085defbe8983df057ced3eb4f2130b0831312"
+dependencies = [
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.4.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fcf3805d4480bb5b86070dcfeb9e2cb2ebc148adb753c5cca5f884d1d65a42b2"
+dependencies = [
+ "cfg-if 0.1.10",
+]
+
+[[package]]
+name = "maplit"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
+
+[[package]]
+name = "matches"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
+
+[[package]]
+name = "memchr"
+version = "2.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
+
+[[package]]
+name = "mime"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
+[[package]]
+name = "mio"
+version = "0.7.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7"
+dependencies = [
+ "libc",
+ "log",
+ "miow",
+ "ntapi",
+ "winapi",
+]
+
+[[package]]
+name = "miow"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897"
+dependencies = [
+ "socket2",
+ "winapi",
+]
+
+[[package]]
+name = "native-tls"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4"
+dependencies = [
+ "lazy_static",
+ "libc",
+ "log",
+ "openssl",
+ "openssl-probe",
+ "openssl-sys",
+ "schannel",
+ "security-framework",
+ "security-framework-sys",
+ "tempfile",
+]
+
+[[package]]
+name = "nb-connect"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "new_debug_unreachable"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
+
+[[package]]
+name = "ntapi"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "num"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
+dependencies = [
+ "autocfg",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-complex"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
+dependencies = [
+ "autocfg",
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+dependencies = [
+ "autocfg",
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"
+dependencies = [
+ "autocfg",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
+dependencies = [
+ "autocfg",
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0"
+
+[[package]]
+name = "opaque-debug"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
+
+[[package]]
+name = "openssl"
+version = "0.10.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70"
+dependencies = [
+ "bitflags",
+ "cfg-if 1.0.0",
+ "foreign-types",
+ "lazy_static",
+ "libc",
+ "openssl-sys",
+]
+
+[[package]]
+name = "openssl-probe"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
+
+[[package]]
+name = "openssl-sys"
+version = "0.9.60"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6"
+dependencies = [
+ "autocfg",
+ "cc",
+ "libc",
+ "pkg-config",
+ "vcpkg",
+]
+
+[[package]]
+name = "parking"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
+
+[[package]]
+name = "parse-zoneinfo"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41"
+dependencies = [
+ "regex",
+]
+
+[[package]]
+name = "pathdiff"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34"
+
+[[package]]
+name = "percent-encoding"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
+
+[[package]]
+name = "pest"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
+dependencies = [
+ "ucd-trie",
+]
+
+[[package]]
+name = "pest_derive"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
+dependencies = [
+ "pest",
+ "pest_generator",
+]
+
+[[package]]
+name = "pest_generator"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
+dependencies = [
+ "pest",
+ "pest_meta",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pest_meta"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
+dependencies = [
+ "maplit",
+ "pest",
+ "sha-1",
+]
+
+[[package]]
+name = "petgraph"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
+dependencies = [
+ "fixedbitset",
+ "indexmap",
+]
+
+[[package]]
+name = "phf_shared"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
+dependencies = [
+ "siphasher",
+]
+
+[[package]]
+name = "pico-args"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28b9b4df73455c861d7cbf8be42f01d3b373ed7f02e378d55fa84eafc6f638b1"
+
+[[package]]
+name = "pin-project"
+version = "0.4.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15"
+dependencies = [
+ "pin-project-internal 0.4.27",
+]
+
+[[package]]
+name = "pin-project"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95b70b68509f17aa2857863b6fa00bf21fc93674c7a8893de2f469f6aa7ca2f2"
+dependencies = [
+ "pin-project-internal 1.0.4",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "0.4.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "caa25a6393f22ce819b0f50e0be89287292fda8d425be38ee0ca14c4931d9e71"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827"
+
+[[package]]
+name = "pin-utils"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+[[package]]
+name = "pkg-config"
+version = "0.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
+
+[[package]]
+name = "polling"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4"
+dependencies = [
+ "cfg-if 0.1.10",
+ "libc",
+ "log",
+ "wepoll-sys",
+ "winapi",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
+
+[[package]]
+name = "precomputed-hash"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-hack"
+version = "0.5.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
+
+[[package]]
+name = "proc-macro-nested"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
+dependencies = [
+ "unicode-xid",
+]
+
+[[package]]
+name = "qstring"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e"
+dependencies = [
+ "percent-encoding",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18519b42a40024d661e1714153e9ad0c3de27cd495760ceb09710920f1098b1e"
+dependencies = [
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5"
+dependencies = [
+ "getrandom 0.2.2",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.1.57"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+
+[[package]]
+name = "redox_syscall"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "redox_users"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
+dependencies = [
+ "getrandom 0.1.16",
+ "redox_syscall 0.1.57",
+ "rust-argon2",
+]
+
+[[package]]
+name = "regex"
+version = "1.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+ "thread_local",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581"
+
+[[package]]
+name = "remove_dir_all"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "reqwest"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd281b1030aa675fb90aa994d07187645bb3c8fc756ca766e7c3070b439de9de"
+dependencies = [
+ "base64",
+ "bytes",
+ "encoding_rs",
+ "futures-core",
+ "futures-util",
+ "http",
+ "http-body",
+ "hyper",
+ "hyper-tls",
+ "ipnet",
+ "js-sys",
+ "lazy_static",
+ "log",
+ "mime",
+ "native-tls",
+ "percent-encoding",
+ "pin-project-lite",
+ "serde",
+ "serde_json",
+ "serde_urlencoded",
+ "tokio",
+ "tokio-native-tls",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "winreg",
+]
+
+[[package]]
+name = "rust-argon2"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
+dependencies = [
+ "base64",
+ "blake2b_simd",
+ "constant_time_eq",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "rustc-serialize"
+version = "0.3.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
+
+[[package]]
+name = "ryu"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "schannel"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
+dependencies = [
+ "lazy_static",
+ "winapi",
+]
+
+[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
+name = "security-framework"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69"
+dependencies = [
+ "bitflags",
+ "core-foundation",
+ "core-foundation-sys",
+ "libc",
+ "security-framework-sys",
+]
+
+[[package]]
+name = "security-framework-sys"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "semver"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"
+dependencies = [
+ "semver-parser",
+ "serde",
+]
+
+[[package]]
+name = "semver-parser"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7"
+dependencies = [
+ "pest",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.120"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "166b2349061381baf54a58e4b13c89369feb0ef2eaa57198899e2312aac30aab"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.120"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ca2a8cb5805ce9e3b95435e3765b7b553cecc762d938d409434338386cb5775"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.61"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a"
+dependencies = [
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "serde_regex"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf"
+dependencies = [
+ "regex",
+ "serde",
+]
+
+[[package]]
+name = "serde_urlencoded"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9"
+dependencies = [
+ "form_urlencoded",
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "sha-1"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
+dependencies = [
+ "block-buffer",
+ "digest",
+ "fake-simd",
+ "opaque-debug",
+]
+
+[[package]]
+name = "signal-hook"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729"
+dependencies = [
+ "libc",
+ "signal-hook-registry",
+]
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "siphasher"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
+
+[[package]]
+name = "slab"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
+
+[[package]]
+name = "slug"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373"
+dependencies = [
+ "deunicode",
+]
+
+[[package]]
+name = "sluice"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e24ed1edc8e774f2ec098b0650eec82bfc7c59ddd16cd0e17797bdc92ce2bf1"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+]
+
+[[package]]
+name = "smallvec"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
+
+[[package]]
+name = "smartstring"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ada87540bf8ef4cf8a1789deb175626829bb59b1fefd816cf7f7f55efcdbae9"
+dependencies = [
+ "serde",
+ "static_assertions",
+]
+
+[[package]]
+name = "socket2"
+version = "0.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "spdx"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a68f874c9aa7762aa10401e2ae004d977e7b6156074668eb4ce78dd0cb28255"
+dependencies = [
+ "lazy_static",
+ "regex",
+ "smallvec",
+]
+
+[[package]]
+name = "spinning_top"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e529d73e80d64b5f2631f9035113347c578a1c9c7774b83a2b880788459ab36"
+dependencies = [
+ "lock_api",
+]
+
+[[package]]
+name = "static_assertions"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+
+[[package]]
+name = "string_cache"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a"
+dependencies = [
+ "lazy_static",
+ "new_debug_unreachable",
+ "phf_shared",
+ "precomputed-hash",
+]
+
+[[package]]
+name = "strsim"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
+
+[[package]]
+name = "syn"
+version = "1.0.58"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc60a3d73ea6594cd712d830cc1f0390fd71542d8c8cd24e70cc54cdfd5e05d5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "tar"
+version = "0.4.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "489997b7557e9a43e192c527face4feacc78bfbe6eed67fd55c4c9e381cba290"
+dependencies = [
+ "filetime",
+ "libc",
+ "redox_syscall 0.1.57",
+ "xattr",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "rand",
+ "redox_syscall 0.2.4",
+ "remove_dir_all",
+ "winapi",
+]
+
+[[package]]
+name = "tera"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eac6ab7eacf40937241959d540670f06209c38ceadb62116999db4a950fbf8dc"
+dependencies = [
+ "chrono",
+ "chrono-tz",
+ "globwalk",
+ "humansize",
+ "lazy_static",
+ "percent-encoding",
+ "pest",
+ "pest_derive",
+ "rand",
+ "regex",
+ "serde",
+ "serde_json",
+ "slug",
+ "unic-segment",
+]
+
+[[package]]
+name = "term"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
+dependencies = [
+ "byteorder",
+ "dirs",
+ "winapi",
+]
+
+[[package]]
+name = "thread_local"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "301bdd13d23c49672926be451130892d274d3ba0b410c18e00daa7990ff38d99"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "time"
+version = "0.1.43"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "tiny-keccak"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
+dependencies = [
+ "crunchy",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf8dbc19eb42fba10e8feaaec282fb50e2c14b2726d6301dbfeed0f73306a6f"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+
+[[package]]
+name = "tokio"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8efab2086f17abcddb8f756117665c958feee6b2e39974c2f1600592ab3a4195"
+dependencies = [
+ "autocfg",
+ "bytes",
+ "libc",
+ "memchr",
+ "mio",
+ "num_cpus",
+ "pin-project-lite",
+ "tokio-macros",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42517d2975ca3114b22a16192634e8241dc5cc1f130be194645970cc1c371494"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tokio-native-tls"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
+dependencies = [
+ "native-tls",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-stream"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "76066865172052eb8796c686f0b441a93df8b08d40a950b062ffb9a426f00edd"
+dependencies = [
+ "futures-core",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-util"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "feb971a26599ffd28066d387f109746df178eff14d5ea1e235015c5601967a4b"
+dependencies = [
+ "async-stream",
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "log",
+ "pin-project-lite",
+ "tokio",
+ "tokio-stream",
+]
+
+[[package]]
+name = "toml"
+version = "0.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "tower-service"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860"
+
+[[package]]
+name = "tracing"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3"
+dependencies = [
+ "cfg-if 1.0.0",
+ "log",
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "tracing-futures"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c"
+dependencies = [
+ "pin-project 0.4.27",
+ "tracing",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
+
+[[package]]
+name = "typenum"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
+
+[[package]]
+name = "ucd-trie"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
+
+[[package]]
+name = "unic-char-property"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
+dependencies = [
+ "unic-char-range",
+]
+
+[[package]]
+name = "unic-char-range"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
+
+[[package]]
+name = "unic-common"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
+
+[[package]]
+name = "unic-segment"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4ed5d26be57f84f176157270c112ef57b86debac9cd21daaabbe56db0f88f23"
+dependencies = [
+ "unic-ucd-segment",
+]
+
+[[package]]
+name = "unic-ucd-segment"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2079c122a62205b421f499da10f3ee0f7697f012f55b675e002483c73ea34700"
+dependencies = [
+ "unic-char-property",
+ "unic-char-range",
+ "unic-ucd-version",
+]
+
+[[package]]
+name = "unic-ucd-version"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
+dependencies = [
+ "unic-common",
+]
+
+[[package]]
+name = "unicode-bidi"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
+dependencies = [
+ "matches",
+]
+
+[[package]]
+name = "unicode-normalization"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a13e63ab62dbe32aeee58d1c5408d35c36c392bba5d9d3142287219721afe606"
+dependencies = [
+ "tinyvec",
+]
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
+
+[[package]]
+name = "unindent"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
+
+[[package]]
+name = "url"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "matches",
+ "percent-encoding",
+]
+
+[[package]]
+name = "vcpkg"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b00bca6106a5e23f3eee943593759b7fcddb00554332e856d990c893966879fb"
+
+[[package]]
+name = "vec-arena"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d"
+
+[[package]]
+name = "version_check"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
+
+[[package]]
+name = "waker-fn"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
+
+[[package]]
+name = "walkdir"
+version = "2.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
+dependencies = [
+ "same-file",
+ "winapi",
+ "winapi-util",
+]
+
+[[package]]
+name = "want"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
+dependencies = [
+ "log",
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "wasi"
+version = "0.10.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93c6c3420963c5c64bca373b25e77acb562081b9bb4dd5bb864187742186cea9"
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3cd364751395ca0f68cafb17666eee36b63077fb5ecd972bbcd74c90c4bf736e"
+dependencies = [
+ "cfg-if 1.0.0",
+ "serde",
+ "serde_json",
+ "wasm-bindgen-macro",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
+version = "0.2.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1114f89ab1f4106e5b55e688b828c0ab0ea593a1ea7c094b141b14cbaaec2d62"
+dependencies = [
+ "bumpalo",
+ "lazy_static",
+ "log",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fe9756085a84584ee9457a002b7cdfe0bfff169f45d2591d8be1345a6780e35"
+dependencies = [
+ "cfg-if 1.0.0",
+ "js-sys",
+ "wasm-bindgen",
+ "web-sys",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a6ac8995ead1f084a8dea1e65f194d0973800c7f571f6edd70adf06ecf77084"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5a48c72f299d80557c7c62e37e7225369ecc0c963964059509fbafe917c7549"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-backend",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e7811dd7f9398f14cc76efd356f98f03aa30419dea46aa810d71e819fc97158"
+
+[[package]]
+name = "web-sys"
+version = "0.3.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "wepoll-sys"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "winreg"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "xattr"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
+dependencies = [
+ "libc",
+]
diff --git a/cargo/cargo_raze/impl/Cargo.toml b/cargo/cargo_raze/impl/Cargo.toml
new file mode 100644
index 0000000000..5e93413f03
--- /dev/null
+++ b/cargo/cargo_raze/impl/Cargo.toml
@@ -0,0 +1,142 @@
+[package]
+name = "cargo-raze"
+version = "0.10.0"
+authors = ["Alex McArther "]
+readme = "README.md"
+keywords = ["subcommand"]
+license = "Apache-2.0"
+repository = "https://github.com/google/cargo-raze"
+edition = "2018"
+description = """
+A Cargo subcommand to generate Bazel BUILD files
+"""
+
+[badges]
+travis-ci = { repository = "google/cargo-raze", branch = "master" }
+
+[lib]
+path = "src/lib.rs"
+
+[[bin]]
+name = "cargo-raze"
+path = "src/bin/cargo-raze.rs"
+
+[dependencies]
+anyhow = "1.0.38"
+cargo_metadata = "0.12.3"
+cargo_toml = "0.8.1"
+cargo-clone-crate = { version = "0.1.6", default-features = false }
+cargo-lock = "6.0.0"
+cargo-platform = "0.1.1"
+cfg-expr = "0.6.0"
+crates-index = "0.16.2"
+docopt = "1.1.0"
+glob = "0.3.0"
+itertools = "0.10.0"
+log = "0.4.13"
+pathdiff = "0.2.0"
+regex = "1.4.3"
+rustc-serialize = "0.3.24"
+semver = { version = "0.11.0", features = ["serde"] }
+serde = "1.0.120"
+serde_derive = "1.0.120"
+serde_json = "1.0.61"
+slug = "0.1.4"
+spdx = "0.3.4"
+tempfile = "3.2.0"
+tera = "1.6.1"
+toml = "0.5.8"
+url = "2.2.0"
+
+[dev-dependencies]
+flate2 = "1.0.19"
+hamcrest2 = "0.3.0"
+httpmock = "0.5.4"
+indoc = "1.0.3"
+lazy_static = "1.4.0"
+tar = "0.4.30"
+
+[package.metadata.raze]
+workspace_path = "//third_party/cargo"
+gen_workspace_prefix = "cargo_raze"
+genmode = "Remote"
+default_gen_buildrs = true
+experimental_api = true
+render_package_aliases = false
+targets = [
+ "aarch64-apple-darwin",
+ "aarch64-unknown-linux-gnu",
+ "i686-apple-darwin",
+ "i686-pc-windows-msvc",
+ "i686-unknown-linux-gnu",
+ "x86_64-apple-darwin",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-linux-gnu",
+]
+
+[package.metadata.raze.crates.crossbeam-utils.'*']
+gen_buildrs = false
+additional_flags = [
+ "--cfg=has_atomic_u8",
+ "--cfg=has_atomic_u16",
+ "--cfg=has_atomic_u32",
+ "--cfg=has_atomic_u64",
+]
+
+[package.metadata.raze.crates.curl-sys.'*']
+# build.rs file: https://github.com/alexcrichton/curl-rust/blob/master/curl-sys/build.rs
+gen_buildrs = false
+additional_deps = ["@cargo_raze__curl//:curl"]
+
+[package.metadata.raze.crates.deunicode.'*']
+# This string is buildifier compliant
+data_attr = """\
+glob(
+ ["**"],
+ exclude = ["**/*.rs"],
+ )"""
+
+[package.metadata.raze.crates.libgit2-sys.'*']
+# build.rs file: https://github.com/rust-lang/git2-rs/blob/master/libgit2-sys/build.rs
+gen_buildrs = false
+additional_deps = ["@cargo_raze__libgit2//:libgit2"]
+
+[package.metadata.raze.crates.libssh2-sys.'*']
+# build.rs file: https://github.com/alexcrichton/ssh2-rs/blob/master/libssh2-sys/build.rs
+build_data_dependencies = [
+ "@cargo_raze__libssh2//:libssh2",
+ "@cargo_raze__openssl//:openssl",
+]
+additional_deps = ["@cargo_raze__libssh2//:libssh2"]
+
+[package.metadata.raze.crates.libz-sys.'*']
+# build.rs file: https://github.com/rust-lang/libz-sys/blob/main/build.rs
+gen_buildrs = false
+additional_flags = ["--cfg=static"]
+
+[package.metadata.raze.crates.openssl.'*']
+additional_deps = ["@cargo_raze__openssl//:openssl"]
+
+[package.metadata.raze.crates.openssl-sys.'*']
+# build.rs file: https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/main.rs
+build_data_dependencies = [
+ "@cargo_raze__openssl//:openssl",
+ "@cargo_raze__openssl//:gen_dir",
+]
+data_attr = "[\"@cargo_raze__openssl//:openssl\"]"
+additional_deps = ["@cargo_raze__openssl//:openssl"]
+ [package.metadata.raze.crates.openssl-sys.'*'.buildrs_additional_environment_variables]
+ OPENSSL_DIR="$(execpath @cargo_raze__openssl//:gen_dir)"
+ OPENSSL_STATIC="1"
+
+[package.metadata.raze.crates.semver-parser.'*']
+data_attr = "glob([\"**/*.pest\"])"
+
+[package.metadata.raze.crates.tera.'*']
+data_attr = "glob([\"**/*.pest\"])"
+
+[package.metadata.raze.crates.unic-ucd-version.'*']
+data_attr = "glob([\"**/*.rsv\"])"
+
+[package.metadata.raze.crates.unic-ucd-segment.'*']
+data_attr = "glob([\"**/*.rsv\"])"
diff --git a/cargo/cargo_raze/impl/README.md b/cargo/cargo_raze/impl/README.md
new file mode 100644
index 0000000000..d00327af63
--- /dev/null
+++ b/cargo/cargo_raze/impl/README.md
@@ -0,0 +1,5 @@
+# Cargo Raze Impl
+
+A Bazel BUILD file generator for external dependencies of monorepos.
+
+Please see the full readme available at the [github repository page](https://github.com/google/cargo-raze)
diff --git a/cargo/cargo_raze/impl/src/bin/cargo-raze.rs b/cargo/cargo_raze/impl/src/bin/cargo-raze.rs
new file mode 100644
index 0000000000..b55177ff28
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/bin/cargo-raze.rs
@@ -0,0 +1,304 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::{
+ env,
+ fs::{self, File},
+ io::Write,
+ path::{Path, PathBuf},
+};
+
+use anyhow::{anyhow, Context, Result};
+
+use cargo_metadata::Metadata;
+use docopt::Docopt;
+
+use cargo_raze::{
+ checks,
+ metadata::{MetadataFetcher, RazeMetadata, RazeMetadataFetcher},
+ planning::{BuildPlanner, BuildPlannerImpl, PlannedBuild},
+ rendering::FileOutputs,
+ rendering::{bazel::BazelRenderer, BuildRenderer, RenderDetails},
+ settings::RazeSettings,
+ settings::{load_settings, GenMode, SettingsMetadataFetcher},
+ util::{find_bazel_workspace_root, find_lockfile, PlatformDetails},
+};
+
+use serde::Deserialize;
+use url::Url;
+
+#[derive(Debug, Deserialize)]
+struct Options {
+ flag_verbose: Option,
+ flag_quiet: Option,
+ flag_host: Option,
+ flag_color: Option,
+ flag_target: Option,
+ flag_dryrun: Option,
+ flag_cargo_bin_path: Option,
+ flag_output: Option,
+ flag_manifest_path: Option,
+ flag_generate_lockfile: Option,
+}
+
+const USAGE: &str = r#"
+Generate BUILD files for your pre-vendored Cargo dependencies.
+
+Usage:
+ cargo-raze (-h | --help)
+ cargo-raze (-V | --version)
+ cargo-raze [--verbose] [--quiet] [--color=] [--dryrun] [--cargo-bin-path=]
+ [--manifest-path=] [--output=] [--generate-lockfile]
+
+Options:
+ -h, --help Print this message
+ -V, --version Print version info and exit
+ -v, --verbose Use verbose output
+ -q, --quiet No output printed to stdout
+ --color= Coloring: auto, always, never
+ -d, --dryrun Do not emit any files
+ --cargo-bin-path= Path to the cargo binary to be used for loading workspace metadata
+ --manifest-path= Path to the Cargo.toml file to generate BUILD files for
+ --output= Path to output the generated into.
+ --generate-lockfile Force a new `Cargo.raze.lock` file to be generated
+"#;
+
+fn main() -> Result<()> {
+ // Parse options
+ let options = parse_options();
+
+ // Load settings
+ let (local_metadata, settings) = load_raze_settings(&options)?;
+
+ // Fetch metadata
+ let raze_metadata = fetch_raze_metadata(&options, &settings, &local_metadata)?;
+
+ // Do Planning
+ let planned_build = do_planning(&settings, &raze_metadata)?;
+
+ // Render BUILD files
+ let (render_details, bazel_file_outputs) =
+ render_files(&settings, &raze_metadata, &planned_build, &local_metadata)?;
+
+ // Write BUILD files
+ write_files(&bazel_file_outputs, &render_details, &settings, &options)?;
+
+ Ok(())
+}
+
+fn parse_options() -> Options {
+ // When used as a cargo subcommand, the string "raze" will always be
+ // passed as the second `argv` entry. We need to remove that to keep
+ // the behavior consistent between direct uses and cargo subcommand
+ // uses.
+ let mut args: Vec = env::args().collect();
+ if args.len() > 1 && args[1] == "raze" {
+ args.remove(1);
+ }
+
+ let options: Options = Docopt::new(USAGE)
+ .map(|d| {
+ d.version(Some(
+ concat!("cargo-raze ", env!("CARGO_PKG_VERSION")).to_string(),
+ ))
+ })
+ .and_then(|d| d.argv(args).parse())
+ .and_then(|d| d.deserialize())
+ .unwrap_or_else(|e| e.exit());
+
+ options
+}
+
+fn load_raze_settings(options: &Options) -> Result<(Metadata, RazeSettings)> {
+ let metadata = fetch_local_metadata(options)?;
+
+ // Parse settings with that metadata
+ let settings = match load_settings(&metadata) {
+ Ok(settings) => settings,
+ Err(err) => return Err(anyhow!(err.to_string())),
+ };
+
+ if options.flag_verbose.unwrap_or(false) {
+ println!("Loaded override settings: {:#?}", settings);
+ }
+
+ Ok((metadata, settings))
+}
+
+fn fetch_local_metadata(options: &Options) -> Result {
+ // Gather basic, offline metadata to parse settings from
+ let fetcher = if let Some(cargo_bin_path) = &options.flag_cargo_bin_path {
+ SettingsMetadataFetcher {
+ cargo_bin_path: PathBuf::from(cargo_bin_path),
+ }
+ } else {
+ SettingsMetadataFetcher::default()
+ };
+
+ let working_directory = if let Some(manifest_path) = &options.flag_manifest_path {
+ let manifest_path = PathBuf::from(manifest_path).canonicalize()?;
+ if !manifest_path.is_file() {
+ return Err(anyhow!(
+ "manifest path `{}` is not a file.",
+ manifest_path.display()
+ ));
+ }
+ // UNWRAP: Unwrap safe due to check above.
+ PathBuf::from(manifest_path.parent().unwrap())
+ } else {
+ env::current_dir()?
+ };
+
+ fetcher
+ .fetch_metadata(&working_directory, false)
+ .with_context(|| {
+ format!(
+ "Failed to fetch metadata for {}",
+ working_directory.display()
+ )
+ })
+}
+
+fn fetch_raze_metadata(
+ options: &Options,
+ settings: &RazeSettings,
+ local_metadata: &Metadata,
+) -> Result {
+ let metadata_fetcher: RazeMetadataFetcher = match options.flag_cargo_bin_path {
+ Some(ref cargo_bin_path) => RazeMetadataFetcher::new(
+ cargo_bin_path,
+ Url::parse(&settings.registry)?,
+ Url::parse(&settings.index_url)?,
+ ),
+ None => RazeMetadataFetcher::default(),
+ };
+
+ let cargo_raze_working_dir =
+ find_bazel_workspace_root(&local_metadata.workspace_root).unwrap_or(env::current_dir()?);
+
+ let binary_dep_info = if settings.genmode == GenMode::Remote {
+ Some(&settings.binary_deps)
+ } else {
+ None
+ };
+
+ let reused_lockfile = if !options.flag_generate_lockfile.unwrap_or(false) {
+ find_lockfile(
+ &local_metadata.workspace_root,
+ &cargo_raze_working_dir.join(settings.workspace_path.trim_start_matches('/')),
+ )
+ } else {
+ None
+ };
+
+ let raze_metadata = metadata_fetcher.fetch_metadata(
+ &local_metadata.workspace_root,
+ binary_dep_info,
+ reused_lockfile,
+ )?;
+
+ checks::check_metadata(&raze_metadata, &settings, &cargo_raze_working_dir)?;
+ Ok(raze_metadata)
+}
+
+fn do_planning(settings: &RazeSettings, metadata: &RazeMetadata) -> Result {
+ let platform_details = match &settings.target {
+ Some(target) => Some(PlatformDetails::new_using_rustc(target)?),
+ None => None,
+ };
+
+ BuildPlannerImpl::new(metadata.clone(), settings.clone()).plan_build(platform_details)
+}
+
+fn render_files(
+ settings: &RazeSettings,
+ metadata: &RazeMetadata,
+ planned_build: &PlannedBuild,
+ local_metadata: &Metadata,
+) -> Result<(RenderDetails, Vec)> {
+ let cargo_raze_working_dir =
+ find_bazel_workspace_root(&local_metadata.workspace_root).unwrap_or(env::current_dir()?);
+
+ let mut bazel_renderer = BazelRenderer::new();
+ let render_details = RenderDetails {
+ cargo_root: metadata.cargo_workspace_root.clone(),
+ path_prefix: PathBuf::from(&settings.workspace_path.trim_start_matches('/')),
+ package_aliases_dir: settings.package_aliases_dir.clone(),
+ vendored_buildfile_name: settings.output_buildfile_suffix.clone(),
+ bazel_root: cargo_raze_working_dir,
+ rust_rules_workspace_name: settings.rust_rules_workspace_name.clone(),
+ experimental_api: settings.experimental_api,
+ render_package_aliases: settings.render_package_aliases,
+ };
+ let bazel_file_outputs = match &settings.genmode {
+ GenMode::Vendored => bazel_renderer.render_planned_build(&render_details, &planned_build)?,
+ GenMode::Remote => {
+ bazel_renderer.render_remote_planned_build(&render_details, &planned_build)?
+ }, /* exhaustive, we control the definition */
+ // There are no file outputs to produce if `genmode` is Unspecified
+ GenMode::Unspecified => Vec::new(),
+ };
+
+ Ok((render_details, bazel_file_outputs))
+}
+
+fn write_files(
+ bazel_file_outputs: &[FileOutputs],
+ render_details: &RenderDetails,
+ settings: &RazeSettings,
+ options: &Options,
+) -> Result<()> {
+ if settings.genmode == GenMode::Remote {
+ let remote_dir = render_details
+ .bazel_root
+ .join(&render_details.path_prefix)
+ .join("remote");
+ // Clean out the "remote" directory so users can easily see what build files are relevant
+ if remote_dir.exists() {
+ let build_glob = format!("{}/BUILD*.bazel", remote_dir.display());
+ for entry in glob::glob(&build_glob)? {
+ if let Ok(path) = entry {
+ fs::remove_file(path)?;
+ }
+ }
+ }
+ }
+
+ for output in bazel_file_outputs.iter() {
+ if options.flag_dryrun.unwrap_or(false) {
+ println!("{}:\n{}", output.path.display(), output.contents);
+ continue;
+ }
+ // Ensure all parent directories exist
+ if let Some(parent) = &output.path.parent() {
+ fs::create_dir_all(parent)?
+ }
+ write_to_file(
+ &output.path,
+ &output.contents,
+ options.flag_verbose.unwrap_or(false),
+ )?;
+ }
+
+ Ok(())
+}
+
+/// Writes rendered files to filesystem.
+fn write_to_file(path: &Path, contents: &str, verbose: bool) -> Result<()> {
+ File::create(&path).and_then(|mut f| f.write_all(contents.as_bytes()))?;
+ if verbose {
+ println!("Generated {} successfully", path.display());
+ }
+ Ok(())
+}
diff --git a/cargo/cargo_raze/impl/src/checks.rs b/cargo/cargo_raze/impl/src/checks.rs
new file mode 100644
index 0000000000..582720460a
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/checks.rs
@@ -0,0 +1,337 @@
+// Copyright 2020 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::{
+ collections::{HashMap, HashSet},
+ fs,
+ path::Path,
+ path::PathBuf,
+};
+
+use anyhow::{anyhow, Result};
+
+use crate::{
+ error::RazeError,
+ metadata::RazeMetadata,
+ settings::{CrateSettingsPerVersion, GenMode, RazeSettings},
+ util::collect_up_to,
+ util::package_ident,
+};
+
+use cargo_metadata::{Metadata, Package, PackageId};
+
+// TODO(acmcarther): Consider including a switch to disable limiting
+const MAX_DISPLAYED_MISSING_VENDORED_CRATES: usize = 5;
+const MAX_DISPLAYED_MISSING_RESOLVE_PACKAGES: usize = 5;
+
+/// Ensure that the given Metadata is valid and ready to use for planning.
+pub fn check_metadata(
+ raze_metadata: &RazeMetadata,
+ settings: &RazeSettings,
+ bazel_workspace_root: &Path,
+) -> Result<()> {
+ // Check for errors
+ check_resolve_matches_packages(&raze_metadata.metadata)?;
+
+ if settings.genmode == GenMode::Vendored {
+ check_all_vendored(&raze_metadata.metadata, settings, bazel_workspace_root)?;
+ }
+
+ // Check for incomplete lockfiles
+ if let Err(err) =
+ check_lockfile_for_missing_checksums(&raze_metadata.metadata, &raze_metadata.checksums)
+ {
+ eprintln!("WARNING: {}", err);
+ }
+
+ // Check for unused crate settings
+ warn_unused_settings(&settings.crates, &raze_metadata.metadata.packages);
+
+ Ok(())
+}
+
+fn check_lockfile_for_missing_checksums(
+ metadata: &Metadata,
+ checksums: &HashMap,
+) -> Result<()> {
+ let missing_checksums: Vec = metadata
+ .packages
+ .iter()
+ // Filter out workspace members
+ .filter(|pkg| !metadata.workspace_members.contains(&pkg.id))
+ // Filter out non crates.io sources
+ .filter(|pkg| pkg.source.as_ref().map_or(false, |src| src.is_crates_io()))
+ // Filter for missing checksums and save the package identifier
+ .filter_map(|pkg| {
+ let package_ident = package_ident(&pkg.name, &pkg.version.to_string());
+ if !checksums.contains_key(&package_ident) {
+ Some(package_ident)
+ } else {
+ None
+ }
+ })
+ .collect();
+
+ if !missing_checksums.is_empty() {
+ let lockfile_path = metadata.workspace_root.join("Cargo.lock");
+ if !lockfile_path.exists() {
+ return Err(anyhow!(
+ "Packages are missing checksums, perhaps `cargo generate-lockfile` needs to be run in the \
+ current cargo workspace. Missing checksums: {:?}",
+ missing_checksums
+ ));
+ }
+ return Err(anyhow!(
+ "Packages are missing checksums, perhaps `cargo update` needs to be run in the current \
+ cargo workspace. Missing checksums: {:?}",
+ missing_checksums
+ ));
+ }
+
+ Ok(())
+}
+
+/// Verifies that all provided packages are vendored (in settings.vendor_dir relative to CWD)
+fn check_all_vendored(
+ metadata: &Metadata,
+ settings: &RazeSettings,
+ bazel_workspace_root: &Path,
+) -> Result<()> {
+ let non_workspace_packages: Vec<&Package> = metadata
+ .packages
+ .iter()
+ .filter(|pkg| !metadata.workspace_members.contains(&pkg.id))
+ .collect();
+
+ let missing_package_ident_iter = non_workspace_packages
+ .iter()
+ .filter(|p| {
+ fs::metadata(expected_vendored_path(
+ p,
+ bazel_workspace_root,
+ &settings.workspace_path,
+ &settings.vendor_dir,
+ ))
+ .is_err()
+ })
+ .map(|p| package_ident(&p.name, &p.version.to_string()));
+
+ let limited_missing_crates = collect_up_to(
+ MAX_DISPLAYED_MISSING_VENDORED_CRATES,
+ missing_package_ident_iter,
+ );
+
+ if limited_missing_crates.is_empty() {
+ return Ok(());
+ }
+
+ // Oops, missing some crates. Yield a nice message
+ let expected_full_path = vendor_path(
+ bazel_workspace_root,
+ &settings.workspace_path,
+ &settings.vendor_dir,
+ );
+
+ Err(
+ RazeError::Planning {
+ dependency_name_opt: None,
+ message: format!(
+ "Failed to find expected vendored crates in {:?}: {:?}. Did you forget to run cargo \
+ vendor?",
+ expected_full_path.display(),
+ limited_missing_crates
+ ),
+ }
+ .into(),
+ )
+}
+
+fn vendor_path(bazel_workspace_root: &Path, workspace_path: &str, vendor_dir: &str) -> PathBuf {
+ bazel_workspace_root
+ // Trim the absolute label identifier from the start of the workspace path
+ .join(workspace_path.trim_start_matches('/'))
+ .join(vendor_dir)
+}
+
+/// Returns the packages expected path during current execution.
+fn expected_vendored_path(
+ package: &Package,
+ bazel_workspace_root: &Path,
+ workspace_path: &str,
+ vendor_dir: &str,
+) -> String {
+ vendor_path(bazel_workspace_root, workspace_path, vendor_dir)
+ .join(package_ident(&package.name, &package.version.to_string()))
+ .display()
+ .to_string()
+}
+
+fn check_resolve_matches_packages(metadata: &Metadata) -> Result<()> {
+ let known_package_ids = metadata
+ .packages
+ .iter()
+ .map(|p| p.id.clone())
+ .collect::>();
+
+ let node_ids_missing_package_decl_iter = metadata
+ .resolve
+ .as_ref()
+ .ok_or_else(|| RazeError::Generic("Missing resolve graph".into()))?
+ .nodes
+ .iter()
+ .filter(|n| !known_package_ids.contains(&n.id))
+ .map(|n| n.id.clone());
+ let limited_missing_node_ids = collect_up_to(
+ MAX_DISPLAYED_MISSING_RESOLVE_PACKAGES,
+ node_ids_missing_package_decl_iter,
+ );
+
+ if limited_missing_node_ids.is_empty() {
+ return Ok(());
+ }
+
+ // Oops, missing some package metadata. Yield a nice message
+ Err(
+ RazeError::Planning {
+ dependency_name_opt: None,
+ message: format!(
+ "Failed to find metadata.packages which were expected from metadata.resolve {:?}. {}",
+ limited_missing_node_ids,
+ crate::error::PLEASE_FILE_A_BUG
+ ),
+ }
+ .into(),
+ )
+}
+
+fn warn_unused_settings(
+ all_crate_settings: &HashMap,
+ all_packages: &[Package],
+) {
+ let mut known_versions_per_crate = HashMap::new();
+ for &Package {
+ ref name,
+ ref version,
+ ..
+ } in all_packages
+ {
+ known_versions_per_crate
+ .entry(name.clone())
+ .or_insert_with(HashSet::new)
+ .insert(version.clone());
+ }
+
+ // 1st check names
+ let pkg_names = all_packages
+ .iter()
+ .map(|pkg| &pkg.name)
+ .collect::>();
+ let setting_names: HashSet<_> = all_crate_settings.keys().collect();
+ for missing in setting_names.difference(&pkg_names) {
+ eprintln!("Found unused raze crate settings for `{}`", missing);
+ }
+
+ // Then check versions
+ all_crate_settings
+ .iter()
+ .flat_map(|(name, settings)| settings.iter().map(move |x| (x.0, name)))
+ .filter(|(ver_req, _)| !all_packages.iter().any(|pkg| ver_req.matches(&pkg.version)))
+ .for_each(|(ver_req, name)| {
+ eprintln!(
+ "Found unused raze settings for version `{}` against crate `{}`",
+ ver_req, name
+ );
+ });
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+ use crate::{
+ metadata::tests::dummy_raze_metadata,
+ settings::tests::dummy_raze_settings,
+ testing::{template_metadata, templates},
+ };
+
+ #[test]
+ fn test_check_resolve_matches_packages_fails_correctly() {
+ let mut metadata = dummy_raze_metadata().metadata.clone();
+
+ // Invalidate the metadata, expect an error.
+ metadata.packages = Vec::new();
+ assert!(check_resolve_matches_packages(&metadata).is_err());
+ }
+
+ #[test]
+ fn test_check_resolve_matches_packages_works_correctly() {
+ let metadata = dummy_raze_metadata().metadata.clone();
+
+ // Should not panic with valid metadata.
+ check_resolve_matches_packages(&metadata).unwrap();
+ }
+
+ #[test]
+ fn test_check_all_vendored_verifies_vendored_state() {
+ let mut settings = dummy_raze_settings();
+ settings.genmode = GenMode::Vendored;
+
+ let result = check_all_vendored(
+ &template_metadata(templates::DUMMY_MODIFIED_METADATA),
+ &settings,
+ &PathBuf::from("/tmp/some/path"),
+ );
+
+ // Vendored crates will not have been rendered at that path
+ assert!(result.is_err());
+ }
+
+ #[test]
+ fn test_missing_checksums() {
+ let metadata = template_metadata(templates::DUMMY_WORKSPACE_MEMBERS_METADATA);
+ let checksums: HashMap = HashMap::new();
+
+ let result = check_lockfile_for_missing_checksums(&metadata, &checksums);
+ assert!(result.is_err());
+ }
+
+ #[test]
+ fn test_valid_checksums() {
+ let metadata = template_metadata(templates::DUMMY_WORKSPACE_MEMBERS_METADATA);
+ let mut checksums: HashMap = HashMap::new();
+
+ // Add checksums
+ checksums.insert("unicode-xid-0.1.0".to_owned(), "some-checksum".to_owned());
+ checksums.insert("unicode-xid-0.2.1".to_owned(), "some-checksum".to_owned());
+
+ // Ensure we have a complete match
+ check_lockfile_for_missing_checksums(&metadata, &checksums).unwrap();
+ }
+
+ #[test]
+ fn test_no_deps_and_no_checksums() {
+ let raze_metadata = dummy_raze_metadata();
+ let checksums: HashMap = HashMap::new();
+
+ // Ensure all packages are workspace members for this test
+ for package in raze_metadata.metadata.packages.iter() {
+ assert!(raze_metadata
+ .metadata
+ .workspace_members
+ .contains(&package.id))
+ }
+
+ // Ensure no checks fail
+ check_lockfile_for_missing_checksums(&raze_metadata.metadata, &checksums).unwrap();
+ }
+}
diff --git a/cargo/cargo_raze/impl/src/context.rs b/cargo/cargo_raze/impl/src/context.rs
new file mode 100644
index 0000000000..b6bb65b629
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/context.rs
@@ -0,0 +1,172 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::path::PathBuf;
+
+use crate::settings::CrateSettings;
+use semver::Version;
+use serde::Serialize;
+
+/// A struct containing information about a crate's dependency that's buildable in Bazel
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct BuildableDependency {
+ // Note: Buildifier-compliant BUILD file generation depends on correct sorting of collections
+ // of this struct by `buildable_target`. Do not add fields preceeding this field.
+ pub buildable_target: String,
+ pub name: String,
+ pub version: Version,
+ pub is_proc_macro: bool,
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct DependencyAlias {
+ pub target: String,
+ pub alias: String,
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct BuildableTarget {
+ pub kind: String,
+ pub name: String,
+
+ /// The path in Bazel's format (i.e. with forward slashes) to the target's entry point.
+ pub path: String,
+ pub edition: String,
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct Metadep {
+ pub name: String,
+ pub min_version: Version,
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct LicenseData {
+ pub name: String,
+ pub rating: String,
+}
+
+impl Default for LicenseData {
+ fn default() -> Self {
+ LicenseData {
+ name: "no license".into(),
+ rating: "restricted".into(),
+ }
+ }
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct GitRepo {
+ pub remote: String,
+ pub commit: String,
+
+ // Directory containing the crate's Cargo.toml file, relative to the git repo root.
+ // Will be None iff the crate lives at the root of the git repo.
+ pub path_to_crate_root: Option,
+}
+
+#[derive(Debug, Clone, Serialize)]
+pub struct SourceDetails {
+ pub git_data: Option,
+}
+
+#[derive(Debug, Clone, Serialize, PartialEq, Eq, PartialOrd, Ord)]
+pub struct CrateDependencyContext {
+ pub dependencies: Vec,
+ pub proc_macro_dependencies: Vec,
+ // data_dependencies can only be set when using cargo-raze as a library at the moment.
+ pub data_dependencies: Vec,
+ pub build_dependencies: Vec,
+ pub build_proc_macro_dependencies: Vec,
+ // build_data_dependencies can only be set when using cargo-raze as a library at the moment.
+ pub build_data_dependencies: Vec,
+ pub dev_dependencies: Vec,
+ pub aliased_dependencies: Vec,
+}
+
+impl CrateDependencyContext {
+ pub fn contains(&self, name: &str, version: Version) -> bool {
+ let condition = |dep: &BuildableDependency| dep.name.eq(&name) && dep.version.eq(&version);
+ self.dependencies.iter().any(condition)
+ || self.proc_macro_dependencies.iter().any(condition)
+ || self.build_dependencies.iter().any(condition)
+ || self.build_proc_macro_dependencies.iter().any(condition)
+ || self.dev_dependencies.iter().any(condition)
+ }
+}
+
+#[derive(Debug, Clone, Serialize, PartialEq, Eq, PartialOrd, Ord)]
+pub struct CrateTargetedDepContext {
+ pub target: String,
+ pub deps: CrateDependencyContext,
+ pub conditions: Vec,
+}
+
+#[derive(Debug, Clone, Serialize)]
+pub struct CrateContext {
+ pub pkg_name: String,
+ pub pkg_version: Version,
+ pub edition: String,
+ pub raze_settings: CrateSettings,
+ pub canonical_additional_build_file: Option,
+ pub default_deps: CrateDependencyContext,
+ pub targeted_deps: Vec,
+ pub license: LicenseData,
+ pub features: Vec,
+ pub workspace_path_to_crate: String,
+ pub workspace_member_dependents: Vec,
+ pub workspace_member_dev_dependents: Vec,
+ pub is_workspace_member_dependency: bool,
+ pub is_binary_dependency: bool,
+ pub targets: Vec,
+ pub build_script_target: Option,
+ pub links: Option,
+ pub source_details: SourceDetails,
+ pub sha256: Option,
+ pub registry_url: String,
+
+ // TODO(acmcarther): This is used internally by renderer to know where to put the build file. It
+ // probably should live somewhere else. Renderer params (separate from context) should live
+ // somewhere more explicit.
+ //
+ // I'm punting on this now because this requires a more serious look at the renderer code.
+ pub expected_build_path: String,
+
+ // The name of the main lib target for this crate (if present).
+ // Currently only one such lib can exist per crate.
+ pub lib_target_name: Option,
+ // This field tracks whether or not the lib target of `lib_target_name`
+ // is a proc_macro library or not.
+ pub is_proc_macro: bool,
+}
+
+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize)]
+pub struct WorkspaceContext {
+ // The bazel path prefix to the vendor directory
+ pub workspace_path: String,
+
+ // The generated new_http_library Bazel workspace prefix.
+ //
+ // This has no effect unless the GenMode setting is Remote.
+ pub gen_workspace_prefix: String,
+
+ // The file extension of generated BUILD files.
+ //
+ // Bare files will just be named after this setting. Named files, such as those passed to
+ // repository rules, will take the form of $prefix.$this_value.
+ pub output_buildfile_suffix: String,
+
+ // A list of relative paths from a Cargo workspace root to a Cargo package.
+ pub workspace_members: Vec,
+}
diff --git a/cargo/cargo_raze/impl/src/error.rs b/cargo/cargo_raze/impl/src/error.rs
new file mode 100644
index 0000000000..2feb0b175e
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/error.rs
@@ -0,0 +1,87 @@
+// Copyright 2020 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::fmt;
+
+pub(crate) const PLEASE_FILE_A_BUG: &str =
+ "Please file an issue at github.com/google/cargo-raze with details.";
+
+#[derive(Debug)]
+pub enum RazeError {
+ Generic(String),
+ Internal(String),
+ Rendering {
+ crate_name_opt: Option,
+ message: String,
+ },
+ Planning {
+ dependency_name_opt: Option,
+ message: String,
+ },
+ Config {
+ field_path_opt: Option,
+ message: String,
+ },
+}
+
+impl std::error::Error for RazeError {}
+
+impl fmt::Display for RazeError {
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ match &self {
+ Self::Generic(s) => write!(f, "Raze failed with cause: \"{}\"", s),
+ Self::Internal(s) => write!(
+ f,
+ "Raze failed unexpectedly with cause: \"{}\". {}",
+ s, PLEASE_FILE_A_BUG
+ ),
+ Self::Config {
+ field_path_opt: Some(field_path_opt),
+ message,
+ } => write!(
+ f,
+ "Raze config problem in field \"{}\" with cause: \"{}\"",
+ field_path_opt, message
+ ),
+ Self::Config {
+ field_path_opt: None,
+ message,
+ } => write!(f, "Raze config problem with cause: \"{}\"", message),
+ Self::Rendering {
+ crate_name_opt: Some(crate_name_op),
+ message,
+ } => write!(
+ f,
+ "Raze failed to render crate \"{}\" with cause: \"{}\"",
+ crate_name_op, message
+ ),
+ Self::Rendering {
+ crate_name_opt: None,
+ message,
+ } => write!(f, "Raze failed to render with cause: \"{}\"", message),
+ Self::Planning {
+ dependency_name_opt: Some(dependency_name_opt),
+ message,
+ } => write!(
+ f,
+ "Raze failed to plan crate \"{}\" with cause: \"{}\"",
+ dependency_name_opt, message
+ ),
+ Self::Planning {
+ dependency_name_opt: None,
+ message,
+ } => write!(f, "Raze failed to render with cause: \"{}\"", message),
+ }
+ }
+}
diff --git a/cargo/cargo_raze/impl/src/lib.rs b/cargo/cargo_raze/impl/src/lib.rs
new file mode 100644
index 0000000000..9fccf4564f
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/lib.rs
@@ -0,0 +1,25 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+pub mod checks;
+pub mod context;
+pub mod error;
+pub mod metadata;
+pub mod planning;
+pub mod rendering;
+pub mod settings;
+pub mod util;
+
+#[cfg(test)]
+mod testing;
diff --git a/cargo/cargo_raze/impl/src/metadata.rs b/cargo/cargo_raze/impl/src/metadata.rs
new file mode 100644
index 0000000000..8829a5c6b5
--- /dev/null
+++ b/cargo/cargo_raze/impl/src/metadata.rs
@@ -0,0 +1,795 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+use std::{
+ collections::HashMap,
+ fs,
+ path::{Path, PathBuf},
+ string::String,
+};
+
+use anyhow::{anyhow, Context, Result};
+use cargo_lock::Lockfile;
+use cargo_metadata::{Metadata, MetadataCommand};
+use glob::glob;
+use pathdiff::diff_paths;
+use regex::Regex;
+use rustc_serialize::hex::ToHex;
+use tempfile::TempDir;
+use url::Url;
+
+use crate::util::{cargo_bin_path, package_ident};
+
+pub(crate) const DEFAULT_CRATE_REGISTRY_URL: &str = "https://crates.io";
+pub(crate) const DEFAULT_CRATE_INDEX_URL: &str = "https://github.com/rust-lang/crates.io-index";
+
+/// An entity that can generate Cargo metadata within a Cargo workspace
+pub trait MetadataFetcher {
+ fn fetch_metadata(&self, working_dir: &Path, include_deps: bool) -> Result;
+}
+
+/// A lockfile generator which simply wraps the `cargo_metadata::MetadataCommand` command
+struct CargoMetadataFetcher {
+ pub cargo_bin_path: PathBuf,
+}
+
+impl Default for CargoMetadataFetcher {
+ fn default() -> CargoMetadataFetcher {
+ CargoMetadataFetcher {
+ cargo_bin_path: cargo_bin_path(),
+ }
+ }
+}
+
+impl MetadataFetcher for CargoMetadataFetcher {
+ fn fetch_metadata(&self, working_dir: &Path, include_deps: bool) -> Result {
+ let mut command = MetadataCommand::new();
+
+ if !include_deps {
+ command.no_deps();
+ }
+
+ command
+ .cargo_path(&self.cargo_bin_path)
+ .current_dir(working_dir)
+ .exec()
+ .with_context(|| {
+ format!(
+ "Failed to fetch Metadata with `{}` from `{}`",
+ &self.cargo_bin_path.display(),
+ working_dir.display()
+ )
+ })
+ }
+}
+
+/// An entity that can generate a lockfile data within a Cargo workspace
+pub trait LockfileGenerator {
+ fn generate_lockfile(&self, crate_root_dir: &Path) -> Result;
+}
+
+/// A lockfile generator which simply wraps the `cargo generate-lockfile` command
+struct CargoLockfileGenerator {
+ cargo_bin_path: PathBuf,
+}
+
+impl LockfileGenerator for CargoLockfileGenerator {
+ /// Generate lockfile information from a cargo workspace root
+ fn generate_lockfile(&self, crate_root_dir: &Path) -> Result {
+ let lockfile_path = crate_root_dir.join("Cargo.lock");
+
+ // Generate lockfile
+ std::process::Command::new(&self.cargo_bin_path)
+ .arg("generate-lockfile")
+ .current_dir(&crate_root_dir)
+ .output()?;
+
+ // Load lockfile contents
+ Lockfile::load(&lockfile_path)
+ .with_context(|| format!("Failed to load lockfile: {}", lockfile_path.display()))
+ }
+}
+
+/// A struct containing all metadata about a project with which to plan generated output files for
+#[derive(Debug, Clone)]
+pub struct RazeMetadata {
+ // `cargo metadata` output of the current project
+ pub metadata: Metadata,
+
+ // The absolute path to the current project's cargo workspace root. Note that the workspace
+ // root in `metadata` will be inside of a temporary directory. For details see:
+ // https://doc.rust-lang.org/cargo/reference/workspaces.html#root-package
+ pub cargo_workspace_root: PathBuf,
+
+ // The metadata of a lockfile that was generated as a result of fetching metadata
+ pub lockfile: Option,
+
+ // A map of all known crates with checksums. Use `checksums_for` to access data from this map.
+ pub checksums: HashMap,
+}
+
+impl RazeMetadata {
+ /// Get the checksum of a crate using a unique formatter.
+ pub fn checksum_for(&self, name: &str, version: &str) -> Option<&String> {
+ self.checksums.get(&package_ident(name, version))
+ }
+}
+
+/// Create a symlink file on unix systems
+#[cfg(target_family = "unix")]
+fn make_symlink(src: &Path, dest: &Path) -> Result<()> {
+ std::os::unix::fs::symlink(src, dest)
+ .with_context(|| "Failed to create symlink for generating metadata")
+}
+
+/// Create a symlink file on windows systems
+#[cfg(target_family = "windows")]
+fn make_symlink(src: &Path, dest: &Path) -> Result<()> {
+ std::os::windows::fs::symlink_file(dest, src)
+ .with_context(|| "Failed to create symlink for generating metadata")
+}
+
+/// A workspace metadata fetcher that uses the Cargo commands to gather information about a Cargo
+/// project and it's transitive dependencies for planning and rendering of Bazel BUILD files.
+pub struct RazeMetadataFetcher {
+ registry_url: Url,
+ index_url: Url,
+ metadata_fetcher: Box,
+ lockfile_generator: Box,
+}
+
+impl RazeMetadataFetcher {
+ pub fn new>(
+ cargo_bin_path: P,
+ registry_url: Url,
+ index_url: Url,
+ ) -> RazeMetadataFetcher {
+ let cargo_bin_pathbuf: PathBuf = cargo_bin_path.into();
+ RazeMetadataFetcher {
+ registry_url,
+ index_url,
+ metadata_fetcher: Box::new(CargoMetadataFetcher {
+ cargo_bin_path: cargo_bin_pathbuf.clone(),
+ }),
+ lockfile_generator: Box::new(CargoLockfileGenerator {
+ cargo_bin_path: cargo_bin_pathbuf,
+ }),
+ }
+ }
+
+ /// Reassign the [`crate::metadata::MetadataFetcher`] associated with the Raze Metadata Fetcher
+ pub fn set_metadata_fetcher(&mut self, fetcher: Box) {
+ self.metadata_fetcher = fetcher;
+ }
+
+ /// Reassign the [`crate::metadata::LockfileGenerator`] associated with the current Fetcher
+ pub fn set_lockfile_generator(&mut self, generator: Box) {
+ self.lockfile_generator = generator;
+ }
+
+ /// Symlinks the source code of all workspace members into the temp workspace
+ fn link_src_to_workspace(&self, no_deps_metadata: &Metadata, temp_dir: &Path) -> Result<()> {
+ let crate_member_id_re = Regex::new(r".+\(path\+file://(.+)\)")?;
+ for member in no_deps_metadata.workspace_members.iter() {
+ // Get a path to the workspace member directory
+ let workspace_member_directory = {
+ let crate_member_id_match = crate_member_id_re
+ .captures(&member.repr)
+ .and_then(|cap| cap.get(1));
+
+ if crate_member_id_match.is_none() {
+ continue;
+ }
+
+ // UNWRAP: guarded above
+ PathBuf::from(crate_member_id_match.unwrap().as_str())
+ };
+
+ // Sanity check: The assumption is that any crate with an `id` that matches
+ // the regex pattern above should contain a Cargo.toml file with which we
+ // can use to infer the existence of libraries from relative paths such as
+ // `src/lib.rs` and `src/main.rs`.
+ let toml_path = workspace_member_directory.join("Cargo.toml");
+ if !toml_path.exists() {
+ return Err(anyhow!(format!(
+ "The regex pattern `{}` found a path that did not contain a Cargo.toml file: `{}`",
+ crate_member_id_re.as_str(),
+ workspace_member_directory.display()
+ )));
+ }
+
+ // Copy the Cargo.toml files into the temp directory to match the directory structure on disk
+ let diff = diff_paths(
+ &workspace_member_directory,
+ &no_deps_metadata.workspace_root,
+ )
+ .ok_or_else(|| {
+ anyhow!("All workspace memebers are expected to be under the workspace root")
+ })?;
+ let new_path = temp_dir.join(diff);
+ fs::create_dir_all(&new_path)?;
+ fs::copy(
+ workspace_member_directory.join("Cargo.toml"),
+ new_path.join("Cargo.toml"),
+ )?;
+
+ // Additionally, symlink everything in some common source directories to ensure specified
+ // library targets can be relied on and won't prevent fetching metadata
+ for dir in vec!["bin", "src"].iter() {
+ let glob_pattern = format!("{}/**/*.rs", workspace_member_directory.join(dir).display());
+ for entry in glob(glob_pattern.as_str()).expect("Failed to read glob pattern") {
+ let path = entry?;
+
+ // Determine the difference between the workspace root and the current file
+ let diff = diff_paths(&path, &no_deps_metadata.workspace_root).ok_or_else(|| {
+ anyhow!("All workspace memebers are expected to be under the workspace root")
+ })?;
+
+ // Create a matching directory tree for the current file within the temp workspace
+ let new_path = temp_dir.join(diff);
+ if let Some(parent) = new_path.parent() {
+ fs::create_dir_all(parent)?;
+ }
+
+ make_symlink(&path, &new_path)?;
+ }
+ }
+ }
+
+ Ok(())
+ }
+
+ /// Creates a copy workspace in a temporary directory for fetching the metadata of the current workspace
+ fn make_temp_workspace(&self, cargo_workspace_root: &Path) -> Result<(TempDir, PathBuf)> {
+ let temp_dir = TempDir::new()?;
+
+ // First gather metadata without downloading any dependencies so we can identify any path dependencies.
+ let no_deps_metadata = self
+ .metadata_fetcher
+ .fetch_metadata(cargo_workspace_root, /*include_deps=*/ false)?;
+
+ // There should be a `Cargo.toml` file in the workspace root
+ fs::copy(
+ no_deps_metadata.workspace_root.join("Cargo.toml"),
+ temp_dir.as_ref().join("Cargo.toml"),
+ )?;
+
+ // Optionally copy over the lock file
+ if no_deps_metadata.workspace_root.join("Cargo.lock").exists() {
+ fs::copy(
+ no_deps_metadata.workspace_root.join("Cargo.lock"),
+ temp_dir.as_ref().join("Cargo.lock"),
+ )?;
+ }
+
+ // Copy over the Cargo.toml files of each workspace member
+ self.link_src_to_workspace(&no_deps_metadata, temp_dir.as_ref())?;
+
+ Ok((temp_dir, no_deps_metadata.workspace_root))
+ }
+
+ /// Download a crate's source code from the current registry url
+ fn fetch_crate_src(&self, dir: &Path, name: &str, version: &str) -> Result {
+ // The registry url should only be the host URL with ports. No path
+ let registry_url = {
+ let mut r_url = self.registry_url.clone();
+ r_url.set_path("");
+ r_url.to_string()
+ };
+
+ // Generate a URL with no path. This allows the path to keep any port information
+ // associated with it.
+ let mut url = url::Url::parse(®istry_url)?;
+ url.set_path("");
+
+ log::debug!("Cloning binary dependency: {}", &name);
+ let mut cloner = cargo_clone::Cloner::new();
+ cloner
+ .set_registry_url(url.to_string().trim_end_matches('/'))
+ .set_out_dir(dir);
+
+ cloner.clone(
+ cargo_clone::CloneMethodKind::Crate,
+ name,
+ Some(version),
+ &Vec::new(),
+ )?;
+
+ let crate_dir = dir.join(package_ident(name, version));
+ if !crate_dir.exists() {
+ return Err(anyhow!("Directory does not exist"));
+ }
+
+ Ok(crate_dir)
+ }
+
+ /// Add binary dependencies as workspace members to the given workspace root Cargo.toml file
+ fn inject_binaries_into_workspace(
+ &self,
+ binary_deps: Vec,
+ root_toml: &Path,
+ ) -> Result<()> {
+ // Read the current manifest
+ let mut manifest = {
+ let content = fs::read_to_string(root_toml)?;
+ cargo_toml::Manifest::from_str(content.as_str())?
+ };
+
+ // Parse the current `workspace` section of the manifest if one exists
+ let mut workspace = match manifest.workspace {
+ Some(workspace) => workspace,
+ None => cargo_toml::Workspace::default(),
+ };
+
+ // Add the binary dependencies as workspace members to the `workspace` metadata
+ for dep in binary_deps.iter() {
+ workspace.members.push(dep.to_string());
+ }
+
+ // Replace the workspace metadata with the modified metadata
+ manifest.workspace = Some(workspace);
+
+ // Write the metadata back to disk.
+ // cargo_toml::Manifest cannot be serialized direcly.
+ // see: https://gitlab.com/crates.rs/cargo_toml/-/issues/3
+ let value = toml::Value::try_from(&manifest)?;
+ std::fs::write(root_toml, toml::to_string(&value)?).with_context(|| {
+ format!(
+ "Failed to inject workspace metadata to {}",
+ root_toml.display()
+ )
+ })
+ }
+
+ /// Look up a crate in a specified crate index to determine it's checksum
+ fn fetch_crate_checksum(&self, name: &str, version: &str) -> Result {
+ let index_url_is_file = self.index_url.scheme().to_lowercase() == "file";
+ let crate_index_path = if !index_url_is_file {
+ crates_index::BareIndex::from_url(&self.index_url.to_string())?
+ .open_or_clone()?
+ .crate_(name)
+ .ok_or_else(|| anyhow!("Failed to find crate '{}' in index", name))?
+ } else {
+ crates_index::Index::new(&self.index_url.path())
+ .crate_(name)
+ .ok_or_else(|| anyhow!("Failed to find crate '{}' in index", name))?
+ };
+
+ let (_index, crate_version) = crate_index_path
+ .versions()
+ .iter()
+ .enumerate()
+ .find(|(_, ver)| ver.version() == version)
+ .ok_or_else(|| anyhow!("Failed to find version {} for crate {}", version, name))?;
+
+ Ok(crate_version.checksum()[..].to_hex())
+ }
+
+ /// Ensures a lockfile is generated for a crate on disk
+ ///
+ /// Args:
+ /// - reused_lockfile: An optional lockfile to use for fetching metadata to
+ /// ensure subsequent metadata fetches return consistent results.
+ /// - cargo_dir: The directory of the cargo workspace to gather metadata for.
+ /// Returns:
+ /// If a new lockfile was generated via the `lockfile_generator`, that
+ /// Lockfile object is returned. New lockfiles are generated when
+ /// `reused_lockfile` is not provided.
+ fn cargo_generate_lockfile(
+ &self,
+ reused_lockfile: &Option,
+ cargo_dir: &Path,
+ ) -> Result