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 + +[![Build Status](https://travis-ci.org/google/cargo-raze.svg?branch=master)](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> { + let lockfile_path = cargo_dir.join("Cargo.lock"); + + // Use the reusable lockfile if one is provided + if let Some(reused_lockfile) = reused_lockfile { + fs::copy(&reused_lockfile, &lockfile_path)?; + return Ok(None); + } + + let lockfile = self.lockfile_generator.generate_lockfile(&cargo_dir)?; + + // Returning the lockfile here signifies that a new lockfile has been created. + Ok(Some(lockfile)) + } + + /// Gather all information about a Cargo project to use for planning and rendering steps + pub fn fetch_metadata( + &self, + cargo_workspace_root: &Path, + binary_dep_info: Option<&HashMap>, + reused_lockfile: Option, + ) -> Result { + let (cargo_dir, cargo_workspace_root) = self.make_temp_workspace(cargo_workspace_root)?; + let cargo_root_toml = cargo_dir.as_ref().join("Cargo.toml"); + + // Gather new lockfile data if any binary dependencies were provided + let mut checksums: HashMap = HashMap::new(); + if let Some(binary_dep_info) = binary_dep_info { + if !binary_dep_info.is_empty() { + let mut src_dirnames: Vec = Vec::new(); + + for (name, info) in binary_dep_info.iter() { + let version = info.req(); + let src_dir = self.fetch_crate_src(cargo_dir.as_ref(), &name, version)?; + checksums.insert( + package_ident(name, version), + self.fetch_crate_checksum(name, version)?, + ); + if let Some(dirname) = src_dir.file_name() { + if let Some(dirname_str) = dirname.to_str() { + src_dirnames.push(dirname_str.to_string()); + } + } + } + + self.inject_binaries_into_workspace(src_dirnames, &cargo_root_toml)?; + } + } + + let output_lockfile = self.cargo_generate_lockfile(&reused_lockfile, cargo_dir.as_ref())?; + + // Load checksums from the lockfile + let workspace_toml_lock = cargo_dir.as_ref().join("Cargo.lock"); + if workspace_toml_lock.exists() { + let lockfile = Lockfile::load(workspace_toml_lock)?; + for package in &lockfile.packages { + if let Some(checksum) = &package.checksum { + checksums.insert( + package_ident(&package.name.to_string(), &package.version.to_string()), + checksum.to_string(), + ); + } + } + } + + let metadata = self + .metadata_fetcher + .fetch_metadata(cargo_dir.as_ref(), /*include_deps=*/ true)?; + + Ok(RazeMetadata { + metadata, + checksums, + cargo_workspace_root, + lockfile: output_lockfile, + }) + } +} + +impl Default for RazeMetadataFetcher { + fn default() -> RazeMetadataFetcher { + RazeMetadataFetcher::new( + cargo_bin_path(), + // UNWRAP: The default is covered by testing and should never return err + Url::parse(DEFAULT_CRATE_REGISTRY_URL).unwrap(), + Url::parse(DEFAULT_CRATE_INDEX_URL).unwrap(), + ) + } +} + +/// A struct containing information about a binary dependency +pub struct BinaryDependencyInfo { + pub name: String, + pub info: cargo_toml::Dependency, + pub lockfile: Option, +} + +#[cfg(test)] +pub mod tests { + use anyhow::Context; + use httpmock::MockServer; + use tera::Tera; + + use super::*; + use crate::testing::*; + + use std::{fs::File, io::Write, str::FromStr}; + + pub struct DummyCargoMetadataFetcher { + pub metadata_template: Option, + } + + impl DummyCargoMetadataFetcher { + fn render_metadata(&self, mock_workspace_path: &Path) -> Option { + if self.metadata_template.is_none() { + return None; + } + + let dir = TempDir::new().unwrap(); + let mut renderer = Tera::new(&format!("{}/*", dir.as_ref().display())).unwrap(); + + let templates_dir = PathBuf::from(std::file!()) + .parent() + .unwrap() + .join("testing/metadata_templates") + .canonicalize() + .unwrap(); + + renderer + .add_raw_templates(vec![( + self.metadata_template.as_ref().unwrap(), + fs::read_to_string(templates_dir.join(self.metadata_template.as_ref().unwrap())).unwrap(), + )]) + .unwrap(); + + let mut context = tera::Context::new(); + context.insert("mock_workspace", &mock_workspace_path); + context.insert("crate_index_root", "/some/fake/home/path/.cargo"); + let content = renderer + .render(self.metadata_template.as_ref().unwrap(), &context) + .unwrap(); + + Some(serde_json::from_str::(&content).unwrap()) + } + } + + impl MetadataFetcher for DummyCargoMetadataFetcher { + fn fetch_metadata(&self, working_dir: &Path, include_deps: bool) -> Result { + // Only use the template if the command is looking to reach out to the internet. + if include_deps { + if let Some(metadata) = self.render_metadata(working_dir) { + return Ok(metadata); + } + } + + // Ensure no the command is ran in `offline` mode and no dependencies are checked. + MetadataCommand::new() + .cargo_path(cargo_bin_path()) + .no_deps() + .current_dir(working_dir) + .other_options(vec!["--offline".to_string()]) + .exec() + .with_context(|| { + format!( + "Failed to run `{} metadata` with contents:\n{}", + cargo_bin_path().display(), + fs::read_to_string(working_dir.join("Cargo.toml")).unwrap() + ) + }) + } + } + + pub struct DummyLockfileGenerator { + // Optional lockfile to use for generation + pub lockfile_contents: Option, + } + + impl LockfileGenerator for DummyLockfileGenerator { + fn generate_lockfile(&self, _crate_root_dir: &Path) -> Result { + match &self.lockfile_contents { + Some(contents) => Lockfile::from_str(contents) + .with_context(|| format!("Failed to load provided lockfile:\n{}", contents)), + None => Lockfile::from_str(basic_lock_contents()) + .with_context(|| format!("Failed to load dummy lockfile:\n{}", basic_lock_contents())), + } + } + } + + pub fn dummy_raze_metadata_fetcher() -> (RazeMetadataFetcher, MockServer, TempDir) { + let tempdir = TempDir::new().unwrap(); + let mock_server = MockServer::start(); + let mut fetcher = RazeMetadataFetcher::new( + cargo_bin_path(), + Url::parse(&mock_server.base_url()).unwrap(), + Url::parse(&format!("file://{}", tempdir.as_ref().display())).unwrap(), + ); + fetcher.set_metadata_fetcher(Box::new(DummyCargoMetadataFetcher { + metadata_template: None, + })); + fetcher.set_lockfile_generator(Box::new(DummyLockfileGenerator { + lockfile_contents: None, + })); + + (fetcher, mock_server, tempdir) + } + + pub fn dummy_raze_metadata() -> RazeMetadata { + let dir = make_basic_workspace(); + let (mut fetcher, _server, _index_dir) = dummy_raze_metadata_fetcher(); + + // Always render basic metadata + fetcher.set_metadata_fetcher(Box::new(DummyCargoMetadataFetcher { + metadata_template: Some(templates::BASIC_METADATA.to_string()), + })); + + fetcher.fetch_metadata(dir.as_ref(), None, None).unwrap() + } + + #[test] + fn test_cargo_subcommand_metadata_fetcher_works_without_lock() { + let dir = TempDir::new().unwrap(); + let toml_path = dir.path().join("Cargo.toml"); + let mut toml = File::create(&toml_path).unwrap(); + toml.write_all(basic_toml_contents().as_bytes()).unwrap(); + + let mut fetcher = RazeMetadataFetcher::default(); + fetcher.set_lockfile_generator(Box::new(DummyLockfileGenerator { + lockfile_contents: None, + })); + fetcher.fetch_metadata(dir.as_ref(), None, None).unwrap(); + } + + #[test] + fn test_cargo_subcommand_metadata_fetcher_works_with_lock() { + let dir = TempDir::new().unwrap(); + // Create Cargo.toml + { + let path = dir.path().join("Cargo.toml"); + let mut toml = File::create(&path).unwrap(); + toml.write_all(basic_toml_contents().as_bytes()).unwrap(); + } + + // Create Cargo.lock + { + let path = dir.path().join("Cargo.lock"); + let mut lock = File::create(&path).unwrap(); + lock.write_all(basic_lock_contents().as_bytes()).unwrap(); + } + + let mut fetcher = RazeMetadataFetcher::default(); + fetcher.set_lockfile_generator(Box::new(DummyLockfileGenerator { + lockfile_contents: None, + })); + fetcher.fetch_metadata(dir.as_ref(), None, None).unwrap(); + } + + #[test] + fn test_cargo_subcommand_metadata_fetcher_handles_bad_files() { + let dir = TempDir::new().unwrap(); + // Create Cargo.toml + { + let path = dir.path().join("Cargo.toml"); + let mut toml = File::create(&path).unwrap(); + toml.write_all(b"hello").unwrap(); + } + + let fetcher = RazeMetadataFetcher::default(); + assert!(fetcher.fetch_metadata(dir.as_ref(), None, None).is_err()); + } + + #[test] + fn test_fetching_src() { + let (fetcher, mock_server, _index_url) = dummy_raze_metadata_fetcher(); + let mock = mock_remote_crate("fake-crate", "3.3.3", &mock_server); + + let path = fetcher + .fetch_crate_src(mock.data_dir.as_ref(), "fake-crate", "3.3.3") + .unwrap(); + + for mock in mock.endpoints.iter() { + mock.assert(); + } + + assert!(path.exists()); + + // Ensure the name follows a consistent pattern: `{name}-{version}` + assert_eq!( + mock.data_dir.into_path().join("fake-crate-3.3.3").as_path(), + path.as_path() + ); + assert!(path.join("Cargo.toml").exists()); + assert!(path.join("Cargo.lock").exists()); + assert!(path.join("test").exists()); + } + + #[test] + fn test_inject_dependency_to_workspace() { + let (fetcher, _mock_server, _index_url) = dummy_raze_metadata_fetcher(); + + let crate_dir = make_workspace_with_dependency(); + let cargo_toml_path = crate_dir.as_ref().join("Cargo.toml"); + let mut manifest = + cargo_toml::Manifest::from_str(fs::read_to_string(&cargo_toml_path).unwrap().as_str()) + .unwrap(); + + let basic_dep_toml = crate_dir.as_ref().join("basic_dep/Cargo.toml"); + fs::create_dir_all(basic_dep_toml.parent().unwrap()).unwrap(); + fs::write(&basic_dep_toml, named_toml_contents("basic_dep", "0.0.1")).unwrap(); + assert!(basic_dep_toml.exists()); + + manifest.workspace = Some({ + let mut workspace = cargo_toml::Workspace::default(); + workspace.members.push("test".to_string()); + workspace + }); + + // Ensure the manifest only includes the new workspace member after the injection + assert_ne!( + cargo_toml::Manifest::from_str(fs::read_to_string(&cargo_toml_path).unwrap().as_str()) + .unwrap(), + manifest + ); + + // Fetch metadata + fetcher + .inject_binaries_into_workspace(vec!["test".to_string()], &cargo_toml_path) + .unwrap(); + + // Ensure workspace now has the new member + assert_eq!( + cargo_toml::Manifest::from_str(fs::read_to_string(&cargo_toml_path).unwrap().as_str()) + .unwrap(), + manifest + ); + } + + #[test] + fn test_generate_lockfile_use_previously_generated() { + let (fetcher, _mock_server, _index_url) = dummy_raze_metadata_fetcher(); + + let crate_dir = make_workspace_with_dependency(); + let reused_lockfile = crate_dir.as_ref().join("locks_test/Cargo.raze.lock"); + + fs::create_dir_all(reused_lockfile.parent().unwrap()).unwrap(); + fs::write(&reused_lockfile, "# test_generate_lockfile").unwrap(); + + // A reuse lockfile was provided so no new lockfile should be returned + assert!(fetcher + .cargo_generate_lockfile(&Some(reused_lockfile.clone()), crate_dir.as_ref()) + .unwrap() + .is_none()); + + // Returns the built in lockfile + assert_eq!( + cargo_lock::Lockfile::load(crate_dir.as_ref().join("Cargo.lock")).unwrap(), + cargo_lock::Lockfile::load(&reused_lockfile).unwrap(), + ); + } + + #[test] + fn test_cargo_generate_lockfile_new_file() { + let (mut fetcher, _mock_server, _index_url) = dummy_raze_metadata_fetcher(); + fetcher.set_lockfile_generator(Box::new(DummyLockfileGenerator { + lockfile_contents: Some(advanced_lock_contents().to_string()), + })); + + let crate_dir = make_workspace(advanced_toml_contents(), None); + + // A new lockfile should have been created and it should match the expected contents for the advanced_toml workspace + assert_eq!( + fetcher + .cargo_generate_lockfile(&None, crate_dir.as_ref()) + .unwrap() + .unwrap(), + Lockfile::from_str(advanced_lock_contents()).unwrap() + ); + } + + #[test] + fn test_cargo_generate_lockfile_no_file() { + let (mut fetcher, _mock_server, _index_url) = dummy_raze_metadata_fetcher(); + fetcher.set_lockfile_generator(Box::new(DummyLockfileGenerator { + lockfile_contents: Some(advanced_lock_contents().to_string()), + })); + + let crate_dir = make_workspace(advanced_toml_contents(), None); + let expected_lockfile = crate_dir.as_ref().join("expected/Cargo.expected.lock"); + + fs::create_dir_all(expected_lockfile.parent().unwrap()).unwrap(); + fs::write(&expected_lockfile, advanced_lock_contents()).unwrap(); + + assert!(fetcher + .cargo_generate_lockfile(&Some(expected_lockfile.clone()), crate_dir.as_ref()) + .unwrap() + .is_none()); + + // Ensure a Cargo.lock file was generated and matches the expected file + assert_eq!( + Lockfile::from_str(&fs::read_to_string(expected_lockfile).unwrap()).unwrap(), + Lockfile::from_str(&fs::read_to_string(crate_dir.as_ref().join("Cargo.lock")).unwrap()) + .unwrap() + ); + } +} diff --git a/cargo/cargo_raze/impl/src/planning.rs b/cargo/cargo_raze/impl/src/planning.rs new file mode 100644 index 0000000000..535fa6e87e --- /dev/null +++ b/cargo/cargo_raze/impl/src/planning.rs @@ -0,0 +1,783 @@ +// 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. + +mod crate_catalog; +mod license; +mod subplanners; + +use anyhow::Result; +use cargo_lock::Lockfile; + +use crate::{ + context::{CrateContext, WorkspaceContext}, + metadata::RazeMetadata, + settings::RazeSettings, + util::PlatformDetails, +}; + +use crate_catalog::CrateCatalog; +use subplanners::WorkspaceSubplanner; + +/// A ready-to-be-rendered build, containing renderable context for each crate. +#[derive(Debug)] +pub struct PlannedBuild { + pub workspace_context: WorkspaceContext, + pub crate_contexts: Vec, + pub lockfile: Option, +} + +/// An entity that can produce an organized, planned build ready to be rendered. +pub trait BuildPlanner { + /// A function that returns a completely planned build using internally generated metadata, along + /// with settings, platform specifications, and critical file locations. + fn plan_build(&self, platform_details: Option) -> Result; +} + +/// The default implementation of a `BuildPlanner`. +pub struct BuildPlannerImpl { + metadata: RazeMetadata, + settings: RazeSettings, +} + +impl BuildPlanner for BuildPlannerImpl { + /// Retrieves metadata for local workspace and produces a build plan. + fn plan_build(&self, platform_details: Option) -> Result { + // Create one combined metadata object which includes all dependencies and binaries + let crate_catalog = CrateCatalog::new(&self.metadata.metadata)?; + + // Generate additional PlatformDetails + let workspace_subplanner = WorkspaceSubplanner { + crate_catalog: &crate_catalog, + settings: &self.settings, + platform_details: &platform_details, + metadata: &self.metadata, + }; + + workspace_subplanner.produce_planned_build() + } +} + +impl BuildPlannerImpl { + pub fn new(metadata: RazeMetadata, settings: RazeSettings) -> Self { + Self { + metadata, + settings, + } + } +} + +#[cfg(test)] +mod tests { + use std::{collections::HashMap, path::PathBuf}; + + use crate::{ + metadata::tests::{ + dummy_raze_metadata, dummy_raze_metadata_fetcher, DummyCargoMetadataFetcher, + }, + settings::{tests::*, GenMode}, + testing::*, + }; + + use super::*; + use cargo_metadata::PackageId; + use indoc::indoc; + use semver::{Version, VersionReq}; + + fn dummy_resolve_dropping_metadata() -> RazeMetadata { + let raze_metadata = dummy_raze_metadata(); + let mut metadata = raze_metadata.metadata.clone(); + assert!(metadata.resolve.is_some()); + metadata.resolve = None; + RazeMetadata { + metadata, + cargo_workspace_root: PathBuf::from("/some/crate"), + lockfile: None, + checksums: HashMap::new(), + } + } + + #[test] + fn test_plan_build_missing_resolve_returns_error() { + let planner = BuildPlannerImpl::new(dummy_resolve_dropping_metadata(), dummy_raze_settings()); + let res = planner.plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))); + assert!(res.is_err()); + } + + #[test] + fn test_plan_build_minimum_workspace() { + let planner = BuildPlannerImpl::new(dummy_raze_metadata(), dummy_raze_settings()); + let planned_build_res = planner.plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))); + + assert!(planned_build_res.unwrap().crate_contexts.is_empty()); + } + + #[test] + fn test_plan_build_minimum_workspace_dependency() { + let planned_build_res = BuildPlannerImpl::new( + template_raze_metadata(templates::DUMMY_MODIFIED_METADATA), + dummy_raze_settings(), + ) + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))); + + let planned_build = planned_build_res.unwrap(); + assert_eq!(planned_build.crate_contexts.len(), 1); + let dep = planned_build.crate_contexts.get(0).unwrap(); + assert_eq!(dep.pkg_name, "test_dep"); + assert!(!dep.workspace_member_dependents.is_empty()); + assert!( + !dep.workspace_path_to_crate.contains("."), + "{} should be sanitized", + dep.workspace_path_to_crate + ); + assert!( + !dep.workspace_path_to_crate.contains("-"), + "{} should be sanitized", + dep.workspace_path_to_crate + ); + } + + fn dummy_workspace_crate_metadata(metadata_template: &str) -> RazeMetadata { + let dir = make_basic_workspace(); + let (mut fetcher, _server, _index_dir) = dummy_raze_metadata_fetcher(); + + // Ensure we render the given template + fetcher.set_metadata_fetcher(Box::new(DummyCargoMetadataFetcher { + metadata_template: Some(metadata_template.to_string()), + })); + + let raze_metadata = fetcher.fetch_metadata(dir.as_ref(), None, None).unwrap(); + let mut metadata = raze_metadata.metadata; + + // Phase 1: Create a workspace package, add it to the packages list. + + let name = "ws_crate_dep"; + let name_id = "ws_crate_dep_id"; + let id = PackageId { + repr: name_id.to_string(), + }; + + let mut new_package = metadata.packages[0].clone(); + new_package.name = name.to_string(); + new_package.id = id.clone(); + new_package.version = Version::new(0, 0, 1); + metadata.packages.push(new_package); + + // Phase 2: Add the workspace packages to the workspace members. + + metadata.workspace_members.push(id); + + RazeMetadata { + metadata, + cargo_workspace_root: PathBuf::from("/some/crate"), + lockfile: None, + checksums: HashMap::new(), + } + } + + #[test] + fn test_plan_build_ignores_workspace_crates() { + let mut settings = dummy_raze_settings(); + settings.genmode = GenMode::Vendored; + + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::BASIC_METADATA), + settings, + ); + // N.B. This will fail if we don't correctly ignore workspace crates. + let planned_build_res = planner.plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))); + assert!(planned_build_res.unwrap().crate_contexts.is_empty()); + } + + #[test] + fn test_plan_build_produces_aliased_dependencies() { + let mut settings = dummy_raze_settings(); + settings.genmode = GenMode::Remote; + + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::PLAN_BUILD_PRODUCES_ALIASED_DEPENDENCIES), + settings, + ); + // N.B. This will fail if we don't correctly ignore workspace crates. + let planned_build_res = planner.plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))); + + // Retrieve the crates that have aliased dependencies from the planned build + let crates_with_aliased_deps: Vec = planned_build_res + .unwrap() + .crate_contexts + .into_iter() + .filter(|krate| krate.default_deps.aliased_dependencies.len() != 0) + .collect(); + + // Vec length should be 1 as only cargo-raze-alias-test should have aliased dependencies + assert_eq!( + crates_with_aliased_deps.len(), + 1, + "Crates with aliased dependencies is not 1" + ); + + // Find and verify that the cargo-raze-alias-test crate is in the Vec + let krate_position = crates_with_aliased_deps + .iter() + .position(|krate| krate.pkg_name == "cargo-raze-alias-test"); + assert!(krate_position.is_some()); + + // Get crate context using computed position + let krate_context = crates_with_aliased_deps[krate_position.unwrap()].clone(); + + // There are two default dependencies for cargo-raze-alias-test, log^0.4 and log^0.3 + // However, log^0.3 is aliased to old_log while log^0.4 isn't aliased. Therefore, we + // should only see one aliased dependency (log^0.3 -> old_log) which shows that the + // name and semver matching for aliased dependencies is working correctly + assert!(krate_context.default_deps.aliased_dependencies.len() == 1); + assert_eq!( + krate_context.default_deps.aliased_dependencies[0].target, + "@raze_test__log__0_3_9//:log" + ); + assert_eq!( + krate_context.default_deps.aliased_dependencies[0].alias, + "old_log" + ); + } + #[test] + fn test_plan_build_produces_proc_macro_dependencies() { + let mut settings = dummy_raze_settings(); + settings.genmode = GenMode::Remote; + + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::PLAN_BUILD_PRODUCES_PROC_MACRO_DEPENDENCIES), + settings, + ); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + let serde = planned_build + .crate_contexts + .iter() + .find(|ctx| ctx.pkg_name == "serde") + .unwrap(); + + let serde_derive_proc_macro_deps: Vec<_> = serde + .default_deps + .proc_macro_dependencies + .iter() + .filter(|dep| dep.name == "serde_derive") + .collect(); + assert_eq!(serde_derive_proc_macro_deps.len(), 1); + + let serde_derive_normal_deps: Vec<_> = serde + .default_deps + .dependencies + .iter() + .filter(|dep| dep.name == "serde_derive") + .collect(); + assert_eq!(serde_derive_normal_deps.len(), 0); + } + + #[test] + fn test_plan_build_produces_build_proc_macro_dependencies() { + let mut settings = dummy_raze_settings(); + settings.genmode = GenMode::Remote; + + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::PLAN_BUILD_PRODUCES_BUILD_PROC_MACRO_DEPENDENCIES), + settings, + ); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + let markup = planned_build + .crate_contexts + .iter() + .find(|ctx| ctx.pkg_name == "markup5ever") + .unwrap(); + + let markup_proc_macro_deps: Vec<_> = markup + .default_deps + .proc_macro_dependencies + .iter() + .filter(|dep| dep.name == "serde_derive") + .collect(); + assert_eq!(markup_proc_macro_deps.len(), 0); + + let markup_build_proc_macro_deps: Vec<_> = markup + .default_deps + .build_proc_macro_dependencies + .iter() + .filter(|dep| dep.name == "serde_derive") + .collect(); + assert_eq!(markup_build_proc_macro_deps.len(), 1); + } + + #[test] + fn test_subplan_produces_crate_root_with_forward_slash() { + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::SUBPLAN_PRODUCES_CRATE_ROOT_WITH_FORWARD_SLASH), + dummy_raze_settings(), + ); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + assert_eq!( + planned_build.crate_contexts[0].targets[0].path, + "src/lib.rs" + ); + } + + fn dummy_binary_dependency_metadata(is_remote_genmode: bool) -> (RazeMetadata, RazeSettings) { + let (mut fetcher, server, index_dir) = dummy_raze_metadata_fetcher(); + + // Only in cases where `RazeSettings::genmode == "Remote"` do we exepct the metadata to be anything different + // than the standard metadata. So we use a generated template to represent that state. + let dummy_metadata_fetcher = DummyCargoMetadataFetcher { + metadata_template: if is_remote_genmode { + Some(templates::DUMMY_BINARY_DEPENDENCY_REMOTE.to_string()) + } else { + Some(templates::BASIC_METADATA.to_string()) + }, + }; + fetcher.set_metadata_fetcher(Box::new(dummy_metadata_fetcher)); + + let mock = mock_remote_crate("some-binary-crate", "3.3.3", &server); + let dir = mock_crate_index( + &to_index_crates_map(vec![("some-binary-crate", "3.3.3")]), + Some(index_dir.as_ref()), + ); + assert!(dir.is_none()); + + let mut settings = dummy_raze_settings(); + settings.binary_deps.insert( + "some-binary-crate".to_string(), + cargo_toml::Dependency::Simple("3.3.3".to_string()), + ); + + let dir = make_basic_workspace(); + let raze_metadata = fetcher + .fetch_metadata(dir.as_ref(), Some(&settings.binary_deps), None) + .unwrap(); + + for mock in mock.endpoints.iter() { + mock.assert(); + } + + (raze_metadata, settings) + } + + #[test] + fn test_binary_dependencies_remote_genmode() { + let (raze_metadata, mut settings) = + dummy_binary_dependency_metadata(/*is_remote_genmode=*/ true); + settings.genmode = GenMode::Remote; + + // Make sure the dummy settings contain the information we expect + let version = Version::parse("3.3.3").unwrap(); + assert!(settings.binary_deps.contains_key("some-binary-crate")); + assert_eq!( + settings.binary_deps.get("some-binary-crate").unwrap().req(), + version.to_string() + ); + + let planner = BuildPlannerImpl::new(raze_metadata, settings); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + // We expect to have a crate context for the binary dependency + let context = planned_build + .crate_contexts + .iter() + .inspect(|x| println!("{}{}", x.pkg_name, x.pkg_version)) + .find(|ctx| ctx.pkg_name == "some-binary-crate" && ctx.pkg_version == version) + .unwrap(); + + // It's also expected to have a checksum + assert!(context.sha256.is_some()); + } + + #[test] + fn test_binary_dependencies_vendored_genmode() { + let (raze_metadata, mut settings) = + dummy_binary_dependency_metadata(/*is_remote_genmode=*/ false); + settings.genmode = GenMode::Vendored; + + // Make sure the dummy settings contain the information we expect + let version = Version::parse("3.3.3").unwrap(); + assert!(settings.binary_deps.contains_key("some-binary-crate")); + assert_eq!( + settings.binary_deps.get("some-binary-crate").unwrap().req(), + version.to_string() + ); + + let planner = BuildPlannerImpl::new(raze_metadata, settings); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + // Vendored builds do not use binary dependencies and should not alter the outputs + assert!(planned_build + .crate_contexts + .iter() + .find(|ctx| ctx.pkg_name == "some-binary-crate") + .is_none()); + } + + #[test] + fn test_workspace_context_contains_no_binary_dependencies() { + let (raze_metadata, mut settings) = + dummy_binary_dependency_metadata(/*is_remote_genmode=*/ true); + settings.genmode = GenMode::Remote; + + // Make sure the dummy settings contain the information we expect + let version = Version::parse("3.3.3").unwrap(); + assert!(settings.binary_deps.contains_key("some-binary-crate")); + assert_eq!( + settings.binary_deps.get("some-binary-crate").unwrap().req(), + version.to_string() + ); + + let planner = BuildPlannerImpl::new(raze_metadata, settings); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + ))) + .unwrap(); + + // Ensure binary dependencies are not considered workspace members after planning + let binary_dep_name = format!("some-binary-crate-{}", version.to_string()); + assert_eq!( + planned_build + .workspace_context + .workspace_members + .iter() + .any(|member| match member.file_name() { + Some(file_name) => file_name == binary_dep_name.as_str(), + None => false, + }), + false + ) + } + + #[test] + fn test_semver_matching() { + let toml_file = indoc! { r#" + [package] + name = "semver_toml" + version = "0.1.0" + + [lib] + path = "not_a_file.rs" + + [dependencies] + # This has no settings + anyhow = "1.0" + + openssl-sys = "=0.9.24" + openssl = "=0.10.2" + unicase = "=2.1" + bindgen = "=0.32" + clang-sys = "=0.21.1" + + # The following are negative tests aka test they dont match + lexical-core = "0.7.4" + + [package.metadata.raze] + workspace_path = "//cargo" + genmode = "Remote" + + # All these examples are basically from the readme and "handling unusual crates: + # They are adapted to handle the variety of semver patterns + # In reality, you probably want to express many patterns more generally + + # Test bare versions + # AKA: `==0.9.24` + [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", + ] + + # Test `^` range + # AKA: `>=0.10.0 < 0.11.0-0` + [package.metadata.raze.crates.openssl.'^0.10'] + additional_flags = [ + # Vendored openssl is 1.0.2m + "--cfg=ossl102", + "--cfg=version=102", + "--cfg=ossl10x", + ] + + # Test `*` or globs + # AKA: `>=0.21.0 < 0.22.0-0` + [package.metadata.raze.crates.clang-sys.'0.21.*'] + gen_buildrs = true + + # Test `~` range + # AKA: `>=2.0.0 < 3.0.0-0` + [package.metadata.raze.crates.unicase.'~2'] + additional_flags = [ + # Rustc is 1.15, enable all optional settings + "--cfg=__unicase__iter_cmp", + "--cfg=__unicase__defauler_hasher", + ] + + # Test `*` full glob + # AKA: Get out of my way raze and just give me this for everything + [package.metadata.raze.crates.bindgen.'*'] + gen_buildrs = true # needed to build bindgen + extra_aliased_targets = [ + "cargo_bin_bindgen" + ] + + # This should not match unicase, and should not error + [package.metadata.raze.crates.unicase.'2.6.0'] + additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" + ] + + [package.metadata.raze.crates.lexical-core.'~0.6'] + additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" + ] + + [package.metadata.raze.crates.lexical-core.'^0.6'] + additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" + ] + "#}; + + let settings = { + let temp_dir = make_workspace(toml_file, None); + let manifest_path = temp_dir.as_ref().join("Cargo.toml"); + crate::settings::load_settings_from_manifest(&manifest_path, None).unwrap() + }; + + let planner = BuildPlannerImpl::new( + dummy_workspace_crate_metadata(templates::SEMVER_MATCHING), + settings, + ); + + // N.B. This will fail if we don't correctly ignore workspace crates. + let planned_build_res = planner.plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), + ))); + + let crates: Vec = planned_build_res + .unwrap() + .crate_contexts + .into_iter() + .collect(); + + let dep = |name: &str, ver_req: &str| { + let ver_req = VersionReq::parse(ver_req).unwrap(); + &crates + .iter() + .find(|dep| dep.pkg_name == name && ver_req.matches(&dep.pkg_version)) + .expect(&format!("{} not found", name)) + .raze_settings + }; + + let assert_dep_not_match = |name: &str, ver_req: &str| { + // Didnt match anything so should not have any settings + let test_dep = dep(name, ver_req); + assert!(test_dep.additional_flags.is_empty()); + assert!(test_dep.additional_deps.is_empty()); + assert!(test_dep.gen_buildrs.is_none()); + assert!(test_dep.extra_aliased_targets.is_empty()); + assert!(test_dep.patches.is_empty()); + assert!(test_dep.patch_cmds.is_empty()); + assert!(test_dep.patch_tool.is_none()); + assert!(test_dep.patch_cmds_win.is_empty()); + assert!(test_dep.skipped_deps.is_empty()); + assert!(test_dep.additional_build_file.is_none()); + assert!(test_dep.data_attr.is_none()); + assert!(test_dep.compile_data_attr.is_none()); + }; + + assert_dep_not_match("anyhow", "*"); + assert_dep_not_match("lexical-core", "^0.7"); + + assert_eq! { + dep("openssl-sys", "0.9.24").additional_deps, + vec![ + "@//third_party/openssl:crypto", + "@//third_party/openssl:ssl" + ] + }; + assert_eq! { + dep("openssl-sys", "0.9.24").additional_flags, + vec!["--cfg=ossl102", "--cfg=version=102"] + }; + + assert_eq! { + dep("openssl", "0.10.*").additional_flags, + vec!["--cfg=ossl102", "--cfg=version=102", "--cfg=ossl10x"], + }; + + assert!(dep("clang-sys", "0.21").gen_buildrs.unwrap_or_default()); + + assert_eq! { + dep("unicase", "2.1").additional_flags, + vec! [ + "--cfg=__unicase__iter_cmp", + "--cfg=__unicase__defauler_hasher", + ] + }; + + assert!(dep("bindgen", "*").gen_buildrs.unwrap_or_default()); + assert_eq! { + dep("bindgen", "*").extra_aliased_targets, + vec!["cargo_bin_bindgen"] + }; + } + + fn dummy_workspace_member_toml_contents(name: &str, dep_version: &str) -> String { + assert!( + dep_version == "0.2.1" || dep_version == "0.1.0", + "The `dummy_workspace_members_metadata` template was generated with these versions, if \ + something else is passed, that file will need to be regenerated" + ); + indoc::formatdoc! { r#" + [package] + name = "{name}" + version = "0.0.1" + + [lib] + path = "src/lib.rs" + + [dependencies] + unicode-xid = "{dep_version}" + "#, name = name, dep_version = dep_version } + } + + fn dummy_workspace_members_metadata() -> RazeMetadata { + let (mut fetcher, _server, _index_dir) = dummy_raze_metadata_fetcher(); + fetcher.set_metadata_fetcher(Box::new(DummyCargoMetadataFetcher { + metadata_template: Some("dummy_workspace_members_metadata.json.template".to_string()), + })); + + let workspace_toml = indoc! { r#" + [workspace] + members = [ + "lib_a", + "lib_b", + ] + "# }; + + let workspace_lock = indoc! { r#" + [[package]] + name = "lib_a" + version = "0.0.1" + dependencies = [ + "unicode-xid 0.2.1", + ] + + [[package]] + name = "lib_b" + version = "0.0.1" + dependencies = [ + "unicode-xid 0.1.0", + ] + "# }; + + let crate_dir = make_workspace(&workspace_toml, Some(&workspace_lock)); + + for (member, dep_version) in vec![("lib_a", "0.2.1"), ("lib_b", "0.1.0")].iter() { + let member_dir = crate_dir.as_ref().join(&member); + std::fs::create_dir_all(&member_dir).unwrap(); + std::fs::write( + member_dir.join("Cargo.toml"), + dummy_workspace_member_toml_contents(member, dep_version), + ) + .unwrap(); + } + + fetcher + .fetch_metadata(crate_dir.as_ref(), None, None) + .unwrap() + } + + #[test] + fn test_workspace_members_share_dependency_of_different_versions() { + let raze_metadata = dummy_workspace_members_metadata(); + + let mut settings = dummy_raze_settings(); + settings.genmode = GenMode::Remote; + + let planner = BuildPlannerImpl::new(raze_metadata, settings); + let planned_build = planner + .plan_build(Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), + ))) + .unwrap(); + + // Ensure both versions of `unicode-xib` are available + assert!(planned_build + .crate_contexts + .iter() + .find(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::from((0, 1, 0))) + .is_some()); + + assert!(planned_build + .crate_contexts + .iter() + .find(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::from((0, 2, 1))) + .is_some()); + } + // TODO(acmcarther): Add tests: + // TODO(acmcarther): Extra flags work + // TODO(acmcarther): Extra deps work + // TODO(acmcarther): Buildrs works + // TODO(acmcarther): Extra aliases work + // TODO(acmcarther): Skipped deps work +} diff --git a/cargo/cargo_raze/impl/src/planning/crate_catalog.rs b/cargo/cargo_raze/impl/src/planning/crate_catalog.rs new file mode 100644 index 0000000000..771a52289f --- /dev/null +++ b/cargo/cargo_raze/impl/src/planning/crate_catalog.rs @@ -0,0 +1,219 @@ +// 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, + str::{self}, +}; + +use anyhow::{anyhow, Result}; +use cargo_metadata::{Metadata, Node, Package, PackageId}; + +use crate::{ + error::RazeError, + settings::{GenMode, RazeSettings}, + util, + util::package_ident, +}; + +/// An entry in the Crate catalog for a single crate. +pub struct CrateCatalogEntry { + // The package metadata for the crate + pub package: Package, + // The name of the package sanitized for use within Bazel + pub sanitized_name: String, + // The version of the package sanitized for use within Bazel + pub sanitized_version: String, + // A unique identifier for the package derived from Cargo usage of the form {name}-{version} + pub package_ident: String, + // Is this a member of the root crate workspace? + pub is_workspace_crate: bool, + // A list of workspace members that depend on this entry + pub workspace_member_dependents: Vec, +} + +impl CrateCatalogEntry { + pub fn new( + package: &Package, + is_workspace_crate: bool, + workspace_member_dependents: Vec, + ) -> Self { + let sanitized_name = package.name.replace("-", "_"); + let sanitized_version = util::sanitize_ident(&package.version.clone().to_string()); + + Self { + package: package.clone(), + package_ident: package_ident(&package.name, &package.version.to_string()), + sanitized_name, + sanitized_version, + is_workspace_crate, + workspace_member_dependents, + } + } + + /// Yields the name of the default target for this crate (sanitized). + #[allow(dead_code)] + pub fn default_build_target_name(&self) -> &str { + &self.sanitized_name + } + + /// Returns a reference to the contained package. + pub fn package(&self) -> &Package { + &self.package + } + + /// Returns whether or not this is a member of the root workspace. + pub fn is_workspace_crate(&self) -> bool { + self.is_workspace_crate + } + + /// Yields the expected location of the build file (relative to execution path). + pub fn local_build_path(&self, settings: &RazeSettings) -> Result { + match settings.genmode { + GenMode::Remote => Ok(format!("remote/BUILD.{}.bazel", &self.package_ident,)), + GenMode::Vendored => Ok(format!( + "vendor/{}/{}", + &self.package_ident, settings.output_buildfile_suffix, + )), + // Settings should always have `genmode` set to one of the above fields + GenMode::Unspecified => Err(anyhow!( + "Unable to determine local build path. GenMode should not be Unspecified" + )), + } + } + + /// Yields the precise path to this dependency for the provided settings. + pub fn workspace_path(&self, settings: &RazeSettings) -> Result { + match settings.genmode { + GenMode::Remote => Ok(format!( + "@{}__{}__{}//", + &settings.gen_workspace_prefix, &self.sanitized_name, &self.sanitized_version + )), + GenMode::Vendored => { + // Convert "settings.workspace_path" to dir. Workspace roots are special cased, no need to append / + if settings.workspace_path.ends_with("//") { + Ok(format!( + "{}vendor/{}", + settings.workspace_path, &self.package_ident + )) + } else { + Ok(format!( + "{}/vendor/{}", + settings.workspace_path, &self.package_ident + )) + } + }, + GenMode::Unspecified => Err(anyhow!( + "Unable to determine workspace path for GenMode::Unspecified" + )), + } + } + + /// Emits a complete path to this dependency and default target using the given settings. + pub fn workspace_path_and_default_target(&self, settings: &RazeSettings) -> Result { + match settings.genmode { + GenMode::Remote => Ok(format!( + "@{}__{}__{}//:{}", + &settings.gen_workspace_prefix, + &self.sanitized_name, + &self.sanitized_version, + &self.sanitized_name + )), + GenMode::Vendored => { + // Convert "settings.workspace_path" to dir. Workspace roots are special cased, no need to append / + if settings.workspace_path.ends_with("//") { + Ok(format!( + "{}vendor/{}:{}", + settings.workspace_path, &self.package_ident, &self.sanitized_name + )) + } else { + Ok(format!( + "{}/vendor/{}:{}", + settings.workspace_path, &self.package_ident, &self.sanitized_name + )) + } + }, + GenMode::Unspecified => Err(anyhow!( + "Unable to determine workspace path for GenMode::Unspecified" + )), + } + } +} + +/// An intermediate structure that contains details about all crates in the workspace. +pub struct CrateCatalog { + pub metadata: Metadata, + pub entries: Vec, + pub package_id_to_entries_idx: HashMap, +} + +impl CrateCatalog { + /// Produces a CrateCatalog using the package entries from a metadata blob. + pub fn new(metadata: &Metadata) -> Result { + let resolve = metadata + .resolve + .as_ref() + .ok_or_else(|| RazeError::Generic("Missing resolve graph".into()))?; + + let workspace_crates: Vec<&Node> = resolve + .nodes + .iter() + .filter(|node| metadata.workspace_members.contains(&node.id)) + .collect(); + + let entries = metadata + .packages + .iter() + .map(|package| { + CrateCatalogEntry::new( + package, + metadata.workspace_members.contains(&package.id), + workspace_crates + .iter() + .filter_map(|node| { + if node.dependencies.contains(&package.id) { + Some(node.id.clone()) + } else { + None + } + }) + .collect(), + ) + }) + .collect::>(); + + let mut package_id_to_entries_idx = HashMap::new(); + + // This loop also ensures there are no duplicates + for (idx, entry) in entries.iter().enumerate() { + let existing_value = package_id_to_entries_idx.insert(entry.package.id.clone(), idx); + assert!(None == existing_value); + } + + Ok(Self { + metadata: metadata.clone(), + entries, + package_id_to_entries_idx, + }) + } + + /// Finds and returns the catalog entry with the given package id if present. + pub fn entry_for_package_id(&self, package_id: &PackageId) -> Option<&CrateCatalogEntry> { + self + .package_id_to_entries_idx + .get(package_id) + // UNWRAP: Indexes guaranteed to be valid -- structure is immutable + .map(|entry_idx| self.entries.get(*entry_idx).unwrap()) + } +} diff --git a/cargo/cargo_raze/impl/src/planning/license.rs b/cargo/cargo_raze/impl/src/planning/license.rs new file mode 100644 index 0000000000..177751487e --- /dev/null +++ b/cargo/cargo_raze/impl/src/planning/license.rs @@ -0,0 +1,625 @@ +// 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 crate::context::LicenseData; + +use spdx::{ + expression::{ExprNode, Operator}, + Expression, +}; + +// KEEP ORDERED: The order dictates the preference. +/// The list of Bazel-known license types +#[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Hash, Clone)] +pub enum BazelLicenseType { + Unencumbered, + Notice, + Reciprocal, + ByExceptionOnly, + Restricted, + // Not conventional, but not sure what to do in these cases + Disallowed, +} + +impl BazelLicenseType { + pub fn to_bazel_rating(&self) -> &'static str { + match self { + Self::Unencumbered => "unencumbered", + Self::Notice => "notice", + Self::Reciprocal => "reciprocal", + // N.B.: Bazel doesn't have a notion of "disallowed" or "by_exception_only", using restricted instead. + Self::Restricted | Self::ByExceptionOnly | Self::Disallowed => "restricted", + } + } +} + +/// A data structure for calculating a crate's license restrictions +#[derive(Debug)] +struct BazelSpdxLicense { + // The name of the license this struct represents + pub name: String, + // The expression the node represents. At the beginning, this will be the same as name at the end + // this will contain the entire SPDX expression for the crate's license. + pub expression: String, + // The license of the name field. This represents the least restrictive license for the + // expression field. + pub license: BazelLicenseType, +} + +impl BazelSpdxLicense { + fn combine_license_expr(license1: &Self, license2: &Self, operator: &str) -> String { + // Surround license expressions with parenthesis if it isn't just the node name + let expr_str1 = if license1.name != license1.expression { + format!("({})", license1.expression) + } else { + license1.expression.clone() + }; + + let expr_str2 = if license2.name != license2.expression { + format!("({})", license2.expression) + } else { + license2.expression.clone() + }; + + // Combine them using the operator + format!("{} {} {}", expr_str1, operator, expr_str2) + } + + /// Takes a BazelSpdxLicense as an argument, and returns a new BazelSpdxLicense based on the more + /// restrictive license. If both licenses are equally restrictive, self's license is used. The + /// new BazelSpdxLicense's expression will represent the "AND" of the two expressions. + pub fn and(&self, other_license: Self) -> Self { + let combined_expr = Self::combine_license_expr(self, &other_license, "AND"); + if self.license >= other_license.license { + Self { + name: self.name.clone(), + expression: combined_expr, + license: self.license.clone(), + } + } else { + Self { + name: other_license.name, + expression: combined_expr, + license: other_license.license, + } + } + } + + /// Takes a BazelSpdxLicense as an argument, and returns a new BazelSpdxLicense based on the less + /// restrictive license. If both licenses are equally restrictive, self's license is used. The + /// new BazelSpdxLicense's expression will represent the "OR" of the two expressions. + pub fn or(&self, other_license: Self) -> Self { + let combined_expr = Self::combine_license_expr(&self, &other_license, "OR"); + if self.license <= other_license.license { + Self { + name: self.name.clone(), + expression: combined_expr, + license: self.license.clone(), + } + } else { + Self { + name: other_license.name, + expression: combined_expr, + license: other_license.license, + } + } + } +} + +/// Breaks apart a cargo license string and yields the available license types. +pub fn get_license_from_str(cargo_license_str: &str) -> LicenseData { + if cargo_license_str.is_empty() { + return LicenseData::default(); + } + + // Many crates have forward-slashes in their licenses. This requires Lax parsing mode + let license_expression = match Expression::parse_mode(&cargo_license_str, spdx::ParseMode::Lax) { + Ok(expression) => expression, + Err(_) => { + return LicenseData { + name: format!( + "{} (Failed to parse as an SPDX license string)", + cargo_license_str + ), + rating: BazelLicenseType::Restricted.to_bazel_rating().into(), + }; + }, + }; + + let mut license_stack: Vec = Vec::new(); + // All of the unwraps are safe because we control the contents of the vector + for node in license_expression.iter() { + match node { + ExprNode::Op(operator) => match operator { + Operator::And => { + let node2 = license_stack.pop().unwrap(); + let node1 = license_stack.pop().unwrap(); + license_stack.push(node1.and(node2)); + }, + Operator::Or => { + let node2 = license_stack.pop().unwrap(); + let node1 = license_stack.pop().unwrap(); + license_stack.push(node1.or(node2)); + }, + }, + ExprNode::Req(requirement) => { + // Unwrap is safe because there was no parse error so the license type must exist + let req_name = requirement.req.license.id().unwrap().name; + // Push requirement onto stack + license_stack.push(BazelSpdxLicense { + name: req_name.into(), + expression: req_name.into(), + license: get_bazel_license_type(&req_name), + }); + }, + }; + } + + let crate_license = license_stack.pop().unwrap(); + LicenseData { + name: format!( + "{} from expression \"{}\"", + crate_license.name, crate_license.expression + ), + rating: crate_license.license.to_bazel_rating().into(), + } +} + +fn get_bazel_license_type(license_str: &str) -> BazelLicenseType { + match license_str { + "AFL-2.1" => BazelLicenseType::Notice, + "Apache-1.0" => BazelLicenseType::Notice, + "Apache-1.1" => BazelLicenseType::Notice, + "Apache-2.0" => BazelLicenseType::Notice, + "Artistic-1.0" => BazelLicenseType::Notice, + "Artistic-2.0" => BazelLicenseType::Notice, + "BSD-1-Clause" => BazelLicenseType::Notice, + "BSD-3-Clause" => BazelLicenseType::Notice, + "libtiff" => BazelLicenseType::Notice, + "BSL-1.0" => BazelLicenseType::Notice, + "CC-BY-3.0" => BazelLicenseType::Notice, + "CC-BY-4.0" => BazelLicenseType::Notice, + "ISC" => BazelLicenseType::Notice, + "LPL-1.02" => BazelLicenseType::Notice, + "Libpng" => BazelLicenseType::Notice, + "MIT" => BazelLicenseType::Notice, + "MS-PL" => BazelLicenseType::Notice, + "NCSA" => BazelLicenseType::Notice, + "OpenSSL" => BazelLicenseType::Notice, + "PHP-3.0" => BazelLicenseType::Notice, + "PHP-3.01" => BazelLicenseType::Notice, + "Python-2.0" => BazelLicenseType::Notice, + "TCP-wrappers" => BazelLicenseType::Notice, + "Unicode-DFS-2015" => BazelLicenseType::Notice, + "Unicode-DFS-2016" => BazelLicenseType::Notice, + "W3C" => BazelLicenseType::Notice, + "W3C-19980720" => BazelLicenseType::Notice, + "W3C-20150513" => BazelLicenseType::Notice, + "X11" => BazelLicenseType::Notice, + "Xnet" => BazelLicenseType::Notice, + "ZPL-2.0" => BazelLicenseType::Notice, + "ZPL-2.1" => BazelLicenseType::Notice, + "Zend-2.0" => BazelLicenseType::Notice, + "Zlib" => BazelLicenseType::Notice, + "CC0-1.0" => BazelLicenseType::Unencumbered, + "Unlicense" => BazelLicenseType::Unencumbered, + "AGPL-1.0" => BazelLicenseType::Disallowed, + "AGPL-3.0" => BazelLicenseType::Disallowed, + "AGPL-3.0-only" => BazelLicenseType::Disallowed, + "AGPL-3.0-or-later" => BazelLicenseType::Disallowed, + "WTFPL" => BazelLicenseType::Disallowed, /* unsound */ + "Beerware" => BazelLicenseType::Disallowed, /* unsound */ + "EUPL-1.0" => BazelLicenseType::Disallowed, + "EUPL-1.1" => BazelLicenseType::Disallowed, + "EUPL-1.2" => BazelLicenseType::Disallowed, + "SISSL" => BazelLicenseType::Disallowed, /* unknown */ + "SISSL-1.2" => BazelLicenseType::Disallowed, /* unknown */ + "CC-BY-NC-1.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-2.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-2.5" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-3.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-4.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-ND-1.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-ND-2.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-ND-2.5" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-ND-3.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-ND-4.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-SA-1.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-SA-2.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-SA-2.5" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-SA-3.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "CC-BY-NC-SA-4.0" => BazelLicenseType::Disallowed, /* non-commercial */ + "OFL-1.0" => BazelLicenseType::ByExceptionOnly, + "OFL-1.1" => BazelLicenseType::ByExceptionOnly, + "CPL-1.0" => BazelLicenseType::Reciprocal, + "APSL-2.0" => BazelLicenseType::Reciprocal, + "CDDL-1.0" => BazelLicenseType::Reciprocal, + "CDDL-1.1" => BazelLicenseType::Reciprocal, + "EPL-1.0" => BazelLicenseType::Reciprocal, + "IPL-1.0" => BazelLicenseType::Reciprocal, + "MPL-1.0" => BazelLicenseType::Reciprocal, + "MPL-1.1" => BazelLicenseType::Reciprocal, + "MPL-2.0" => BazelLicenseType::Reciprocal, + "Ruby" => BazelLicenseType::Reciprocal, + "0BSD" => BazelLicenseType::Restricted, /* unknown */ + "AAL" => BazelLicenseType::Restricted, /* unknown */ + "ADSL" => BazelLicenseType::Restricted, /* unknown */ + "AFL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "AFL-1.2" => BazelLicenseType::Restricted, /* unknown */ + "AFL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "AFL-3.0" => BazelLicenseType::Restricted, /* unknown */ + "AMDPLPA" => BazelLicenseType::Restricted, /* unknown */ + "AML" => BazelLicenseType::Restricted, /* unknown */ + "AMPAS" => BazelLicenseType::Restricted, /* unknown */ + "ANTLR-PD" => BazelLicenseType::Restricted, /* unknown */ + "APAFML" => BazelLicenseType::Restricted, /* unknown */ + "APL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "APSL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "APSL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "APSL-1.2" => BazelLicenseType::Restricted, /* unknown */ + "Abstyles" => BazelLicenseType::Restricted, /* unknown */ + "Adobe-2006" => BazelLicenseType::Restricted, /* unknown */ + "Adobe-Glyph" => BazelLicenseType::Restricted, /* unknown */ + "Afmparse" => BazelLicenseType::Restricted, /* unknown */ + "Aladdin" => BazelLicenseType::Restricted, /* unknown */ + "Artistic-1.0-Perl" => BazelLicenseType::Restricted, /* unknown */ + "Artistic-1.0-cl8" => BazelLicenseType::Restricted, /* unknown */ + "BSD-2-Clause" => BazelLicenseType::Restricted, /* unknown */ + "BSD-2-Clause-FreeBSD" => BazelLicenseType::Restricted, /* unknown */ + "BSD-2-Clause-NetBSD" => BazelLicenseType::Restricted, /* unknown */ + "BSD-2-Clause-Patent" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-Attribution" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-Clear" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-LBNL" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-No-Nuclear-License" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-No-Nuclear-License-2014" => BazelLicenseType::Restricted, /* unknown */ + "BSD-3-Clause-No-Nuclear-Warranty" => BazelLicenseType::Restricted, /* unknown */ + "BSD-4-Clause" => BazelLicenseType::Restricted, /* unknown */ + "BSD-4-Clause-UC" => BazelLicenseType::Restricted, /* unknown */ + "BSD-Protection" => BazelLicenseType::Restricted, /* unknown */ + "BSD-Source-Code" => BazelLicenseType::Restricted, /* unknown */ + "Bahyph" => BazelLicenseType::Restricted, /* unknown */ + "Barr" => BazelLicenseType::Restricted, /* unknown */ + "BitTorrent-1.0" => BazelLicenseType::Restricted, /* unknown */ + "BitTorrent-1.1" => BazelLicenseType::Restricted, /* unknown */ + "Borceux" => BazelLicenseType::Restricted, /* unknown */ + "CATOSL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "CC-BY-1.0" => BazelLicenseType::Restricted, /* unknown */ + "CC-BY-2.0" => BazelLicenseType::Restricted, /* unknown */ + "CC-BY-2.5" => BazelLicenseType::Restricted, /* unknown */ + "CC-BY-ND-1.0" => BazelLicenseType::Restricted, + "CC-BY-ND-2.0" => BazelLicenseType::Restricted, + "CC-BY-ND-2.5" => BazelLicenseType::Restricted, + "CC-BY-ND-3.0" => BazelLicenseType::Restricted, + "CC-BY-ND-4.0" => BazelLicenseType::Restricted, + "CC-BY-SA-1.0" => BazelLicenseType::Restricted, + "CC-BY-SA-2.0" => BazelLicenseType::Restricted, + "CC-BY-SA-2.5" => BazelLicenseType::Restricted, + "CC-BY-SA-3.0" => BazelLicenseType::Restricted, + "CC-BY-SA-4.0" => BazelLicenseType::Restricted, + "CDLA-Permissive-1.0" => BazelLicenseType::Restricted, /* unknown */ + "CDLA-Sharing-1.0" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-2.1" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-B" => BazelLicenseType::Restricted, /* unknown */ + "CECILL-C" => BazelLicenseType::Restricted, /* unknown */ + "CNRI-Jython" => BazelLicenseType::Restricted, /* unknown */ + "CNRI-Python" => BazelLicenseType::Restricted, /* unknown */ + "CNRI-Python-GPL-Compatible" => BazelLicenseType::Restricted, /* unknown */ + "CPAL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "CPOL-1.02" => BazelLicenseType::Restricted, /* unknown */ + "CUA-OPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "Caldera" => BazelLicenseType::Restricted, /* unknown */ + "ClArtistic" => BazelLicenseType::Restricted, /* unknown */ + "Condor-1.1" => BazelLicenseType::Restricted, /* unknown */ + "Crossword" => BazelLicenseType::Restricted, /* unknown */ + "CrystalStacker" => BazelLicenseType::Restricted, /* unknown */ + "Cube" => BazelLicenseType::Restricted, /* unknown */ + "D-FSL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "DOC" => BazelLicenseType::Restricted, /* unknown */ + "DSDP" => BazelLicenseType::Restricted, /* unknown */ + "Dotseqn" => BazelLicenseType::Restricted, /* unknown */ + "ECL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "ECL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "EFL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "EFL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "EPL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "EUDatagrid" => BazelLicenseType::Restricted, /* unknown */ + "Entessa" => BazelLicenseType::Restricted, /* unknown */ + "ErlPL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "Eurosym" => BazelLicenseType::Restricted, /* unknown */ + "FSFAP" => BazelLicenseType::Restricted, /* unknown */ + "FSFUL" => BazelLicenseType::Restricted, /* unknown */ + "FSFULLR" => BazelLicenseType::Restricted, /* unknown */ + "FTL" => BazelLicenseType::Restricted, /* unknown */ + "Fair" => BazelLicenseType::Restricted, /* unknown */ + "Frameworx-1.0" => BazelLicenseType::Restricted, /* unknown */ + "FreeImage" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.1-only" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.1-or-later" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.2" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.2-only" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.2-or-later" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.3" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.3-only" => BazelLicenseType::Restricted, /* unknown */ + "GFDL-1.3-or-later" => BazelLicenseType::Restricted, /* unknown */ + "GL2PS" => BazelLicenseType::Restricted, /* unknown */ + "GPL-1.0" => BazelLicenseType::Restricted, + "GPL-1.0+" => BazelLicenseType::Restricted, + "GPL-1.0-only" => BazelLicenseType::Restricted, + "GPL-1.0-or-later" => BazelLicenseType::Restricted, + "GPL-2.0" => BazelLicenseType::Restricted, + "GPL-2.0+" => BazelLicenseType::Restricted, + "GPL-2.0-only" => BazelLicenseType::Restricted, + "GPL-2.0-or-later" => BazelLicenseType::Restricted, + "GPL-2.0-with-GCC-exception" => BazelLicenseType::Restricted, + "GPL-2.0-with-autoconf-exception" => BazelLicenseType::Restricted, + "GPL-2.0-with-bison-exception" => BazelLicenseType::Restricted, + "GPL-2.0-with-classpath-exception" => BazelLicenseType::Restricted, + "GPL-2.0-with-font-exception" => BazelLicenseType::Restricted, + "GPL-3.0" => BazelLicenseType::Restricted, + "GPL-3.0+" => BazelLicenseType::Restricted, + "GPL-3.0-only" => BazelLicenseType::Restricted, + "GPL-3.0-or-later" => BazelLicenseType::Restricted, + "GPL-3.0-with-GCC-exception" => BazelLicenseType::Restricted, + "GPL-3.0-with-autoconf-exception" => BazelLicenseType::Restricted, + "Giftware" => BazelLicenseType::Restricted, /* unknown */ + "Glide" => BazelLicenseType::Restricted, /* unknown */ + "Glulxe" => BazelLicenseType::Restricted, /* unknown */ + "HPND" => BazelLicenseType::Restricted, /* unknown */ + "HaskellReport" => BazelLicenseType::Restricted, /* unknown */ + "IBM-pibs" => BazelLicenseType::Restricted, /* unknown */ + "ICU" => BazelLicenseType::Restricted, /* unknown */ + "IJG" => BazelLicenseType::Restricted, /* unknown */ + "IPA" => BazelLicenseType::Restricted, /* unknown */ + "ImageMagick" => BazelLicenseType::Restricted, /* unknown */ + "Imlib2" => BazelLicenseType::Restricted, /* unknown */ + "Info-ZIP" => BazelLicenseType::Restricted, /* unknown */ + "Intel" => BazelLicenseType::Restricted, /* unknown */ + "Intel-ACPI" => BazelLicenseType::Restricted, /* unknown */ + "Interbase-1.0" => BazelLicenseType::Restricted, /* unknown */ + "JSON" => BazelLicenseType::Restricted, /* unknown */ + "JasPer-2.0" => BazelLicenseType::Restricted, /* unknown */ + "LAL-1.2" => BazelLicenseType::Restricted, /* unknown */ + "LAL-1.3" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.0+" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.0-only" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.0-or-later" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.1" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.1+" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.1-only" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-2.1-or-later" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-3.0" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-3.0+" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-3.0-only" => BazelLicenseType::Restricted, /* unknown */ + "LGPL-3.0-or-later" => BazelLicenseType::Restricted, /* unknown */ + "LGPLLR" => BazelLicenseType::Restricted, /* unknown */ + "LPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "LPPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "LPPL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "LPPL-1.2" => BazelLicenseType::Restricted, /* unknown */ + "LPPL-1.3a" => BazelLicenseType::Restricted, /* unknown */ + "LPPL-1.3c" => BazelLicenseType::Restricted, /* unknown */ + "Latex2e" => BazelLicenseType::Restricted, /* unknown */ + "Leptonica" => BazelLicenseType::Restricted, /* unknown */ + "LiLiQ-P-1.1" => BazelLicenseType::Restricted, /* unknown */ + "LiLiQ-R-1.1" => BazelLicenseType::Restricted, /* unknown */ + "LiLiQ-Rplus-1.1" => BazelLicenseType::Restricted, /* unknown */ + "MIT-CMU" => BazelLicenseType::Restricted, /* unknown */ + "MIT-advertising" => BazelLicenseType::Restricted, /* unknown */ + "MIT-enna" => BazelLicenseType::Restricted, /* unknown */ + "MIT-feh" => BazelLicenseType::Restricted, /* unknown */ + "MITNFA" => BazelLicenseType::Restricted, /* unknown */ + "MPL-2.0-no-copyleft-exception" => BazelLicenseType::Restricted, /* unknown */ + "MS-RL" => BazelLicenseType::Restricted, /* unknown */ + "MTLL" => BazelLicenseType::Restricted, /* unknown */ + "MakeIndex" => BazelLicenseType::Restricted, /* unknown */ + "MirOS" => BazelLicenseType::Restricted, /* unknown */ + "Motosoto" => BazelLicenseType::Restricted, /* unknown */ + "Multics" => BazelLicenseType::Restricted, /* unknown */ + "Mup" => BazelLicenseType::Restricted, /* unknown */ + "NASA-1.3" => BazelLicenseType::Restricted, /* unknown */ + "NBPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "NGPL" => BazelLicenseType::Restricted, /* unknown */ + "NLOD-1.0" => BazelLicenseType::Restricted, /* unknown */ + "NLPL" => BazelLicenseType::Restricted, /* unknown */ + "NOSL" => BazelLicenseType::Restricted, /* unknown */ + "NPL-1.0" => BazelLicenseType::Restricted, + "NPL-1.1" => BazelLicenseType::Restricted, + "NPOSL-3.0" => BazelLicenseType::Restricted, /* unknown */ + "NRL" => BazelLicenseType::Restricted, /* unknown */ + "NTP" => BazelLicenseType::Restricted, /* unknown */ + "Naumen" => BazelLicenseType::Restricted, /* unknown */ + "Net-SNMP" => BazelLicenseType::Restricted, /* unknown */ + "NetCDF" => BazelLicenseType::Restricted, /* unknown */ + "Newsletr" => BazelLicenseType::Restricted, /* unknown */ + "Nokia" => BazelLicenseType::Restricted, /* unknown */ + "Noweb" => BazelLicenseType::Restricted, /* unknown */ + "Nunit" => BazelLicenseType::Restricted, /* unknown */ + "OCCT-PL" => BazelLicenseType::Restricted, /* unknown */ + "OCLC-2.0" => BazelLicenseType::Restricted, /* unknown */ + "ODbL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "OGTSL" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-1.1" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-1.2" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-1.3" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-1.4" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.0" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.0.1" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.1" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.2" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.2.1" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.2.2" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.3" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.4" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.5" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.6" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.7" => BazelLicenseType::Restricted, /* unknown */ + "OLDAP-2.8" => BazelLicenseType::Restricted, /* unknown */ + "OML" => BazelLicenseType::Restricted, /* unknown */ + "OPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "OSET-PL-2.1" => BazelLicenseType::Restricted, /* unknown */ + "OSL-1.0" => BazelLicenseType::Restricted, + "OSL-1.1" => BazelLicenseType::Restricted, + "OSL-2.0" => BazelLicenseType::Restricted, + "OSL-2.1" => BazelLicenseType::Restricted, + "OSL-3.0" => BazelLicenseType::Restricted, + "PDDL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "Plexus" => BazelLicenseType::Restricted, /* unknown */ + "PostgreSQL" => BazelLicenseType::Restricted, /* unknown */ + "QPL-1.0" => BazelLicenseType::Restricted, + "Qhull" => BazelLicenseType::Restricted, /* unknown */ + "RHeCos-1.1" => BazelLicenseType::Restricted, /* unknown */ + "RPL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "RPL-1.5" => BazelLicenseType::Restricted, /* unknown */ + "RPSL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "RSA-MD" => BazelLicenseType::Restricted, /* unknown */ + "RSCPL" => BazelLicenseType::Restricted, /* unknown */ + "Rdisc" => BazelLicenseType::Restricted, /* unknown */ + "SAX-PD" => BazelLicenseType::Restricted, /* unknown */ + "SCEA" => BazelLicenseType::Restricted, /* unknown */ + "SGI-B-1.0" => BazelLicenseType::Restricted, /* unknown */ + "SGI-B-1.1" => BazelLicenseType::Restricted, /* unknown */ + "SGI-B-2.0" => BazelLicenseType::Restricted, /* unknown */ + "SMLNJ" => BazelLicenseType::Restricted, /* unknown */ + "SMPPL" => BazelLicenseType::Restricted, /* unknown */ + "SNIA" => BazelLicenseType::Restricted, /* unknown */ + "SPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "SWL" => BazelLicenseType::Restricted, /* unknown */ + "Saxpath" => BazelLicenseType::Restricted, /* unknown */ + "Sendmail" => BazelLicenseType::Restricted, /* unknown */ + "SimPL-2.0" => BazelLicenseType::Restricted, /* unknown */ + "Sleepycat" => BazelLicenseType::Restricted, + "Spencer-86" => BazelLicenseType::Restricted, /* unknown */ + "Spencer-94" => BazelLicenseType::Restricted, /* unknown */ + "Spencer-99" => BazelLicenseType::Restricted, /* unknown */ + "StandardML-NJ" => BazelLicenseType::Restricted, /* unknown */ + "SugarCRM-1.1.3" => BazelLicenseType::Restricted, /* unknown */ + "TCL" => BazelLicenseType::Restricted, /* unknown */ + "TMate" => BazelLicenseType::Restricted, /* unknown */ + "TORQUE-1.1" => BazelLicenseType::Restricted, /* unknown */ + "TOSL" => BazelLicenseType::Restricted, /* unknown */ + "UPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "Unicode-TOU" => BazelLicenseType::Restricted, /* unknown */ + "VOSTROM" => BazelLicenseType::Restricted, /* unknown */ + "VSL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "Vim" => BazelLicenseType::Restricted, /* unknown */ + "Watcom-1.0" => BazelLicenseType::Restricted, /* unknown */ + "Wsuipa" => BazelLicenseType::Restricted, /* unknown */ + "XFree86-1.1" => BazelLicenseType::Restricted, /* unknown */ + "XSkat" => BazelLicenseType::Restricted, /* unknown */ + "Xerox" => BazelLicenseType::Restricted, /* unknown */ + "YPL-1.0" => BazelLicenseType::Restricted, /* unknown */ + "YPL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "ZPL-1.1" => BazelLicenseType::Restricted, /* unknown */ + "Zed" => BazelLicenseType::Restricted, /* unknown */ + "Zimbra-1.3" => BazelLicenseType::Restricted, /* unknown */ + "Zimbra-1.4" => BazelLicenseType::Restricted, /* unknown */ + "bzip2-1.0.5" => BazelLicenseType::Restricted, /* unknown */ + "bzip2-1.0.6" => BazelLicenseType::Restricted, /* unknown */ + "curl" => BazelLicenseType::Restricted, /* unknown */ + "diffmark" => BazelLicenseType::Restricted, /* unknown */ + "dvipdfm" => BazelLicenseType::Restricted, /* unknown */ + "eCos-2.0" => BazelLicenseType::Restricted, /* unknown */ + "eGenix" => BazelLicenseType::Restricted, /* unknown */ + "gSOAP-1.3b" => BazelLicenseType::Restricted, /* unknown */ + "gnuplot" => BazelLicenseType::Restricted, /* unknown */ + "iMatix" => BazelLicenseType::Restricted, /* unknown */ + "mpich2" => BazelLicenseType::Restricted, /* unknown */ + "psfrag" => BazelLicenseType::Restricted, /* unknown */ + "psutils" => BazelLicenseType::Restricted, /* unknown */ + "wxWindows" => BazelLicenseType::Restricted, /* unknown */ + "xinetd" => BazelLicenseType::Restricted, /* unknown */ + "xpp" => BazelLicenseType::Restricted, /* unknown */ + "zlib-acknowledgement" => BazelLicenseType::Restricted, /* unknown */ + _ => BazelLicenseType::Restricted, + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn more_permissive_licenses_come_first_with_or() { + let license = get_license_from_str("Unlicense/Apache-2.0"); + assert_eq!( + license.name, + "Unlicense from expression \"Unlicense OR Apache-2.0\"" + ); + assert_eq!(license.rating, "unencumbered"); + + let flipped_license = get_license_from_str("Apache-2.0/Unlicense"); + assert_eq!( + flipped_license.name, + "Unlicense from expression \"Apache-2.0 OR Unlicense\"" + ); + assert_eq!(flipped_license.rating, "unencumbered"); + } + + #[test] + fn less_permissive_licenses_come_first_with_and() { + let license = get_license_from_str("Unlicense AND Apache-2.0"); + assert_eq!( + license.name, + "Apache-2.0 from expression \"Unlicense AND Apache-2.0\"" + ); + assert_eq!(license.rating, "notice"); + + let flipped_license = get_license_from_str("Apache-2.0 AND Unlicense"); + assert_eq!( + flipped_license.name, + "Apache-2.0 from expression \"Apache-2.0 AND Unlicense\"" + ); + assert_eq!(flipped_license.rating, "notice"); + } + + #[test] + fn chained_or_works_properly() { + let license = get_license_from_str("MIT OR Apache-2.0 OR Unlicense"); + assert_eq!( + license.name, + "Unlicense from expression \"MIT OR (Apache-2.0 OR Unlicense)\"" + ); + assert_eq!(license.rating, "unencumbered"); + } + + #[test] + fn unknown_licenses_are_restricted() { + let license = get_license_from_str("MIT5.0"); + assert_eq!( + license.name, + "MIT5.0 (Failed to parse as an SPDX license string)" + ); + assert_eq!(license.rating, "restricted"); + } + + #[test] + fn whitespace_laden_licenses_are_ok() { + let license = get_license_from_str("MIT / Apache-2.0"); + assert_eq!(license.name, "MIT from expression \"MIT OR Apache-2.0\""); + assert_eq!(license.rating, "notice"); + } + + #[test] + fn empty_license_is_restricted() { + let license = get_license_from_str(""); + assert_eq!(license.name, "no license"); + assert_eq!(license.rating, "restricted"); + } +} diff --git a/cargo/cargo_raze/impl/src/planning/subplanners.rs b/cargo/cargo_raze/impl/src/planning/subplanners.rs new file mode 100644 index 0000000000..a3bc2b2ac9 --- /dev/null +++ b/cargo/cargo_raze/impl/src/planning/subplanners.rs @@ -0,0 +1,789 @@ +// 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}, + io, iter, + path::{Path, PathBuf}, + str::FromStr, +}; + +use anyhow::{anyhow, Context, Result}; +use cargo_lock::SourceId; +use cargo_metadata::{DependencyKind, Node, Package}; +use cargo_platform::Platform; +use itertools::Itertools; + +use crate::{ + context::{ + BuildableDependency, BuildableTarget, CrateContext, CrateDependencyContext, + CrateTargetedDepContext, DependencyAlias, GitRepo, LicenseData, SourceDetails, + WorkspaceContext, + }, + error::{RazeError, PLEASE_FILE_A_BUG}, + metadata::RazeMetadata, + planning::license, + settings::{format_registry_url, CrateSettings, GenMode, RazeSettings}, + util, +}; + +use super::{ + crate_catalog::{CrateCatalog, CrateCatalogEntry}, + PlannedBuild, +}; + +/// A set of named dependencies (without version) derived from a package manifest. +struct DependencyNames { + // Dependencies that are required for all buildable targets of this crate + normal_dep_names: Vec, + // Dependencies that are required for build script only + build_dep_names: Vec, + // Dependencies that are required for tests + dev_dep_names: Vec, + // Dependencies that have been renamed and need to be aliased in the build rule + aliased_dep_names: HashMap, +} + +// TODO(acmcarther): Remove this struct -- move it into CrateContext. +/// A set of dependencies that a crate has broken down by type. +struct DependencySet { + // Dependencies that are required for all buildable targets of this crate + normal_deps: Vec, + proc_macro_deps: Vec, + // Dependencies that are required for build script only + build_deps: Vec, + // Dependencies that proc macros and are required for the build script only + build_proc_macro_deps: Vec, + // Dependencies that are required for tests + dev_deps: Vec, + // Dependencies that have been renamed and need to be aliased in the build rule + aliased_deps: Vec, +} + +/// A set of dependencies that a crate has for a specific target/cfg +struct TargetedDependencySet { + target: String, + dependencies: DependencySet, +} + +/// An internal working planner for generating context for an individual crate. +struct CrateSubplanner<'planner> { + // Workspace-Wide details + settings: &'planner RazeSettings, + platform_details: &'planner Option, + crate_catalog: &'planner CrateCatalog, + // Crate specific content + crate_catalog_entry: &'planner CrateCatalogEntry, + source_id: &'planner Option, + node: &'planner Node, + crate_settings: Option<&'planner CrateSettings>, + sha256: &'planner Option, +} + +/// An internal working planner for generating context for a whole workspace. +pub struct WorkspaceSubplanner<'planner> { + pub(super) settings: &'planner RazeSettings, + pub(super) platform_details: &'planner Option, + pub(super) crate_catalog: &'planner CrateCatalog, + pub(super) metadata: &'planner RazeMetadata, +} + +impl<'planner> WorkspaceSubplanner<'planner> { + /// Produces a planned build using internal state. + pub fn produce_planned_build(&self) -> Result { + // Produce planned build + let crate_contexts = self.produce_crate_contexts()?; + + Ok(PlannedBuild { + workspace_context: self.produce_workspace_context(), + crate_contexts, + lockfile: self.metadata.lockfile.clone(), + }) + } + + /// Constructs a workspace context from settings. + fn produce_workspace_context(&self) -> WorkspaceContext { + // Gather the workspace member paths for all workspace members + let workspace_members = self + .metadata + .metadata + .workspace_members + .iter() + .filter_map(|pkg_id| { + let workspace_memeber = self + .metadata + .metadata + .packages + .iter() + .find(|pkg| pkg.id == *pkg_id); + if let Some(pkg) = workspace_memeber { + // Don't include binary dependencies + if self.settings.binary_deps.contains_key(&pkg.name) { + None + } else { + util::get_workspace_member_path( + &pkg.manifest_path, + &self.metadata.metadata.workspace_root, + ) + } + } else { + None + } + }) + .collect(); + + WorkspaceContext { + workspace_path: self.settings.workspace_path.clone(), + gen_workspace_prefix: self.settings.gen_workspace_prefix.clone(), + output_buildfile_suffix: self.settings.output_buildfile_suffix.clone(), + workspace_members, + } + } + + fn create_crate_context( + &self, + node: &Node, + catalog: &CrateCatalog, + ) -> Option> { + let own_crate_catalog_entry = catalog.entry_for_package_id(&node.id)?; + let own_package = own_crate_catalog_entry.package(); + + let is_binary_dep = self + .settings + .binary_deps + .keys() + .any(|key| key == &own_package.name); + + // Skip workspace members unless they are binary dependencies + if own_crate_catalog_entry.is_workspace_crate() && !is_binary_dep { + return None; + } + + // UNWRAP: Safe given unwrap during serialize step of metadata + let own_source_id = own_package + .source + .as_ref() + .map(|s| SourceId::from_url(&s.to_string()).unwrap()); + + let crate_settings = self.crate_settings(&own_package).ok()?; + + let checksum_opt = self + .metadata + .checksum_for(&own_package.name, &own_package.version.to_string()); + + let crate_subplanner = CrateSubplanner { + crate_catalog: &catalog, + settings: self.settings, + platform_details: self.platform_details, + crate_catalog_entry: &own_crate_catalog_entry, + source_id: &own_source_id, + node: &node, + crate_settings, + sha256: &checksum_opt.map(|c| c.to_owned()), + }; + + Some(crate_subplanner.produce_context(&self.metadata.cargo_workspace_root)) + } + + fn crate_settings(&self, package: &Package) -> Result> { + self + .settings + .crates + .get(&package.name) + .map_or(Ok(None), |settings| { + let mut versions = settings + .iter() + .filter(|(ver_req, _)| ver_req.matches(&package.version)) + .peekable(); + + match versions.next() { + // This is possible if the crate does not have any version overrides to match against + None => Ok(None), + Some((_, settings)) if versions.peek().is_none() => Ok(Some(settings)), + Some(current) => Err(RazeError::Config { + field_path_opt: None, + message: format!( + "Multiple potential semver matches `[{}]` found for `{}`", + iter::once(current).chain(versions).map(|x| x.0).join(", "), + &package.name + ), + }), + } + }) + .map_err(|e| e.into()) + } + + /// Produces a crate context for each declared crate and dependency. + fn produce_crate_contexts(&self) -> Result> { + self + .crate_catalog + .metadata + .resolve + .as_ref() + .ok_or_else(|| RazeError::Generic("Missing resolve graph".into()))? + .nodes + .iter() + .sorted_by_key(|n| &n.id) + .filter_map(|node| self.create_crate_context(node, &self.crate_catalog)) + .collect::>>() + } +} + +impl<'planner> CrateSubplanner<'planner> { + /// Builds a crate context from internal state. + fn produce_context(&self, cargo_workspace_root: &Path) -> Result { + let ( + DependencySet { + build_deps, + build_proc_macro_deps, + proc_macro_deps, + dev_deps, + normal_deps, + aliased_deps, + }, + targeted_deps, + ) = self.produce_deps()?; + + let package = self.crate_catalog_entry.package(); + + let manifest_path = PathBuf::from(&package.manifest_path); + assert!(manifest_path.is_absolute()); + let package_root = self.find_package_root_for_manifest(&manifest_path)?; + + let mut targets = self.produce_targets(&package_root)?; + let build_script_target_opt = self.take_build_script_target(&mut targets); + + let mut lib_target_name = None; + let mut is_proc_macro = false; + { + for target in &targets { + if target.kind == "lib" { + lib_target_name = Some(target.name.clone()); + break; + } + if target.kind == "proc-macro" { + is_proc_macro = true; + lib_target_name = Some(target.name.clone()); + break; + } + } + } + + // Build a list of dependencies while addression a potential whitelist of target triples + let mut filtered_deps = Vec::new(); + for dep_set in targeted_deps.iter() { + let mut target_triples = util::get_matching_bazel_triples(&dep_set.target)?; + util::filter_bazel_triples( + &mut target_triples, + self + .settings + .targets + .as_ref() + .unwrap_or(&Vec::::new()), + ); + + if target_triples.is_empty() { + continue; + } + + filtered_deps.push(CrateTargetedDepContext { + target: dep_set.target.clone(), + deps: CrateDependencyContext { + dependencies: dep_set.dependencies.normal_deps.clone(), + proc_macro_dependencies: dep_set.dependencies.proc_macro_deps.clone(), + data_dependencies: vec![], + build_dependencies: dep_set.dependencies.build_deps.clone(), + build_proc_macro_dependencies: dep_set.dependencies.build_proc_macro_deps.clone(), + build_data_dependencies: vec![], + dev_dependencies: dep_set.dependencies.dev_deps.clone(), + aliased_dependencies: dep_set.dependencies.aliased_deps.clone(), + }, + conditions: util::generate_bazel_conditions( + &self.settings.rust_rules_workspace_name, + &target_triples, + )?, + }); + } + + filtered_deps.sort(); + + let mut workspace_member_dependents: Vec = Vec::new(); + let mut workspace_member_dev_dependents: Vec = Vec::new(); + + for pkg_id in self.crate_catalog_entry.workspace_member_dependents.iter() { + let workspace_member = self + .crate_catalog + .metadata + .packages + .iter() + .find(|pkg| pkg.id == *pkg_id); + + if let Some(member) = workspace_member { + // UNWRAP: This should always return a dependency + let current_dependency = member + .dependencies + .iter() + .find(|dep| dep.name == package.name) + .unwrap(); + + let workspace_member_path = util::get_workspace_member_path( + &member.manifest_path, + &self.crate_catalog.metadata.workspace_root, + ) + .ok_or_else(|| { + anyhow!( + "Failed to generate workspace_member_path for {} and {}", + &package.manifest_path.display(), + &self.crate_catalog.metadata.workspace_root.display() + ) + })?; + + match current_dependency.kind { + DependencyKind::Development => { + workspace_member_dev_dependents.push(workspace_member_path) + }, + DependencyKind::Normal => workspace_member_dependents.push(workspace_member_path), + /* TODO: For now only Development and Normal dependencies are + needed but Build surely has it's use as well */ + _ => {}, + } + } + } + + let is_workspace_member_dependency = + !&workspace_member_dependents.is_empty() || !&workspace_member_dev_dependents.is_empty(); + let is_binary_dependency = self.settings.binary_deps.contains_key(&package.name); + + // Generate canonicalized paths to additional build files so they're guaranteed to exist + // and always locatable. + let raze_settings = self.crate_settings.cloned().unwrap_or_default(); + let canonical_additional_build_file = match &raze_settings.additional_build_file { + Some(build_file) => Some( + cargo_workspace_root + .join(&build_file) + .canonicalize() + .with_context(|| { + format!( + "Failed to find additional_build_file: {}", + &build_file.display() + ) + })?, + ), + None => None, + }; + + let context = CrateContext { + pkg_name: package.name.clone(), + pkg_version: package.version.clone(), + edition: package.edition.clone(), + license: self.produce_license(), + features: self.node.features.clone(), + workspace_member_dependents, + workspace_member_dev_dependents, + is_workspace_member_dependency, + is_binary_dependency, + is_proc_macro, + default_deps: CrateDependencyContext { + dependencies: normal_deps, + proc_macro_dependencies: proc_macro_deps, + data_dependencies: vec![], + build_dependencies: build_deps, + build_proc_macro_dependencies: build_proc_macro_deps, + build_data_dependencies: vec![], + dev_dependencies: dev_deps, + aliased_dependencies: aliased_deps, + }, + targeted_deps: filtered_deps, + workspace_path_to_crate: self.crate_catalog_entry.workspace_path(&self.settings)?, + build_script_target: build_script_target_opt, + links: package.links.clone(), + raze_settings, + canonical_additional_build_file, + source_details: self.produce_source_details(&package, &package_root), + expected_build_path: self.crate_catalog_entry.local_build_path(&self.settings)?, + sha256: self.sha256.clone(), + registry_url: format_registry_url( + &self.settings.registry, + &package.name, + &package.version.to_string(), + ), + lib_target_name, + targets, + }; + + Ok(context) + } + + /// Generates license data from internal crate details. + fn produce_license(&self) -> LicenseData { + let licenses_str = self + .crate_catalog_entry + .package() + .license + .as_ref() + .map_or("", String::as_str); + + license::get_license_from_str(licenses_str) + } + + fn _produce_deps(&self, names: &DependencyNames) -> Result { + let build_dep_names = &names.build_dep_names; + let dev_dep_names = &names.dev_dep_names; + let normal_dep_names = &names.normal_dep_names; + let aliased_dep_names = &names.aliased_dep_names; + + let mut dep_set = DependencySet { + build_deps: Vec::new(), + build_proc_macro_deps: Vec::new(), + proc_macro_deps: Vec::new(), + dev_deps: Vec::new(), + normal_deps: Vec::new(), + aliased_deps: Vec::new(), + }; + + let all_skipped_deps = self + .crate_settings + .iter() + .flat_map(|pkg| pkg.skipped_deps.iter()) + .collect::>(); + + for dep_id in &self.node.dependencies { + // UNWRAP(s): Safe from verification of packages_by_id + let dep_package = self + .crate_catalog + .entry_for_package_id(&dep_id) + .unwrap() + .package(); + + // Skip settings-indicated deps to skip + if all_skipped_deps.contains(&util::package_ident( + &dep_package.name, + &dep_package.version.to_string(), + )) { + continue; + } + + // UNWRAP: Guaranteed to exist by checks in WorkspaceSubplanner#produce_build_plan + let buildable_target = self + .crate_catalog + .entry_for_package_id(dep_id) + .unwrap() + .workspace_path_and_default_target(&self.settings)?; + + // Implicitly dependencies are on the [lib] target from Cargo.toml (of which there is + // guaranteed to be at most one). + // In this function, we don't explicitly narrow to be considering only the [lib] Target - we + // rely on the fact that only one [lib] is allowed in a Package, and so treat the Package + // synonymously with the [lib] Target therein. + // Only the [lib] target is allowed to be labelled as a proc-macro, so checking if "any" + // target is a proc-macro is equivalent to checking if the [lib] target is a proc-macro (and + // accordingly, whether we need to treat this dep like a proc-macro). + let is_proc_macro = dep_package + .targets + .iter() + .flat_map(|target| target.crate_types.iter()) + .any(|crate_type| crate_type.as_str() == "proc-macro"); + + let buildable_dependency = BuildableDependency { + name: dep_package.name.clone(), + version: dep_package.version.clone(), + buildable_target: buildable_target.clone(), + is_proc_macro, + }; + + if build_dep_names.contains(&dep_package.name) { + if buildable_dependency.is_proc_macro { + dep_set + .build_proc_macro_deps + .push(buildable_dependency.clone()); + } else { + dep_set.build_deps.push(buildable_dependency.clone()); + } + } + + if dev_dep_names.contains(&dep_package.name) { + dep_set.dev_deps.push(buildable_dependency.clone()); + } + + if normal_dep_names.contains(&dep_package.name) { + // sys crates build files may generate DEP_* environment variables that + // need to be visible in their direct dependency build files. + if dep_package.name.ends_with("-sys") { + dep_set.build_deps.push(buildable_dependency.clone()); + } + if buildable_dependency.is_proc_macro { + dep_set.proc_macro_deps.push(buildable_dependency); + } else { + dep_set.normal_deps.push(buildable_dependency); + } + // Only add aliased normal deps to the Vec + if let Some(alias_pair) = aliased_dep_names.get(&dep_package.name) { + // Check whether the package's version matches the semver requirement + // of the package that had an alias + if alias_pair.0.matches(&dep_package.version) { + dep_set.aliased_deps.push(DependencyAlias { + target: buildable_target.clone(), + alias: util::sanitize_ident(&alias_pair.1), + }) + } + } + } + } + + dep_set.aliased_deps.sort(); + dep_set.build_deps.sort(); + dep_set.build_proc_macro_deps.sort(); + dep_set.dev_deps.sort(); + dep_set.normal_deps.sort(); + dep_set.proc_macro_deps.sort(); + + Ok(dep_set) + } + + /// Generates the set of dependencies for the contained crate. + fn produce_deps(&self) -> Result<(DependencySet, Vec)> { + let (default_deps, targeted_deps) = self.identify_named_deps()?; + + let targeted_set = targeted_deps + .iter() + .map(|(target, deps)| TargetedDependencySet { + target: target.clone(), + dependencies: self._produce_deps(deps).unwrap(), + }) + .collect::>(); + + Ok((self._produce_deps(&default_deps)?, targeted_set)) + } + + /// Yields the list of dependencies as described by the manifest (without version). + fn identify_named_deps(&self) -> Result<(DependencyNames, HashMap)> { + // Resolve dependencies into types + let mut default_dep_names = DependencyNames { + build_dep_names: Vec::new(), + dev_dep_names: Vec::new(), + normal_dep_names: Vec::new(), + aliased_dep_names: HashMap::new(), + }; + + let mut targeted_dep_names: HashMap = HashMap::new(); + + let package = self.crate_catalog_entry.package(); + for dep in &package.dependencies { + // This shadow allow for dependencies with target restrictions to override where + // to write data about itself. + let mut dep_names = &mut default_dep_names; + + if dep.target.is_some() { + // UNWRAP: Safe from above check + let target_str = format!("{}", dep.target.as_ref().unwrap()); + + // Legacy behavior + if let Some(platform_details) = &self.platform_details { + if let Some(settings_target) = &self.settings.target { + let platform = Platform::from_str(&target_str)?; + + // Skip this dep if it doesn't match our platform attributes + if !platform.matches(settings_target, platform_details.attrs().as_ref()) { + continue; + } + } + } + + let (is_bazel_platform, matches_all_platforms) = + util::is_bazel_supported_platform(&target_str); + // If the target is not supported by Bazel, we ignore it + if !is_bazel_platform { + continue; + } + + // In cases where the cfg target matches all platforms, we consider it a default dependency + if !matches_all_platforms { + // Ensure an entry is created for the 'conditional' dependency + dep_names = match targeted_dep_names.get_mut(&target_str) { + Some(targeted) => targeted, + None => { + // Create a new entry if one was not found + targeted_dep_names.insert( + target_str.clone(), + DependencyNames { + normal_dep_names: Vec::new(), + build_dep_names: Vec::new(), + dev_dep_names: Vec::new(), + aliased_dep_names: HashMap::new(), + }, + ); + // UNWRAP: This unwrap should be safe given the insert above + targeted_dep_names.get_mut(&target_str).unwrap() + }, + }; + } + } + match dep.kind { + DependencyKind::Normal => dep_names.normal_dep_names.push(dep.name.clone()), + DependencyKind::Development => dep_names.dev_dep_names.push(dep.name.clone()), + DependencyKind::Build => dep_names.build_dep_names.push(dep.name.clone()), + _ => { + return Err( + RazeError::Planning { + dependency_name_opt: Some(package.name.to_string()), + message: format!( + "Unhandlable dependency type {:?} on {} detected! {}", + dep.kind, dep.name, PLEASE_FILE_A_BUG + ), + } + .into(), + ) + }, + } + + // Check if the dependency has been renamed + if let Some(alias) = dep.rename.as_ref() { + dep_names + .aliased_dep_names + .insert(dep.name.clone(), (dep.req.clone(), alias.clone())); + } + } + + Ok((default_dep_names, targeted_dep_names)) + } + + /// Generates source details for internal crate. + fn produce_source_details(&self, package: &Package, package_root: &Path) -> SourceDetails { + SourceDetails { + git_data: self.source_id.as_ref().filter(|id| id.is_git()).map(|id| { + let manifest_parent = package.manifest_path.parent().unwrap(); + let path_to_crate_root = manifest_parent.strip_prefix(package_root).unwrap(); + let path_to_crate_root = if path_to_crate_root.components().next().is_some() { + Some(path_to_crate_root.to_string_lossy().to_string()) + } else { + None + }; + GitRepo { + remote: id.url().to_string(), + commit: id.precise().unwrap().to_owned(), + path_to_crate_root, + } + }), + } + } + + /// Extracts the (one and only) build script target from the provided set of build targets. + /// + /// This function mutates the provided list of build arguments. It removes the first (and usually, + /// only) found build script target. + fn take_build_script_target( + &self, + all_targets: &mut Vec, + ) -> Option { + if !self + .crate_settings + .and_then(|x| x.gen_buildrs) + .unwrap_or(self.settings.default_gen_buildrs) + { + return None; + } + + all_targets + .iter() + .position(|t| t.kind == "custom-build") + .map(|idx| all_targets.remove(idx)) + } + + /// Produces the complete set of build targets specified by this crate. + /// This function may access the file system. See #find_package_root_for_manifest for more + /// details. + fn produce_targets(&self, package_root_path: &Path) -> Result> { + let mut targets = Vec::new(); + let package = self.crate_catalog_entry.package(); + for target in &package.targets { + // Bazel uses / as a path delimiter, but / is not the path delimiter on all + // operating systems (like Mac OS 9, or something people actually use like Windows). + // Strip off the package root, decompose the path into parts and rejoin + // them with '/'. + let package_root_path_str = target + .src_path + .strip_prefix(package_root_path) + .unwrap_or(&target.src_path) + .components() + .map(|c| c.as_os_str().to_str()) + .try_fold("".to_owned(), |res, v| Some(format!("{}/{}", res, v?))) + .ok_or_else(|| { + io::Error::new( + io::ErrorKind::InvalidData, + format!( + "{:?} contains non UTF-8 characters and is not a legal path in Bazel", + &target.src_path + ), + ) + })? + .trim_start_matches('/') + .to_owned(); + + for kind in &target.kind { + targets.push(BuildableTarget { + name: target.name.clone(), + path: package_root_path_str.clone(), + kind: kind.clone(), + edition: target.edition.clone(), + }); + } + } + + targets.sort(); + Ok(targets) + } + + /// Finds the root of a contained git package. + /// This function needs to access the file system if the dependency is a git dependency in order + /// to find the true filesystem root of the dependency. The root cause is that git dependencies + /// often aren't solely the crate of interest, but rather a repository that contains the crate of + /// interest among others. + fn find_package_root_for_manifest(&self, manifest_path: &PathBuf) -> Result { + let has_git_repo_root = { + let is_git = self.source_id.as_ref().map_or(false, SourceId::is_git); + is_git && self.settings.genmode == GenMode::Remote + }; + + // Return manifest path itself if not git + if !has_git_repo_root { + // TODO(acmcarther): How do we know parent is valid here? + // UNWRAP: Pathbuf guaranteed to succeed from Path + return Ok(PathBuf::from(manifest_path.parent().unwrap())); + } + + // If package is git package it may be nested under a parent repository. We need to find the + // package root. + { + let mut check_path = manifest_path.as_path(); + while let Some(c) = check_path.parent() { + let joined = c.join(".git"); + if joined.is_dir() { + // UNWRAP: Pathbuf guaranteed to succeed from Path + return Ok(PathBuf::from(c)); + } else { + check_path = c; + } + } + + // Reached filesystem root and did not find Git repo + Err( + RazeError::Generic(format!( + "Unable to locate git repository root for manifest at {:?}. {}", + manifest_path, PLEASE_FILE_A_BUG + )) + .into(), + ) + } + } +} diff --git a/cargo/cargo_raze/impl/src/rendering.rs b/cargo/cargo_raze/impl/src/rendering.rs new file mode 100644 index 0000000000..a89150c032 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering.rs @@ -0,0 +1,50 @@ +// 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 bazel; + +use crate::planning::PlannedBuild; +use anyhow::Result; +use std::path::PathBuf; + +pub trait BuildRenderer { + fn render_planned_build( + &mut self, + render_details: &RenderDetails, + planned_build: &PlannedBuild, + ) -> Result>; + fn render_remote_planned_build( + &mut self, + render_details: &RenderDetails, + planned_build: &PlannedBuild, + ) -> Result>; +} + +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] +pub struct FileOutputs { + pub path: PathBuf, + pub contents: String, +} + +#[derive(Debug, Clone)] +pub struct RenderDetails { + pub cargo_root: PathBuf, + pub path_prefix: PathBuf, + pub package_aliases_dir: String, + pub vendored_buildfile_name: String, + pub bazel_root: PathBuf, + pub rust_rules_workspace_name: String, + pub experimental_api: bool, + pub render_package_aliases: bool, +} diff --git a/cargo/cargo_raze/impl/src/rendering/bazel.rs b/cargo/cargo_raze/impl/src/rendering/bazel.rs new file mode 100644 index 0000000000..6cd1e4eee8 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/bazel.rs @@ -0,0 +1,885 @@ +// 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 anyhow::Result; +use pathdiff::diff_paths; +use tera::{self, Context, Tera}; + +use crate::{ + context::{CrateContext, WorkspaceContext}, + error::RazeError, + planning::PlannedBuild, + rendering::{BuildRenderer, FileOutputs, RenderDetails}, +}; + +use std::{error::Error, path::Path}; + +macro_rules! unwind_tera_error { + ($err:ident) => {{ + let mut messages = vec![$err.to_string()]; + let mut cause = $err.source(); + while let Some(e) = cause { + messages.push(e.to_string()); + cause = e.source(); + } + messages.join("\n|__") + }}; +} + +// A Bazel block that exposts the `crates.bz` files renderd in Remote genmode +const EXPORTS_FILES: &str = r#" +# Export file for Stardoc support +exports_files( + [ + "crates.bzl", + ], + visibility = ["//visibility:public"], +) +"#; + +#[derive(Default)] +pub struct BazelRenderer { + internal_renderer: Tera, +} + +/// Generate the expected Bazel package name +fn bazel_package_name(render_details: &RenderDetails) -> String { + if let Some(package_name) = diff_paths(&render_details.cargo_root, &render_details.bazel_root) { + package_name.display().to_string().replace("\\", "/") + } else { + "".to_owned() + } +} + +impl BazelRenderer { + pub fn new() -> Self { + // Configure tera with a bogus template dir: We don't want any runtime template support + let mut internal_renderer = Tera::new("/tmp/cargo-raze/doesnt/exist/*").unwrap(); + internal_renderer + .add_raw_templates(vec![ + ( + "templates/crate.BUILD.template", + include_str!("templates/crate.BUILD.template"), + ), + ( + "templates/partials/build_script.template", + include_str!("templates/partials/build_script.template"), + ), + ( + "templates/partials/common_attrs.template", + include_str!("templates/partials/common_attrs.template"), + ), + ( + "templates/partials/crates_macro.template", + include_str!("templates/partials/crates_macro.template"), + ), + ( + "templates/partials/header.template", + include_str!("templates/partials/header.template"), + ), + ( + "templates/partials/remote_crates_patch.template", + include_str!("templates/partials/remote_crates_patch.template"), + ), + ( + "templates/partials/rust_binary.template", + include_str!("templates/partials/rust_binary.template"), + ), + ( + "templates/partials/rust_library.template", + include_str!("templates/partials/rust_library.template"), + ), + ( + "templates/partials/targeted_dependencies.template", + include_str!("templates/partials/targeted_dependencies.template"), + ), + ( + "templates/remote_crates.bzl.template", + include_str!("templates/remote_crates.bzl.template"), + ), + ( + "templates/workspace.BUILD.template", + include_str!("templates/workspace.BUILD.template"), + ), + ]) + .unwrap(); + + Self { + internal_renderer, + } + } + + pub fn render_crate( + &self, + workspace_context: &WorkspaceContext, + package: &CrateContext, + rust_rules_workspace_name: &str, + ) -> Result { + let mut context = Context::new(); + context.insert("workspace", &workspace_context); + context.insert("crate", &package); + context.insert("rust_rules_workspace_name", rust_rules_workspace_name); + self + .internal_renderer + .render("templates/crate.BUILD.template", &context) + } + + pub fn render_vendored_aliases( + &self, + workspace_context: &WorkspaceContext, + all_packages: &[CrateContext], + ) -> Result { + let mut context = Context::new(); + context.insert("workspace", &workspace_context); + context.insert("crates", &all_packages); + context.insert("is_remote_mode", &false); + self + .internal_renderer + .render("templates/workspace.BUILD.template", &context) + } + + pub fn render_remote_crate( + &self, + workspace_context: &WorkspaceContext, + package: &CrateContext, + rust_rules_workspace_name: &str, + ) -> Result { + let mut context = Context::new(); + context.insert("workspace", &workspace_context); + context.insert("crate", &package); + context.insert("rust_rules_workspace_name", rust_rules_workspace_name); + self + .internal_renderer + .render("templates/crate.BUILD.template", &context) + } + + pub fn render_remote_aliases( + &self, + workspace_context: &WorkspaceContext, + all_packages: &[CrateContext], + ) -> Result { + let mut context = Context::new(); + context.insert("workspace", &workspace_context); + context.insert("crates", &all_packages); + context.insert("is_remote_mode", &true); + self + .internal_renderer + .render("templates/workspace.BUILD.template", &context) + } + + pub fn render_crates_bzl( + &self, + workspace_context: &WorkspaceContext, + all_packages: &[CrateContext], + bazel_package_name: &str, + is_remote_genmode: bool, + experimental_api: bool, + ) -> Result { + let mut context = Context::new(); + context.insert("workspace", &workspace_context); + context.insert("crates", &all_packages); + context.insert("bazel_package_name", &bazel_package_name); + context.insert("is_remote_genmode", &is_remote_genmode); + context.insert("experimental_api", &experimental_api); + self + .internal_renderer + .render("templates/remote_crates.bzl.template", &context) + } + + pub fn render_aliases( + &self, + planned_build: &PlannedBuild, + render_details: &RenderDetails, + is_remote_mode: bool, + ) -> Result> { + let mut file_outputs = Vec::new(); + for member_path in planned_build.workspace_context.workspace_members.iter() { + let all_packages: Vec = planned_build + .crate_contexts + .iter() + .filter(|ctx| { + ctx.is_binary_dependency + || ctx.workspace_member_dependents.contains(member_path) + || ctx.workspace_member_dev_dependents.contains(member_path) + }) + .cloned() + .collect(); + + let mut rendered_alias_build_file = if is_remote_mode { + self + .render_remote_aliases(&planned_build.workspace_context, &all_packages) + .map_err(|e| RazeError::Rendering { + crate_name_opt: None, + message: unwind_tera_error!(e), + })? + } else { + self + .render_vendored_aliases(&planned_build.workspace_context, &all_packages) + .map_err(|e| RazeError::Rendering { + crate_name_opt: None, + message: unwind_tera_error!(e), + })? + }; + + // Only the root package will have a `crates.bzl` file to export + let is_root_workspace_member = member_path + .to_str() + // Root workspace paths will are represented by an exmpty string + .map(|member_path| member_path.is_empty()) + .unwrap_or(false); + if is_root_workspace_member { + // In remote genmode, a `crates.bzl` file will always be rendered. For + // vendored genmode, one is only rendered when using the experimental + // api so it would otherwise be incorrect to export a nonexistent file. + if is_remote_mode || render_details.experimental_api { + rendered_alias_build_file += EXPORTS_FILES; + } + } + + file_outputs.push(FileOutputs { + path: render_details + .cargo_root + .join(member_path) + .join(&render_details.package_aliases_dir) + .join("BUILD.bazel"), + contents: rendered_alias_build_file, + }); + } + Ok(file_outputs) + } + + fn render_crates_bzl_package_file( + &self, + path_prefix: &Path, + file_outputs: &[FileOutputs], + ) -> Result> { + let crates_bzl_pkg_file = path_prefix.join("BUILD.bazel"); + let outputs_contain_crates_bzl_build_file = file_outputs + .iter() + .any(|output| output.path == crates_bzl_pkg_file); + if outputs_contain_crates_bzl_build_file { + return Ok(None); + } + + let mut contents = self + .internal_renderer + .render("templates/partials/header.template", &tera::Context::new())?; + + contents += EXPORTS_FILES; + + Ok(Some(FileOutputs { + path: crates_bzl_pkg_file, + contents, + })) + } +} + +fn include_additional_build_file( + package: &CrateContext, + existing_contents: String, +) -> Result { + match &package.canonical_additional_build_file { + Some(file_path) => { + assert!( + package.raze_settings.additional_build_file.is_some(), + "The raze_settings.additional_build_file should always be set if \ + canonical_additional_build_file is set" + ); + let additional_content = + std::fs::read_to_string(file_path).map_err(|e| RazeError::Rendering { + crate_name_opt: Some(package.pkg_name.to_owned()), + message: format!( + "failed to read additional_build_file '{}': {}", + file_path.display(), + e + ), + })?; + + Ok(format!( + "{}\n# Additional content from {}\n{}", + existing_contents, + // UNWRAP: Safe due to assert above + package + .raze_settings + .additional_build_file + .as_ref() + .unwrap() + .display(), + additional_content + )) + }, + None => Ok(existing_contents), + } +} + +impl BuildRenderer for BazelRenderer { + fn render_planned_build( + &mut self, + render_details: &RenderDetails, + planned_build: &PlannedBuild, + ) -> Result> { + let &PlannedBuild { + ref workspace_context, + ref crate_contexts, + .. + } = planned_build; + let mut file_outputs = Vec::new(); + let path_prefix = render_details + .bazel_root + .as_path() + .join(&render_details.path_prefix); + + if render_details.experimental_api { + let crates_bzl_file_path = path_prefix.as_path().join("crates.bzl"); + let rendered_crates_bzl_file = self + .render_crates_bzl( + &workspace_context, + &crate_contexts, + &bazel_package_name(render_details), + /*is_remote_genmode=*/ false, + render_details.experimental_api, + ) + .map_err(|e| RazeError::Rendering { + crate_name_opt: None, + message: unwind_tera_error!(e), + })?; + file_outputs.push(FileOutputs { + path: crates_bzl_file_path, + contents: rendered_crates_bzl_file, + }); + + if render_details.render_package_aliases { + file_outputs.extend(self.render_aliases(planned_build, render_details, false)?); + } + + // Ensure there is always a `BUILD.bazel` file to accompany `crates.bzl` + if let Some(rendered_output) = + self.render_crates_bzl_package_file(&path_prefix, &file_outputs)? + { + file_outputs.push(rendered_output); + } + } else { + file_outputs.extend(self.render_aliases(planned_build, render_details, false)?); + } + + for package in crate_contexts { + let rendered_crate_build_file = self + .render_crate( + &workspace_context, + &package, + &render_details.rust_rules_workspace_name, + ) + .map_err(|e| RazeError::Rendering { + crate_name_opt: None, + message: unwind_tera_error!(e), + })?; + + let final_crate_build_file = + include_additional_build_file(package, rendered_crate_build_file)?; + + file_outputs.push(FileOutputs { + path: path_prefix.as_path().join(&package.expected_build_path), + contents: final_crate_build_file, + }) + } + + file_outputs.sort(); + Ok(file_outputs) + } + + fn render_remote_planned_build( + &mut self, + render_details: &RenderDetails, + planned_build: &PlannedBuild, + ) -> Result> { + let &PlannedBuild { + ref workspace_context, + ref crate_contexts, + .. + } = planned_build; + let mut file_outputs: Vec = Vec::new(); + + let path_prefix = render_details + .bazel_root + .as_path() + .join(&render_details.path_prefix); + let buildfile_suffix = &render_details.vendored_buildfile_name; + + // N.B. File needs to exist so that contained xyz-1.2.3.BUILD can be referenced + file_outputs.push(FileOutputs { + path: path_prefix.as_path().join("remote").join(buildfile_suffix), + contents: String::new(), + }); + + for package in crate_contexts { + let rendered_crate_build_file = self + .render_remote_crate( + &workspace_context, + &package, + &render_details.rust_rules_workspace_name, + ) + .map_err(|e| RazeError::Rendering { + crate_name_opt: Some(package.pkg_name.to_owned()), + message: unwind_tera_error!(e), + })?; + + let final_crate_build_file = + include_additional_build_file(package, rendered_crate_build_file)?; + + file_outputs.push(FileOutputs { + path: path_prefix.as_path().join(&package.expected_build_path), + contents: final_crate_build_file, + }) + } + + if render_details.render_package_aliases { + file_outputs.extend(self.render_aliases(planned_build, render_details, true)?); + } + + let crates_bzl_file_path = path_prefix.as_path().join("crates.bzl"); + let rendered_bzl_fetch_file = self + .render_crates_bzl( + &workspace_context, + &crate_contexts, + &bazel_package_name(render_details), + /*is_remote_genmode=*/ true, + render_details.experimental_api, + ) + .map_err(|e| RazeError::Rendering { + crate_name_opt: None, + message: unwind_tera_error!(e), + })?; + + file_outputs.push(FileOutputs { + path: crates_bzl_file_path, + contents: rendered_bzl_fetch_file, + }); + + // Optionally write out a unique lockfile for Cargo Raze. This happens in the case + // where a project has specified binary dependencies. + if let Some(lockfile) = &planned_build.lockfile { + file_outputs.push(FileOutputs { + path: path_prefix.as_path().join("Cargo.raze.lock"), + contents: lockfile.to_string(), + }); + } + + // Ensure there is always a `BUILD.bazel` file to accompany `crates.bzl` + if let Some(rendered_output) = + self.render_crates_bzl_package_file(&path_prefix, &file_outputs)? + { + file_outputs.push(rendered_output); + } + + file_outputs.sort(); + Ok(file_outputs) + } +} + +#[cfg(test)] +mod tests { + use hamcrest2::{core::expect, prelude::*}; + + use semver::Version; + use tempfile::TempDir; + + use crate::{ + context::*, + planning::PlannedBuild, + rendering::{FileOutputs, RenderDetails}, + settings::CrateSettings, + testing::basic_lock_contents, + }; + + use super::*; + + use std::{fs, path::PathBuf, str::FromStr}; + + fn dummy_render_details(buildfile_suffix: &str) -> RenderDetails { + RenderDetails { + cargo_root: PathBuf::from("/some/cargo/root"), + path_prefix: PathBuf::from("./some_render_prefix"), + package_aliases_dir: "cargo".to_string(), + vendored_buildfile_name: buildfile_suffix.to_owned(), + bazel_root: PathBuf::from("/some/bazel/root"), + rust_rules_workspace_name: "rules_rust".to_owned(), + experimental_api: true, + render_package_aliases: true, + } + } + + fn dummy_planned_build(crate_contexts: Vec) -> PlannedBuild { + PlannedBuild { + workspace_context: WorkspaceContext { + workspace_path: "//workspace/prefix".to_owned(), + gen_workspace_prefix: "".to_owned(), + output_buildfile_suffix: "BUILD".to_owned(), + // This will typically resolve to: + // `/some/cargo/root/some/crate` + workspace_members: vec![PathBuf::from("some/crate")], + }, + crate_contexts, + lockfile: None, + } + } + + fn dummy_binary_crate_with_name(buildfile_suffix: &str) -> CrateContext { + CrateContext { + pkg_name: "test-binary".to_owned(), + pkg_version: Version::parse("1.1.1").unwrap(), + edition: "2015".to_owned(), + features: vec!["feature1".to_owned(), "feature2".to_owned()].to_owned(), + expected_build_path: format!("vendor/test-binary-1.1.1/{}", buildfile_suffix), + license: LicenseData::default(), + raze_settings: CrateSettings::default(), + canonical_additional_build_file: CrateSettings::default().additional_build_file, + default_deps: CrateDependencyContext { + dependencies: Vec::new(), + proc_macro_dependencies: Vec::new(), + data_dependencies: Vec::new(), + build_dependencies: Vec::new(), + build_proc_macro_dependencies: Vec::new(), + build_data_dependencies: Vec::new(), + dev_dependencies: Vec::new(), + aliased_dependencies: Vec::new(), + }, + targeted_deps: Vec::new(), + workspace_member_dependents: Vec::new(), + workspace_member_dev_dependents: Vec::new(), + is_workspace_member_dependency: false, + is_binary_dependency: false, + is_proc_macro: false, + workspace_path_to_crate: "@raze__test_binary__1_1_1//".to_owned(), + targets: vec![BuildableTarget { + name: "some_binary".to_owned(), + kind: "bin".to_owned(), + path: "bin/main.rs".to_owned(), + edition: "2015".to_owned(), + }], + build_script_target: None, + links: None, + source_details: SourceDetails { + git_data: None, + }, + sha256: None, + registry_url: "https://crates.io/api/v1/crates/test-binary/1.1.1/download".to_string(), + lib_target_name: None, + } + } + + fn dummy_binary_crate() -> CrateContext { + return dummy_binary_crate_with_name("BUILD"); + } + + fn dummy_library_crate_with_name(buildfile_suffix: &str) -> CrateContext { + CrateContext { + pkg_name: "test-library".to_owned(), + pkg_version: Version::parse("1.1.1").unwrap(), + edition: "2015".to_owned(), + license: LicenseData::default(), + raze_settings: CrateSettings::default(), + canonical_additional_build_file: CrateSettings::default().additional_build_file, + features: vec!["feature1".to_owned(), "feature2".to_owned()].to_owned(), + expected_build_path: format!("vendor/test-library-1.1.1/{}", buildfile_suffix), + default_deps: CrateDependencyContext { + dependencies: Vec::new(), + proc_macro_dependencies: Vec::new(), + data_dependencies: Vec::new(), + build_dependencies: Vec::new(), + build_proc_macro_dependencies: Vec::new(), + build_data_dependencies: Vec::new(), + dev_dependencies: Vec::new(), + aliased_dependencies: Vec::new(), + }, + targeted_deps: Vec::new(), + workspace_member_dependents: Vec::new(), + workspace_member_dev_dependents: Vec::new(), + is_workspace_member_dependency: false, + is_binary_dependency: false, + is_proc_macro: false, + workspace_path_to_crate: "@raze__test_library__1_1_1//".to_owned(), + targets: vec![BuildableTarget { + name: "some_library".to_owned(), + kind: "lib".to_owned(), + path: "path/lib.rs".to_owned(), + edition: "2015".to_owned(), + }], + build_script_target: None, + links: Some("ssh2".to_owned()), + source_details: SourceDetails { + git_data: None, + }, + sha256: None, + registry_url: "https://crates.io/api/v1/crates/test-binary/1.1.1/download".to_string(), + lib_target_name: Some("test_library".to_owned()), + } + } + + fn dummy_library_crate() -> CrateContext { + return dummy_library_crate_with_name("BUILD"); + } + + fn extract_contents_matching_path(file_outputs: &Vec, file_name: &str) -> String { + println!("Known files :{:?}", file_outputs); + let mut matching_files_contents = file_outputs + .iter() + .filter(|output| output.path.starts_with(file_name)) + .map(|output| output.contents.to_owned()) + .collect::>(); + + assert_that!(matching_files_contents.len(), equal_to(1)); + matching_files_contents.pop().unwrap() + } + + fn render_crates_for_test_with_name( + buildfile_suffix: &str, + crate_contexts: Vec, + ) -> Vec { + BazelRenderer::new() + .render_planned_build( + &dummy_render_details(buildfile_suffix), + &dummy_planned_build(crate_contexts), + ) + .unwrap() + } + + fn render_crates_for_test(crate_contexts: Vec) -> Vec { + return render_crates_for_test_with_name("BUILD", crate_contexts); + } + + #[test] + fn all_plans_contain_root_build_file() { + let file_outputs = render_crates_for_test(Vec::new()); + let file_names = file_outputs + .iter() + .map(|output| output.path.display().to_string()) + .collect::>(); + + assert_that!( + &file_names, + contains(vec![ + "/some/bazel/root/./some_render_prefix/BUILD.bazel".to_owned(), + "/some/bazel/root/./some_render_prefix/crates.bzl".to_owned(), + "/some/cargo/root/some/crate/cargo/BUILD.bazel".to_owned(), + ]) + .exactly() + ); + } + + #[test] + fn crates_generate_build_files() { + let file_outputs = render_crates_for_test(vec![dummy_library_crate()]); + let file_names = file_outputs + .iter() + .map(|output| output.path.display().to_string()) + .collect::>(); + + assert_that!( + &file_names, + contains(vec![ + "/some/bazel/root/./some_render_prefix/BUILD.bazel".to_owned(), + "/some/bazel/root/./some_render_prefix/crates.bzl".to_owned(), + "/some/bazel/root/./some_render_prefix/vendor/test-library-1.1.1/BUILD".to_owned(), + "/some/cargo/root/some/crate/cargo/BUILD.bazel".to_owned(), + ]) + .exactly() + ); + } + + #[test] + fn crates_generate_build_files_bazel() { + let file_outputs = render_crates_for_test_with_name( + "BUILD.bazel", + vec![dummy_library_crate_with_name("BUILD.bazel")], + ); + let file_names = file_outputs + .iter() + .map(|output| output.path.display().to_string()) + .collect::>(); + + assert_that!( + &file_names, + contains(vec![ + "/some/bazel/root/./some_render_prefix/BUILD.bazel".to_owned(), + "/some/bazel/root/./some_render_prefix/crates.bzl".to_owned(), + "/some/bazel/root/./some_render_prefix/vendor/test-library-1.1.1/BUILD.bazel".to_owned(), + "/some/cargo/root/some/crate/cargo/BUILD.bazel".to_owned(), + ]) + .exactly() + ); + } + + #[test] + fn workspace_member_dependencies_get_build_aliases() { + let mut context = dummy_library_crate(); + context.is_workspace_member_dependency = true; + context + .workspace_member_dependents + .push(PathBuf::from("some/crate")); + + let file_outputs = render_crates_for_test(vec![context]); + let workspace_crate_build_contents = extract_contents_matching_path( + &file_outputs, + "/some/cargo/root/some/crate/cargo/BUILD.bazel", + ); + + expect( + workspace_crate_build_contents.contains("alias"), + format!( + "expected root build contents to contain an alias for test-library crate, but it just \ + contained [{}]", + workspace_crate_build_contents + ), + ) + .unwrap(); + } + + #[test] + fn non_workspace_crates_dont_get_build_aliases() { + let mut non_workspace_crate = dummy_library_crate(); + non_workspace_crate.workspace_member_dependents = Vec::new(); + non_workspace_crate.is_workspace_member_dependency = false; + + let file_outputs = render_crates_for_test(vec![non_workspace_crate]); + let root_build_contents = extract_contents_matching_path( + &file_outputs, + "/some/cargo/root/some/crate/cargo/BUILD.bazel", + ); + + expect( + !root_build_contents.contains("alias"), + format!( + "expected root build contents not to contain an alias for test-library crate, but it just \ + contained [{}]", + root_build_contents + ), + ) + .unwrap(); + } + + #[test] + fn binaries_get_rust_binary_rules() { + let file_outputs = render_crates_for_test(vec![dummy_binary_crate()]); + let crate_build_contents = extract_contents_matching_path( + &file_outputs, + "/some/bazel/root/./some_render_prefix/vendor/test-binary-1.1.1/BUILD", + ); + + expect( + crate_build_contents.contains("rust_binary("), + format!( + "expected crate build contents to contain rust_binary, but it just contained [{}]", + crate_build_contents + ), + ) + .unwrap(); + } + + #[test] + fn libraries_get_rust_library_rules() { + let file_outputs = render_crates_for_test(vec![dummy_library_crate()]); + let crate_build_contents = extract_contents_matching_path( + &file_outputs, + "/some/bazel/root/./some_render_prefix/vendor/test-library-1.1.1/BUILD", + ); + + expect( + crate_build_contents.contains("rust_library("), + format!( + "expected crate build contents to contain rust_library, but it just contained [{}]", + crate_build_contents + ), + ) + .unwrap(); + } + + #[test] + fn additional_build_file_missing_file_failure() { + let render_result = BazelRenderer::new().render_planned_build( + &dummy_render_details("BUILD"), + &dummy_planned_build(vec![CrateContext { + raze_settings: CrateSettings { + additional_build_file: Some("non-existent-file".into()), + ..Default::default() + }, + canonical_additional_build_file: Some("non-existent-file".into()), + ..dummy_library_crate() + }]), + ); + + assert_that!(render_result, err()); + } + + #[test] + fn additional_build_file_included() { + let tmp_dir = TempDir::new().unwrap(); + fs::write( + tmp_dir.as_ref().join("some_additional_build_file"), + "This is some additional BUILD file.", + ) + .unwrap(); + + let additional_build_file = tmp_dir.as_ref().join("some_additional_build_file"); + + let file_outputs = render_crates_for_test(vec![CrateContext { + raze_settings: CrateSettings { + additional_build_file: Some(additional_build_file.clone()), + ..Default::default() + }, + canonical_additional_build_file: Some(additional_build_file.clone()), + ..dummy_library_crate() + }]); + + let file_name = + "/some/bazel/root/./some_render_prefix/vendor/test-library-1.1.1/BUILD".to_owned(); + let crate_build_contents = extract_contents_matching_path(&file_outputs, &file_name); + + expect( + crate_build_contents.contains(&format!( + "# Additional content from {}", + additional_build_file.display() + )), + format!( + "expected crate build contents to include additional_build_file, but it just contained \ + [{}]", + crate_build_contents + ), + ) + .unwrap(); + } + + #[test] + fn test_generate_lockfile() { + let render_details = dummy_render_details("BUILD.bazel"); + let mut planned_build = dummy_planned_build(Vec::new()); + planned_build.lockfile = Some(cargo_lock::Lockfile::from_str(basic_lock_contents()).unwrap()); + + let render_result = BazelRenderer::new() + .render_remote_planned_build(&render_details, &planned_build) + .unwrap(); + + // Ensure that the lockfiles for binary dependencies get written out propperly + assert!(render_result.iter().any(|file_output| { + file_output.path == PathBuf::from("/some/bazel/root/./some_render_prefix/Cargo.raze.lock") + && file_output.contents + == indoc::formatdoc! { r#" + # This file is automatically @generated by Cargo. + # It is not intended for manual editing. + [[package]] + name = "test" + version = "0.0.1" + "# } + })) + } +} diff --git a/cargo/cargo_raze/impl/src/rendering/templates/crate.BUILD.template b/cargo/cargo_raze/impl/src/rendering/templates/crate.BUILD.template new file mode 100644 index 0000000000..73af1c2de9 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/crate.BUILD.template @@ -0,0 +1,48 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@{{ rust_rules_workspace_name }}//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "{{workspace.workspace_path}}", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "{{crate.license.rating}}", # {{crate.license.name}} +]) + +# Generated Targets +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") -%} +{%- if crate.build_script_target %} +{% include "templates/partials/build_script.template" %} +{%- endif -%} +{%- for target in crate.targets -%} +{%- set target_name_sanitized = target.name | replace(from="-", to="_") %} +{%- if target.kind == "bin" %} + +{% include "templates/partials/rust_binary.template" %} +{%- elif target.kind == "dylib" or target.kind == "lib" or target.kind == "proc-macro" or target.kind == "rlib" %} + +{% include "templates/partials/rust_library.template" %} +{%- else %} + +# Unsupported target "{{ target.name }}" with type "{{ target.kind }}" omitted +{%- endif %} +{%- endfor %} diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/build_script.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/build_script.template new file mode 100644 index 0000000000..1ef40a4ac5 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/build_script.template @@ -0,0 +1,86 @@ +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@{{ rust_rules_workspace_name }}//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "{{ crate_name_sanitized }}_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + {%- for key, value in crate.raze_settings.buildrs_additional_environment_variables %} + "{{key}}": "{{value}}", + {%- endfor %} + }, + crate_features = [ + {%- for feature in crate.features %} + "{{feature}}", + {%- endfor %} + ], + {%- if crate.build_script_target.path %} + crate_root = "{{ crate.build_script_target.path }}", + {%- else %} + crate_root = "build.rs", + {%- endif %} + {%- set buildrs_data_deps = [] %} + {%- for dep in crate.default_deps.build_data_dependencies %}{# Note: build_data_dependencies can only be set when using cargo-raze as a library at the moment #} + {%- set_global buildrs_data_deps = buildrs_data_deps | concat(with=dep.buildable_target) %} + {%- endfor %} + {%- for dep in crate.raze_settings.build_data_dependencies %} + {%- set_global buildrs_data_deps = buildrs_data_deps | concat(with=dep) %} + {%- endfor %} + data = glob(["**"]){%- if buildrs_data_deps %} + [ + {%- for dep in buildrs_data_deps | sort %} + "{{dep}}", + {%- endfor %} + ], + {%- else %}, + {%- endif %} + edition = "{{ crate.edition }}", + {%- if crate.default_deps.build_proc_macro_dependencies %} + proc_macro_deps = [ + {%- for dependency in crate.default_deps.build_proc_macro_dependencies %} + "{{dependency.buildable_target}}", + {%- endfor %} + ], + {%- endif %} + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "{{ crate.pkg_version }}", + visibility = ["//visibility:private"], + {%- set buildrs_deps = [] %} + {%- for dep in crate.default_deps.build_dependencies %} + {%- set_global buildrs_deps = buildrs_deps | concat(with=dep.buildable_target) %} + {%- endfor %} + {%- for dep in crate.raze_settings.buildrs_additional_deps %} + {%- set_global buildrs_deps = buildrs_deps | concat(with=dep) %} + {%- endfor %} + deps = [ + {%- for dep in buildrs_deps | sort %} + "{{dep}}", + {%- endfor %} + ] + {%- if crate.targeted_deps -%} + {% for targeted_dep in crate.targeted_deps %} + selects.with_or({ + # {{ targeted_dep.target }} + ( + {%- for condition in targeted_dep.conditions %} + "{{ condition }}", + {%- endfor %} + ): [ + {%- for dependency in targeted_dep.deps.build_dependencies %} + "{{ dependency.buildable_target }}", + {%- endfor %} + ], + "//conditions:default": [], + }) + {%- endfor -%} + {%- else -%} + {%- endif %}, +) \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/common_attrs.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/common_attrs.template new file mode 100644 index 0000000000..e3e4f1e5ae --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/common_attrs.template @@ -0,0 +1,60 @@ + srcs = glob(["**/*.rs"]), + {%- if crate.default_deps.aliased_dependencies | length != 0 or crate.targeted_deps | length != 0 %} + aliases = { + {%- for alias in crate.default_deps.aliased_dependencies %} + "{{alias.target}}": "{{alias.alias}}", + {%- endfor %} + {%- for dep in crate.targeted_deps %} + {%- for alias in dep.deps.aliased_dependencies %} + "{{alias.target}}": "{{alias.alias}}", + {%- endfor %} + {%- endfor %} + }, + {%- endif %} + crate_features = [ + {%- for feature in crate.features %} + "{{feature}}", + {%- endfor %} + ], + crate_root = "{{ target.path }}", + {%- if target.kind != "bin" %} + crate_type = "{{ target.kind }}", + {%- endif %} + data = [] + {%- if crate.raze_settings.data_attr %} + {{crate.raze_settings.data_attr}} + {%- endif -%} + {%- if crate.raze_settings.data_dependencies %} + [ + {%- for dependency in crate.raze_settings.data_dependencies %} + "{{dependency}}", + {%- endfor %} + ] + {%- endif %}, + {%- if crate.raze_settings.compile_data_attr %} + compile_data = {{crate.raze_settings.compile_data_attr}}, + {%- endif %} + edition = "{{ target.edition }}", + {%- if crate.default_deps.proc_macro_dependencies %} + proc_macro_deps = [ + {%- for dependency in crate.default_deps.proc_macro_dependencies %} + "{{dependency.buildable_target}}", + {%- endfor %} + ], + {%- endif %} + {%- if crate.raze_settings.additional_env %} + rustc_env = { + {%- for key, value in crate.raze_settings.additional_env %} + "{{key}}": "{{value}}", + {%- endfor %} + }, + {%- endif %} + rustc_flags = [ + "--cap-lints=allow", + {%- for flag in crate.raze_settings.additional_flags %} + "{{flag}}", + {%- endfor %} + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "{{ crate.pkg_version }}", \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/crates_macro.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/crates_macro.template new file mode 100644 index 0000000000..5a9e0e8e08 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/crates_macro.template @@ -0,0 +1,204 @@ +# 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 = { +{%- for workspace_member in workspace.workspace_members %} +{%- if workspace_member %} + "{{ bazel_package_name }}/{{ workspace_member }}": { +{%- else %} + "{{ bazel_package_name }}": { +{%- endif %} +{%- for crate in crates %} +{%- if not crate.is_proc_macro and workspace_member in crate.workspace_member_dependents %} +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") %} + "{{ crate.pkg_name }}": "{{ crate.workspace_path_to_crate }}:{{ crate_name_sanitized }}", +{%- endif %} +{%- endfor %} + }, +{%- endfor %} +} + +# 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 = { +{%- for workspace_member in workspace.workspace_members %} +{%- if workspace_member %} + "{{ bazel_package_name }}/{{ workspace_member }}": { +{%- else %} + "{{ bazel_package_name }}": { +{%- endif %} +{%- for crate in crates %} +{%- if crate.is_proc_macro and workspace_member in crate.workspace_member_dependents %} +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") %} + "{{ crate.pkg_name }}": "{{ crate.workspace_path_to_crate }}:{{ crate_name_sanitized }}", +{%- endif %} +{%- endfor %} + }, +{%- endfor %} +} + +# 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 = { +{%- for workspace_member in workspace.workspace_members %} +{%- if workspace_member %} + "{{ bazel_package_name }}/{{ workspace_member }}": { +{%- else %} + "{{ bazel_package_name }}": { +{%- endif %} +{%- for crate in crates %} +{%- if not crate.is_proc_macro and workspace_member in crate.workspace_member_dev_dependents %} +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") %} + "{{ crate.pkg_name }}": "{{ crate.workspace_path_to_crate }}:{{ crate_name_sanitized }}", +{%- endif %} +{%- endfor %} + }, +{%- endfor %} +} + +# 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 = { +{%- for workspace_member in workspace.workspace_members %} +{%- if workspace_member %} + "{{ bazel_package_name }}/{{ workspace_member }}": { +{%- else %} + "{{ bazel_package_name }}": { +{%- endif %} +{%- for crate in crates %} +{%- if crate.is_proc_macro and workspace_member in crate.workspace_member_dev_dependents %} +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") %} + "{{ crate.pkg_name }}": "{{ crate.workspace_path_to_crate }}:{{ crate_name_sanitized }}", +{%- endif %} +{%- endfor %} + }, +{%- endfor %} +} + +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 \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/header.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/header.template new file mode 100644 index 0000000000..2b78032ca6 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/header.template @@ -0,0 +1,6 @@ +""" +@generated +cargo-raze generated Bazel file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/remote_crates_patch.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/remote_crates_patch.template new file mode 100644 index 0000000000..d960192e69 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/remote_crates_patch.template @@ -0,0 +1,31 @@ +{%- if crate.raze_settings.patches %} + patches = [ + {% for patch in crate.raze_settings.patches -%} + "{{patch}}", + {%- endfor %} + ], +{%- endif %} +{%- if crate.raze_settings.patch_args %} + patch_args = [ + {% for patch_arg in crate.raze_settings.patch_args -%} + "{{patch_arg}}", + {%- endfor %} + ], +{%- endif %} +{%- if crate.raze_settings.patch_cmds %} + patch_cmds = [ + {% for patch_cmd in crate.raze_settings.patch_cmds -%} + "{{patch_cmd}}", + {%- endfor %} + ], +{%- endif %} +{%- if crate.raze_settings.patch_cmds_win %} + patch_cmds_win = [ + {% for patch_cmd in crate.raze_settings.patch_cmds_win -%} + "{{patch_cmd}}", + {%- endfor %} + ], +{%- endif %} +{%- if crate.raze_settings.patch_tool %} + patch_tool = "{{crate.raze_settings.patch_tool}}", +{%- endif -%} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_binary.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_binary.template new file mode 100644 index 0000000000..f68d2d4c69 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_binary.template @@ -0,0 +1,29 @@ +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_{{ target_name_sanitized }}", +{% include "templates/partials/common_attrs.template" %} +{%- set deps = [] %} +{%- if crate.lib_target_name %}{# Binaries get an implicit dependency on their crate's lib #} + {%- set deps = deps | concat(with=":" ~ crate.lib_target_name | replace(from='-', to='_')) %} +{%- endif %} +{%- if crate.build_script_target %} + {%- set deps = deps | concat(with=":" ~ crate_name_sanitized ~ "_build_script") %} +{%- endif %} +{%- for dependency in crate.default_deps.dependencies %} + {%- set_global deps = deps | concat(with=dependency.buildable_target) %} +{%- endfor %} +{%- for dependency in crate.raze_settings.additional_deps %} + {%- set_global deps = deps | concat(with=dependency) %} +{%- endfor %} + # buildifier: leave-alone{# TODO: https://github.com/google/cargo-raze/issues/348 #} + deps = [ + {%- for dep in deps | sort %} + "{{ dep }}", + {%- endfor %} + ] + {%- if crate.targeted_deps %} + {%- include "templates/partials/targeted_dependencies.template" -%}, + {%- else -%}, + {%- endif %} +) \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_library.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_library.template new file mode 100644 index 0000000000..b91ae4a6a4 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/rust_library.template @@ -0,0 +1,35 @@ +{% if target_name_sanitized != crate_name_sanitized -%} +alias( + name = "{{ crate_name_sanitized }}", + actual = ":{{ target_name_sanitized }}", + tags = [ + "cargo-raze", + "manual", + ], +) + +{% endif -%} +rust_library( + name = "{{ target_name_sanitized }}", +{% include "templates/partials/common_attrs.template" %} +{%- set deps = [] %} +{%- if crate.build_script_target %} + {%- set deps = deps | concat(with=":" ~ crate_name_sanitized ~ "_build_script") %} +{%- endif %} +{%- for dependency in crate.default_deps.dependencies %} + {%- set_global deps = deps | concat(with=dependency.buildable_target) %} +{%- endfor %} +{%- for dependency in crate.raze_settings.additional_deps %} + {%- set_global deps = deps | concat(with=dependency) %} +{%- endfor %} + # buildifier: leave-alone{# TODO: https://github.com/google/cargo-raze/issues/348 #} + deps = [ + {%- for dep in deps | sort %} + "{{ dep }}", + {%- endfor %} + ] + {%- if crate.targeted_deps %} + {%- include "templates/partials/targeted_dependencies.template" -%}, + {%- else -%}, + {%- endif %} +) \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/partials/targeted_dependencies.template b/cargo/cargo_raze/impl/src/rendering/templates/partials/targeted_dependencies.template new file mode 100644 index 0000000000..17274d011d --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/partials/targeted_dependencies.template @@ -0,0 +1,14 @@ +{% for targeted_dep in crate.targeted_deps %} + selects.with_or({ + # {{ targeted_dep.target }} + ( +{%- for condition in targeted_dep.conditions %} + "{{ condition }}", +{%- endfor %} + ): [ +{%- for dependency in targeted_dep.deps.dependencies %} + "{{ dependency.buildable_target }}", +{%- endfor %} + ], + "//conditions:default": [], + }) +{%- endfor -%} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/remote_crates.bzl.template b/cargo/cargo_raze/impl/src/rendering/templates/remote_crates.bzl.template new file mode 100644 index 0000000000..884893f09d --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/remote_crates.bzl.template @@ -0,0 +1,44 @@ +{%- include "templates/partials/header.template" %} +{%- if is_remote_genmode %} +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 +{% if experimental_api %} +{% include "templates/partials/crates_macro.template" %} +{% endif %} +def {{workspace.gen_workspace_prefix}}_fetch_remote_crates(): +{%- if crates %} + """This function defines a collection of repos and should be called in a WORKSPACE file""" +{%- for crate in crates %} +{%- if crate.source_details.git_data %} + maybe( + new_git_repository, + name = "{{workspace.gen_workspace_prefix}}__{{crate.pkg_name | replace(from="-", to="_")}}__{{crate.pkg_version | slugify | replace(from="-", to="_")}}", + remote = "{{crate.source_details.git_data.remote}}", + commit = "{{crate.source_details.git_data.commit}}", + build_file = Label("{{workspace.workspace_path}}/remote:BUILD.{{crate.pkg_name}}-{{crate.pkg_version}}.bazel"), + init_submodules = True, + {%- include "templates/partials/remote_crates_patch.template" %} + ) +{%- else %} + maybe( + http_archive, + name = "{{workspace.gen_workspace_prefix}}__{{crate.pkg_name | replace(from="-", to="_")}}__{{crate.pkg_version | slugify | replace(from="-", to="_")}}", + url = "{{ crate.registry_url }}", + type = "tar.gz", +{%- if crate.sha256 %} + sha256 = "{{crate.sha256}}", +{%- endif %} + strip_prefix = "{{crate.pkg_name}}-{{crate.pkg_version}}", + {%- include "templates/partials/remote_crates_patch.template" %} + build_file = Label("{{workspace.workspace_path}}/remote:BUILD.{{crate.pkg_name}}-{{crate.pkg_version}}.bazel"), + ) +{%- endif %} +{% endfor %} +{%- else %} + """No crates were detected in the source Cargo.toml. This is a no-op""" + pass +{% endif %} +{%- else %} +{% include "templates/partials/crates_macro.template" %} +{% endif %} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/rendering/templates/workspace.BUILD.template b/cargo/cargo_raze/impl/src/rendering/templates/workspace.BUILD.template new file mode 100644 index 0000000000..5adafbaa92 --- /dev/null +++ b/cargo/cargo_raze/impl/src/rendering/templates/workspace.BUILD.template @@ -0,0 +1,38 @@ +{%- include "templates/partials/header.template" %} +package(default_visibility = ["//visibility:public"]) + +licenses([ + "notice", # See individual crates for specific licenses +]) +{%- if crates %} + +# Aliased targets +{%- for crate in crates %} +{%- if crate.is_workspace_member_dependency and crate.lib_target_name %} +{%- set crate_name_sanitized = crate.pkg_name | replace(from="-", to="_") %} +alias( + name = "{{crate_name_sanitized}}", + actual = "{{crate.workspace_path_to_crate}}:{{crate_name_sanitized}}", + tags = [ + "cargo-raze", + "manual", + ], +) +{% endif %} +{%- for aliased_target in crate.raze_settings.extra_aliased_targets %} +alias( + # Extra aliased target, from raze configuration + # N.B.: The exact form of this is subject to change. + name = "{{aliased_target}}", + actual = "{{crate.workspace_path_to_crate}}:{{aliased_target}}", + tags = [ + "cargo-raze", + "manual", + ], +) +{% endfor %} +{%- endfor %} +{%- else %} + +# No targets defined +{% endif %} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/settings.rs b/cargo/cargo_raze/impl/src/settings.rs new file mode 100644 index 0000000000..8996313edc --- /dev/null +++ b/cargo/cargo_raze/impl/src/settings.rs @@ -0,0 +1,933 @@ +// 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 crate::{ + error::RazeError, + metadata::{MetadataFetcher, DEFAULT_CRATE_INDEX_URL, DEFAULT_CRATE_REGISTRY_URL}, + util, +}; +use anyhow::{anyhow, Context, Result}; +use cargo_metadata::{Metadata, MetadataCommand, Package}; +use semver::VersionReq; +use serde::{Deserialize, Serialize}; +use std::{ + collections::HashMap, + hash::Hash, + path::{Path, PathBuf}, +}; + +pub type CrateSettingsPerVersion = HashMap; + +/// The configuration settings for `cargo-raze`, included in a projects Cargo metadata +#[derive(Debug, Clone, Deserialize)] +pub struct RazeSettings { + /// The path to write BUILD file outputs to. + /// + /// This may be a workspace-relative path (e.g. `//foo/bar`) or a path relative to the `Cargo.toml` file's directory + /// (e.g. if the Cargo metadata file is `//foo:Cargo.toml`, this could be `third_party` to put + /// outputs in `//foo/third_party`.) + pub workspace_path: String, + + /// The relative path within each workspace member directory where aliases the member's dependencies should be rendered. + /// + /// By default, a new directory will be created next to the `Cargo.toml` file named `cargo` for users to refer to them + /// as. For example, the toml file `//my/package:Cargo.toml` will have aliases rendered as something like + /// `//my/package/cargo:dependency`. Note that setting this value to `"."` will cause the BUILD file in the same package + /// as the Cargo.toml file to be overwritten. + #[serde(default = "default_package_aliases_dir")] + pub package_aliases_dir: String, + + /// If true, package alises will be rendered based on the functionality described by `package_aliases_dir`. + #[serde(default = "default_render_package_aliases")] + pub render_package_aliases: bool, + + /// The platform target to generate BUILD rules for. + /// + /// This comes in the form of a "triple", such as "x86_64-unknown-linux-gnu" + #[serde(default)] + pub target: Option, + + /// A list of targets to generate BUILD rules for. + /// + /// Each item comes in the form of a "triple", such as "x86_64-unknown-linux-gnu" + #[serde(default)] + pub targets: Option>, + + /// A list of binary dependencies. + #[serde(default)] + pub binary_deps: HashMap, + + /// Any crate-specific configuration. See CrateSettings for details. + #[serde(default)] + pub crates: HashMap, + + // TODO(acmcarther): Does this have a non-bazel analogue? + /// Prefix for generated Bazel workspaces (from workspace_rules) + /// + /// This is only useful with remote genmode. It prefixes the names of the workspaces for + /// dependencies (@PREFIX_crateName_crateVersion) as well as the name of the repository function + /// generated in crates.bzl (PREFIX_fetch_remote_crates()). + #[serde(default = "default_raze_settings_field_gen_workspace_prefix")] + pub gen_workspace_prefix: String, + + /// How to generate the dependencies. See GenMode for details. + #[serde(default = "default_raze_settings_field_genmode")] + pub genmode: GenMode, + + /// The name of the output BUILD files when `genmode == "Vendored"` + /// + /// Default: BUILD.bazel + #[serde(default = "default_raze_settings_field_output_buildfile_suffix")] + pub output_buildfile_suffix: String, + + /// Default value for per-crate gen_buildrs setting if it's not explicitly for a crate. + /// + /// See [crate::settings::CrateSettings::gen_buildrs] for more information. + #[serde(default = "default_raze_settings_field_gen_buildrs")] + pub default_gen_buildrs: bool, + + /// The default crates registry. + /// + /// The patterns `{crate}` and `{version}` will be used to fill + /// in the package's name (eg: rand) and version (eg: 0.7.1). + /// See https://doc.rust-lang.org/cargo/reference/registries.html#index-format + #[serde(default = "default_raze_settings_registry")] + pub registry: String, + + /// The index url to use for Binary dependencies + #[serde(default = "default_raze_settings_index_url")] + pub index_url: String, + + /// The name of the [rules_rust](https://github.com/bazelbuild/rules_rust) repository + /// used in the generated workspace. + #[serde(default = "default_raze_settings_rust_rules_workspace_name")] + pub rust_rules_workspace_name: String, + + /// The expected path relative to the `Cargo.toml` file where vendored sources can + /// be found. This should match the path passed to the `cargo vendor` command. eg: + /// `cargo vendor -q --versioned-dirs "cargo/vendor" + #[serde(default = "default_raze_settings_vendor_dir")] + pub vendor_dir: String, + + /** + * If true, an experimetnal API for accessing crates will be rendered into + * `crates.bzl` for both Remote and Vendored genmodes. + */ + #[serde(default = "default_raze_settings_experimental_api")] + pub experimental_api: bool, +} + +/// Override settings for individual crates (as part of `RazeSettings`). +#[derive(Debug, Clone, Deserialize, Serialize)] +pub struct CrateSettings { + /// Dependencies to be added to a crate. + /// + /// Importantly, the format of dependency references depends on the genmode. + /// Remote: @{gen_workspace_prefix}__{dep_name}__{dep_version_sanitized}/:{dep_name} + /// Vendored: //{workspace_path}/vendor/{dep_name}-{dep_version}:{dep_name} + /// + /// In addition, the added deps must be accessible from a remote workspace under Remote GenMode. + /// Usually, this means they _also_ need to be remote, but a "local" build path prefixed with + /// "@", in the form "@//something_local" may work. + #[serde(default)] + pub additional_deps: Vec, + + /// Dependencies to be removed from a crate, in the form "{dep-name}-{dep-version}" + /// + /// This is applied during Cargo analysis, so it uses Cargo-style labeling + #[serde(default)] + pub skipped_deps: Vec, + + /// Library targets that should be aliased in the root BUILD file. + /// + /// This is useful to facilitate using binary utility crates, such as bindgen, as part of genrules. + #[serde(default)] + pub extra_aliased_targets: Vec, + + /// Flags to be added to the crate compilation process, in the form "--flag". + #[serde(default)] + pub additional_flags: Vec, + + /// Environment variables to be added to the crate compilation process. + #[serde(default)] + pub additional_env: HashMap, + + /// Whether or not to generate the build script that goes with this crate. + /// + /// Many build scripts will not function, as they will still be built hermetically. However, build + /// scripts that merely generate files into OUT_DIR may be fully functional. + #[serde(default = "default_crate_settings_field_gen_buildrs")] + pub gen_buildrs: Option, + + // N.B. Build scripts are always provided all crate files for their `data` attr. + /// The verbatim `data` clause to be included for the generated build targets. + #[serde(default = "default_crate_settings_field_data_attr")] + pub data_attr: Option, + + /// A list of targets for the `data` attribute of a Rust target + #[serde(default)] + pub data_dependencies: Vec, + + /// The verbatim `compile_data` clause to be included for the generated build targets. + #[serde(default)] + pub compile_data_attr: Option, + + /// The `data` attribute for buildrs targets + #[serde(default)] + pub build_data_dependencies: Vec, + + /// Additional environment variables to add when running the build script. + #[serde(default)] + pub buildrs_additional_environment_variables: HashMap, + + /// Additional dependencies for buildrs targets. See `additional_deps` + #[serde(default)] + pub buildrs_additional_deps: Vec, + + /// The arguments given to the patch tool. + /// + /// Defaults to `-p0`, however `-p1` will usually be needed for patches generated by git. + /// + /// If multiple `-p` arguments are specified, the last one will take effect. + /// If arguments other than `-p` are specified, Bazel will fall back to use patch command line + /// tool instead of the Bazel-native patch implementation. + /// + /// When falling back to `patch` command line tool and `patch_tool` attribute is not specified, + /// `patch` will be used. + #[serde(default)] + pub patch_args: Vec, + + /// Sequence of Bash commands to be applied on Linux/Macos after patches are applied. + #[serde(default)] + pub patch_cmds: Vec, + + /// Sequence of Powershell commands to be applied on Windows after patches are applied. + /// + /// If this attribute is not set, patch_cmds will be executed on Windows, which requires Bash + /// binary to exist. + #[serde(default)] + pub patch_cmds_win: Vec, + + /// The `patch(1)` utility to use. + /// + /// If this is specified, Bazel will use the specifed patch tool instead of the Bazel-native patch + /// implementation. + #[serde(default)] + pub patch_tool: Option, + + /// A list of files that are to be applied as patches after extracting the archive. + /// + /// By default, it uses the Bazel-native patch implementation which doesn't support fuzz match and + /// binary patch, but Bazel will fall back to use patch command line tool if `patch_tool` + /// attribute is specified or there are arguments other than `-p` in `patch_args` attribute. + #[serde(default)] + pub patches: Vec, + + /// Path to a file to be included as part of the generated BUILD file. + /// + /// For example, some crates include non-Rust code typically built through a build.rs script. They + /// can be made compatible by manually writing appropriate Bazel targets, and including them into + /// the crate through a combination of additional_build_file and additional_deps. + /// + /// Note: This field should be a path to a file relative to the Cargo workspace root. For more + /// context, see https://doc.rust-lang.org/cargo/reference/workspaces.html#root-package + #[serde(default)] + pub additional_build_file: Option, +} + +/// Describes how dependencies should be managed in tree. +#[derive(Debug, Clone, Deserialize, PartialEq, Eq)] +pub enum GenMode { + /// This mode assumes that files are vendored (into vendor/), and generates BUILD files + /// accordingly + Vendored, + /// This mode assumes that files are not locally vendored, and generates a workspace-level + /// function that can bring them in. + Remote, + /// A representation of a GenMode that has not yet been specified + Unspecified, +} + +impl Default for CrateSettings { + fn default() -> Self { + Self { + additional_deps: Vec::new(), + skipped_deps: Vec::new(), + extra_aliased_targets: Vec::new(), + additional_flags: Vec::new(), + additional_env: HashMap::new(), + gen_buildrs: default_crate_settings_field_gen_buildrs(), + data_attr: default_crate_settings_field_data_attr(), + data_dependencies: Vec::new(), + compile_data_attr: None, + build_data_dependencies: Vec::new(), + buildrs_additional_deps: Vec::new(), + buildrs_additional_environment_variables: HashMap::new(), + patch_args: Vec::new(), + patch_cmds: Vec::new(), + patch_cmds_win: Vec::new(), + patch_tool: None, + patches: Vec::new(), + additional_build_file: None, + } + } +} + +fn default_raze_settings_field_gen_workspace_prefix() -> String { + "raze".to_owned() +} + +fn default_raze_settings_field_genmode() -> GenMode { + GenMode::Unspecified +} + +fn default_raze_settings_field_output_buildfile_suffix() -> String { + "BUILD.bazel".to_owned() +} + +fn default_raze_settings_field_gen_buildrs() -> bool { + true +} + +fn default_raze_settings_registry() -> String { + format!( + "{}/{}", + DEFAULT_CRATE_REGISTRY_URL, "api/v1/crates/{crate}/{version}/download" + ) +} + +fn default_raze_settings_index_url() -> String { + DEFAULT_CRATE_INDEX_URL.to_string() +} + +fn default_raze_settings_rust_rules_workspace_name() -> String { + "rules_rust".to_owned() +} + +fn default_raze_settings_vendor_dir() -> String { + "vendor".to_owned() +} + +fn default_raze_settings_experimental_api() -> bool { + false +} + +fn default_crate_settings_field_gen_buildrs() -> Option { + None +} + +fn default_crate_settings_field_data_attr() -> Option { + None +} + +fn default_package_aliases_dir() -> String { + "cargo".to_owned() +} + +fn default_render_package_aliases() -> bool { + true +} + +/// Formats a registry url to include the name and version fo the target package +pub fn format_registry_url(registry_url: &str, name: &str, version: &str) -> String { + registry_url + .replace("{crate}", name) + .replace("{version}", version) +} + +/// Check that the the `additional_build_file` represents a path to a file from the cargo workspace root +fn validate_crate_setting_additional_build_file( + additional_build_file: &Path, + cargo_workspace_root: &Path, +) -> Result<()> { + let additional_build_file = cargo_workspace_root.join(&additional_build_file); + if !additional_build_file.exists() { + return Err(anyhow!( + "File not found. `{}` should be a relative path from the cargo workspace root: {}", + additional_build_file.display(), + cargo_workspace_root.display() + )); + } + + Ok(()) +} + +/// Ensures crate settings associatd with the parsed [RazeSettings](crate::settings::RazeSettings) have valid crate settings +fn validate_crate_settings( + settings: &RazeSettings, + cargo_workspace_root: &Path, +) -> Result<(), RazeError> { + let mut errors = Vec::new(); + + for (crate_name, crate_settings) in settings.crates.iter() { + for (version, crate_settings) in crate_settings.iter() { + if crate_settings.additional_build_file.is_none() { + continue; + } + + let result = validate_crate_setting_additional_build_file( + // UNWRAP: Safe due to check above + crate_settings.additional_build_file.as_ref().unwrap(), + cargo_workspace_root, + ); + + if let Some(err) = result.err() { + errors.push(RazeError::Config { + field_path_opt: Some(format!( + "raze.crates.{}.{}.additional_build_file", + crate_name, + version.to_string() + )), + message: err.to_string(), + }); + } + } + } + + // Surface all errors + if !errors.is_empty() { + return Err(RazeError::Config { + field_path_opt: None, + message: format!("{:?}", errors), + }); + } + + Ok(()) +} + +/// Verifies that the provided settings make sense. +fn validate_settings( + settings: &mut RazeSettings, + cargo_workspace_path: &Path, +) -> Result<(), RazeError> { + if !settings.workspace_path.starts_with("//") { + return Err(RazeError::Config { + field_path_opt: Some("raze.workspace_path".to_owned()), + message: concat!( + "Path must start with \"//\". Paths into local repositories (such as ", + "@local//path) are currently unsupported." + ) + .to_owned(), + }); + } + + if settings.workspace_path != "//" && settings.workspace_path.ends_with('/') { + settings.workspace_path.pop(); + } + + if settings.genmode == GenMode::Unspecified { + eprintln!( + "WARNING: The [raze] setting `genmode` is unspecified. Not specifying `genmode` is \ + deprecated. Please explicitly set it to either \"Remote\" or \"Vendored\"" + ); + settings.genmode = GenMode::Vendored; + } + + validate_crate_settings(settings, cargo_workspace_path)?; + + Ok(()) +} + +/// The intermediate configuration settings for `cargo-raze`, included in a project's Cargo metadata +/// +/// Note that this struct should contain only `Option` and match all public fields of +/// [RazeSettings](crate::settings::RazeSettings) +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields)] +struct RawRazeSettings { + #[serde(default)] + pub workspace_path: Option, + #[serde(default)] + pub package_aliases_dir: Option, + #[serde(default)] + pub render_package_aliases: Option, + #[serde(default)] + pub target: Option, + #[serde(default)] + pub targets: Option>, + #[serde(default)] + pub binary_deps: HashMap, + #[serde(default)] + pub crates: HashMap, + #[serde(default)] + pub gen_workspace_prefix: Option, + #[serde(default)] + pub genmode: Option, + #[serde(default)] + pub output_buildfile_suffix: Option, + #[serde(default)] + pub default_gen_buildrs: Option, + #[serde(default)] + pub registry: Option, + #[serde(default)] + pub index_url: Option, + #[serde(default)] + pub rust_rules_workspace_name: Option, + #[serde(default)] + pub vendor_dir: Option, + #[serde(default)] + pub experimental_api: Option, +} + +impl RawRazeSettings { + /// Checks whether or not the settings have non-package specific settings specified + fn contains_primary_options(&self) -> bool { + self.workspace_path.is_some() + || self.package_aliases_dir.is_some() + || self.render_package_aliases.is_some() + || self.target.is_some() + || self.targets.is_some() + || self.gen_workspace_prefix.is_some() + || self.genmode.is_some() + || self.output_buildfile_suffix.is_some() + || self.default_gen_buildrs.is_some() + || self.registry.is_some() + || self.index_url.is_some() + || self.rust_rules_workspace_name.is_some() + || self.vendor_dir.is_some() + || self.experimental_api.is_some() + } + + fn print_notices_and_warnings(&self) { + if self.target.is_some() { + eprintln!( + "WARNING: `[*.raze.target]` is deprecated. Please update your project to use \ + `[*.raze.targets]`." + ); + } + } +} + +/// Grows a list with duplicate keys between two maps +fn extend_duplicates( + extended_list: &mut Vec, + main_map: &HashMap, + input_map: &HashMap, +) { + extended_list.extend( + input_map + .iter() + .filter_map(|(key, _value)| { + // Log the key if it exists in both the main and input maps + if main_map.contains_key(key) { + Some(key) + } else { + None + } + }) + .cloned() + .collect::>(), + ); +} + +/// Parse [RazeSettings](crate::settings::RazeSettings) from workspace metadata +fn parse_raze_settings_workspace( + metadata_value: &serde_json::value::Value, + metadata: &Metadata, +) -> Result { + RawRazeSettings::deserialize(metadata_value)?.print_notices_and_warnings(); + let mut settings = RazeSettings::deserialize(metadata_value)?; + + let workspace_packages: Vec<&Package> = metadata + .packages + .iter() + .filter(|pkg| metadata.workspace_members.contains(&pkg.id)) + .collect(); + + let mut duplicate_binary_deps = Vec::new(); + let mut duplicate_crate_settings = Vec::new(); + + for package in workspace_packages.iter() { + if let Some(pkg_value) = package.metadata.get("raze") { + let pkg_settings = RawRazeSettings::deserialize(pkg_value)?; + if pkg_settings.contains_primary_options() { + return Err(anyhow!( + "The package '{}' contains Primary raze settings, please move these to the \ + `[workspace.metadata.raze]`", + package.name + )); + } + + // Log duplicate binary dependencies + extend_duplicates( + &mut duplicate_binary_deps, + &settings.binary_deps, + &pkg_settings.binary_deps, + ); + + settings + .binary_deps + .extend(pkg_settings.binary_deps.into_iter()); + + // Log duplicate crate settings + extend_duplicates( + &mut duplicate_crate_settings, + &settings.crates, + &pkg_settings.crates, + ); + + settings.crates.extend(pkg_settings.crates.into_iter()); + } + } + + // Check for duplication errors + if !duplicate_binary_deps.is_empty() { + return Err(anyhow!( + "Duplicate `raze.binary_deps` values detected accross various crates: {:?}", + duplicate_binary_deps + )); + } + if !duplicate_crate_settings.is_empty() { + return Err(anyhow!( + "Duplicate `raze.crates.*` values detected accross various crates: {:?}", + duplicate_crate_settings + )); + } + + Ok(settings) +} + +/// Parse [RazeSettings](crate::settings::RazeSettings) from a project's root package's metadata +fn parse_raze_settings_root_package( + metadata_value: &serde_json::value::Value, + root_package: &Package, +) -> Result { + RawRazeSettings::deserialize(metadata_value)?.print_notices_and_warnings(); + RazeSettings::deserialize(metadata_value).with_context(|| { + format!( + "Failed to load raze settings from root package: {}", + root_package.name, + ) + }) +} + +/// Parse [RazeSettings](crate::settings::RazeSettings) from any workspace member's metadata +fn parse_raze_settings_any_package(metadata: &Metadata) -> Result { + let mut settings_packages = Vec::new(); + + for package in metadata.packages.iter() { + if let Some(pkg_value) = package.metadata.get("raze") { + let pkg_settings = RawRazeSettings::deserialize(pkg_value)?; + if pkg_settings.contains_primary_options() { + settings_packages.push(package); + } + } + } + + // There should only be one package with raze + if settings_packages.len() > 1 { + return Err(anyhow!( + "Multiple packages contain primary raze settings: {:?}", + settings_packages + .iter() + .map(|pkg| &pkg.name) + .collect::>() + )); + } + + // UNWRAP: Safe due to checks above + let settings_value = settings_packages[0].metadata.get("raze").unwrap(); + RawRazeSettings::deserialize(settings_value)?.print_notices_and_warnings(); + RazeSettings::deserialize(settings_value) + .with_context(|| format!("Failed to deserialize raze settings: {:?}", settings_value)) +} + +/// A struct only to deserialize a Cargo.toml to in search of the legacy syntax for [RazeSettings](crate::settings::RazeSettings) +#[derive(Debug, Clone, Deserialize)] +pub struct LegacyCargoToml { + pub raze: RazeSettings, +} + +/// Parse [RazeSettings](crate::settings::RazeSettings) from a Cargo.toml file using the legacy syntax `[raze]` +fn parse_raze_settings_legacy(metadata: &Metadata) -> Result { + let root_toml = metadata.workspace_root.join("Cargo.toml"); + let toml_contents = std::fs::read_to_string(&root_toml)?; + let data = toml::from_str::(&toml_contents).with_context(|| { + format!( + "Failed to read `[raze]` settings from {}", + root_toml.display() + ) + })?; + Ok(data.raze) +} + +/// Parses raze settings from the contents of a `Cargo.toml` file +fn parse_raze_settings(metadata: &Metadata) -> Result { + // Workspace takes precedence + let workspace_level_settigns = metadata.workspace_metadata.get("raze"); + if let Some(value) = workspace_level_settigns { + return parse_raze_settings_workspace(value, &metadata); + } + + // Root packages are the next priority + if let Some(root_package) = metadata.root_package() { + if let Some(value) = root_package.metadata.get("raze") { + return parse_raze_settings_root_package(value, root_package); + } + } + + // Attempt to load legacy settings but do not allow failures to propogate + if let Ok(settings) = parse_raze_settings_legacy(metadata) { + eprintln!( + "WARNING: The top-level `[raze]` key is deprecated. Please set `[workspace.metadata.raze]` \ + or `[package.metadata.raze]` instead." + ); + return Ok(settings); + } + + // Finally check any package for settings + parse_raze_settings_any_package(&metadata) +} + +/// A cargo command wrapper for gathering cargo metadata used to parse [RazeSettings](crate::settings::RazeSettings) +pub struct SettingsMetadataFetcher { + pub cargo_bin_path: PathBuf, +} + +impl Default for SettingsMetadataFetcher { + fn default() -> SettingsMetadataFetcher { + SettingsMetadataFetcher { + cargo_bin_path: util::cargo_bin_path(), + } + } +} + +impl MetadataFetcher for SettingsMetadataFetcher { + fn fetch_metadata(&self, working_dir: &Path, _include_deps: bool) -> Result { + // This fetch does not require network access. + MetadataCommand::new() + .cargo_path(&self.cargo_bin_path) + .no_deps() + .current_dir(working_dir) + .other_options(vec!["--offline".to_owned()]) + .exec() + .with_context(|| { + format!( + "Failed to fetch Metadata with `{}` from `{}`", + &self.cargo_bin_path.display(), + working_dir.display() + ) + }) + } +} + +/// Load settings from a given Cargo manifest +pub fn load_settings_from_manifest>( + cargo_toml_path: T, + cargo_bin_path: Option, +) -> Result { + // Get the path to the cargo binary from either an optional Cargo binary + // path or a fallback expected to be found on the system. + let bin_path: PathBuf = if let Some(path) = cargo_bin_path { + path.into() + } else { + util::cargo_bin_path() + }; + + // Create a MetadataFetcher + let fetcher = SettingsMetadataFetcher { + cargo_bin_path: bin_path, + }; + + let cargo_toml_dir = cargo_toml_path.as_ref().parent().ok_or_else(|| { + RazeError::Generic(format!( + "Failed to find parent directory for cargo toml file: {:?}", + cargo_toml_path.as_ref().display(), + )) + })?; + let metadata = { + let result = fetcher.fetch_metadata(cargo_toml_dir, false); + if result.is_err() { + return Err(RazeError::Generic(result.err().unwrap().to_string())); + } + // UNWRAP: safe due to check above + result.unwrap() + }; + + load_settings(&metadata) +} + +/// Load settings used to configure the functionality of Cargo Raze +pub fn load_settings(metadata: &Metadata) -> Result { + let mut settings = { + let result = parse_raze_settings(metadata); + if result.is_err() { + return Err(RazeError::Generic(result.err().unwrap().to_string())); + } + // UNWRAP: safe due to check above + result.unwrap() + }; + + validate_settings(&mut settings, &metadata.workspace_root)?; + + Ok(settings) +} + +#[cfg(test)] +pub mod tests { + use crate::testing::{make_workspace, named_toml_contents}; + + use super::*; + use indoc::{formatdoc, indoc}; + use tempfile::TempDir; + + pub fn dummy_raze_settings() -> RazeSettings { + RazeSettings { + workspace_path: "//cargo".to_owned(), + package_aliases_dir: "cargo".to_owned(), + render_package_aliases: default_render_package_aliases(), + target: Some("x86_64-unknown-linux-gnu".to_owned()), + targets: None, + crates: HashMap::new(), + gen_workspace_prefix: "raze_test".to_owned(), + genmode: GenMode::Remote, + output_buildfile_suffix: "BUILD".to_owned(), + default_gen_buildrs: default_raze_settings_field_gen_buildrs(), + binary_deps: HashMap::new(), + registry: default_raze_settings_registry(), + index_url: default_raze_settings_index_url(), + rust_rules_workspace_name: default_raze_settings_rust_rules_workspace_name(), + vendor_dir: default_raze_settings_vendor_dir(), + experimental_api: default_raze_settings_experimental_api(), + } + } + + #[test] + fn test_loading_package_settings() { + let toml_contents = indoc! { r#" + [package] + name = "load_settings_test" + version = "0.1.0" + + [lib] + path = "not_a_file.rs" + + [dependencies] + actix-web = "2.0.0" + actix-rt = "1.0.0" + + [target.x86_64-apple-ios.dependencies] + [target.x86_64-linux-android.dependencies] + bitflags = "1.2.1" + + [package.metadata.raze] + workspace_path = "//workspace_path/raze" + genmode = "Remote" + + [package.metadata.raze.binary_deps] + wasm-bindgen-cli = "0.2.68" + "# }; + + let temp_workspace_dir = TempDir::new() + .ok() + .expect("Failed to set up temporary directory"); + let cargo_toml_path = temp_workspace_dir.path().join("Cargo.toml"); + std::fs::write(&cargo_toml_path, &toml_contents).unwrap(); + + let settings = load_settings_from_manifest(cargo_toml_path, None).unwrap(); + assert!(settings.binary_deps.len() > 0); + } + + #[test] + fn test_loading_settings_legacy() { + let toml_contents = indoc! { r#" + [package] + name = "load_settings_test" + version = "0.1.0" + + [lib] + path = "not_a_file.rs" + + [dependencies] + actix-web = "2.0.0" + actix-rt = "1.0.0" + + [target.x86_64-apple-ios.dependencies] + [target.x86_64-linux-android.dependencies] + bitflags = "1.2.1" + + [raze] + workspace_path = "//workspace_path/raze" + genmode = "Remote" + + [raze.binary_deps] + wasm-bindgen-cli = "0.2.68" + "# }; + + let temp_workspace_dir = TempDir::new() + .ok() + .expect("Failed to set up temporary directory"); + let cargo_toml_path = temp_workspace_dir.path().join("Cargo.toml"); + std::fs::write(&cargo_toml_path, &toml_contents).unwrap(); + + let settings = load_settings_from_manifest(cargo_toml_path, /*cargo_bin_path=*/ None).unwrap(); + assert!(settings.binary_deps.len() > 0); + } + + #[test] + fn test_loading_workspace_settings() { + let toml_contents = indoc! { r#" + [workspace] + members = [ + "crate_a", + "crate_b", + ] + + [workspace.metadata.raze] + workspace_path = "//workspace_path/raze" + genmode = "Remote" + "# }; + + let dir = make_workspace(toml_contents, None); + for member in vec!["crate_a", "crate_b"].iter() { + let crate_toml = dir.as_ref().join(member).join("Cargo.toml"); + std::fs::create_dir_all(crate_toml.parent().unwrap()).unwrap(); + let toml_contents = formatdoc! { r#" + {named_contents} + + [package.metadata.raze.crates.settings-test-{name}.'*'] + additional_flags = [ + "--cfg={name}" + ] + "#, named_contents = named_toml_contents(member, "0.0.1"), name = member }; + std::fs::write(crate_toml, toml_contents).unwrap(); + } + + let settings = load_settings_from_manifest(dir.as_ref().join("Cargo.toml"), None).unwrap(); + assert_eq!(&settings.workspace_path, "//workspace_path/raze"); + assert_eq!(settings.genmode, GenMode::Remote); + assert_eq!(settings.crates.len(), 2); + } + + #[test] + fn test_formatting_registry_url() { + assert_eq!( + format_registry_url( + &default_raze_settings_registry(), + &"foo".to_string(), + &"0.0.1".to_string() + ), + "https://crates.io/api/v1/crates/foo/0.0.1/download" + ); + + assert_eq!( + format_registry_url( + &"https://registry.io/{crate}/{crate}/{version}/{version}".to_string(), + &"foo".to_string(), + &"0.0.1".to_string() + ), + "https://registry.io/foo/foo/0.0.1/0.0.1" + ); + } +} diff --git a/cargo/cargo_raze/impl/src/testing.rs b/cargo/cargo_raze/impl/src/testing.rs new file mode 100644 index 0000000000..3a08fb1056 --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing.rs @@ -0,0 +1,321 @@ +// 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 cargo_metadata::Metadata; +use flate2::Compression; +use httpmock::{Method::GET, MockRef, MockServer}; +use indoc::{formatdoc, indoc}; +use serde_json::json; +use tempfile::TempDir; + +use std::{ + collections::HashMap, + fs::{create_dir_all, write, File}, + io::Write, + path::Path, +}; + +use crate::{ + metadata::{ + tests::{dummy_raze_metadata_fetcher, DummyCargoMetadataFetcher}, + RazeMetadata, + }, + util::package_ident, +}; + +/// A module containing constants for each metadata template +pub mod templates { + pub const BASIC_METADATA: &str = "basic_metadata.json.template"; + pub const DUMMY_BINARY_DEPENDENCY_REMOTE: &str = "dummy_binary_dependency_remote.json.template"; + pub const DUMMY_MODIFIED_METADATA: &str = "dummy_modified_metadata.json.template"; + pub const DUMMY_WORKSPACE_MEMBERS_METADATA: &str = + "dummy_workspace_members_metadata.json.template"; + pub const PLAN_BUILD_PRODUCES_ALIASED_DEPENDENCIES: &str = + "plan_build_produces_aliased_dependencies.json.template"; + pub const PLAN_BUILD_PRODUCES_BUILD_PROC_MACRO_DEPENDENCIES: &str = + "plan_build_produces_build_proc_macro_dependencies.json.template"; + pub const PLAN_BUILD_PRODUCES_PROC_MACRO_DEPENDENCIES: &str = + "plan_build_produces_proc_macro_dependencies.json.template"; + pub const SEMVER_MATCHING: &str = "semver_matching.json.template"; + pub const SUBPLAN_PRODUCES_CRATE_ROOT_WITH_FORWARD_SLASH: &str = + "subplan_produces_crate_root_with_forward_slash.json.template"; +} + +pub const fn basic_toml_contents() -> &'static str { + indoc! { r#" + [package] + name = "test" + version = "0.0.1" + + [lib] + path = "not_a_file.rs" + "# } +} + +pub const fn basic_lock_contents() -> &'static str { + indoc! { r#" + [[package]] + name = "test" + version = "0.0.1" + dependencies = [ + ] + "# } +} + +pub const fn advanced_toml_contents() -> &'static str { + indoc! { r#" + [package] + name = "cargo-raze-test" + version = "0.1.0" + + [lib] + path = "not_a_file.rs" + + [dependencies] + proc-macro2 = "1.0.24" + "# } +} + +pub const fn advanced_lock_contents() -> &'static str { + indoc! { r#" + # This file is automatically @generated by Cargo. + # It is not intended for manual editing. + [[package]] + name = "cargo-raze-test" + version = "0.1.0" + dependencies = [ + "proc-macro2", + ] + + [[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 = "unicode-xid" + version = "0.2.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" + "# } +} + +pub fn named_toml_contents(name: &str, version: &str) -> String { + formatdoc! { r#" + [package] + name = "{name}" + version = "{version}" + + [lib] + path = "not_a_file.rs" + + "#, name = name, version = version } +} + +pub fn named_lock_contents(name: &str, version: &str) -> String { + formatdoc! { r#" + [[package]] + name = "{name}" + version = "{version}" + + dependencies = [ + ] + + "#, name = name, version = version } +} + +pub fn make_workspace(toml_file: &str, lock_file: Option<&str>) -> TempDir { + let dir = TempDir::new().unwrap(); + // Create Cargo.toml + { + let path = dir.path().join("Cargo.toml"); + let mut toml = File::create(&path).unwrap(); + toml.write_all(toml_file.as_bytes()).unwrap(); + } + + if let Some(lock_file) = lock_file { + let path = dir.path().join("Cargo.lock"); + let mut lock = File::create(&path).unwrap(); + lock.write_all(lock_file.as_bytes()).unwrap(); + } + + File::create(dir.as_ref().join("WORKSPACE.bazel")).unwrap(); + dir +} + +pub fn make_basic_workspace() -> TempDir { + make_workspace(basic_toml_contents(), Some(basic_lock_contents())) +} + +pub fn make_workspace_with_dependency() -> TempDir { + make_workspace(advanced_toml_contents(), Some(advanced_lock_contents())) +} + +/// A helper stuct for mocking a crates.io remote crate endpoint +pub struct MockRemoteCrateInfo<'http_mock_server> { + // A directory of mock data to pull via a mocked endpoint + pub data_dir: TempDir, + // mocked endpoints + pub endpoints: Vec>, +} + +/// Configures the given mock_server (representing a crates.io remote) to return +/// mock responses for the given crate and version . +pub fn mock_remote_crate<'server>( + name: &str, + version: &str, + mock_server: &'server MockServer, +) -> MockRemoteCrateInfo<'server> { + // Crate info mock response + let mock_metadata = mock_server.mock(|when, then| { + when.method(GET).path(format!("/api/v1/crates/{}", name)); + // Note that `crate[versions]` is an arbitrary value that must only match a `versions[id]` + then.status(200).json_body(json!({ + "crate": { + "id": name, + "name": name, + "versions": [ + 123456 + ], + }, + "versions": [ + { + "id": 123456, + "crate": name, + "num": version, + "dl_path": format!("/api/v1/crates/{}/{}/download", name, version), + } + ], + })); + }); + + // Create archive contents + let dir = tempfile::TempDir::new().unwrap(); + let tar_path = dir.as_ref().join(format!("{}.tar.gz", name)); + { + create_dir_all(dir.as_ref().join("archive")).unwrap(); + File::create(dir.as_ref().join("archive/test")).unwrap(); + write( + dir.as_ref().join("archive/Cargo.toml"), + named_toml_contents(name, version), + ) + .unwrap(); + write( + dir.as_ref().join("archive/Cargo.lock"), + named_lock_contents(name, version), + ) + .unwrap(); + + let tar_gz: File = File::create(&tar_path).unwrap(); + let enc = flate2::write::GzEncoder::new(tar_gz, Compression::default()); + let mut tar = tar::Builder::new(enc); + tar + .append_dir_all(package_ident(name, version), dir.as_ref().join("archive")) + .unwrap(); + } + + // Create download mock response + let mock_download = mock_server.mock(|when, then| { + when + .method(GET) + .path(format!("/api/v1/crates/{}/{}/download", name, version)); + then + .status(200) + .header("content-type", "application/x-tar") + .body_from_file(&tar_path.display().to_string()); + }); + + MockRemoteCrateInfo { + data_dir: dir, + endpoints: vec![mock_metadata, mock_download], + } +} + +/// A helper macro for passing a `crates` to `mock_crate_index` +pub fn to_index_crates_map(list: Vec<(&str, &str)>) -> HashMap { + list + .iter() + .map(|(k, v)| (k.to_string(), v.to_string())) + .collect() +} + +/// Create a mock cache in a temporary direcotry that contains a set of given crates +pub fn mock_crate_index( + crates: &HashMap, + mock_dir: Option<&Path>, +) -> Option { + let index_url_mock_dir = TempDir::new().unwrap(); + + // If an existing directory is provided, use that instead + let index_dir = match mock_dir { + Some(dir) => dir, + None => index_url_mock_dir.as_ref(), + }; + + for (name, version) in crates { + let crate_index_path = if name.len() < 4 { + index_dir.join(name.len().to_string()).join(name) + } else { + index_dir + .join(&name.as_str()[0..2]) + .join(&name.as_str()[2..4]) + .join(name) + }; + + create_dir_all(crate_index_path.parent().unwrap()).unwrap(); + write( + crate_index_path, + json!({ + "name": name, + "vers": version, + "deps": [], + "cksum": "8a648e87a02fa31d9d9a3b7c76dbfee469402fbb4af3ae98b36c099d8a82bb18", + "features": {}, + "yanked": false, + "links": null + }) + .to_string(), + ) + .unwrap(); + } + + // Return the generated TempDir in the event that `mock_dir` was not provided + if mock_dir.is_none() { + Some(index_url_mock_dir) + } else { + None + } +} + +/// Generate RazeMetadata from a cargo metadata template +pub fn template_raze_metadata(template_path: &str) -> RazeMetadata { + let dir = make_basic_workspace(); + let (mut fetcher, _server, _index_dir) = dummy_raze_metadata_fetcher(); + + // Always render basic metadata + fetcher.set_metadata_fetcher(Box::new(DummyCargoMetadataFetcher { + metadata_template: Some(template_path.to_string()), + })); + + fetcher.fetch_metadata(dir.as_ref(), None, None).unwrap() +} + +/// Load a cargo metadata template +pub fn template_metadata(template_path: &str) -> Metadata { + template_raze_metadata(template_path).metadata +} diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/basic_metadata.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/basic_metadata.json.template new file mode 100644 index 0000000000..50e484509b --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/basic_metadata.json.template @@ -0,0 +1,66 @@ +{# Cargo.toml +[package] +name = "test" +version = "0.0.1" + +[lib] +path = "not_a_file.rs" +#} +{ + "packages": [ + { + "name": "test", + "version": "0.0.1", + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "test", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "test 0.0.1 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "dependencies": [], + "deps": [], + "features": [] + } + ], + "root": "test 0.0.1 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_binary_dependency_remote.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_binary_dependency_remote.json.template new file mode 100644 index 0000000000..93a48aa042 --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_binary_dependency_remote.json.template @@ -0,0 +1,159 @@ +{# Cargo.toml +bench = [] +bin = [] +example = [] +test = [] +[badges.maintenance] +status = "none" + +[build-dependencies] + +[dependencies] + +[dev-dependencies] + +[features] + +[lib] +bench = true +crate-type = [] +doc = true +doctest = true +harness = true +path = "not_a_file.rs" +plugin = false +proc-macro = false +required-features = [] +test = true + +[package] +authors = [] +autobenches = true +autobins = true +autoexamples = true +autotests = true +categories = [] +edition = "2015" +keywords = [] +name = "test" +publish = true +version = "0.0.1" + +[patch] + +[profile] + +[target] + +[workspace] +default-members = [] +exclude = [] +members = ["some-binary-crate-3.3.3"] + +#} +{# some-binary-crate-3.3.3/Cargo.toml +[package] +name = "some-binary-crate" +version = "3.3.3" + +[lib] +path = "not_a_file.rs" + +#} +{ + "packages": [ + { + "name": "some-binary-crate", + "version": "3.3.3", + "id": "some-binary-crate 3.3.3 (path+file://{{ mock_workspace }}/some-binary-crate-3.3.3)", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "some-binary-crate", + "src_path": "{{ mock_workspace }}/some-binary-crate-3.3.3/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/some-binary-crate-3.3.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "test", + "version": "0.0.1", + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [], + "targets": [ + { + "kind": [], + "crate_types": [], + "name": "test", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "some-binary-crate 3.3.3 (path+file://{{ mock_workspace }}/some-binary-crate-3.3.3)", + "test 0.0.1 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "some-binary-crate 3.3.3 (path+file://{{ mock_workspace }}/some-binary-crate-3.3.3)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "dependencies": [], + "deps": [], + "features": [] + } + ], + "root": "test 0.0.1 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_modified_metadata.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_modified_metadata.json.template new file mode 100644 index 0000000000..551ee2c87f --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_modified_metadata.json.template @@ -0,0 +1,134 @@ +{# Cargo.toml +[package] +name = "test" +version = "0.0.1" + +[lib] +path = "not_a_file.rs" + +# Note: this does not resolve to anything. See note below +[dependencies] +test_dep = "0.0.1" +#} +{# +This Metadata has been hand crafted to represent a basic metadata dump where +the package has one additional resolved dependency. +#} +{ + "packages": [ + { + "name": "test", + "version": "0.0.1", + "authors": [], + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "source": null, + "description": null, + "dependencies": [ + { + "name": "test_dep", + "source": null, + "req": "0.0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "license": null, + "license_file": null, + "targets": [ + { + "name": "test", + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "required-features": [], + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "homepage": null, + "documentation": null, + "edition": "2015", + "links": null, + "publish": null + }, + { + "name": "test_dep", + "version": "0.0.1", + "authors": [], + "id": "test_dep_id", + "source": null, + "description": null, + "dependencies": [], + "license": null, + "license_file": null, + "targets": [ + { + "name": "test", + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "required-features": [], + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "homepage": null, + "documentation": null, + "edition": "2015", + "links": null, + "publish": null + } + ], + "workspace_members": [ + "test 0.0.1 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "test 0.0.1 (path+file://{{ mock_workspace }})", + "deps": [], + "dependencies": [ + "test_dep_id" + ], + "features": [] + }, + { + "id": "test_dep_id", + "deps": [], + "dependencies": [], + "features": [] + } + ], + "root": "test 0.0.1 (path+file://{{ mock_workspace }})" + }, + "workspace_root": "{{ mock_workspace }}", + "target_directory": "{{ mock_workspace }}/target", + "version": 1 +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_workspace_members_metadata.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_workspace_members_metadata.json.template new file mode 100644 index 0000000000..9d82ef1aed --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/dummy_workspace_members_metadata.json.template @@ -0,0 +1,312 @@ +{# This metadata came from a workspace with 3 `Cargo.toml` files. #} +{# Cargo.toml + +[workspace] +members = [ + "lib_a", + "lib_b", +] + +#} +{# lib_a/Cargo.toml + +[package] +name = "lib_a" +version = "0.0.1" + +[lib] +path = "src/lib.rs" + +[dependencies] +unicode-xid = "0.2.1" + +#} +{# lib_b/Cargo.toml + +[package] +name = "lib_b" +version = "0.0.1" + +[lib] +path = "src/lib.rs" + +[dependencies] +unicode-xid = "0.1.0" + +#} +{ + "packages": [ + { + "name": "lib_a", + "version": "0.0.1", + "id": "lib_a 0.0.1 (path+file://{{ mock_workspace }}/lib_a)", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lib_a", + "src_path": "{{ mock_workspace }}/lib_a/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/lib_a/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "lib_b", + "version": "0.0.1", + "id": "lib_b 0.0.1 (path+file://{{ mock_workspace }}/lib_b)", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lib_b", + "src_path": "{{ mock_workspace }}/lib_b/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/lib_b/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.1.0", + "id": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.1.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.1.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.2.1", + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive_tests", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/tests/exhaustive_tests.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "lib_a 0.0.1 (path+file://{{ mock_workspace }}/lib_a)", + "lib_b 0.0.1 (path+file://{{ mock_workspace }}/lib_b)" + ], + "resolve": { + "nodes": [ + { + "id": "lib_a 0.0.1 (path+file://{{ mock_workspace }}/lib_a)", + "dependencies": [ + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "lib_b 0.0.1 (path+file://{{ mock_workspace }}/lib_b)", + "dependencies": [ + "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + } + ], + "root": null + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_aliased_dependencies.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_aliased_dependencies.json.template new file mode 100644 index 0000000000..4f45f51f00 --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_aliased_dependencies.json.template @@ -0,0 +1,626 @@ +{# Note that `{{version}}` is part of the metadata and must be escaped #} +{# Cargo.toml +[package] +name = "build_produces_aliased_dependencies" +version = "0.1.0" + +[lib] +path = "not_a_file.rs" + +[dependencies] +cargo-raze-alias-test = "0.1" +#} +{ + "packages": [ + { + "name": "build_produces_aliased_dependencies", + "version": "0.1.0", + "id": "build_produces_aliased_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "cargo-raze-alias-test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "build_produces_aliased_dependencies", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doc": true, + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "build_produces_aliased_dependencies", + "src_path": "{{ mock_workspace }}/src/main.rs", + "edition": "2015", + "doc": true, + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "homepage": null, + "documentation": null, + "edition": "2015", + "links": null + }, + { + "name": "cargo-raze-alias-test", + "version": "0.1.0", + "id": "cargo-raze-alias-test 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Test crate for cargo-raze's alias test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": "old_log", + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cargo-raze-alias-test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cargo-raze-alias-test-0.1.0/src/lib.rs", + "edition": "2018", + "doc": true, + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cargo-raze-alias-test-0.1.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Wyatt Calandro " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "homepage": null, + "documentation": null, + "edition": "2018", + "links": null + }, + { + "name": "cfg-if", + "version": "0.1.10", + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cfg-if", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs", + "edition": "2018", + "doc": true, + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "xcrate", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/tests/xcrate.rs", + "edition": "2018", + "doc": false, + "doctest": false, + "test": true + } + ], + "features": { + "rustc-dep-of-std": [ + "core", + "compiler_builtins" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/cfg-if", + "homepage": "https://github.com/alexcrichton/cfg-if", + "documentation": "https://docs.rs/cfg-if", + "edition": "2018", + "links": null + }, + { + "name": "log", + "version": "0.3.9", + "id": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.3.9/src/lib.rs", + "edition": "2015", + "doc": true, + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "use_std" + ], + "max_level_debug": [ + "log/max_level_debug" + ], + "max_level_error": [ + "log/max_level_error" + ], + "max_level_info": [ + "log/max_level_info" + ], + "max_level_off": [ + "log/max_level_off" + ], + "max_level_trace": [ + "log/max_level_trace" + ], + "max_level_warn": [ + "log/max_level_warn" + ], + "nightly": [], + "release_max_level_debug": [ + "log/release_max_level_debug" + ], + "release_max_level_error": [ + "log/release_max_level_error" + ], + "release_max_level_info": [ + "log/release_max_level_info" + ], + "release_max_level_off": [ + "log/release_max_level_off" + ], + "release_max_level_trace": [ + "log/release_max_level_trace" + ], + "release_max_level_warn": [ + "log/release_max_level_warn" + ], + "use_std": [ + "log/std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.3.9/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "homepage": "https://github.com/rust-lang/log", + "documentation": "https://doc.rust-lang.org/log", + "edition": "2015", + "links": null + }, + { + "name": "log", + "version": "0.4.13", + "id": "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "test" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.13/src/lib.rs", + "edition": "2015", + "doc": true, + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "filters", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.13/tests/filters.rs", + "edition": "2015", + "doc": false, + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "macros", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.13/tests/macros.rs", + "edition": "2015", + "doc": false, + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.13/build.rs", + "edition": "2015", + "doc": false, + "doctest": false, + "test": false + } + ], + "features": { + "kv_unstable": [], + "kv_unstable_std": [ + "kv_unstable", + "std" + ], + "kv_unstable_sval": [ + "kv_unstable", + "sval/fmt" + ], + "max_level_debug": [], + "max_level_error": [], + "max_level_info": [], + "max_level_off": [], + "max_level_trace": [], + "max_level_warn": [], + "release_max_level_debug": [], + "release_max_level_error": [], + "release_max_level_info": [], + "release_max_level_off": [], + "release_max_level_trace": [], + "release_max_level_warn": [], + "std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.13/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "std", + "serde", + "kv_unstable_sval" + ] + } + } + }, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [ + "logging" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "homepage": null, + "documentation": "https://docs.rs/log", + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "build_produces_aliased_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "build_produces_aliased_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "dependencies": [ + "cargo-raze-alias-test 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cargo_raze_alias_test", + "pkg": "cargo-raze-alias-test 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "cargo-raze-alias-test 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "old_log", + "pkg": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "log", + "pkg": "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "log", + "pkg": "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "use_std" + ] + }, + { + "id": "log 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "std" + ] + } + ], + "root": "build_produces_aliased_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_build_proc_macro_dependencies.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_build_proc_macro_dependencies.json.template new file mode 100644 index 0000000000..5d167e34db --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_build_proc_macro_dependencies.json.template @@ -0,0 +1,5400 @@ +{# Cargo.toml +[package] +name = "build_produces_build_proc_macro_dependencies" +version = "0.1.0" + +[lib] +path = "not_a_file.rs" + +[dependencies] +markup5ever = "=0.10.0" +#} +{ + "packages": [ + { + "name": "build_produces_build_proc_macro_dependencies", + "version": "0.1.0", + "id": "build_produces_build_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "markup5ever", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.10.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "build_produces_build_proc_macro_dependencies", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "cfg-if", + "version": "0.1.10", + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cfg-if", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "xcrate", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/tests/xcrate.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "rustc-dep-of-std": [ + "core", + "compiler_builtins" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/cfg-if", + "edition": "2018", + "links": null + }, + { + "name": "futf", + "version": "0.1.4", + "id": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "Handling fragments of UTF-8", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "mac", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "new_debug_unreachable", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "futf", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/futf-0.1.4/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/futf-0.1.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Keegan McAllister " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/futf", + "edition": "2015", + "links": null + }, + { + "name": "getrandom", + "version": "0.1.15", + "id": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A small cross-platform library for retrieving random data from system source", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "wasi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_os = \"wasi\")", + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.64", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": "cfg(unix)", + "registry": null + }, + { + "name": "stdweb", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.18", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + }, + { + "name": "wasm-bindgen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.29", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + }, + { + "name": "wasm-bindgen-test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "getrandom", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "common", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/tests/common.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "mod", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/benches/mod.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "dummy": [], + "rustc-dep-of-std": [ + "compiler_builtins", + "core" + ], + "std": [], + "test-in-browser": [ + "wasm-bindgen" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "os", + "no-std" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-random/getrandom", + "edition": "2018", + "links": null + }, + { + "name": "itoa", + "version": "0.4.6", + "id": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Fast functions for printing integer primitives to an io::Write", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "itoa", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "i128": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "value-formatting" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/itoa", + "edition": "2015", + "links": null + }, + { + "name": "lazy_static", + "version": "1.4.0", + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro for declaring lazily evaluated statics in Rust.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "spin", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "doc-comment", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lazy_static", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "no_std", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/no_std.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "spin_no_std": [ + "spin" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Marvin Löbel " + ], + "categories": [ + "no-std", + "rust-patterns", + "memory-management" + ], + "keywords": [ + "macro", + "lazy", + "static" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang-nursery/lazy-static.rs", + "edition": "2015", + "links": null + }, + { + "name": "libc", + "version": "0.2.80", + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Raw FFI bindings to platform libraries like libc.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "libc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "const_fn", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/tests/const_fn.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "align": [], + "const-extern-fn": [], + "default": [ + "std" + ], + "extra_traits": [], + "rustc-dep-of-std": [ + "align", + "rustc-std-workspace-core" + ], + "std": [], + "use_std": [ + "std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "external-ffi-bindings", + "no-std", + "os" + ], + "keywords": [ + "libc", + "ffi", + "bindings", + "operating", + "system" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/libc", + "edition": "2015", + "links": null + }, + { + "name": "log", + "version": "0.4.11", + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "test" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "filters", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/filters.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "macros", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/macros.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "kv_unstable": [], + "kv_unstable_sval": [ + "kv_unstable", + "sval/fmt" + ], + "max_level_debug": [], + "max_level_error": [], + "max_level_info": [], + "max_level_off": [], + "max_level_trace": [], + "max_level_warn": [], + "release_max_level_debug": [], + "release_max_level_error": [], + "release_max_level_info": [], + "release_max_level_off": [], + "release_max_level_trace": [], + "release_max_level_warn": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "std", + "serde", + "kv_unstable_sval" + ] + } + } + }, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [ + "logging" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "edition": "2015", + "links": null + }, + { + "name": "mac", + "version": "0.1.1", + "id": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A collection of great and ubiqutitous macros.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "mac", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/mac-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/mac-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Jonathan Reem " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/reem/rust-mac.git", + "edition": "2015", + "links": null + }, + { + "name": "markup5ever", + "version": "0.10.0", + "id": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "Common code for xml5ever and html5ever", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "string_cache", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tendril", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_codegen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_json", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "string_cache_codegen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.1", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "markup5ever", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The html5ever Project Developers" + ], + "categories": [ + "parser-implementations", + "web-programming" + ], + "keywords": [], + "readme": null, + "repository": "https://github.com/servo/html5ever", + "edition": "2018", + "links": null + }, + { + "name": "new_debug_unreachable", + "version": "1.0.4", + "id": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "debug_unreachable", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "simple", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/examples/simple.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "check", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/tests/check.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Matt Brubeck ", + "Jonathan Reem " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/mbrubeck/rust-debug-unreachable", + "edition": "2018", + "links": null + }, + { + "name": "phf", + "version": "0.8.0", + "id": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Runtime support for perfect hash function data structures", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_macros", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proc-macro-hack", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "macros": [ + "phf_macros", + "proc-macro-hack" + ], + "std": [ + "phf_shared/std" + ], + "unicase": [ + "phf_shared/unicase" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf-0.8.0/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "macros" + ] + } + } + }, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_codegen", + "version": "0.8.0", + "id": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Codegen library for PHF types", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_generator", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_codegen", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_codegen-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_codegen-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_generator", + "version": "0.8.0", + "id": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "PHF generation logic", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "criterion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "small_rng" + ], + "target": null, + "registry": null + }, + { + "name": "criterion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_generator", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "gen_hash_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/src/bin/gen_hash_test.rs", + "edition": "2018", + "required-features": [ + "criterion" + ], + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "benches", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/benches/benches.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_shared", + "version": "0.8.0", + "id": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Support code shared by PHF libraries", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "siphasher", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicase", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.4.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_shared", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_shared-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_shared-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "ppv-lite86", + "version": "0.2.10", + "id": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Implementation of the crypto-simd API for x86", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ppv-lite86", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ppv-lite86-0.2.10/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "no_simd": [], + "simd": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ppv-lite86-0.2.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The CryptoCorrosion Contributors" + ], + "categories": [ + "cryptography", + "no-std" + ], + "keywords": [ + "crypto", + "simd", + "x86" + ], + "readme": null, + "repository": "https://github.com/cryptocorrosion/cryptocorrosion", + "edition": "2018", + "links": null + }, + { + "name": "precomputed-hash", + "version": "0.1.1", + "id": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A library intending to be a base dependency to expose a precomputed hash", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "precomputed-hash", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/precomputed-hash-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/precomputed-hash-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Emilio Cobos Álvarez " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/emilio/precomputed-hash", + "edition": "2015", + "links": null + }, + { + "name": "proc-macro2", + "version": "1.0.24", + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "proc-macro2", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "features", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/features.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_fmt", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test_fmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "comments", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/comments.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "marker", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/marker.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "proc-macro" + ], + "nightly": [], + "proc-macro": [], + "span-locations": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "rustc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "rustdoc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "span-locations" + ] + } + }, + "publish": null, + "authors": [ + "Alex Crichton ", + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "macros" + ], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/proc-macro2", + "edition": "2018", + "links": null + }, + { + "name": "quote", + "version": "1.0.7", + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Quasi-quoting macro quote!(...)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "quote", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "compiletest", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/compiletest.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "proc-macro" + ], + "proc-macro": [ + "proc-macro2/proc-macro" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "syn" + ], + "readme": "README.md", + "repository": "https://github.com/dtolnay/quote", + "edition": "2018", + "links": null + }, + { + "name": "rand", + "version": "0.7.3", + "id": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Random number generators and other randomness functionality.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "getrandom", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": null, + "rename": "getrandom_package", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "packed_simd", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "into_bits" + ], + "target": null, + "registry": null + }, + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_pcg", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_hc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_pcg", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_chacha", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": "cfg(not(target_os = \"emscripten\"))", + "registry": null + }, + { + "name": "rand_hc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_os = \"emscripten\")", + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.22", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": "cfg(unix)", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "monte-carlo", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/examples/monte-carlo.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "monty-hall", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/examples/monty-hall.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "weighted", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/weighted.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "misc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/misc.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "seq", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/seq.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "generators", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/generators.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [ + "rand_core/alloc" + ], + "default": [ + "std" + ], + "getrandom": [ + "getrandom_package", + "rand_core/getrandom" + ], + "nightly": [ + "simd_support" + ], + "serde1": [], + "simd_support": [ + "packed_simd" + ], + "small_rng": [ + "rand_pcg" + ], + "std": [ + "rand_core/std", + "rand_chacha/std", + "alloc", + "getrandom", + "libc" + ], + "stdweb": [ + "getrandom_package/stdweb" + ], + "wasm-bindgen": [ + "getrandom_package/wasm-bindgen" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true + } + } + }, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_chacha", + "version": "0.2.2", + "id": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "ChaCha random number generator\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "ppv-lite86", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.6", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [ + "simd" + ], + "target": null, + "registry": null + }, + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_chacha", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_chacha-0.2.2/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std", + "simd" + ], + "simd": [], + "std": [ + "ppv-lite86/std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_chacha-0.2.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers", + "The CryptoCorrosion Contributors" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "chacha" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_core", + "version": "0.5.1", + "id": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Core random number generator traits and tools for implementation.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "getrandom", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_core", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_core-0.5.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "alloc": [], + "serde1": [ + "serde" + ], + "std": [ + "alloc", + "getrandom", + "getrandom/std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_core-0.5.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_hc", + "version": "0.2.0", + "id": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "HC128 random number generator\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_hc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_hc-0.2.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_hc-0.2.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "hc128" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_pcg", + "version": "0.2.1", + "id": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Selected PCG random number generators\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + }, + { + "name": "bincode", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.1.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_pcg", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lcg64xsh32", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/lcg64xsh32.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lcg128xsl64", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/lcg128xsl64.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "mcg128xsl64", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/mcg128xsl64.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "serde1": [ + "serde" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "pcg" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "ryu", + "version": "1.0.5", + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0 OR BSL-1.0", + "license_file": null, + "description": "Fast floating point to string conversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "no-panic", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "num_cpus", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.8", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_xorshift", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ryu", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "upstream_benchmark", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/examples/upstream_benchmark.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_table_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_table_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "common_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/common_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2d_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2d_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/exhaustive.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "f2s_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/f2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2f_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2f_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/benches/bench.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "small": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/ryu", + "edition": "2018", + "links": null + }, + { + "name": "serde", + "version": "1.0.117", + "id": "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A generic serialization/deserialization framework", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=1.0.117", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "serde", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.117/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.117/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [], + "default": [ + "std" + ], + "derive": [ + "serde_derive" + ], + "rc": [], + "std": [], + "unstable": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.117/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "derive", + "rc" + ] + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [ + "encoding" + ], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "serde_derive", + "version": "1.0.117", + "id": "serde_derive 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "syn", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.33", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "visit" + ], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "proc-macro" + ], + "crate_types": [ + "proc-macro" + ], + "name": "serde_derive", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.117/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.117/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [], + "deserialize_in_place": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.117/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "serde_json", + "version": "1.0.59", + "id": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A JSON serialization file format", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "indexmap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.5", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "itoa", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ryu", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.100", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "automod", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_bytes", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.11", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_stacker", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "serde_json", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [ + "serde/alloc" + ], + "arbitrary_precision": [], + "default": [ + "std" + ], + "float_roundtrip": [], + "preserve_order": [ + "indexmap" + ], + "raw_value": [], + "std": [ + "serde/std" + ], + "unbounded_depth": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "raw_value", + "unbounded_depth" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "raw_value" + ] + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [ + "encoding" + ], + "keywords": [ + "json", + "serde", + "serialization" + ], + "readme": "README.md", + "repository": "https://github.com/serde-rs/json", + "edition": "2018", + "links": null + }, + { + "name": "siphasher", + "version": "0.3.3", + "id": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + }, + { + "name": "serde_json", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "siphasher", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/siphasher-0.3.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "serde_no_std": [ + "serde/alloc" + ], + "serde_std": [ + "std", + "serde/std" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/siphasher-0.3.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Frank Denis " + ], + "categories": [ + "algorithms", + "cryptography" + ], + "keywords": [ + "crypto", + "hash", + "siphash" + ], + "readme": "README.md", + "repository": "https://github.com/jedisct1/rust-siphash", + "edition": "2015", + "links": null + }, + { + "name": "string_cache", + "version": "0.8.1", + "id": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "A string interning library for Rust, developed as part of the Servo project.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "new_debug_unreachable", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "precomputed-hash", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "string_cache", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "simple", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/examples/simple.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "small-stack", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/tests/small-stack.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "serde_support" + ], + "serde_support": [ + "serde" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Servo Project Developers" + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/string-cache", + "edition": "2018", + "links": null + }, + { + "name": "string_cache_codegen", + "version": "0.5.1", + "id": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "A codegen library for string-cache, developed as part of the Servo project.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_generator", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "string_cache_codegen", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache_codegen-0.5.1/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache_codegen-0.5.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Servo Project Developers" + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/servo/string-cache", + "edition": "2018", + "links": null + }, + { + "name": "syn", + "version": "1.0.48", + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Parser for Rust source code", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.23", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "anyhow", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "flate2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "insta", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rayon", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ref-cast", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "reqwest", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.10", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "blocking" + ], + "target": null, + "registry": null + }, + { + "name": "syn-test-suite", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tar", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "termcolor", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "walkdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "syn", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_should_parse", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_should_parse.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_visibility", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_visibility.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_stmt", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_stmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_round_trip", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_round_trip.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_size", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_size.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_shebang", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_shebang.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_pat", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_pat.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_receiver", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_receiver.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_precedence", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_precedence.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_lit", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_lit.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_stream", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_stream.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_grouping", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_grouping.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ident", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ident.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_iterators", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_iterators.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_buffer", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_buffer.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_asyncness", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_asyncness.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_token_trees", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_token_trees.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ty", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ty.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "zzz_stable", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/zzz_stable.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_meta", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_meta.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_expr", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_expr.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_item", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_item.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_path", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_path.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_derive_input", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_derive_input.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_generics", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_generics.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_attribute", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_attribute.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "rust", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/rust.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "file", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/file.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "clone-impls": [], + "default": [ + "derive", + "parsing", + "printing", + "clone-impls", + "proc-macro" + ], + "derive": [], + "extra-traits": [], + "fold": [], + "full": [], + "parsing": [], + "printing": [ + "quote" + ], + "proc-macro": [ + "proc-macro2/proc-macro", + "quote/proc-macro" + ], + "test": [ + "syn-test-suite/all-features" + ], + "visit": [], + "visit-mut": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true, + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "full", + "visit", + "visit-mut", + "fold", + "extra-traits" + ] + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/syn", + "edition": "2018", + "links": null + }, + { + "name": "tendril", + "version": "0.4.1", + "id": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Compact buffer/string type for zero-copy parsing", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "encoding", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "encoding_rs", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.12", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "futf", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "mac", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "utf-8", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "tendril", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "fuzz", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/examples/fuzz.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "bench": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Keegan McAllister ", + "Simon Sapin ", + "Chris Morgan " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/tendril", + "edition": "2015", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.2.1", + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive_tests", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/tests/exhaustive_tests.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + }, + { + "name": "utf-8", + "version": "0.7.5", + "id": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Incremental, zero-copy UTF-8 decoding with error handling", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "utf8", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "unit", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/tests/unit.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "from_utf8_lossy", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/benches/from_utf8_lossy.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Simon Sapin " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/SimonSapin/rust-utf8", + "edition": "2015", + "links": null + }, + { + "name": "wasi", + "version": "0.9.0+wasi-snapshot-preview1", + "id": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT", + "license_file": null, + "description": "Experimental WASI API bindings for Rust", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-alloc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "wasi", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/wasi-0.9.0+wasi-snapshot-preview1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "rustc-dep-of-std": [ + "compiler_builtins", + "core", + "rustc-std-workspace-alloc" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/wasi-0.9.0+wasi-snapshot-preview1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Cranelift Project Developers" + ], + "categories": [ + "no-std", + "wasm" + ], + "keywords": [ + "webassembly", + "wasm" + ], + "readme": "README.md", + "repository": "https://github.com/bytecodealliance/wasi", + "edition": "2018", + "links": null + } + ], + "workspace_members": [ + "build_produces_build_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "build_produces_build_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "dependencies": [ + "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "markup5ever", + "pkg": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "mac", + "pkg": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "debug_unreachable", + "pkg": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(unix)" + } + ] + }, + { + "name": "wasi", + "pkg": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"wasi\")" + } + ] + } + ], + "features": [ + "std" + ] + }, + { + "id": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "log", + "pkg": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf", + "pkg": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_codegen", + "pkg": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde_derive", + "pkg": "serde_derive 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde_json", + "pkg": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "string_cache", + "pkg": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "string_cache_codegen", + "pkg": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "tendril", + "pkg": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_generator", + "pkg": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand", + "pkg": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "siphasher", + "pkg": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "simd", + "std" + ] + }, + { + "id": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "getrandom_package", + "pkg": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(unix)" + } + ] + }, + { + "name": "rand_chacha", + "pkg": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(not(target_os = \"emscripten\"))" + } + ] + }, + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand_hc", + "pkg": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"emscripten\")" + } + ] + }, + { + "name": "rand_pcg", + "pkg": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "alloc", + "default", + "getrandom", + "getrandom_package", + "libc", + "rand_pcg", + "small_rng", + "std" + ] + }, + { + "id": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "ppv_lite86", + "pkg": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "std" + ] + }, + { + "id": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "getrandom", + "pkg": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "alloc", + "getrandom", + "std" + ] + }, + { + "id": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "serde_derive 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "syn", + "pkg": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default" + ] + }, + { + "id": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "itoa", + "pkg": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "ryu", + "pkg": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "debug_unreachable", + "pkg": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "precomputed_hash", + "pkg": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.117 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "serde", + "serde_support" + ] + }, + { + "id": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_generator", + "pkg": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "clone-impls", + "default", + "derive", + "parsing", + "printing", + "proc-macro", + "quote", + "visit" + ] + }, + { + "id": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "futf", + "pkg": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "mac", + "pkg": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "utf8", + "pkg": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + } + ], + "root": "build_produces_build_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_proc_macro_dependencies.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_proc_macro_dependencies.json.template new file mode 100644 index 0000000000..9245e82741 --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/plan_build_produces_proc_macro_dependencies.json.template @@ -0,0 +1,1475 @@ +{# Cargo.toml +[package] +name = "build_produces_proc_macro_dependencies" +version = "0.1.0" + +[lib] +path = "not_a_file.rs" + +[dependencies] +serde = { version = "=1.0.112", features = ["derive"] } +#} +{ + "packages": [ + { + "name": "build_produces_proc_macro_dependencies", + "version": "0.1.0", + "id": "build_produces_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=1.0.112", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "build_produces_proc_macro_dependencies", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "proc-macro2", + "version": "1.0.24", + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "proc-macro2", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "features", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/features.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_fmt", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test_fmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "comments", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/comments.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "marker", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/marker.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "proc-macro" + ], + "nightly": [], + "proc-macro": [], + "span-locations": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "rustc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "rustdoc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "span-locations" + ] + } + }, + "publish": null, + "authors": [ + "Alex Crichton ", + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "macros" + ], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/proc-macro2", + "edition": "2018", + "links": null + }, + { + "name": "quote", + "version": "1.0.7", + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Quasi-quoting macro quote!(...)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "quote", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "compiletest", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/compiletest.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "proc-macro" + ], + "proc-macro": [ + "proc-macro2/proc-macro" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "syn" + ], + "readme": "README.md", + "repository": "https://github.com/dtolnay/quote", + "edition": "2018", + "links": null + }, + { + "name": "serde", + "version": "1.0.112", + "id": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A generic serialization/deserialization framework", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=1.0.112", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "serde", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [], + "default": [ + "std" + ], + "derive": [ + "serde_derive" + ], + "rc": [], + "std": [], + "unstable": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "derive", + "rc" + ] + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [ + "encoding" + ], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "serde_derive", + "version": "1.0.112", + "id": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "syn", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "visit" + ], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "proc-macro" + ], + "crate_types": [ + "proc-macro" + ], + "name": "serde_derive", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.112/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "default": [], + "deserialize_in_place": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.112/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "syn", + "version": "1.0.48", + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Parser for Rust source code", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.23", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "anyhow", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "flate2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "insta", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rayon", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ref-cast", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "reqwest", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.10", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "blocking" + ], + "target": null, + "registry": null + }, + { + "name": "syn-test-suite", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tar", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "termcolor", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "walkdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "syn", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_should_parse", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_should_parse.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_visibility", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_visibility.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_stmt", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_stmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_round_trip", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_round_trip.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_size", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_size.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_shebang", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_shebang.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_pat", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_pat.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_receiver", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_receiver.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_precedence", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_precedence.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_lit", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_lit.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_stream", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_stream.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_grouping", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_grouping.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ident", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ident.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_iterators", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_iterators.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_buffer", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_buffer.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_asyncness", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_asyncness.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_token_trees", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_token_trees.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ty", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ty.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "zzz_stable", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/zzz_stable.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_meta", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_meta.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_expr", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_expr.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_item", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_item.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_path", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_path.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_derive_input", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_derive_input.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_generics", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_generics.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_attribute", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_attribute.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "rust", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/rust.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "file", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/file.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "clone-impls": [], + "default": [ + "derive", + "parsing", + "printing", + "clone-impls", + "proc-macro" + ], + "derive": [], + "extra-traits": [], + "fold": [], + "full": [], + "parsing": [], + "printing": [ + "quote" + ], + "proc-macro": [ + "proc-macro2/proc-macro", + "quote/proc-macro" + ], + "test": [ + "syn-test-suite/all-features" + ], + "visit": [], + "visit-mut": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true, + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "full", + "visit", + "visit-mut", + "fold", + "extra-traits" + ] + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/syn", + "edition": "2018", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.2.1", + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive_tests", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/tests/exhaustive_tests.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "build_produces_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "build_produces_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})", + "dependencies": [ + "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "serde", + "pkg": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "serde_derive", + "pkg": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "derive", + "serde_derive", + "std" + ] + }, + { + "id": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "syn", + "pkg": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default" + ] + }, + { + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "clone-impls", + "default", + "derive", + "parsing", + "printing", + "proc-macro", + "quote", + "visit" + ] + }, + { + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + } + ], + "root": "build_produces_proc_macro_dependencies 0.1.0 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/semver_matching.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/semver_matching.json.template new file mode 100644 index 0000000000..dd3b1eff89 --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/semver_matching.json.template @@ -0,0 +1,8599 @@ +{# Note that `{{version}}` is part of the metadata and must be escaped #} +{# Cargo.toml +[package] +name = "semver_toml" +version = "0.1.0" + +[lib] +path = "not_a_file.rs" + +[dependencies] +# This has no settings +anyhow = "1.0" + +openssl-sys = "=0.9.24" +openssl = "=0.10.2" +unicase = "=2.1" +bindgen = "=0.32" +clang-sys = "=0.21.1" + +# The following are negative tests aka test they dont match +lexical-core = "0.7.4" + +[package.metadata.raze] +workspace_path = "//cargo" +genmode = "Remote" + +# All these examples are basically from the readme and "handling unusual crates: +# They are adapted to handle the variety of semver patterns +# In reality, you probably want to express many patterns more generally + +# Test bare versions +# AKA: `==0.9.24` +[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", +] + +# Test `^` range +# AKA: `>=0.10.0 < 0.11.0-0` +[package.metadata.raze.crates.openssl.'^0.10'] +additional_flags = [ + # Vendored openssl is 1.0.2m + "--cfg=ossl102", + "--cfg=version=102", + "--cfg=ossl10x", +] + +# Test `*` or globs +# AKA: `>=0.21.0 < 0.22.0-0` +[package.metadata.raze.crates.clang-sys.'0.21.*'] +gen_buildrs = true + +# Test `~` range +# AKA: `>=2.0.0 < 3.0.0-0` +[package.metadata.raze.crates.unicase.'~2'] +additional_flags = [ + # Rustc is 1.15, enable all optional settings + "--cfg=__unicase__iter_cmp", + "--cfg=__unicase__defauler_hasher", +] + +# Test `*` full glob +# AKA: Get out of my way raze and just give me this for everything +[package.metadata.raze.crates.bindgen.'*'] +gen_buildrs = true # needed to build bindgen +extra_aliased_targets = [ + "cargo_bin_bindgen" +] + +# This should not match unicase, and should not error +[package.metadata.raze.crates.unicase.'2.6.0'] +additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" +] + +[package.metadata.raze.crates.lexical-core.'~0.6'] +additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" +] + +[package.metadata.raze.crates.lexical-core.'^0.6'] +additional_flags = [ + "--cfg=SHOULD_NOT_MATCH" +] + +#} +{ + "packages": [ + { + "name": "aho-corasick", + "version": "0.6.10", + "id": "aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Unlicense/MIT", + "license_file": null, + "description": "Fast multiple substring searching with finite state machines.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "memchr", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "csv", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "docopt", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "memmap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "aho_corasick", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.6.10/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "aho-corasick-dot", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.6.10/src/main.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "dict-search", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.6.10/examples/dict-search.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.6.10/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.6.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Andrew Gallant " + ], + "categories": [], + "keywords": [ + "string", + "search", + "text", + "aho", + "corasick" + ], + "readme": "README.md", + "repository": "https://github.com/BurntSushi/aho-corasick", + "edition": "2015", + "links": null + }, + { + "name": "ansi_term", + "version": "0.11.0", + "id": "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Library for ANSI terminal colours and styles (bold, underline)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "winapi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "errhandlingapi", + "consoleapi", + "processenv" + ], + "target": "cfg(target_os = \"windows\")", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ansi_term", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "colours", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ansi_term-0.11.0/examples/colours.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ansi_term-0.11.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "ogham@bsago.me", + "Ryan Scheel (Havvy) ", + "Josh Triplett " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "anyhow", + "version": "1.0.34", + "id": "anyhow 1.0.34 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Flexible concrete Error type built on std::error::Error", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "futures", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "thiserror", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "anyhow", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_source", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_source.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_convert", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_convert.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_backtrace", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_backtrace.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_fmt", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_fmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_macros", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_macros.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "compiletest", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/compiletest.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_chain", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_chain.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_autotrait", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_autotrait.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_downcast", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_downcast.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_context", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_context.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_repr", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_repr.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_boxed", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/tests/test_boxed.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/anyhow-1.0.34/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "rustdoc-args": [ + "--cfg", + "doc_cfg" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "rust-patterns" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/anyhow", + "edition": "2018", + "links": null + }, + { + "name": "arrayvec", + "version": "0.5.2", + "id": "arrayvec 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "bencher", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "matches", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "arrayvec", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "serde", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/tests/serde.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "tests", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/tests/tests.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "extend", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/benches/extend.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "arraystring", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/benches/arraystring.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "array-sizes-129-255": [], + "array-sizes-33-128": [], + "default": [ + "std" + ], + "std": [], + "unstable-const-fn": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/arrayvec-0.5.2/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "serde" + ] + } + }, + "release": { + "no-dev-version": true, + "tag-name": "{{ '{{version}}' }}" + } + }, + "publish": null, + "authors": [ + "bluss" + ], + "categories": [ + "data-structures", + "no-std" + ], + "keywords": [ + "stack", + "vector", + "array", + "data-structure", + "no_std" + ], + "readme": "README.md", + "repository": "https://github.com/bluss/arrayvec", + "edition": "2018", + "links": null + }, + { + "name": "atty", + "version": "0.2.14", + "id": "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A simple interface for querying atty", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "hermit-abi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.6", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_os = \"hermit\")", + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": "cfg(unix)", + "registry": null + }, + { + "name": "winapi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "consoleapi", + "processenv", + "minwinbase", + "minwindef", + "winbase" + ], + "target": "cfg(windows)", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "atty", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/atty-0.2.14/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "atty", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/atty-0.2.14/examples/atty.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/atty-0.2.14/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "softprops " + ], + "categories": [], + "keywords": [ + "terminal", + "tty", + "isatty" + ], + "readme": "README.md", + "repository": "https://github.com/softprops/atty", + "edition": "2015", + "links": null + }, + { + "name": "bindgen", + "version": "0.32.3", + "id": "bindgen 0.32.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "BSD-3-Clause", + "license_file": null, + "description": "Automatically generates Rust FFI bindings to C and C++ libraries.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cexpr", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "clang-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.21.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "runtime", + "clang_3_9" + ], + "target": null, + "registry": null + }, + { + "name": "clap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "env_logger", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "peeking_take_while", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "which", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "clap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "diff", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "shlex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "bindgen", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bindgen-0.32.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "bindgen", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bindgen-0.32.3/src/main.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bindgen-0.32.3/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "logging" + ], + "logging": [ + "env_logger", + "log" + ], + "static": [], + "testing_only_docs": [], + "testing_only_extra_assertions": [], + "testing_only_libclang_3_8": [], + "testing_only_libclang_3_9": [], + "testing_only_libclang_4": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bindgen-0.32.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Jyun-Yan You ", + "Emilio Cobos Álvarez ", + "Nick Fitzgerald ", + "The Servo project developers" + ], + "categories": [ + "external-ffi-bindings", + "development-tools::ffi" + ], + "keywords": [ + "bindings", + "ffi", + "code-generation" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang-nursery/rust-bindgen", + "edition": "2015", + "links": null + }, + { + "name": "bitflags", + "version": "1.2.1", + "id": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro to generate structures which behave like bitflags.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "bitflags", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bitflags-1.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bitflags-1.2.1/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [], + "example_generated": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/bitflags-1.2.1/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "example_generated" + ] + } + } + }, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "no-std" + ], + "keywords": [ + "bit", + "bitmask", + "bitflags", + "flags" + ], + "readme": "README.md", + "repository": "https://github.com/bitflags/bitflags", + "edition": "2015", + "links": null + }, + { + "name": "cc", + "version": "1.0.65", + "id": "cc 1.0.65 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "jobserver", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.16", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tempfile", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cc", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "gcc-shim", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/src/bin/gcc-shim.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "cxxflags", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/tests/cxxflags.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "cflags", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/tests/cflags.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "cc_env", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/tests/cc_env.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "parallel": [ + "jobserver" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cc-1.0.65/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [ + "development-tools::build-utils" + ], + "keywords": [ + "build-dependencies" + ], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/cc-rs", + "edition": "2018", + "links": null + }, + { + "name": "cexpr", + "version": "0.2.3", + "id": "cexpr 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0/MIT", + "license_file": null, + "description": "A C expression parser and evaluator", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "nom", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "verbose-errors" + ], + "target": null, + "registry": null + }, + { + "name": "clang-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.11.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cexpr", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cexpr-0.2.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "clang", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cexpr-0.2.3/tests/clang.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cexpr-0.2.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Jethro Beekman " + ], + "categories": [], + "keywords": [ + "C", + "expression", + "parser" + ], + "readme": null, + "repository": "https://github.com/jethrogb/rust-cexpr", + "edition": "2015", + "links": null + }, + { + "name": "cfg-if", + "version": "0.1.10", + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cfg-if", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "xcrate", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/tests/xcrate.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "rustc-dep-of-std": [ + "core", + "compiler_builtins" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/cfg-if", + "edition": "2018", + "links": null + }, + { + "name": "clang-sys", + "version": "0.21.1", + "id": "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0", + "license_file": null, + "description": "Rust bindings for libclang.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "clippy", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "0.0.*", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "glob", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.11", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.14", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "libloading", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "clippy", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "0.0.*", + "kind": "build", + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "glob", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.11", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "clang-sys", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clang-sys-0.21.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lib", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clang-sys-0.21.1/tests/lib.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clang-sys-0.21.1/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "clang_3_5": [], + "clang_3_6": [ + "gte_clang_3_6" + ], + "clang_3_7": [ + "gte_clang_3_6", + "gte_clang_3_7" + ], + "clang_3_8": [ + "gte_clang_3_6", + "gte_clang_3_7", + "gte_clang_3_8" + ], + "clang_3_9": [ + "gte_clang_3_6", + "gte_clang_3_7", + "gte_clang_3_8", + "gte_clang_3_9" + ], + "clang_4_0": [ + "gte_clang_3_6", + "gte_clang_3_7", + "gte_clang_3_8", + "gte_clang_3_9", + "gte_clang_4_0" + ], + "clang_5_0": [ + "gte_clang_3_6", + "gte_clang_3_7", + "gte_clang_3_8", + "gte_clang_3_9", + "gte_clang_4_0", + "gte_clang_5_0" + ], + "gte_clang_3_6": [], + "gte_clang_3_7": [], + "gte_clang_3_8": [], + "gte_clang_3_9": [], + "gte_clang_4_0": [], + "gte_clang_5_0": [], + "runtime": [ + "libloading" + ], + "static": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clang-sys-0.21.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Kyle Mayes " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/KyleMayes/clang-sys", + "edition": "2015", + "links": "clang" + }, + { + "name": "clap", + "version": "2.33.3", + "id": "clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A simple to use, efficient, and full-featured Command Line Argument Parser\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "atty", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "bitflags", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "clippy", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "~0.0.166", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "strsim", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "term_size", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "textwrap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.11.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicode-width", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "vec_map", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "yaml-rust", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.5", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "version-sync", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ansi_term", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.11", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": "cfg(not(windows))", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "clap", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clap-2.33.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "color": [ + "ansi_term", + "atty" + ], + "debug": [], + "default": [ + "suggestions", + "color", + "vec_map" + ], + "doc": [ + "yaml" + ], + "lints": [ + "clippy" + ], + "nightly": [], + "no_cargo": [], + "suggestions": [ + "strsim" + ], + "unstable": [], + "wrap_help": [ + "term_size", + "textwrap/term_size" + ], + "yaml": [ + "yaml-rust" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/clap-2.33.3/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "doc" + ] + } + } + }, + "publish": null, + "authors": [ + "Kevin K. " + ], + "categories": [ + "command-line-interface" + ], + "keywords": [ + "argument", + "cli", + "arg", + "parser", + "parse" + ], + "readme": "README.md", + "repository": "https://github.com/clap-rs/clap", + "edition": "2015", + "links": null + }, + { + "name": "env_logger", + "version": "0.4.3", + "id": "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A logging implementation for `log` which is configured via an environment\nvariable.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "env_logger", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/env_logger-0.4.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "regexp_filter", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/env_logger-0.4.3/tests/regexp_filter.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "regex" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/env_logger-0.4.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [], + "readme": null, + "repository": "https://github.com/rust-lang/log", + "edition": "2015", + "links": null + }, + { + "name": "foreign-types", + "version": "0.3.2", + "id": "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A framework for Rust wrappers over C APIs", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "foreign-types-shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "foreign-types", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/foreign-types-0.3.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/foreign-types-0.3.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/sfackler/foreign-types", + "edition": "2015", + "links": null + }, + { + "name": "foreign-types-shared", + "version": "0.1.1", + "id": "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "An internal crate used by foreign-types", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "foreign-types-shared", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/foreign-types-shared-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/foreign-types-shared-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/foreign-types", + "edition": "2015", + "links": null + }, + { + "name": "glob", + "version": "0.2.11", + "id": "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Support for matching file paths against Unix shell style patterns.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "tempdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "glob", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/glob-0.2.11/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "glob-std", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/glob-0.2.11/tests/glob-std.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/glob-0.2.11/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-lang/glob", + "edition": "2015", + "links": null + }, + { + "name": "hermit-abi", + "version": "0.1.17", + "id": "hermit-abi 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "hermit-abi is small interface to call functions from the unikernel RustyHermit.\nIt is used to build the target `x86_64-unknown-hermit`.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.51", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "hermit-abi", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/hermit-abi-0.1.17/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [], + "docs": [], + "rustc-dep-of-std": [ + "core", + "compiler_builtins/rustc-dep-of-std", + "libc/rustc-dep-of-std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/hermit-abi-0.1.17/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "default-target": "x86_64-unknown-hermit", + "features": [ + "docs" + ] + } + } + }, + "publish": null, + "authors": [ + "Stefan Lankes" + ], + "categories": [ + "os" + ], + "keywords": [ + "unikernel", + "libos" + ], + "readme": "README.md", + "repository": "https://github.com/hermitcore/libhermit-rs", + "edition": "2018", + "links": null + }, + { + "name": "kernel32-sys", + "version": "0.2.2", + "id": "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Contains function definitions for the Windows API library kernel32. See winapi for types and constants.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "winapi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winapi-build", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "kernel32", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/kernel32-sys-0.2.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/kernel32-sys-0.2.2/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/kernel32-sys-0.2.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [], + "keywords": [ + "windows", + "ffi", + "win32" + ], + "readme": "README.md", + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + }, + { + "name": "lazy_static", + "version": "1.4.0", + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro for declaring lazily evaluated statics in Rust.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "spin", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "doc-comment", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lazy_static", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "no_std", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/no_std.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "spin_no_std": [ + "spin" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Marvin Löbel " + ], + "categories": [ + "no-std", + "rust-patterns", + "memory-management" + ], + "keywords": [ + "macro", + "lazy", + "static" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang-nursery/lazy-static.rs", + "edition": "2015", + "links": null + }, + { + "name": "lexical-core", + "version": "0.7.4", + "id": "lexical-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Lexical, to- and from-string conversion routines.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "arrayvec", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "array-sizes-33-128" + ], + "target": null, + "registry": null + }, + { + "name": "bitflags", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dtoa", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ryu", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "static_assertions", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "approx", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proptest", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lexical-core", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lexical-core-0.7.4/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lexical-core-0.7.4/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "correct": [ + "arrayvec", + "static_assertions", + "table" + ], + "default": [ + "correct", + "ryu", + "std" + ], + "format": [ + "static_assertions" + ], + "grisu3": [ + "dtoa" + ], + "noinline": [], + "radix": [], + "rounding": [], + "std": [], + "table": [], + "trim_floats": [], + "unchecked_index": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lexical-core-0.7.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Huszagh " + ], + "categories": [ + "parsing", + "encoding", + "no-std", + "value-formatting" + ], + "keywords": [ + "parsing", + "lexical", + "encoding", + "no_std" + ], + "readme": "README.md", + "repository": "https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core", + "edition": "2018", + "links": null + }, + { + "name": "libc", + "version": "0.2.80", + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Raw FFI bindings to platform libraries like libc.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "libc", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "const_fn", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/tests/const_fn.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "align": [], + "const-extern-fn": [], + "default": [ + "std" + ], + "extra_traits": [], + "rustc-dep-of-std": [ + "align", + "rustc-std-workspace-core" + ], + "std": [], + "use_std": [ + "std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "external-ffi-bindings", + "no-std", + "os" + ], + "keywords": [ + "libc", + "ffi", + "bindings", + "operating", + "system" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/libc", + "edition": "2015", + "links": null + }, + { + "name": "libloading", + "version": "0.4.3", + "id": "libloading 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "ISC", + "license_file": null, + "description": "A safer binding to platform’s dynamic library loading utilities", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "kernel32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(windows)", + "registry": null + }, + { + "name": "winapi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(windows)", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "libloading", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "functions", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/tests/functions.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "windows", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/tests/windows.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "markers", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/tests/markers.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libloading-0.4.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Simonas Kazlauskas " + ], + "categories": [], + "keywords": [ + "dlopen", + "load", + "shared", + "dylib" + ], + "readme": null, + "repository": "https://github.com/nagisa/rust_libloading/", + "edition": "2015", + "links": null + }, + { + "name": "log", + "version": "0.3.9", + "id": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.3.9/src/lib.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "use_std" + ], + "max_level_debug": [ + "log/max_level_debug" + ], + "max_level_error": [ + "log/max_level_error" + ], + "max_level_info": [ + "log/max_level_info" + ], + "max_level_off": [ + "log/max_level_off" + ], + "max_level_trace": [ + "log/max_level_trace" + ], + "max_level_warn": [ + "log/max_level_warn" + ], + "nightly": [], + "release_max_level_debug": [ + "log/release_max_level_debug" + ], + "release_max_level_error": [ + "log/release_max_level_error" + ], + "release_max_level_info": [ + "log/release_max_level_info" + ], + "release_max_level_off": [ + "log/release_max_level_off" + ], + "release_max_level_trace": [ + "log/release_max_level_trace" + ], + "release_max_level_warn": [ + "log/release_max_level_warn" + ], + "use_std": [ + "log/std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.3.9/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "edition": "2015", + "links": null + }, + { + "name": "log", + "version": "0.4.11", + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "test" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "filters", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/filters.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "macros", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/macros.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "kv_unstable": [], + "kv_unstable_sval": [ + "kv_unstable", + "sval/fmt" + ], + "max_level_debug": [], + "max_level_error": [], + "max_level_info": [], + "max_level_off": [], + "max_level_trace": [], + "max_level_warn": [], + "release_max_level_debug": [], + "release_max_level_error": [], + "release_max_level_info": [], + "release_max_level_off": [], + "release_max_level_trace": [], + "release_max_level_warn": [], + "std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "std", + "serde", + "kv_unstable_sval" + ] + } + } + }, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [ + "logging" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "edition": "2015", + "links": null + }, + { + "name": "memchr", + "version": "1.0.2", + "id": "memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Unlicense/MIT", + "license_file": null, + "description": "Safe interface to memchr.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.18", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "memchr", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-1.0.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-1.0.2/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "use_std", + "libc" + ], + "use_std": [ + "libc", + "libc/use_std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-1.0.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Andrew Gallant ", + "bluss" + ], + "categories": [], + "keywords": [ + "memchr", + "char", + "scan", + "strchr", + "string" + ], + "readme": "README.md", + "repository": "https://github.com/BurntSushi/rust-memchr", + "edition": "2015", + "links": null + }, + { + "name": "memchr", + "version": "2.3.4", + "id": "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Unlicense/MIT", + "license_file": null, + "description": "Safe interface to memchr.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.18", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "memchr", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-2.3.4/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-2.3.4/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "std": [], + "use_std": [ + "std" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/memchr-2.3.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Andrew Gallant ", + "bluss" + ], + "categories": [], + "keywords": [ + "memchr", + "char", + "scan", + "strchr", + "string" + ], + "readme": "README.md", + "repository": "https://github.com/BurntSushi/rust-memchr", + "edition": "2015", + "links": null + }, + { + "name": "nom", + "version": "3.2.1", + "id": "nom 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A byte-oriented, zero-copy, parser combinators library", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_error", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "memchr", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "nom", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test1", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/test1.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "blockbuf-arithmetic", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/blockbuf-arithmetic.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "overflow", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/overflow.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "float", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/float.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "ini_str", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/ini_str.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "reborrow_fold", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/reborrow_fold.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "arithmetic", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/arithmetic.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "omnom", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/omnom.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "issues", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/issues.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "cross_function_backtracking", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/cross_function_backtracking.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "json", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/json.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "arithmetic_ast", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/arithmetic_ast.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "named_args", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/named_args.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "ini", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/ini.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "mp4", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/mp4.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "multiline", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/tests/multiline.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "std", + "stream" + ], + "nightly": [ + "compiler_error" + ], + "regexp": [ + "regex" + ], + "regexp_macros": [ + "regexp", + "lazy_static" + ], + "std": [ + "memchr/use_std" + ], + "stream": [], + "verbose-errors": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/nom-3.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "contact@geoffroycouprie.com" + ], + "categories": [ + "parsing" + ], + "keywords": [ + "parser", + "parser-combinators", + "parsing", + "streaming", + "bit" + ], + "readme": "README.md", + "repository": "https://github.com/Geal/nom", + "edition": "2015", + "links": null + }, + { + "name": "openssl", + "version": "0.10.2", + "id": "openssl 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0", + "license_file": null, + "description": "OpenSSL bindings", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "bitflags", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "foreign-types", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "openssl-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9.24", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "data-encoding", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "hex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tempdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "openssl", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-0.10.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "mk_certs", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-0.10.2/examples/mk_certs.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-0.10.2/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "v101": [], + "v102": [], + "v110": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-0.10.2/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true + } + } + }, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [ + "cryptography", + "api-bindings" + ], + "keywords": [ + "crypto", + "tls", + "ssl", + "dtls" + ], + "readme": "README.md", + "repository": "https://github.com/sfackler/rust-openssl", + "edition": "2015", + "links": null + }, + { + "name": "openssl-sys", + "version": "0.9.24", + "id": "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "FFI bindings to OpenSSL", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "cc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "pkg-config", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.9", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "vcpkg", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_env = \"msvc\")", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "openssl-sys", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-sys-0.9.24/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-sys-0.9.24/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/openssl-sys-0.9.24/Cargo.toml", + "metadata": { + "pkg-config": { + "openssl": "1.0.1" + } + }, + "publish": null, + "authors": [ + "Alex Crichton ", + "Steven Fackler " + ], + "categories": [ + "cryptography", + "external-ffi-bindings" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/sfackler/rust-openssl", + "edition": "2015", + "links": "openssl" + }, + { + "name": "peeking_take_while", + "version": "0.1.2", + "id": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0/MIT", + "license_file": null, + "description": "Like `Iterator::take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` and `Iterator::take_while` together, and still get the first value for which the `take_while` predicate returned false after dropping the `by_ref`.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "peeking_take_while", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/peeking_take_while-0.1.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/peeking_take_while-0.1.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Nick Fitzgerald " + ], + "categories": [ + "rust-patterns" + ], + "keywords": [ + "iterator", + "take_while", + "peek", + "by_ref" + ], + "readme": "./README.md", + "repository": "https://github.com/fitzgen/peeking_take_while", + "edition": "2015", + "links": null + }, + { + "name": "pkg-config", + "version": "0.3.19", + "id": "pkg-config 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A library to run the pkg-config system tool at build time in order to be used in\nCargo build scripts.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "pkg-config", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/pkg-config-0.3.19/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/pkg-config-0.3.19/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/pkg-config-0.3.19/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [ + "build-dependencies" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/pkg-config-rs", + "edition": "2015", + "links": null + }, + { + "name": "proc-macro2", + "version": "0.2.3", + "id": "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A stable implementation of the upcoming new `proc_macro` API. Comes with an\noption, off by default, to also reimplement itself in terms of the upstream\nunstable API.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "proc-macro2", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-0.2.3/src/lib.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-0.2.3/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "proc-macro" + ], + "nightly": [ + "proc-macro" + ], + "proc-macro": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-0.2.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [ + "macros" + ], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/proc-macro2", + "edition": "2015", + "links": null + }, + { + "name": "quote", + "version": "0.4.2", + "id": "quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Quasi-quoting macro quote!(...)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "quote", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-0.4.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-0.4.2/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-0.4.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [], + "keywords": [ + "syn" + ], + "readme": "README.md", + "repository": "https://github.com/dtolnay/quote", + "edition": "2015", + "links": null + }, + { + "name": "regex", + "version": "0.2.11", + "id": "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "An implementation of regular expressions for Rust. This implementation uses\nfinite automata and guarantees linear time matching on all inputs.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "aho-corasick", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "memchr", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.0.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex-syntax", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.6", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "thread_local", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "utf8-ranges", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "regex", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna-bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna-bytes.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna-cheat", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna-cheat.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna-replace", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna-replace.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna-single-cheat", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna-single-cheat.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "shootout-regex-dna-single", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/examples/shootout-regex-dna-single.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "default", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_default.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "default-bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_default_bytes.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "nfa", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_nfa.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "nfa-utf8bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_nfa_utf8bytes.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "nfa-bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_nfa_bytes.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "backtrack", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_backtrack.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "backtrack-utf8bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_backtrack_utf8bytes.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "backtrack-bytes", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/tests/test_backtrack_bytes.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [], + "pattern": [], + "simd-accel": [], + "unstable": [ + "pattern" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-0.2.11/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "text-processing" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-lang/regex", + "edition": "2015", + "links": null + }, + { + "name": "regex-syntax", + "version": "0.5.6", + "id": "regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A regular expression parser.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "ucd-util", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "regex-syntax", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-syntax-0.5.6/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-syntax-0.5.6/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/regex-syntax-0.5.6/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/rust-lang/regex", + "edition": "2015", + "links": null + }, + { + "name": "ryu", + "version": "1.0.5", + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0 OR BSL-1.0", + "license_file": null, + "description": "Fast floating point to string conversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "no-panic", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "num_cpus", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.8", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_xorshift", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ryu", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "upstream_benchmark", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/examples/upstream_benchmark.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_table_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_table_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "common_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/common_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2d_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2d_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/exhaustive.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "f2s_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/f2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2f_test", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2f_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/benches/bench.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "small": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/ryu", + "edition": "2018", + "links": null + }, + { + "name": "semver_toml", + "version": "0.1.0", + "id": "semver_toml 0.1.0 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "anyhow", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "bindgen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.32", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "clang-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.21.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lexical-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "openssl", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.10.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "openssl-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.9.24", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicase", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=2.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "semver_toml", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": { + "raze": { + "genmode": "Remote", + "workspace_path": "//cargo", + "crates": { + "bindgen": { + "*": { + "extra_aliased_targets": [ + "cargo_bin_bindgen" + ], + "gen_buildrs": true + } + }, + "clang-sys": { + "0.21.*": { + "gen_buildrs": true + } + }, + "lexical-core": { + "^0.6": { + "additional_flags": [ + "--cfg=SHOULD_NOT_MATCH" + ] + }, + "~0.6": { + "additional_flags": [ + "--cfg=SHOULD_NOT_MATCH" + ] + } + }, + "openssl": { + "^0.10": { + "additional_flags": [ + "--cfg=ossl102", + "--cfg=version=102", + "--cfg=ossl10x" + ] + } + }, + "openssl-sys": { + "0.9.24": { + "additional_deps": [ + "@//third_party/openssl:crypto", + "@//third_party/openssl:ssl" + ], + "additional_flags": [ + "--cfg=ossl102", + "--cfg=version=102" + ] + } + }, + "unicase": { + "2.6.0": { + "additional_flags": [ + "--cfg=SHOULD_NOT_MATCH" + ] + }, + "~2": { + "additional_flags": [ + "--cfg=__unicase__iter_cmp", + "--cfg=__unicase__defauler_hasher" + ] + } + } + } + } + }, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "static_assertions", + "version": "1.1.0", + "id": "static_assertions 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Compile-time assertions to ensure that invariants are met.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "static_assertions", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/static_assertions-1.1.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "nightly": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/static_assertions-1.1.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Nikolai Vazquez" + ], + "categories": [ + "no-std", + "rust-patterns", + "development-tools::testing" + ], + "keywords": [ + "assert", + "static", + "testing" + ], + "readme": "README.md", + "repository": "https://github.com/nvzqz/static-assertions-rs", + "edition": "2015", + "links": null + }, + { + "name": "strsim", + "version": "0.8.0", + "id": "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Implementations of string similarity metrics.\nIncludes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro, and Jaro-Winkler.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "strsim", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/strsim-0.8.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lib", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/strsim-0.8.0/tests/lib.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "benches", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/strsim-0.8.0/benches/benches.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/strsim-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Danny Guo " + ], + "categories": [], + "keywords": [ + "string", + "similarity", + "Hamming", + "Levenshtein", + "Jaro" + ], + "readme": "README.md", + "repository": "https://github.com/dguo/strsim-rs", + "edition": "2015", + "links": null + }, + { + "name": "textwrap", + "version": "0.11.0", + "id": "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Textwrap is a small library for word wrapping, indenting, and\ndedenting strings.\n\nYou can use it to format strings (such as help and error messages) for\ndisplay in commandline applications. It is designed to be efficient\nand handle Unicode characters correctly.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "hyphenation", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "embed_all" + ], + "target": null, + "registry": null + }, + { + "name": "term_size", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicode-width", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "lipsum", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_xorshift", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "version-sync", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.6", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "textwrap", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "layout", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/examples/layout.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "termwidth", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/examples/termwidth.rs", + "edition": "2015", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "version-numbers", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/tests/version-numbers.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "linear", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/benches/linear.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/textwrap-0.11.0/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true + } + } + }, + "publish": null, + "authors": [ + "Martin Geisler " + ], + "categories": [ + "text-processing", + "command-line-interface" + ], + "keywords": [ + "text", + "formatting", + "wrap", + "typesetting", + "hyphenation" + ], + "readme": "README.md", + "repository": "https://github.com/mgeisler/textwrap", + "edition": "2015", + "links": null + }, + { + "name": "thread_local", + "version": "0.3.6", + "id": "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0/MIT", + "license_file": null, + "description": "Per-object thread-local storage", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "thread_local", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/thread_local-0.3.6/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "thread_local", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/thread_local-0.3.6/benches/thread_local.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/thread_local-0.3.6/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Amanieu d'Antras " + ], + "categories": [], + "keywords": [ + "thread_local", + "concurrent", + "thread" + ], + "readme": "README.md", + "repository": "https://github.com/Amanieu/thread_local-rs", + "edition": "2015", + "links": null + }, + { + "name": "ucd-util", + "version": "0.1.8", + "id": "ucd-util 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A small utility library for working with the Unicode character database.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ucd-util", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ucd-util-0.1.8/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ucd-util-0.1.8/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Andrew Gallant " + ], + "categories": [], + "keywords": [ + "unicode", + "database", + "character", + "property" + ], + "readme": "README.md", + "repository": "https://github.com/BurntSushi/ucd-generate", + "edition": "2018", + "links": null + }, + { + "name": "unicase", + "version": "2.1.0", + "id": "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A case-insensitive wrapper around strings.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "version_check", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicase", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicase-2.1.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicase-2.1.0/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "nightly": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicase-2.1.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Sean McArthur " + ], + "categories": [], + "keywords": [ + "lowercase", + "case", + "case-insensitive", + "case-folding" + ], + "readme": "README.md", + "repository": "https://github.com/seanmonstar/unicase", + "edition": "2015", + "links": null + }, + { + "name": "unicode-width", + "version": "0.1.8", + "id": "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Determine displayed width of `char` and `str` types\naccording to Unicode Standard Annex #11 rules.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-std", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "std", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-width", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-width-0.1.8/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [], + "rustc-dep-of-std": [ + "std", + "core", + "compiler_builtins" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-width-0.1.8/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "kwantam ", + "Manish Goregaokar " + ], + "categories": [], + "keywords": [ + "text", + "width", + "unicode" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-width", + "edition": "2015", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.1.0", + "id": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.1.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.1.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + }, + { + "name": "utf8-ranges", + "version": "1.0.4", + "id": "utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Unlicense/MIT", + "license_file": null, + "description": "DEPRECATED. Use regex-syntax::utf8 submodule instead.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "doc-comment", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quickcheck", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "utf8-ranges", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf8-ranges-1.0.4/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf8-ranges-1.0.4/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf8-ranges-1.0.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Andrew Gallant " + ], + "categories": [], + "keywords": [ + "codepoint", + "utf8", + "automaton", + "range" + ], + "readme": "README.md", + "repository": "https://github.com/BurntSushi/utf8-ranges", + "edition": "2015", + "links": null + }, + { + "name": "vcpkg", + "version": "0.2.10", + "id": "vcpkg 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A library to find native dependencies in a vcpkg tree at build\ntime in order to be used in Cargo build scripts.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tempdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.7", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "vcpkg", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/vcpkg-0.2.10/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/vcpkg-0.2.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Jim McGrath " + ], + "categories": [ + "development-tools::build-utils" + ], + "keywords": [ + "build-dependencies", + "windows", + "macos", + "linux" + ], + "readme": "../README.md", + "repository": "https://github.com/mcgoo/vcpkg-rs", + "edition": "2015", + "links": null + }, + { + "name": "vec_map", + "version": "0.8.2", + "id": "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A simple map based on a vector for small integer keys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "vec_map", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "eders": [ + "serde" + ] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/vec_map-0.8.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton ", + "Jorge Aparicio ", + "Alexis Beingessner ", + "Brian Anderson <>", + "tbu- <>", + "Manish Goregaokar <>", + "Aaron Turon ", + "Adolfo Ochagavía <>", + "Niko Matsakis <>", + "Steven Fackler <>", + "Chase Southwood ", + "Eduard Burtescu <>", + "Florian Wilkens <>", + "Félix Raimundo <>", + "Tibor Benke <>", + "Markus Siemens ", + "Josh Branchaud ", + "Huon Wilson ", + "Corey Farwell ", + "Aaron Liblong <>", + "Nick Cameron ", + "Patrick Walton ", + "Felix S Klock II <>", + "Andrew Paseltiner ", + "Sean McArthur ", + "Vadim Petrochenkov <>" + ], + "categories": [], + "keywords": [ + "data-structures", + "collections", + "vecmap", + "vec_map", + "contain-rs" + ], + "readme": "README.md", + "repository": "https://github.com/contain-rs/vec-map", + "edition": "2015", + "links": null + }, + { + "name": "version_check", + "version": "0.1.5", + "id": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Tiny crate to check the version of the installed/running rustc.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "version_check", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/version_check-0.1.5/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/version_check-0.1.5/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Sergio Benitez " + ], + "categories": [], + "keywords": [ + "version", + "rustc", + "minimum", + "check" + ], + "readme": "README.md", + "repository": "https://github.com/SergioBenitez/version_check", + "edition": "2015", + "links": null + }, + { + "name": "which", + "version": "1.0.5", + "id": "which 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A Rust equivalent of Unix command \"which\". Locate installed execuable in cross platforms.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.10", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tempdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "which", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/which-1.0.5/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/which-1.0.5/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "fangyuanziti " + ], + "categories": [ + "os", + "filesystem" + ], + "keywords": [ + "which", + "which-rs", + "unix", + "command" + ], + "readme": "README.md", + "repository": "https://github.com/fangyuanziti/which-rs.git", + "edition": "2015", + "links": null + }, + { + "name": "winapi", + "version": "0.2.8", + "id": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Types and constants for WinAPI bindings. See README for list of crates providing function bindings.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "advapi32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "bcrypt-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "comctl32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "comdlg32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "credui-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "crypt32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "d2d1-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "d3d11-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "d3d12-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "d3d9-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "d3dcompiler-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dbghelp-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dsound-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dwmapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dwrite-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dxgi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "dxguid-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "gdi32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "hid-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "httpapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "kernel32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ktmw32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "mpr-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "netapi32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "odbc32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ole32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "oleaut32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "opengl32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "pdh-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "psapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "runtimeobject-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "secur32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "setupapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "shell32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "shlwapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "user32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "userenv-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "usp10-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "uuid-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "vssapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "wevtapi-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winhttp-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winmm-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winscard-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winspool-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "winusb-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ws2_32-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "xinput-sys", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "winapi", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-0.2.8/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-0.2.8/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [], + "keywords": [ + "windows", + "ffi", + "win32", + "com", + "directx" + ], + "readme": "README.md", + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + }, + { + "name": "winapi", + "version": "0.3.9", + "id": "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Raw FFI bindings for all of Windows API.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "winapi-i686-pc-windows-gnu", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "i686-pc-windows-gnu", + "registry": null + }, + { + "name": "winapi-x86_64-pc-windows-gnu", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "x86_64-pc-windows-gnu", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "winapi", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-0.3.9/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-0.3.9/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "accctrl": [], + "aclapi": [], + "activation": [], + "adhoc": [], + "appmgmt": [], + "audioclient": [], + "audiosessiontypes": [], + "avrt": [], + "basetsd": [], + "bcrypt": [], + "bits": [], + "bits10_1": [], + "bits1_5": [], + "bits2_0": [], + "bits2_5": [], + "bits3_0": [], + "bits4_0": [], + "bits5_0": [], + "bitscfg": [], + "bitsmsg": [], + "bluetoothapis": [], + "bluetoothleapis": [], + "bthdef": [], + "bthioctl": [], + "bthledef": [], + "bthsdpdef": [], + "bugcodes": [], + "cderr": [], + "cfg": [], + "cfgmgr32": [], + "cguid": [], + "combaseapi": [], + "coml2api": [], + "commapi": [], + "commctrl": [], + "commdlg": [], + "commoncontrols": [], + "consoleapi": [], + "corecrt": [], + "corsym": [], + "d2d1": [], + "d2d1_1": [], + "d2d1_2": [], + "d2d1_3": [], + "d2d1effectauthor": [], + "d2d1effects": [], + "d2d1effects_1": [], + "d2d1effects_2": [], + "d2d1svg": [], + "d2dbasetypes": [], + "d3d": [], + "d3d10": [], + "d3d10_1": [], + "d3d10_1shader": [], + "d3d10effect": [], + "d3d10misc": [], + "d3d10sdklayers": [], + "d3d10shader": [], + "d3d11": [], + "d3d11_1": [], + "d3d11_2": [], + "d3d11_3": [], + "d3d11_4": [], + "d3d11on12": [], + "d3d11sdklayers": [], + "d3d11shader": [], + "d3d11tokenizedprogramformat": [], + "d3d12": [], + "d3d12sdklayers": [], + "d3d12shader": [], + "d3d9": [], + "d3d9caps": [], + "d3d9types": [], + "d3dcommon": [], + "d3dcompiler": [], + "d3dcsx": [], + "d3dkmdt": [], + "d3dkmthk": [], + "d3dukmdt": [], + "d3dx10core": [], + "d3dx10math": [], + "d3dx10mesh": [], + "datetimeapi": [], + "davclnt": [], + "dbghelp": [], + "dbt": [], + "dcommon": [], + "dcomp": [], + "dcompanimation": [], + "dcomptypes": [], + "dde": [], + "ddraw": [], + "ddrawi": [], + "ddrawint": [], + "debug": [ + "impl-debug" + ], + "debugapi": [], + "devguid": [], + "devicetopology": [], + "devpkey": [], + "devpropdef": [], + "dinput": [], + "dinputd": [], + "dispex": [], + "dmksctl": [], + "dmusicc": [], + "docobj": [], + "documenttarget": [], + "dot1x": [], + "dpa_dsa": [], + "dpapi": [], + "dsgetdc": [], + "dsound": [], + "dsrole": [], + "dvp": [], + "dwmapi": [], + "dwrite": [], + "dwrite_1": [], + "dwrite_2": [], + "dwrite_3": [], + "dxdiag": [], + "dxfile": [], + "dxgi": [], + "dxgi1_2": [], + "dxgi1_3": [], + "dxgi1_4": [], + "dxgi1_5": [], + "dxgi1_6": [], + "dxgidebug": [], + "dxgiformat": [], + "dxgitype": [], + "dxva2api": [], + "dxvahd": [], + "eaptypes": [], + "enclaveapi": [], + "endpointvolume": [], + "errhandlingapi": [], + "everything": [], + "evntcons": [], + "evntprov": [], + "evntrace": [], + "excpt": [], + "exdisp": [], + "fibersapi": [], + "fileapi": [], + "functiondiscoverykeys_devpkey": [], + "gl-gl": [], + "guiddef": [], + "handleapi": [], + "heapapi": [], + "hidclass": [], + "hidpi": [], + "hidsdi": [], + "hidusage": [], + "highlevelmonitorconfigurationapi": [], + "hstring": [], + "http": [], + "ifdef": [], + "ifmib": [], + "imm": [], + "impl-debug": [], + "impl-default": [], + "in6addr": [], + "inaddr": [], + "inspectable": [], + "interlockedapi": [], + "intsafe": [], + "ioapiset": [], + "ipexport": [], + "iphlpapi": [], + "ipifcons": [], + "ipmib": [], + "iprtrmib": [], + "iptypes": [], + "jobapi": [], + "jobapi2": [], + "knownfolders": [], + "ks": [], + "ksmedia": [], + "ktmtypes": [], + "ktmw32": [], + "l2cmn": [], + "libloaderapi": [], + "limits": [], + "lmaccess": [], + "lmalert": [], + "lmapibuf": [], + "lmat": [], + "lmcons": [], + "lmdfs": [], + "lmerrlog": [], + "lmjoin": [], + "lmmsg": [], + "lmremutl": [], + "lmrepl": [], + "lmserver": [], + "lmshare": [], + "lmstats": [], + "lmsvc": [], + "lmuse": [], + "lmwksta": [], + "lowlevelmonitorconfigurationapi": [], + "lsalookup": [], + "memoryapi": [], + "minschannel": [], + "minwinbase": [], + "minwindef": [], + "mmdeviceapi": [], + "mmeapi": [], + "mmreg": [], + "mmsystem": [], + "mprapidef": [], + "msaatext": [], + "mscat": [], + "mschapp": [], + "mssip": [], + "mstcpip": [], + "mswsock": [], + "mswsockdef": [], + "namedpipeapi": [], + "namespaceapi": [], + "nb30": [], + "ncrypt": [], + "netioapi": [], + "nldef": [], + "ntddndis": [], + "ntddscsi": [], + "ntddser": [], + "ntdef": [], + "ntlsa": [], + "ntsecapi": [], + "ntstatus": [], + "oaidl": [], + "objbase": [], + "objidl": [], + "objidlbase": [], + "ocidl": [], + "ole2": [], + "oleauto": [], + "olectl": [], + "oleidl": [], + "opmapi": [], + "pdh": [], + "perflib": [], + "physicalmonitorenumerationapi": [], + "playsoundapi": [], + "portabledevice": [], + "portabledeviceapi": [], + "portabledevicetypes": [], + "powerbase": [], + "powersetting": [], + "powrprof": [], + "processenv": [], + "processsnapshot": [], + "processthreadsapi": [], + "processtopologyapi": [], + "profileapi": [], + "propidl": [], + "propkey": [], + "propkeydef": [], + "propsys": [], + "prsht": [], + "psapi": [], + "qos": [], + "realtimeapiset": [], + "reason": [], + "restartmanager": [], + "restrictederrorinfo": [], + "rmxfguid": [], + "roapi": [], + "robuffer": [], + "roerrorapi": [], + "rpc": [], + "rpcdce": [], + "rpcndr": [], + "rtinfo": [], + "sapi": [], + "sapi51": [], + "sapi53": [], + "sapiddk": [], + "sapiddk51": [], + "schannel": [], + "sddl": [], + "securityappcontainer": [], + "securitybaseapi": [], + "servprov": [], + "setupapi": [], + "shellapi": [], + "shellscalingapi": [], + "shlobj": [], + "shobjidl": [], + "shobjidl_core": [], + "shtypes": [], + "softpub": [], + "spapidef": [], + "spellcheck": [], + "sporder": [], + "sql": [], + "sqlext": [], + "sqltypes": [], + "sqlucode": [], + "sspi": [], + "std": [], + "stralign": [], + "stringapiset": [], + "strmif": [], + "subauth": [], + "synchapi": [], + "sysinfoapi": [], + "systemtopologyapi": [], + "taskschd": [], + "tcpestats": [], + "tcpmib": [], + "textstor": [], + "threadpoolapiset": [], + "threadpoollegacyapiset": [], + "timeapi": [], + "timezoneapi": [], + "tlhelp32": [], + "transportsettingcommon": [], + "tvout": [], + "udpmib": [], + "unknwnbase": [], + "urlhist": [], + "urlmon": [], + "usb": [], + "usbioctl": [], + "usbiodef": [], + "usbscan": [], + "usbspec": [], + "userenv": [], + "usp10": [], + "utilapiset": [], + "uxtheme": [], + "vadefs": [], + "vcruntime": [], + "vsbackup": [], + "vss": [], + "vsserror": [], + "vswriter": [], + "wbemads": [], + "wbemcli": [], + "wbemdisp": [], + "wbemprov": [], + "wbemtran": [], + "wct": [], + "werapi": [], + "winbase": [], + "wincodec": [], + "wincodecsdk": [], + "wincon": [], + "wincontypes": [], + "wincred": [], + "wincrypt": [], + "windef": [], + "windot11": [], + "windowsceip": [], + "windowsx": [], + "winefs": [], + "winerror": [], + "winevt": [], + "wingdi": [], + "winhttp": [], + "wininet": [], + "winineti": [], + "winioctl": [], + "winnetwk": [], + "winnls": [], + "winnt": [], + "winreg": [], + "winsafer": [], + "winscard": [], + "winsmcrd": [], + "winsock2": [], + "winspool": [], + "winstring": [], + "winsvc": [], + "wintrust": [], + "winusb": [], + "winusbio": [], + "winuser": [], + "winver": [], + "wlanapi": [], + "wlanihv": [], + "wlanihvtypes": [], + "wlantypes": [], + "wlclient": [], + "wmistr": [], + "wnnc": [], + "wow64apiset": [], + "wpdmtpextensions": [], + "ws2bth": [], + "ws2def": [], + "ws2ipdef": [], + "ws2spi": [], + "ws2tcpip": [], + "wtsapi32": [], + "wtypes": [], + "wtypesbase": [], + "xinput": [] + }, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-0.3.9/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "default-target": "x86_64-pc-windows-msvc", + "features": [ + "everything", + "impl-debug", + "impl-default" + ], + "targets": [ + "aarch64-pc-windows-msvc", + "i686-pc-windows-msvc", + "x86_64-pc-windows-msvc" + ] + } + } + }, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [ + "external-ffi-bindings", + "no-std", + "os::windows-apis" + ], + "keywords": [ + "windows", + "ffi", + "win32", + "com", + "directx" + ], + "readme": "README.md", + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + }, + { + "name": "winapi-build", + "version": "0.1.1", + "id": "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Common code for build.rs in WinAPI -sys crates.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-build-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [], + "keywords": [ + "Windows", + "FFI", + "WinSDK" + ], + "readme": null, + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + }, + { + "name": "winapi-i686-pc-windows-gnu", + "version": "0.4.0", + "id": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Import libraries for the i686-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "winapi-i686-pc-windows-gnu", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-i686-pc-windows-gnu-0.4.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-i686-pc-windows-gnu-0.4.0/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-i686-pc-windows-gnu-0.4.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [], + "keywords": [ + "windows" + ], + "readme": null, + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + }, + { + "name": "winapi-x86_64-pc-windows-gnu", + "version": "0.4.0", + "id": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "winapi-x86_64-pc-windows-gnu", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-x86_64-pc-windows-gnu-0.4.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-x86_64-pc-windows-gnu-0.4.0/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "{{ crate_index_root }}/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/winapi-x86_64-pc-windows-gnu-0.4.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Peter Atashian " + ], + "categories": [], + "keywords": [ + "windows" + ], + "readme": null, + "repository": "https://github.com/retep998/winapi-rs", + "edition": "2015", + "links": null + } + ], + "workspace_members": [ + "semver_toml 0.1.0 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "memchr", + "pkg": "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "winapi", + "pkg": "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"windows\")" + } + ] + } + ], + "features": [] + }, + { + "id": "anyhow 1.0.34 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "arrayvec 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "array-sizes-33-128", + "default", + "std" + ] + }, + { + "id": "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "hermit-abi 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "hermit_abi", + "pkg": "hermit-abi 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"hermit\")" + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(unix)" + } + ] + }, + { + "name": "winapi", + "pkg": "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(windows)" + } + ] + } + ], + "features": [] + }, + { + "id": "bindgen 0.32.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cexpr 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)", + "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "which 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cexpr", + "pkg": "cexpr 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "clang_sys", + "pkg": "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "clap", + "pkg": "clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "env_logger", + "pkg": "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "log", + "pkg": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "peeking_take_while", + "pkg": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "proc_macro2", + "pkg": "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "regex", + "pkg": "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "which", + "pkg": "which 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "env_logger", + "log", + "logging" + ] + }, + { + "id": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "cc 1.0.65 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "cexpr 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "nom 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "nom", + "pkg": "nom 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "libloading 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "glob", + "pkg": "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + }, + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libloading", + "pkg": "libloading 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "clang_3_9", + "gte_clang_3_6", + "gte_clang_3_7", + "gte_clang_3_8", + "gte_clang_3_9", + "libloading", + "runtime" + ] + }, + { + "id": "clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "ansi_term", + "pkg": "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(not(windows))" + } + ] + }, + { + "name": "atty", + "pkg": "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "bitflags", + "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "strsim", + "pkg": "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "textwrap", + "pkg": "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "unicode_width", + "pkg": "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "vec_map", + "pkg": "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "ansi_term", + "atty", + "color", + "default", + "strsim", + "suggestions", + "vec_map" + ] + }, + { + "id": "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "log", + "pkg": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "regex", + "pkg": "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "regex" + ] + }, + { + "id": "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "foreign_types_shared", + "pkg": "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "hermit-abi 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default" + ] + }, + { + "id": "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "winapi", + "pkg": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "build", + "pkg": "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "lexical-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "arrayvec 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "arrayvec", + "pkg": "arrayvec 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "bitflags", + "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "ryu", + "pkg": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "static_assertions", + "pkg": "static_assertions 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "arrayvec", + "correct", + "default", + "ryu", + "static_assertions", + "std", + "table" + ] + }, + { + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std", + "use_std" + ] + }, + { + "id": "libloading 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "kernel32", + "pkg": "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(windows)" + } + ] + }, + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "winapi", + "pkg": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(windows)" + } + ] + } + ], + "features": [] + }, + { + "id": "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "log", + "pkg": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "use_std" + ] + }, + { + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "std" + ] + }, + { + "id": "memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "libc", + "use_std" + ] + }, + { + "id": "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "nom 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "memchr", + "pkg": "memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std", + "stream", + "verbose-errors" + ] + }, + { + "id": "openssl 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "bitflags", + "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "foreign_types", + "pkg": "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "openssl_sys", + "pkg": "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cc 1.0.65 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "pkg-config 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "vcpkg 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cc", + "pkg": "cc 1.0.65 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "pkg_config", + "pkg": "pkg-config 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "vcpkg", + "pkg": "vcpkg 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": "cfg(target_env = \"msvc\")" + } + ] + } + ], + "features": [] + }, + { + "id": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "pkg-config 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "aho_corasick", + "pkg": "aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "memchr", + "pkg": "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "regex_syntax", + "pkg": "regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "thread_local", + "pkg": "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "utf8_ranges", + "pkg": "utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default" + ] + }, + { + "id": "regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "ucd-util 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "ucd_util", + "pkg": "ucd-util 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "semver_toml 0.1.0 (path+file://{{ mock_workspace }})", + "dependencies": [ + "anyhow 1.0.34 (registry+https://github.com/rust-lang/crates.io-index)", + "bindgen 0.32.3 (registry+https://github.com/rust-lang/crates.io-index)", + "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "lexical-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "anyhow", + "pkg": "anyhow 1.0.34 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "bindgen", + "pkg": "bindgen 0.32.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "clang_sys", + "pkg": "clang-sys 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "lexical_core", + "pkg": "lexical-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "openssl", + "pkg": "openssl 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "openssl_sys", + "pkg": "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "unicase", + "pkg": "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "static_assertions 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_width", + "pkg": "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "ucd-util 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "version_check", + "pkg": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "vcpkg 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "which 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "winapi_i686_pc_windows_gnu", + "pkg": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "i686-pc-windows-gnu" + } + ] + }, + { + "name": "winapi_x86_64_pc_windows_gnu", + "pkg": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "x86_64-pc-windows-gnu" + } + ] + } + ], + "features": [ + "consoleapi", + "errhandlingapi", + "minwinbase", + "minwindef", + "processenv", + "winbase" + ] + }, + { + "id": "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + } + ], + "root": "semver_toml 0.1.0 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/testing/metadata_templates/subplan_produces_crate_root_with_forward_slash.json.template b/cargo/cargo_raze/impl/src/testing/metadata_templates/subplan_produces_crate_root_with_forward_slash.json.template new file mode 100644 index 0000000000..9c87bdef5e --- /dev/null +++ b/cargo/cargo_raze/impl/src/testing/metadata_templates/subplan_produces_crate_root_with_forward_slash.json.template @@ -0,0 +1,5387 @@ +{# Cargo.toml +[package] +name = "subplan_produces_crate_root_with_forward_slash" +version = "0.1.0" + +[lib] +path = "not_a_file.rs" + +[dependencies] +markup5ever = "=0.10.0" +#} +{ + "packages": [ + { + "name": "cfg-if", + "version": "0.1.10", + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "cfg-if", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "xcrate", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/tests/xcrate.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "rustc-dep-of-std": [ + "core", + "compiler_builtins" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/cfg-if-0.1.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Alex Crichton " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/cfg-if", + "edition": "2018", + "links": null + }, + { + "name": "futf", + "version": "0.1.4", + "id": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "Handling fragments of UTF-8", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "mac", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "new_debug_unreachable", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "futf", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/futf-0.1.4/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/futf-0.1.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Keegan McAllister " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/futf", + "edition": "2015", + "links": null + }, + { + "name": "getrandom", + "version": "0.1.15", + "id": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A small cross-platform library for retrieving random data from system source", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "wasi", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.9", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_os = \"wasi\")", + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.64", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": "cfg(unix)", + "registry": null + }, + { + "name": "stdweb", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.18", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + }, + { + "name": "wasm-bindgen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.29", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + }, + { + "name": "wasm-bindgen-test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "wasm32-unknown-unknown", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "getrandom", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "common", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/tests/common.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "mod", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/benches/mod.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "dummy": [], + "rustc-dep-of-std": [ + "compiler_builtins", + "core" + ], + "std": [], + "test-in-browser": [ + "wasm-bindgen" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/getrandom-0.1.15/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "os", + "no-std" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/rust-random/getrandom", + "edition": "2018", + "links": null + }, + { + "name": "itoa", + "version": "0.4.6", + "id": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Fast functions for printing integer primitives to an io::Write", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "itoa", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/benches/bench.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "i128": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/itoa-0.4.6/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "value-formatting" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/itoa", + "edition": "2015", + "links": null + }, + { + "name": "lazy_static", + "version": "1.4.0", + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A macro for declaring lazily evaluated statics in Rust.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "spin", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "doc-comment", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "lazy_static", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/test.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "no_std", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/tests/no_std.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "spin_no_std": [ + "spin" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/lazy_static-1.4.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Marvin Löbel " + ], + "categories": [ + "no-std", + "rust-patterns", + "memory-management" + ], + "keywords": [ + "macro", + "lazy", + "static" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang-nursery/lazy-static.rs", + "edition": "2015", + "links": null + }, + { + "name": "libc", + "version": "0.2.80", + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Raw FFI bindings to platform libraries like libc.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "libc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "const_fn", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/tests/const_fn.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "align": [], + "const-extern-fn": [], + "default": [ + "std" + ], + "extra_traits": [], + "rustc-dep-of-std": [ + "align", + "rustc-std-workspace-core" + ], + "std": [], + "use_std": [ + "std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libc-0.2.80/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "external-ffi-bindings", + "no-std", + "os" + ], + "keywords": [ + "libc", + "ffi", + "bindings", + "operating", + "system" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/libc", + "edition": "2015", + "links": null + }, + { + "name": "log", + "version": "0.4.11", + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A lightweight logging facade for Rust\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "cfg-if", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_test", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "sval", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "test" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "log", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "filters", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/filters.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "macros", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/tests/macros.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "kv_unstable": [], + "kv_unstable_sval": [ + "kv_unstable", + "sval/fmt" + ], + "max_level_debug": [], + "max_level_error": [], + "max_level_info": [], + "max_level_off": [], + "max_level_trace": [], + "max_level_warn": [], + "release_max_level_debug": [], + "release_max_level_error": [], + "release_max_level_info": [], + "release_max_level_off": [], + "release_max_level_trace": [], + "release_max_level_warn": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/log-0.4.11/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "std", + "serde", + "kv_unstable_sval" + ] + } + } + }, + "publish": null, + "authors": [ + "The Rust Project Developers" + ], + "categories": [ + "development-tools::debugging" + ], + "keywords": [ + "logging" + ], + "readme": "README.md", + "repository": "https://github.com/rust-lang/log", + "edition": "2015", + "links": null + }, + { + "name": "mac", + "version": "0.1.1", + "id": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "A collection of great and ubiqutitous macros.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "mac", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/mac-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/mac-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Jonathan Reem " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/reem/rust-mac.git", + "edition": "2015", + "links": null + }, + { + "name": "markup5ever", + "version": "0.10.0", + "id": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "Common code for xml5ever and html5ever", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "string_cache", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tendril", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_codegen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_json", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "string_cache_codegen", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.1", + "kind": "build", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "markup5ever", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/markup5ever-0.10.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The html5ever Project Developers" + ], + "categories": [ + "parser-implementations", + "web-programming" + ], + "keywords": [], + "readme": null, + "repository": "https://github.com/servo/html5ever", + "edition": "2018", + "links": null + }, + { + "name": "new_debug_unreachable", + "version": "1.0.4", + "id": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "debug_unreachable", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "simple", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/examples/simple.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "check", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/tests/check.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/new_debug_unreachable-1.0.4/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Matt Brubeck ", + "Jonathan Reem " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/mbrubeck/rust-debug-unreachable", + "edition": "2018", + "links": null + }, + { + "name": "phf", + "version": "0.8.0", + "id": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Runtime support for perfect hash function data structures", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_macros", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proc-macro-hack", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "macros": [ + "phf_macros", + "proc-macro-hack" + ], + "std": [ + "phf_shared/std" + ], + "unicase": [ + "phf_shared/unicase" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf-0.8.0/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "macros" + ] + } + } + }, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_codegen", + "version": "0.8.0", + "id": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Codegen library for PHF types", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_generator", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_codegen", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_codegen-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_codegen-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_generator", + "version": "0.8.0", + "id": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "PHF generation logic", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "criterion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "small_rng" + ], + "target": null, + "registry": null + }, + { + "name": "criterion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_generator", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "bin" + ], + "crate_types": [ + "bin" + ], + "name": "gen_hash_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/src/bin/gen_hash_test.rs", + "edition": "2018", + "required-features": [ + "criterion" + ], + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "benches", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/benches/benches.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_generator-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "phf_shared", + "version": "0.8.0", + "id": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "Support code shared by PHF libraries", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "siphasher", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicase", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.4.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "phf_shared", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_shared-0.8.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": false + } + ], + "features": { + "default": [ + "std" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/phf_shared-0.8.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Steven Fackler " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/sfackler/rust-phf", + "edition": "2018", + "links": null + }, + { + "name": "ppv-lite86", + "version": "0.2.10", + "id": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Implementation of the crypto-simd API for x86", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ppv-lite86", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ppv-lite86-0.2.10/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "no_simd": [], + "simd": [], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ppv-lite86-0.2.10/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The CryptoCorrosion Contributors" + ], + "categories": [ + "cryptography", + "no-std" + ], + "keywords": [ + "crypto", + "simd", + "x86" + ], + "readme": null, + "repository": "https://github.com/cryptocorrosion/cryptocorrosion", + "edition": "2018", + "links": null + }, + { + "name": "precomputed-hash", + "version": "0.1.1", + "id": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT", + "license_file": null, + "description": "A library intending to be a base dependency to expose a precomputed hash", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "precomputed-hash", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/precomputed-hash-0.1.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/precomputed-hash-0.1.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Emilio Cobos Álvarez " + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/emilio/precomputed-hash", + "edition": "2015", + "links": null + }, + { + "name": "proc-macro2", + "version": "1.0.24", + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "proc-macro2", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "features", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/features.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_fmt", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/test_fmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "comments", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/comments.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "marker", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/tests/marker.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "default": [ + "proc-macro" + ], + "nightly": [], + "proc-macro": [], + "span-locations": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/proc-macro2-1.0.24/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "rustc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "rustdoc-args": [ + "--cfg", + "procmacro2_semver_exempt" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "span-locations" + ] + } + }, + "publish": null, + "authors": [ + "Alex Crichton ", + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "macros" + ], + "readme": "README.md", + "repository": "https://github.com/alexcrichton/proc-macro2", + "edition": "2018", + "links": null + }, + { + "name": "quote", + "version": "1.0.7", + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Quasi-quoting macro quote!(...)", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "quote", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "compiletest", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/tests/compiletest.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "proc-macro" + ], + "proc-macro": [ + "proc-macro2/proc-macro" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/quote-1.0.7/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [ + "syn" + ], + "readme": "README.md", + "repository": "https://github.com/dtolnay/quote", + "edition": "2018", + "links": null + }, + { + "name": "rand", + "version": "0.7.3", + "id": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Random number generators and other randomness functionality.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "getrandom", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": null, + "rename": "getrandom_package", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "log", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.4", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "packed_simd", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.3", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "into_bits" + ], + "target": null, + "registry": null + }, + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_pcg", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_hc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_pcg", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_chacha", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": "cfg(not(target_os = \"emscripten\"))", + "registry": null + }, + { + "name": "rand_hc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": "cfg(target_os = \"emscripten\")", + "registry": null + }, + { + "name": "libc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.22", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": "cfg(unix)", + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "monte-carlo", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/examples/monte-carlo.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "monty-hall", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/examples/monty-hall.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "weighted", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/weighted.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "misc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/misc.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "seq", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/seq.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "generators", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/benches/generators.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [ + "rand_core/alloc" + ], + "default": [ + "std" + ], + "getrandom": [ + "getrandom_package", + "rand_core/getrandom" + ], + "nightly": [ + "simd_support" + ], + "serde1": [], + "simd_support": [ + "packed_simd" + ], + "small_rng": [ + "rand_pcg" + ], + "std": [ + "rand_core/std", + "rand_chacha/std", + "alloc", + "getrandom", + "libc" + ], + "stdweb": [ + "getrandom_package/stdweb" + ], + "wasm-bindgen": [ + "getrandom_package/wasm-bindgen" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand-0.7.3/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true + } + } + }, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_chacha", + "version": "0.2.2", + "id": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "ChaCha random number generator\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "ppv-lite86", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2.6", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [ + "simd" + ], + "target": null, + "registry": null + }, + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_chacha", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_chacha-0.2.2/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std", + "simd" + ], + "simd": [], + "std": [ + "ppv-lite86/std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_chacha-0.2.2/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers", + "The CryptoCorrosion Contributors" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "chacha" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_core", + "version": "0.5.1", + "id": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Core random number generator traits and tools for implementation.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "getrandom", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_core", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_core-0.5.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "alloc": [], + "serde1": [ + "serde" + ], + "std": [ + "alloc", + "getrandom", + "getrandom/std" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_core-0.5.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers", + "The Rust Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_hc", + "version": "0.2.0", + "id": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "HC128 random number generator\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_hc", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_hc-0.2.0/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_hc-0.2.0/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "hc128" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "rand_pcg", + "version": "0.2.1", + "id": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Selected PCG random number generators\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "rand_core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.5", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + }, + { + "name": "bincode", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.1.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "rand_pcg", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lcg64xsh32", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/lcg64xsh32.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "lcg128xsl64", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/lcg128xsl64.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "mcg128xsl64", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/tests/mcg128xsl64.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "serde1": [ + "serde" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/rand_pcg-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Rand Project Developers" + ], + "categories": [ + "algorithms", + "no-std" + ], + "keywords": [ + "random", + "rng", + "pcg" + ], + "readme": "README.md", + "repository": "https://github.com/rust-random/rand", + "edition": "2018", + "links": null + }, + { + "name": "ryu", + "version": "1.0.5", + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0 OR BSL-1.0", + "license_file": null, + "description": "Fast floating point to string conversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "no-panic", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "num_cpus", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.8", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand_xorshift", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "ryu", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "upstream_benchmark", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/examples/upstream_benchmark.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_table_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_table_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "common_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/common_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "d2s_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/d2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2d_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2d_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/exhaustive.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "f2s_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/f2s_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "s2f_test", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/tests/s2f_test.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "bench", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/benches/bench.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "small": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ryu-1.0.5/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/ryu", + "edition": "2018", + "links": null + }, + { + "name": "serde", + "version": "1.0.112", + "id": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A generic serialization/deserialization framework", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=1.0.112", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "serde", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/build.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [], + "default": [ + "std" + ], + "derive": [ + "serde_derive" + ], + "rc": [], + "std": [], + "unstable": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde-1.0.112/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "derive", + "rc" + ] + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [ + "encoding" + ], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "serde_derive", + "version": "1.0.112", + "id": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "syn", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "visit" + ], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "proc-macro" + ], + "crate_types": [ + "proc-macro" + ], + "name": "serde_derive", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.112/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "default": [], + "deserialize_in_place": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-1.0.112/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [], + "keywords": [ + "serde", + "serialization", + "no_std" + ], + "readme": "crates-io.md", + "repository": "https://github.com/serde-rs/serde", + "edition": "2015", + "links": null + }, + { + "name": "serde_json", + "version": "1.0.59", + "id": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "A JSON serialization file format", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "indexmap", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.5", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "itoa", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4.3", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ryu", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.100", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "automod", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustversion", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_bytes", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.11", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_derive", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde_stacker", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "trybuild", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.19", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "diff" + ], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "serde_json", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "alloc": [ + "serde/alloc" + ], + "arbitrary_precision": [], + "default": [ + "std" + ], + "float_roundtrip": [], + "preserve_order": [ + "indexmap" + ], + "raw_value": [], + "std": [ + "serde/std" + ], + "unbounded_depth": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_json-1.0.59/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "features": [ + "raw_value", + "unbounded_depth" + ], + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "raw_value" + ] + } + }, + "publish": null, + "authors": [ + "Erick Tryzelaar ", + "David Tolnay " + ], + "categories": [ + "encoding" + ], + "keywords": [ + "json", + "serde", + "serialization" + ], + "readme": "README.md", + "repository": "https://github.com/serde-rs/json", + "edition": "2018", + "links": null + }, + { + "name": "siphasher", + "version": "0.3.3", + "id": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [ + "derive" + ], + "target": null, + "registry": null + }, + { + "name": "serde_json", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "siphasher", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/siphasher-0.3.3/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "serde_no_std": [ + "serde/alloc" + ], + "serde_std": [ + "std", + "serde/std" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/siphasher-0.3.3/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Frank Denis " + ], + "categories": [ + "algorithms", + "cryptography" + ], + "keywords": [ + "crypto", + "hash", + "siphash" + ], + "readme": "README.md", + "repository": "https://github.com/jedisct1/rust-siphash", + "edition": "2015", + "links": null + }, + { + "name": "string_cache", + "version": "0.8.1", + "id": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "A string interning library for Rust, developed as part of the Servo project.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "lazy_static", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "new_debug_unreachable", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "precomputed-hash", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "serde", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "string_cache", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "simple", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/examples/simple.rs", + "edition": "2018", + "doctest": false, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "small-stack", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/tests/small-stack.rs", + "edition": "2018", + "doctest": false, + "test": true + } + ], + "features": { + "default": [ + "serde_support" + ], + "serde_support": [ + "serde" + ] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache-0.8.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Servo Project Developers" + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/string-cache", + "edition": "2018", + "links": null + }, + { + "name": "string_cache_codegen", + "version": "0.5.1", + "id": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT / Apache-2.0", + "license_file": null, + "description": "A codegen library for string-cache, developed as part of the Servo project.", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "phf_generator", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "phf_shared", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "string_cache_codegen", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache_codegen-0.5.1/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/string_cache_codegen-0.5.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Servo Project Developers" + ], + "categories": [], + "keywords": [], + "readme": null, + "repository": "https://github.com/servo/string-cache", + "edition": "2018", + "links": null + }, + { + "name": "subplan_produces_crate_root_with_forward_slash", + "version": "0.1.0", + "id": "subplan_produces_crate_root_with_forward_slash 0.1.0 (path+file://{{ mock_workspace }})", + "license": null, + "license_file": null, + "description": null, + "source": null, + "dependencies": [ + { + "name": "markup5ever", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "=0.10.0", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "subplan_produces_crate_root_with_forward_slash", + "src_path": "{{ mock_workspace }}/not_a_file.rs", + "edition": "2015", + "doctest": true, + "test": true + } + ], + "features": {}, + "manifest_path": "{{ mock_workspace }}/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [], + "categories": [], + "keywords": [], + "readme": null, + "repository": null, + "edition": "2015", + "links": null + }, + { + "name": "syn", + "version": "1.0.48", + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Parser for Rust source code", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "proc-macro2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0.23", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "quote", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": false, + "features": [], + "target": null, + "registry": null + }, + { + "name": "unicode-xid", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "anyhow", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "flate2", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "insta", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rayon", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "ref-cast", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "regex", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "reqwest", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.10", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [ + "blocking" + ], + "target": null, + "registry": null + }, + { + "name": "syn-test-suite", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "tar", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "termcolor", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "walkdir", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^2.1", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "syn", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_should_parse", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_should_parse.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_visibility", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_visibility.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_stmt", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_stmt.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_round_trip", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_round_trip.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_size", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_size.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_shebang", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_shebang.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_pat", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_pat.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_receiver", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_receiver.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_precedence", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_precedence.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_lit", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_lit.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_stream", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_stream.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_grouping", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_grouping.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ident", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ident.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_iterators", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_iterators.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_parse_buffer", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_parse_buffer.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_asyncness", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_asyncness.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_token_trees", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_token_trees.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_ty", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_ty.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "zzz_stable", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/zzz_stable.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_meta", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_meta.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_expr", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_expr.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_item", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_item.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_path", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_path.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_derive_input", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_derive_input.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_generics", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_generics.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "test_attribute", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/tests/test_attribute.rs", + "edition": "2018", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "rust", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/rust.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "file", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/benches/file.rs", + "edition": "2018", + "required-features": [ + "full", + "parsing" + ], + "doctest": false, + "test": false + }, + { + "kind": [ + "custom-build" + ], + "crate_types": [ + "bin" + ], + "name": "build-script-build", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/build.rs", + "edition": "2018", + "doctest": false, + "test": false + } + ], + "features": { + "clone-impls": [], + "default": [ + "derive", + "parsing", + "printing", + "clone-impls", + "proc-macro" + ], + "derive": [], + "extra-traits": [], + "fold": [], + "full": [], + "parsing": [], + "printing": [ + "quote" + ], + "proc-macro": [ + "proc-macro2/proc-macro", + "quote/proc-macro" + ], + "test": [ + "syn-test-suite/all-features" + ], + "visit": [], + "visit-mut": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/syn-1.0.48/Cargo.toml", + "metadata": { + "docs": { + "rs": { + "all-features": true, + "targets": [ + "x86_64-unknown-linux-gnu" + ] + } + }, + "playground": { + "features": [ + "full", + "visit", + "visit-mut", + "fold", + "extra-traits" + ] + } + }, + "publish": null, + "authors": [ + "David Tolnay " + ], + "categories": [ + "development-tools::procedural-macro-helpers" + ], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/dtolnay/syn", + "edition": "2018", + "links": null + }, + { + "name": "tendril", + "version": "0.4.1", + "id": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT/Apache-2.0", + "license_file": null, + "description": "Compact buffer/string type for zero-copy parsing", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "encoding", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.2", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "encoding_rs", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.8.12", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "futf", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "mac", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "utf-8", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.7", + "kind": null, + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rand", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.4", + "kind": "dev", + "rename": null, + "optional": false, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "tendril", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "example" + ], + "crate_types": [ + "bin" + ], + "name": "fuzz", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/examples/fuzz.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": { + "bench": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/tendril-0.4.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Keegan McAllister ", + "Simon Sapin ", + "Chris Morgan " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/servo/tendril", + "edition": "2015", + "links": null + }, + { + "name": "unicode-xid", + "version": "0.2.1", + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "unicode-xid", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": true + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "exhaustive_tests", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/tests/exhaustive_tests.rs", + "edition": "2015", + "doctest": false, + "test": true + } + ], + "features": { + "bench": [], + "default": [], + "no_std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/unicode-xid-0.2.1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "erick.tryzelaar ", + "kwantam " + ], + "categories": [], + "keywords": [ + "text", + "unicode", + "xid" + ], + "readme": "README.md", + "repository": "https://github.com/unicode-rs/unicode-xid", + "edition": "2015", + "links": null + }, + { + "name": "utf-8", + "version": "0.7.5", + "id": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "MIT OR Apache-2.0", + "license_file": null, + "description": "Incremental, zero-copy UTF-8 decoding with error handling", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "utf8", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/src/lib.rs", + "edition": "2015", + "doctest": true, + "test": false + }, + { + "kind": [ + "test" + ], + "crate_types": [ + "bin" + ], + "name": "unit", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/tests/unit.rs", + "edition": "2015", + "doctest": false, + "test": true + }, + { + "kind": [ + "bench" + ], + "crate_types": [ + "bin" + ], + "name": "from_utf8_lossy", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/benches/from_utf8_lossy.rs", + "edition": "2015", + "doctest": false, + "test": false + } + ], + "features": {}, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/utf-8-0.7.5/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "Simon Sapin " + ], + "categories": [], + "keywords": [], + "readme": "README.md", + "repository": "https://github.com/SimonSapin/rust-utf8", + "edition": "2015", + "links": null + }, + { + "name": "wasi", + "version": "0.9.0+wasi-snapshot-preview1", + "id": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "license": "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT", + "license_file": null, + "description": "Experimental WASI API bindings for Rust", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "dependencies": [ + { + "name": "compiler_builtins", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^0.1", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-core", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": "core", + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + }, + { + "name": "rustc-std-workspace-alloc", + "source": "registry+https://github.com/rust-lang/crates.io-index", + "req": "^1.0", + "kind": null, + "rename": null, + "optional": true, + "uses_default_features": true, + "features": [], + "target": null, + "registry": null + } + ], + "targets": [ + { + "kind": [ + "lib" + ], + "crate_types": [ + "lib" + ], + "name": "wasi", + "src_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/wasi-0.9.0+wasi-snapshot-preview1/src/lib.rs", + "edition": "2018", + "doctest": true, + "test": true + } + ], + "features": { + "default": [ + "std" + ], + "rustc-dep-of-std": [ + "compiler_builtins", + "core", + "rustc-std-workspace-alloc" + ], + "std": [] + }, + "manifest_path": "/Users/andrebrisco/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/wasi-0.9.0+wasi-snapshot-preview1/Cargo.toml", + "metadata": null, + "publish": null, + "authors": [ + "The Cranelift Project Developers" + ], + "categories": [ + "no-std", + "wasm" + ], + "keywords": [ + "webassembly", + "wasm" + ], + "readme": "README.md", + "repository": "https://github.com/bytecodealliance/wasi", + "edition": "2018", + "links": null + } + ], + "workspace_members": [ + "subplan_produces_crate_root_with_forward_slash 0.1.0 (path+file://{{ mock_workspace }})" + ], + "resolve": { + "nodes": [ + { + "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "mac", + "pkg": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "debug_unreachable", + "pkg": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(unix)" + } + ] + }, + { + "name": "wasi", + "pkg": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"wasi\")" + } + ] + } + ], + "features": [ + "std" + ] + }, + { + "id": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "cfg_if", + "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "log", + "pkg": "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf", + "pkg": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_codegen", + "pkg": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde_derive", + "pkg": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "serde_json", + "pkg": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "string_cache", + "pkg": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "string_cache_codegen", + "pkg": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": "build", + "target": null + } + ] + }, + { + "name": "tendril", + "pkg": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "phf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "phf_codegen 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_generator", + "pkg": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand", + "pkg": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "siphasher", + "pkg": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "simd", + "std" + ] + }, + { + "id": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "proc-macro" + ] + }, + { + "id": "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "getrandom_package", + "pkg": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "libc", + "pkg": "libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(unix)" + } + ] + }, + { + "name": "rand_chacha", + "pkg": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(not(target_os = \"emscripten\"))" + } + ] + }, + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand_hc", + "pkg": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": "cfg(target_os = \"emscripten\")" + } + ] + }, + { + "name": "rand_pcg", + "pkg": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "alloc", + "default", + "getrandom", + "getrandom_package", + "libc", + "rand_pcg", + "small_rng", + "std" + ] + }, + { + "id": "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "ppv_lite86", + "pkg": "ppv-lite86 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "std" + ] + }, + { + "id": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "getrandom", + "pkg": "getrandom 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "alloc", + "getrandom", + "std" + ] + }, + { + "id": "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "rand_core", + "pkg": "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "serde_derive 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "syn", + "pkg": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default" + ] + }, + { + "id": "serde_json 1.0.59 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "itoa", + "pkg": "itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "ryu", + "pkg": "ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "std" + ] + }, + { + "id": "siphasher 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + }, + { + "id": "string_cache 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "lazy_static", + "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "debug_unreachable", + "pkg": "new_debug_unreachable 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "precomputed_hash", + "pkg": "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "serde", + "pkg": "serde 1.0.112 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "default", + "serde", + "serde_support" + ] + }, + { + "id": "string_cache_codegen 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "phf_generator", + "pkg": "phf_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "phf_shared", + "pkg": "phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "subplan_produces_crate_root_with_forward_slash 0.1.0 (path+file://{{ mock_workspace }})", + "dependencies": [ + "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "markup5ever", + "pkg": "markup5ever 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "syn 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "proc_macro2", + "pkg": "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "quote", + "pkg": "quote 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "unicode_xid", + "pkg": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [ + "clone-impls", + "default", + "derive", + "parsing", + "printing", + "proc-macro", + "quote", + "visit" + ] + }, + { + "id": "tendril 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [ + "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" + ], + "deps": [ + { + "name": "futf", + "pkg": "futf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "mac", + "pkg": "mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + }, + { + "name": "utf8", + "pkg": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dep_kinds": [ + { + "kind": null, + "target": null + } + ] + } + ], + "features": [] + }, + { + "id": "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default" + ] + }, + { + "id": "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [] + }, + { + "id": "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", + "dependencies": [], + "deps": [], + "features": [ + "default", + "std" + ] + } + ], + "root": "subplan_produces_crate_root_with_forward_slash 0.1.0 (path+file://{{ mock_workspace }})" + }, + "target_directory": "{{ mock_workspace }}/target", + "version": 1, + "workspace_root": "{{ mock_workspace }}", + "metadata": null +} \ No newline at end of file diff --git a/cargo/cargo_raze/impl/src/util.rs b/cargo/cargo_raze/impl/src/util.rs new file mode 100644 index 0000000000..ceccba4728 --- /dev/null +++ b/cargo/cargo_raze/impl/src/util.rs @@ -0,0 +1,487 @@ +// 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, fmt, iter::Iterator, path::Path, path::PathBuf, process::Command, str::FromStr}; + +use anyhow::{anyhow, Result}; + +use cargo_platform::Cfg; + +use cfg_expr::{targets::get_builtin_target_by_triple, Expression, Predicate}; +use pathdiff::diff_paths; + +pub(crate) const SYSTEM_CARGO_BIN_PATH: &str = "cargo"; +pub(crate) const RAZE_LOCKFILE_NAME: &str = "Cargo.raze.lock"; + +static SUPPORTED_PLATFORM_TRIPLES: &[&str] = &[ + // SUPPORTED_T1_PLATFORM_TRIPLES + "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", + // SUPPORTED_T2_PLATFORM_TRIPLES + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-linux-android", + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "i686-linux-android", + "i686-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "s390x-unknown-linux-gnu", + "wasm32-unknown-unknown", + "wasm32-wasi", + "x86_64-apple-ios", + "x86_64-linux-android", + "x86_64-unknown-freebsd", +]; + +/// Determines if the target matches those supported by and defined in rules_rust +/// +/// Examples can be seen below: +/// +/// | target | returns | reason | +/// | ------------------------------------- | ---------------- | ------------------------------------------------ | +/// | `cfg(not(fuchsia))` | `(true, true)` | `fuchsia` would be considered a 'default' dependency since no supported target maps to it. | +/// | `cfg(unix)` | `(true, false)` | There are supported platforms from the `unix` `target_family` but not all platforms are of the `unix` family. | +/// | `cfg(not(windows))` | `(true, false)` | There are supported platforms in addition to those in the `windows` `target_family` | +/// | `x86_64-apple-darwin` | `(true, false)` | This is a supported target triple but obviously won't match with other triples. | +/// | `unknown-unknown-unknown` | `(false, false)` | This will not match any triple. | +/// | `cfg(foo)` | `(false, false)` | `foo` is not a strongly defined cfg value. | +/// | `cfg(target_os = "redox")` | `(false, false)` | `redox` is not a supported platform. | +pub fn is_bazel_supported_platform(target: &str) -> (bool, bool) { + // Ensure the target is represented as an expression + let target_exp = match target.starts_with("cfg(") { + true => target.to_owned(), + false => format!("cfg(target = \"{}\")", target), + }; + + let expression = match Expression::parse(&target_exp) { + Ok(exp) => exp, + // If the target expression cannot be parsed it is not considered a Bazel platform + Err(_) => { + return (false, false); + }, + }; + + let mut is_supported = false; + let mut matches_all = true; + + // Attempt to match the expression + for target_info in SUPPORTED_PLATFORM_TRIPLES + .iter() + .map(|x| get_builtin_target_by_triple(x).unwrap()) + { + let target_matches = expression.eval(|pred| { + match pred { + Predicate::Target(tp) => tp.matches(target_info), + Predicate::KeyValue { + key, + val, + } => (*key == "target") && (*val == target_info.triple), + // For now there is no other kind of matching + _ => false, + } + }); + if target_matches { + is_supported = true; + } else { + matches_all = false; + } + } + + (is_supported, matches_all) +} + +/// Maps a Rust cfg or triple target to Bazel supported triples. +/// +/// Note, the Bazel triples must be defined in: +/// https://github.com/bazelbuild/rules_rust/blob/master/rust/platform/platform.bzl +pub fn get_matching_bazel_triples(target: &str) -> Result> { + let target_exp = match target.starts_with("cfg(") { + true => target.to_owned(), + false => format!("cfg(target = \"{}\")", target), + }; + + let expression = Expression::parse(&target_exp)?; + let triples: Vec = SUPPORTED_PLATFORM_TRIPLES + .iter() + .filter_map(|triple| { + let target_info = get_builtin_target_by_triple(triple).unwrap(); + match expression.eval(|pred| { + match pred { + Predicate::Target(tp) => tp.matches(target_info), + Predicate::KeyValue { + key, + val, + } => (*key == "target") && (*val == target_info.triple), + // For now there is no other kind of matching + _ => false, + } + }) { + true => Some(String::from((*target_info).triple)), + false => None, + } + }) + .collect(); + + Ok(triples) +} + +/// Produces a list of triples based on a provided whitelist +pub fn filter_bazel_triples(triples: &mut Vec, triples_whitelist: &[String]) { + // Early-out if the filter list is empty + if triples_whitelist.is_empty() { + return; + } + + // Prune everything that's not found in the whitelist + triples.retain(|triple| triples_whitelist.iter().any(|i| i == triple)); + + triples.sort(); +} + +/// Returns a list of Bazel targets for use in `select` statements based on a +/// given list of triples. +pub fn generate_bazel_conditions( + rust_rules_workspace_name: &str, + triples: &[String], +) -> Result> { + // Sanity check ensuring all strings represent real triples + for triple in triples.iter() { + if get_builtin_target_by_triple(triple).is_none() { + return Err(anyhow!("Not a triple: '{}'", triple)); + } + } + + let mut bazel_triples: Vec = triples + .iter() + .map(|triple| format!("@{}//rust/platform:{}", rust_rules_workspace_name, triple)) + .collect(); + + bazel_triples.sort(); + + Ok(bazel_triples) +} + +/// Returns whether or not the given path is a Bazel workspace root +pub fn is_bazel_workspace_root(dir: &Path) -> bool { + let workspace_files = [dir.join("WORKSPACE.bazel"), dir.join("WORKSPACE")]; + + for workspace in workspace_files.iter() { + if workspace.exists() { + return true; + } + } + + false +} + +/// Returns a path to a Bazel workspace root based on the current working +/// directory, otherwise None if not workspace is detected. +pub fn find_bazel_workspace_root(manifest_path: &Path) -> Option { + let mut dir = if manifest_path.is_dir() { + Some(manifest_path) + } else { + manifest_path.parent() + }; + + while let Some(current_dir) = dir { + if is_bazel_workspace_root(current_dir) { + return Some(PathBuf::from(current_dir)); + } + + dir = match current_dir.parent() { + Some(parent) => Some(parent), + None => None, + }; + } + + None +} + +pub struct PlatformDetails { + target_triple: String, + attrs: Vec, +} + +pub struct LimitedResults { + pub items: Vec, + pub count_extras: usize, +} + +impl PlatformDetails { + pub fn new_using_rustc(target_triple: &str) -> Result { + let attrs = fetch_attrs(target_triple)?; + Ok(Self::new(target_triple.to_owned(), attrs)) + } + + pub fn new(target_triple: String, attrs: Vec) -> Self { + Self { + target_triple, + attrs, + } + } + + #[allow(dead_code)] + pub fn target_triple(&self) -> &str { + &self.target_triple + } + + pub fn attrs(&self) -> &Vec { + &self.attrs + } +} + +impl LimitedResults { + pub fn is_empty(&self) -> bool { + self.items.is_empty() + } +} + +impl fmt::Debug for LimitedResults { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + if self.count_extras > 0 { + write!(f, "{:?} and {} others", &self.items, self.count_extras) + } else { + write!(f, "{:?}", &self.items) + } + } +} + +pub fn collect_up_to>(max: usize, iter: U) -> LimitedResults { + let mut items = Vec::new(); + let mut count_extras = 0; + for item in iter { + // Spill extra crates into a counter to avoid overflowing terminal + if items.len() < max { + items.push(item); + } else { + count_extras += 1; + } + } + + LimitedResults { + items, + count_extras, + } +} + +pub fn sanitize_ident(ident: &str) -> String { + slug::slugify(&ident).replace("-", "_") +} + +/// Gets the proper system attributes for the provided platform triple using rustc. +fn fetch_attrs(target: &str) -> Result> { + let args = vec![format!("--target={}", target), "--print=cfg".to_owned()]; + + let output = Command::new("rustc").args(&args).output()?; + + if !output.status.success() { + panic!(format!( + "getting target attrs for {} failed with status: '{}' \nstdout: {}\nstderr: {}", + target, + output.status, + String::from_utf8(output.stdout).unwrap_or_else(|_| "[unparseable bytes]".to_owned()), + String::from_utf8(output.stderr).unwrap_or_else(|_| "[unparseable bytes]".to_owned()) + )) + } + + let attr_str = + String::from_utf8(output.stdout).expect("successful run of rustc's output to be utf8"); + + Ok( + attr_str + .lines() + .map(Cfg::from_str) + .map(|cfg| cfg.expect("attrs from rustc should be parsable into Cargo Cfg")) + .collect(), + ) +} + +pub fn get_workspace_member_path(manifest_path: &Path, workspace_root: &Path) -> Option { + assert!(manifest_path.ends_with("Cargo.toml")); + // UNWRAP: A manifest path should always be a path to a 'Cargo.toml' file which should always have a parent directory + diff_paths(manifest_path.parent().unwrap(), workspace_root) +} + +pub fn package_ident(package_name: &str, package_version: &str) -> String { + format!("{}-{}", package_name, package_version) +} + +/// Locates a lockfile for the associated crate. A `Cargo.raze.lock` file in the +/// [RazeSettings::workspace_path](crate::settings::RazeSettings::workspace_path) +/// direcotry will take precidence over a standard `Cargo.lock` file. +pub fn find_lockfile(cargo_workspace_root: &Path, raze_output_dir: &Path) -> Option { + // The custom raze lockfile will always take precidence + let raze_lockfile = raze_output_dir.join(RAZE_LOCKFILE_NAME); + if raze_lockfile.exists() { + return Some(raze_lockfile); + } + + // If there is an existing standard lockfile, use it. + let cargo_lockfile = cargo_workspace_root.join("Cargo.lock"); + if cargo_lockfile.exists() { + return Some(cargo_lockfile); + } + + // No lockfile is available. + None +} + +/// Locates a cargo binary form either an evironment variable or PATH +pub fn cargo_bin_path() -> PathBuf { + PathBuf::from(env::var("CARGO").unwrap_or_else(|_| SYSTEM_CARGO_BIN_PATH.to_string())) +} + +#[cfg(test)] +mod tests { + use std::fs::File; + + use tempfile::TempDir; + + use super::*; + + #[test] + fn test_collect_up_to_works_for_zero() { + let test_items: Vec = Vec::new(); + let results = collect_up_to(10, test_items.iter()); + assert!(results.is_empty()); + } + + #[test] + fn test_collect_up_to_works_for_one() { + let test_items = vec![1]; + let results = collect_up_to(10, test_items.iter()); + assert_eq!(results.items, vec![&1]); + assert!(!results.is_empty()); + } + + #[test] + fn test_collect_up_to_works_for_others_and_bounds_correctly() { + let test_items = vec![1, 2, 3]; + let results = collect_up_to(2, test_items.iter()); + assert_eq!(results.items, vec![&1, &2]); + assert_eq!(results.count_extras, 1); + assert!(!results.is_empty()); + } + + #[test] + fn detecting_workspace_root() { + let bazel_root = TempDir::new().unwrap(); + let manifest = bazel_root.as_ref().join("Cargo.toml"); + + // Starting within the temp directory, we'll find that there are no WORKSPACE.bazel files + // and thus return None to indicate a Bazel workspace root could not be found. + assert_eq!(find_bazel_workspace_root(&manifest), None); + + // After creating a WORKSPACE.bazel file in that directory, we expect to find to be + // returned a path to the temporary directory + File::create(bazel_root.path().join("WORKSPACE.bazel")).unwrap(); + assert_eq!( + find_bazel_workspace_root(&manifest) + .unwrap() + .canonicalize() + .unwrap(), + bazel_root.into_path().canonicalize().unwrap() + ); + } + + #[test] + fn detect_bazel_platforms() { + assert_eq!( + is_bazel_supported_platform("cfg(not(fuchsia))"), + (true, true) + ); + assert_eq!( + is_bazel_supported_platform("cfg(not(target_os = \"redox\"))"), + (true, true) + ); + assert_eq!(is_bazel_supported_platform("cfg(unix)"), (true, false)); + assert_eq!( + is_bazel_supported_platform("cfg(not(windows))"), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform("cfg(target = \"x86_64-apple-darwin\")"), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform("x86_64-apple-darwin"), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform("unknown-unknown-unknown"), + (false, false) + ); + assert_eq!(is_bazel_supported_platform("cfg(foo)"), (false, false)); + assert_eq!( + is_bazel_supported_platform("cfg(target_os = \"redox\")"), + (false, false) + ); + } + + #[test] + fn all_supported_platform_triples_unwrap() { + for triple in SUPPORTED_PLATFORM_TRIPLES.iter() { + get_builtin_target_by_triple(triple).unwrap(); + } + } + + #[test] + fn generate_condition_strings() { + assert_eq!( + generate_bazel_conditions( + "rules_rust", + &vec![ + "aarch64-unknown-linux-gnu".to_string(), + "aarch64-apple-ios".to_string(), + ] + ) + .unwrap(), + vec![ + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + ] + ); + + assert_eq!( + generate_bazel_conditions("rules_rust", &vec!["aarch64-unknown-linux-gnu".to_string()]) + .unwrap(), + vec!["@rules_rust//rust/platform:aarch64-unknown-linux-gnu"] + ); + + assert!(generate_bazel_conditions( + "rules_rust", + &vec![ + "aarch64-unknown-linux-gnu".to_string(), + "unknown-unknown-unknown".to_string(), + ] + ) + .is_err()); + + assert!( + generate_bazel_conditions("rules_rust", &vec!["unknown-unknown-unknown".to_string()]) + .is_err() + ); + + assert!(generate_bazel_conditions( + "rules_rust", + &vec!["foo".to_string(), "bar".to_string(), "baz".to_string()] + ) + .is_err()); + } +} diff --git a/cargo/cargo_raze/rust-toolchain b/cargo/cargo_raze/rust-toolchain new file mode 100644 index 0000000000..2bf5ad0447 --- /dev/null +++ b/cargo/cargo_raze/rust-toolchain @@ -0,0 +1 @@ +stable diff --git a/cargo/cargo_raze/rustfmt.toml b/cargo/cargo_raze/rustfmt.toml new file mode 100644 index 0000000000..ab2a89d9e7 --- /dev/null +++ b/cargo/cargo_raze/rustfmt.toml @@ -0,0 +1,28 @@ +binop_separator = "Front" +brace_style = "SameLineWhere" +combine_control_expr = false +comment_width = 100 +condense_windcard_suffixes = true +control_brace_style = "AlwaysSameLine" +empty_item_single_line = true +error_on_line_overflow = false +error_on_line_overflow_comments = false +fn_args_density = "Tall" +fn_single_line = false +force_explicit_abi = true +force_multiline_blocks = false +format_strings = true +hard_tabs = false +indent_style = "Block" +match_block_trailing_comma = true +merge_derives = true +normalize_comments = false +reorder_imports = true +report_fixme = "always" +tab_spaces = 2 +where_single_line = false +wrap_comments = false +reorder_extern_crates = true +space_after_colon = true +space_before_colon = false +struct_lit_single_line = false diff --git a/cargo/cargo_raze/third_party/BUILD.bazel b/cargo/cargo_raze/third_party/BUILD.bazel new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cargo/cargo_raze/third_party/cargo/BUILD.bazel b/cargo/cargo_raze/third_party/cargo/BUILD.bazel new file mode 100644 index 0000000000..0cad4cf6a7 --- /dev/null +++ b/cargo/cargo_raze/third_party/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/third_party/cargo/crates.bzl b/cargo/cargo_raze/third_party/cargo/crates.bzl new file mode 100644 index 0000000000..687e1a4c7a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/crates.bzl @@ -0,0 +1,3040 @@ +""" +@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 = { + "impl": { + "anyhow": "@cargo_raze__anyhow__1_0_38//:anyhow", + "cargo-clone-crate": "@cargo_raze__cargo_clone_crate__0_1_6//:cargo_clone_crate", + "cargo-lock": "@cargo_raze__cargo_lock__6_0_0//:cargo_lock", + "cargo-platform": "@cargo_raze__cargo_platform__0_1_1//:cargo_platform", + "cargo_metadata": "@cargo_raze__cargo_metadata__0_12_3//:cargo_metadata", + "cargo_toml": "@cargo_raze__cargo_toml__0_8_1//:cargo_toml", + "cfg-expr": "@cargo_raze__cfg_expr__0_6_0//:cfg_expr", + "crates-index": "@cargo_raze__crates_index__0_16_2//:crates_index", + "docopt": "@cargo_raze__docopt__1_1_0//:docopt", + "glob": "@cargo_raze__glob__0_3_0//:glob", + "itertools": "@cargo_raze__itertools__0_10_0//:itertools", + "log": "@cargo_raze__log__0_4_13//:log", + "pathdiff": "@cargo_raze__pathdiff__0_2_0//:pathdiff", + "regex": "@cargo_raze__regex__1_4_3//:regex", + "rustc-serialize": "@cargo_raze__rustc_serialize__0_3_24//:rustc_serialize", + "semver": "@cargo_raze__semver__0_11_0//:semver", + "serde": "@cargo_raze__serde__1_0_120//:serde", + "serde_json": "@cargo_raze__serde_json__1_0_61//:serde_json", + "slug": "@cargo_raze__slug__0_1_4//:slug", + "spdx": "@cargo_raze__spdx__0_3_4//:spdx", + "tempfile": "@cargo_raze__tempfile__3_2_0//:tempfile", + "tera": "@cargo_raze__tera__1_6_1//:tera", + "toml": "@cargo_raze__toml__0_5_8//:toml", + "url": "@cargo_raze__url__2_2_0//:url", + }, +} + +# 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 = { + "impl": { + "serde_derive": "@cargo_raze__serde_derive__1_0_120//:serde_derive", + }, +} + +# 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 = { + "impl": { + "flate2": "@cargo_raze__flate2__1_0_19//:flate2", + "hamcrest2": "@cargo_raze__hamcrest2__0_3_0//:hamcrest2", + "httpmock": "@cargo_raze__httpmock__0_5_4//:httpmock", + "lazy_static": "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "tar": "@cargo_raze__tar__0_4_30//:tar", + }, +} + +# 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 = { + "impl": { + "indoc": "@cargo_raze__indoc__1_0_3//:indoc", + }, +} + +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 cargo_raze_fetch_remote_crates(): + """This function defines a collection of repos and should be called in a WORKSPACE file""" + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.adler-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.aho-corasick-0.7.15.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__anyhow__1_0_38", + url = "https://crates.io/api/v1/crates/anyhow/1.0.38/download", + type = "tar.gz", + sha256 = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1", + strip_prefix = "anyhow-1.0.38", + build_file = Label("//third_party/cargo/remote:BUILD.anyhow-1.0.38.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__arrayref__0_3_6", + url = "https://crates.io/api/v1/crates/arrayref/0.3.6/download", + type = "tar.gz", + sha256 = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544", + strip_prefix = "arrayref-0.3.6", + build_file = Label("//third_party/cargo/remote:BUILD.arrayref-0.3.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.arrayvec-0.5.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ascii_canvas__2_0_0", + url = "https://crates.io/api/v1/crates/ascii-canvas/2.0.0/download", + type = "tar.gz", + sha256 = "ff8eb72df928aafb99fe5d37b383f2fe25bd2a765e3e5f7c365916b6f2463a29", + strip_prefix = "ascii-canvas-2.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.ascii-canvas-2.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__assert_json_diff__1_1_0", + url = "https://crates.io/api/v1/crates/assert-json-diff/1.1.0/download", + type = "tar.gz", + sha256 = "4259cbe96513d2f1073027a259fc2ca917feb3026a5a8d984e3628e490255cc0", + strip_prefix = "assert-json-diff-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.assert-json-diff-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_channel__1_5_1", + url = "https://crates.io/api/v1/crates/async-channel/1.5.1/download", + type = "tar.gz", + sha256 = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9", + strip_prefix = "async-channel-1.5.1", + build_file = Label("//third_party/cargo/remote:BUILD.async-channel-1.5.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_executor__1_4_0", + url = "https://crates.io/api/v1/crates/async-executor/1.4.0/download", + type = "tar.gz", + sha256 = "eb877970c7b440ead138f6321a3b5395d6061183af779340b65e20c0fede9146", + strip_prefix = "async-executor-1.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-executor-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_global_executor__2_0_2", + url = "https://crates.io/api/v1/crates/async-global-executor/2.0.2/download", + type = "tar.gz", + sha256 = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6", + strip_prefix = "async-global-executor-2.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.async-global-executor-2.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_io__1_3_1", + url = "https://crates.io/api/v1/crates/async-io/1.3.1/download", + type = "tar.gz", + sha256 = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd", + strip_prefix = "async-io-1.3.1", + build_file = Label("//third_party/cargo/remote:BUILD.async-io-1.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_lock__2_3_0", + url = "https://crates.io/api/v1/crates/async-lock/2.3.0/download", + type = "tar.gz", + sha256 = "1996609732bde4a9988bc42125f55f2af5f3c36370e27c778d5191a4a1b63bfb", + strip_prefix = "async-lock-2.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-lock-2.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_mutex__1_4_0", + url = "https://crates.io/api/v1/crates/async-mutex/1.4.0/download", + type = "tar.gz", + sha256 = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e", + strip_prefix = "async-mutex-1.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-mutex-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_object_pool__0_1_4", + url = "https://crates.io/api/v1/crates/async-object-pool/0.1.4/download", + type = "tar.gz", + sha256 = "aeb901c30ebc2fc4ab46395bbfbdba9542c16559d853645d75190c3056caf3bc", + strip_prefix = "async-object-pool-0.1.4", + build_file = Label("//third_party/cargo/remote:BUILD.async-object-pool-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_process__1_0_1", + url = "https://crates.io/api/v1/crates/async-process/1.0.1/download", + type = "tar.gz", + sha256 = "4c8cea09c1fb10a317d1b5af8024eeba256d6554763e85ecd90ff8df31c7bbda", + strip_prefix = "async-process-1.0.1", + build_file = Label("//third_party/cargo/remote:BUILD.async-process-1.0.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_std__1_9_0", + url = "https://crates.io/api/v1/crates/async-std/1.9.0/download", + type = "tar.gz", + sha256 = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341", + strip_prefix = "async-std-1.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-std-1.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_stream__0_3_0", + url = "https://crates.io/api/v1/crates/async-stream/0.3.0/download", + type = "tar.gz", + sha256 = "3670df70cbc01729f901f94c887814b3c68db038aad1329a418bae178bc5295c", + strip_prefix = "async-stream-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-stream-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_stream_impl__0_3_0", + url = "https://crates.io/api/v1/crates/async-stream-impl/0.3.0/download", + type = "tar.gz", + sha256 = "a3548b8efc9f8e8a5a0a2808c5bd8451a9031b9e5b879a79590304ae928b0a70", + strip_prefix = "async-stream-impl-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.async-stream-impl-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_task__4_0_3", + url = "https://crates.io/api/v1/crates/async-task/4.0.3/download", + type = "tar.gz", + sha256 = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0", + strip_prefix = "async-task-4.0.3", + build_file = Label("//third_party/cargo/remote:BUILD.async-task-4.0.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__async_trait__0_1_42", + url = "https://crates.io/api/v1/crates/async-trait/0.1.42/download", + type = "tar.gz", + sha256 = "8d3a45e77e34375a7923b1e8febb049bb011f064714a8e17a1a616fef01da13d", + strip_prefix = "async-trait-0.1.42", + build_file = Label("//third_party/cargo/remote:BUILD.async-trait-0.1.42.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__atomic_waker__1_0_0", + url = "https://crates.io/api/v1/crates/atomic-waker/1.0.0/download", + type = "tar.gz", + sha256 = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a", + strip_prefix = "atomic-waker-1.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.atomic-waker-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.atty-0.2.14.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.autocfg-1.0.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__base64__0_13_0", + url = "https://crates.io/api/v1/crates/base64/0.13.0/download", + type = "tar.gz", + sha256 = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd", + strip_prefix = "base64-0.13.0", + build_file = Label("//third_party/cargo/remote:BUILD.base64-0.13.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__basic_cookies__0_1_4", + url = "https://crates.io/api/v1/crates/basic-cookies/0.1.4/download", + type = "tar.gz", + sha256 = "cb53b6b315f924c7f113b162e53b3901c05fc9966baf84d201dfcc7432a4bb38", + strip_prefix = "basic-cookies-0.1.4", + build_file = Label("//third_party/cargo/remote:BUILD.basic-cookies-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__bit_set__0_5_2", + url = "https://crates.io/api/v1/crates/bit-set/0.5.2/download", + type = "tar.gz", + sha256 = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de", + strip_prefix = "bit-set-0.5.2", + build_file = Label("//third_party/cargo/remote:BUILD.bit-set-0.5.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__bit_vec__0_6_3", + url = "https://crates.io/api/v1/crates/bit-vec/0.6.3/download", + type = "tar.gz", + sha256 = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb", + strip_prefix = "bit-vec-0.6.3", + build_file = Label("//third_party/cargo/remote:BUILD.bit-vec-0.6.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.bitflags-1.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__blake2b_simd__0_5_11", + url = "https://crates.io/api/v1/crates/blake2b_simd/0.5.11/download", + type = "tar.gz", + sha256 = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587", + strip_prefix = "blake2b_simd-0.5.11", + build_file = Label("//third_party/cargo/remote:BUILD.blake2b_simd-0.5.11.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__block_buffer__0_7_3", + url = "https://crates.io/api/v1/crates/block-buffer/0.7.3/download", + type = "tar.gz", + sha256 = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b", + strip_prefix = "block-buffer-0.7.3", + build_file = Label("//third_party/cargo/remote:BUILD.block-buffer-0.7.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__block_padding__0_1_5", + url = "https://crates.io/api/v1/crates/block-padding/0.1.5/download", + type = "tar.gz", + sha256 = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5", + strip_prefix = "block-padding-0.1.5", + build_file = Label("//third_party/cargo/remote:BUILD.block-padding-0.1.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__blocking__1_0_2", + url = "https://crates.io/api/v1/crates/blocking/1.0.2/download", + type = "tar.gz", + sha256 = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9", + strip_prefix = "blocking-1.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.blocking-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__bstr__0_2_14", + url = "https://crates.io/api/v1/crates/bstr/0.2.14/download", + type = "tar.gz", + sha256 = "473fc6b38233f9af7baa94fb5852dca389e3d95b8e21c8e3719301462c5d9faf", + strip_prefix = "bstr-0.2.14", + build_file = Label("//third_party/cargo/remote:BUILD.bstr-0.2.14.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__bumpalo__3_4_0", + url = "https://crates.io/api/v1/crates/bumpalo/3.4.0/download", + type = "tar.gz", + sha256 = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820", + strip_prefix = "bumpalo-3.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.bumpalo-3.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__byte_tools__0_3_1", + url = "https://crates.io/api/v1/crates/byte-tools/0.3.1/download", + type = "tar.gz", + sha256 = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7", + strip_prefix = "byte-tools-0.3.1", + build_file = Label("//third_party/cargo/remote:BUILD.byte-tools-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__byteorder__1_4_2", + url = "https://crates.io/api/v1/crates/byteorder/1.4.2/download", + type = "tar.gz", + sha256 = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b", + strip_prefix = "byteorder-1.4.2", + build_file = Label("//third_party/cargo/remote:BUILD.byteorder-1.4.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__bytes__1_0_1", + url = "https://crates.io/api/v1/crates/bytes/1.0.1/download", + type = "tar.gz", + sha256 = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040", + strip_prefix = "bytes-1.0.1", + build_file = Label("//third_party/cargo/remote:BUILD.bytes-1.0.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cache_padded__1_1_1", + url = "https://crates.io/api/v1/crates/cache-padded/1.1.1/download", + type = "tar.gz", + sha256 = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba", + strip_prefix = "cache-padded-1.1.1", + build_file = Label("//third_party/cargo/remote:BUILD.cache-padded-1.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cargo_clone_crate__0_1_6", + url = "https://crates.io/api/v1/crates/cargo-clone-crate/0.1.6/download", + type = "tar.gz", + sha256 = "6b78a45c9c653977a5f6513261370501ce16de5ddcef970adbff135cf63540fe", + strip_prefix = "cargo-clone-crate-0.1.6", + build_file = Label("//third_party/cargo/remote:BUILD.cargo-clone-crate-0.1.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cargo_lock__6_0_0", + url = "https://crates.io/api/v1/crates/cargo-lock/6.0.0/download", + type = "tar.gz", + sha256 = "bad00408e56f778335802ea240b8d70bebf6ea6c43c7508ebb6259431b5f16c2", + strip_prefix = "cargo-lock-6.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.cargo-lock-6.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cargo_platform__0_1_1", + url = "https://crates.io/api/v1/crates/cargo-platform/0.1.1/download", + type = "tar.gz", + sha256 = "0226944a63d1bf35a3b5f948dd7c59e263db83695c9e8bffc4037de02e30f1d7", + strip_prefix = "cargo-platform-0.1.1", + build_file = Label("//third_party/cargo/remote:BUILD.cargo-platform-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cargo_metadata__0_12_3", + url = "https://crates.io/api/v1/crates/cargo_metadata/0.12.3/download", + type = "tar.gz", + sha256 = "7714a157da7991e23d90686b9524b9e12e0407a108647f52e9328f4b3d51ac7f", + strip_prefix = "cargo_metadata-0.12.3", + build_file = Label("//third_party/cargo/remote:BUILD.cargo_metadata-0.12.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cargo_toml__0_8_1", + url = "https://crates.io/api/v1/crates/cargo_toml/0.8.1/download", + type = "tar.gz", + sha256 = "513d17226888c7b8283ac02a1c1b0d8a9d4cbf6db65dfadb79f598f5d7966fe9", + strip_prefix = "cargo_toml-0.8.1", + build_file = Label("//third_party/cargo/remote:BUILD.cargo_toml-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cc__1_0_66", + url = "https://crates.io/api/v1/crates/cc/1.0.66/download", + type = "tar.gz", + sha256 = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48", + strip_prefix = "cc-1.0.66", + build_file = Label("//third_party/cargo/remote:BUILD.cc-1.0.66.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cfg_expr__0_6_0", + url = "https://crates.io/api/v1/crates/cfg-expr/0.6.0/download", + type = "tar.gz", + sha256 = "cb4f9cf6cb58661f5cdcda0240ab42788e009bd957ba56c1367aa01c7c6fbc05", + strip_prefix = "cfg-expr-0.6.0", + build_file = Label("//third_party/cargo/remote:BUILD.cfg-expr-0.6.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__cfg_if__0_1_10", + url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", + type = "tar.gz", + sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", + strip_prefix = "cfg-if-0.1.10", + build_file = Label("//third_party/cargo/remote:BUILD.cfg-if-0.1.10.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.cfg-if-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__chrono__0_4_19", + url = "https://crates.io/api/v1/crates/chrono/0.4.19/download", + type = "tar.gz", + sha256 = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73", + strip_prefix = "chrono-0.4.19", + build_file = Label("//third_party/cargo/remote:BUILD.chrono-0.4.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__chrono_tz__0_5_3", + url = "https://crates.io/api/v1/crates/chrono-tz/0.5.3/download", + type = "tar.gz", + sha256 = "2554a3155fec064362507487171dcc4edc3df60cb10f3a1fb10ed8094822b120", + strip_prefix = "chrono-tz-0.5.3", + build_file = Label("//third_party/cargo/remote:BUILD.chrono-tz-0.5.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__concurrent_queue__1_2_2", + url = "https://crates.io/api/v1/crates/concurrent-queue/1.2.2/download", + type = "tar.gz", + sha256 = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3", + strip_prefix = "concurrent-queue-1.2.2", + build_file = Label("//third_party/cargo/remote:BUILD.concurrent-queue-1.2.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__constant_time_eq__0_1_5", + url = "https://crates.io/api/v1/crates/constant_time_eq/0.1.5/download", + type = "tar.gz", + sha256 = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc", + strip_prefix = "constant_time_eq-0.1.5", + build_file = Label("//third_party/cargo/remote:BUILD.constant_time_eq-0.1.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__core_foundation__0_9_1", + url = "https://crates.io/api/v1/crates/core-foundation/0.9.1/download", + type = "tar.gz", + sha256 = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62", + strip_prefix = "core-foundation-0.9.1", + build_file = Label("//third_party/cargo/remote:BUILD.core-foundation-0.9.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.core-foundation-sys-0.8.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__crates_index__0_16_2", + url = "https://crates.io/api/v1/crates/crates-index/0.16.2/download", + type = "tar.gz", + sha256 = "7f24823d553339d125040d989d2a593a01b034fe5ac17714423bcd2c3d168878", + strip_prefix = "crates-index-0.16.2", + build_file = Label("//third_party/cargo/remote:BUILD.crates-index-0.16.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.crc32fast-1.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.crossbeam-utils-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__crunchy__0_2_2", + url = "https://crates.io/api/v1/crates/crunchy/0.2.2/download", + type = "tar.gz", + sha256 = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7", + strip_prefix = "crunchy-0.2.2", + build_file = Label("//third_party/cargo/remote:BUILD.crunchy-0.2.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__curl__0_4_34", + url = "https://crates.io/api/v1/crates/curl/0.4.34/download", + type = "tar.gz", + sha256 = "e268162af1a5fe89917ae25ba3b0a77c8da752bdc58e7dbb4f15b91fbd33756e", + strip_prefix = "curl-0.4.34", + build_file = Label("//third_party/cargo/remote:BUILD.curl-0.4.34.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__curl_sys__0_4_39_curl_7_74_0", + url = "https://crates.io/api/v1/crates/curl-sys/0.4.39+curl-7.74.0/download", + type = "tar.gz", + sha256 = "07a8ce861e7b68a0b394e814d7ee9f1b2750ff8bd10372c6ad3bacc10e86f874", + strip_prefix = "curl-sys-0.4.39+curl-7.74.0", + build_file = Label("//third_party/cargo/remote:BUILD.curl-sys-0.4.39+curl-7.74.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__deunicode__0_4_3", + url = "https://crates.io/api/v1/crates/deunicode/0.4.3/download", + type = "tar.gz", + sha256 = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690", + strip_prefix = "deunicode-0.4.3", + build_file = Label("//third_party/cargo/remote:BUILD.deunicode-0.4.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__diff__0_1_12", + url = "https://crates.io/api/v1/crates/diff/0.1.12/download", + type = "tar.gz", + sha256 = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499", + strip_prefix = "diff-0.1.12", + build_file = Label("//third_party/cargo/remote:BUILD.diff-0.1.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__difference__2_0_0", + url = "https://crates.io/api/v1/crates/difference/2.0.0/download", + type = "tar.gz", + sha256 = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198", + strip_prefix = "difference-2.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.difference-2.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__digest__0_8_1", + url = "https://crates.io/api/v1/crates/digest/0.8.1/download", + type = "tar.gz", + sha256 = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5", + strip_prefix = "digest-0.8.1", + build_file = Label("//third_party/cargo/remote:BUILD.digest-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__dirs__1_0_5", + url = "https://crates.io/api/v1/crates/dirs/1.0.5/download", + type = "tar.gz", + sha256 = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901", + strip_prefix = "dirs-1.0.5", + build_file = Label("//third_party/cargo/remote:BUILD.dirs-1.0.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__docopt__1_1_0", + url = "https://crates.io/api/v1/crates/docopt/1.1.0/download", + type = "tar.gz", + sha256 = "7f525a586d310c87df72ebcd98009e57f1cc030c8c268305287a476beb653969", + strip_prefix = "docopt-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.docopt-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.either-1.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ena__0_14_0", + url = "https://crates.io/api/v1/crates/ena/0.14.0/download", + type = "tar.gz", + sha256 = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3", + strip_prefix = "ena-0.14.0", + build_file = Label("//third_party/cargo/remote:BUILD.ena-0.14.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__encoding_rs__0_8_26", + url = "https://crates.io/api/v1/crates/encoding_rs/0.8.26/download", + type = "tar.gz", + sha256 = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283", + strip_prefix = "encoding_rs-0.8.26", + build_file = Label("//third_party/cargo/remote:BUILD.encoding_rs-0.8.26.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__event_listener__2_5_1", + url = "https://crates.io/api/v1/crates/event-listener/2.5.1/download", + type = "tar.gz", + sha256 = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59", + strip_prefix = "event-listener-2.5.1", + build_file = Label("//third_party/cargo/remote:BUILD.event-listener-2.5.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__extend__0_1_2", + url = "https://crates.io/api/v1/crates/extend/0.1.2/download", + type = "tar.gz", + sha256 = "f47da3a72ec598d9c8937a7ebca8962a5c7a1f28444e38c2b33c771ba3f55f05", + strip_prefix = "extend-0.1.2", + build_file = Label("//third_party/cargo/remote:BUILD.extend-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__fake_simd__0_1_2", + url = "https://crates.io/api/v1/crates/fake-simd/0.1.2/download", + type = "tar.gz", + sha256 = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed", + strip_prefix = "fake-simd-0.1.2", + build_file = Label("//third_party/cargo/remote:BUILD.fake-simd-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__fastrand__1_4_0", + url = "https://crates.io/api/v1/crates/fastrand/1.4.0/download", + type = "tar.gz", + sha256 = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3", + strip_prefix = "fastrand-1.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.fastrand-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__filetime__0_2_14", + url = "https://crates.io/api/v1/crates/filetime/0.2.14/download", + type = "tar.gz", + sha256 = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8", + strip_prefix = "filetime-0.2.14", + build_file = Label("//third_party/cargo/remote:BUILD.filetime-0.2.14.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__fixedbitset__0_2_0", + url = "https://crates.io/api/v1/crates/fixedbitset/0.2.0/download", + type = "tar.gz", + sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d", + strip_prefix = "fixedbitset-0.2.0", + build_file = Label("//third_party/cargo/remote:BUILD.fixedbitset-0.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__flate2__1_0_19", + url = "https://crates.io/api/v1/crates/flate2/1.0.19/download", + type = "tar.gz", + sha256 = "7411863d55df97a419aa64cb4d2f167103ea9d767e2c54a1868b7ac3f6b47129", + strip_prefix = "flate2-1.0.19", + build_file = Label("//third_party/cargo/remote:BUILD.flate2-1.0.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__flume__0_10_1", + url = "https://crates.io/api/v1/crates/flume/0.10.1/download", + type = "tar.gz", + sha256 = "0362ef9c4c1fa854ff95b4cb78045a86e810d804dc04937961988b45427104a9", + strip_prefix = "flume-0.10.1", + build_file = Label("//third_party/cargo/remote:BUILD.flume-0.10.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__fnv__1_0_7", + url = "https://crates.io/api/v1/crates/fnv/1.0.7/download", + type = "tar.gz", + sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", + strip_prefix = "fnv-1.0.7", + build_file = Label("//third_party/cargo/remote:BUILD.fnv-1.0.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__foreign_types__0_3_2", + url = "https://crates.io/api/v1/crates/foreign-types/0.3.2/download", + type = "tar.gz", + sha256 = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1", + strip_prefix = "foreign-types-0.3.2", + build_file = Label("//third_party/cargo/remote:BUILD.foreign-types-0.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__foreign_types_shared__0_1_1", + url = "https://crates.io/api/v1/crates/foreign-types-shared/0.1.1/download", + type = "tar.gz", + sha256 = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b", + strip_prefix = "foreign-types-shared-0.1.1", + build_file = Label("//third_party/cargo/remote:BUILD.foreign-types-shared-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__form_urlencoded__1_0_0", + url = "https://crates.io/api/v1/crates/form_urlencoded/1.0.0/download", + type = "tar.gz", + sha256 = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00", + strip_prefix = "form_urlencoded-1.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.form_urlencoded-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_channel__0_3_12", + url = "https://crates.io/api/v1/crates/futures-channel/0.3.12/download", + type = "tar.gz", + sha256 = "f2d31b7ec7efab6eefc7c57233bb10b847986139d88cc2f5a02a1ae6871a1846", + strip_prefix = "futures-channel-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-channel-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_core__0_3_12", + url = "https://crates.io/api/v1/crates/futures-core/0.3.12/download", + type = "tar.gz", + sha256 = "79e5145dde8da7d1b3892dad07a9c98fc04bc39892b1ecc9692cf53e2b780a65", + strip_prefix = "futures-core-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-core-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_io__0_3_12", + url = "https://crates.io/api/v1/crates/futures-io/0.3.12/download", + type = "tar.gz", + sha256 = "28be053525281ad8259d47e4de5de657b25e7bac113458555bb4b70bc6870500", + strip_prefix = "futures-io-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-io-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_lite__1_11_3", + url = "https://crates.io/api/v1/crates/futures-lite/1.11.3/download", + type = "tar.gz", + sha256 = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb", + strip_prefix = "futures-lite-1.11.3", + build_file = Label("//third_party/cargo/remote:BUILD.futures-lite-1.11.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_macro__0_3_12", + url = "https://crates.io/api/v1/crates/futures-macro/0.3.12/download", + type = "tar.gz", + sha256 = "c287d25add322d9f9abdcdc5927ca398917996600182178774032e9f8258fedd", + strip_prefix = "futures-macro-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-macro-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_sink__0_3_12", + url = "https://crates.io/api/v1/crates/futures-sink/0.3.12/download", + type = "tar.gz", + sha256 = "caf5c69029bda2e743fddd0582d1083951d65cc9539aebf8812f36c3491342d6", + strip_prefix = "futures-sink-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-sink-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_task__0_3_12", + url = "https://crates.io/api/v1/crates/futures-task/0.3.12/download", + type = "tar.gz", + sha256 = "13de07eb8ea81ae445aca7b69f5f7bf15d7bf4912d8ca37d6645c77ae8a58d86", + strip_prefix = "futures-task-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-task-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__futures_util__0_3_12", + url = "https://crates.io/api/v1/crates/futures-util/0.3.12/download", + type = "tar.gz", + sha256 = "632a8cd0f2a4b3fdea1657f08bde063848c3bd00f9bbf6e256b8be78802e624b", + strip_prefix = "futures-util-0.3.12", + build_file = Label("//third_party/cargo/remote:BUILD.futures-util-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__generic_array__0_12_3", + url = "https://crates.io/api/v1/crates/generic-array/0.12.3/download", + type = "tar.gz", + sha256 = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec", + strip_prefix = "generic-array-0.12.3", + build_file = Label("//third_party/cargo/remote:BUILD.generic-array-0.12.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__getrandom__0_1_16", + url = "https://crates.io/api/v1/crates/getrandom/0.1.16/download", + type = "tar.gz", + sha256 = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce", + strip_prefix = "getrandom-0.1.16", + build_file = Label("//third_party/cargo/remote:BUILD.getrandom-0.1.16.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__getrandom__0_2_2", + url = "https://crates.io/api/v1/crates/getrandom/0.2.2/download", + type = "tar.gz", + sha256 = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8", + strip_prefix = "getrandom-0.2.2", + build_file = Label("//third_party/cargo/remote:BUILD.getrandom-0.2.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__git2__0_13_16", + url = "https://crates.io/api/v1/crates/git2/0.13.16/download", + type = "tar.gz", + sha256 = "f28f83eecb0de4d4afb74aef4874963739d6d167752a7a5ba156e56b27a4ede7", + strip_prefix = "git2-0.13.16", + build_file = Label("//third_party/cargo/remote:BUILD.git2-0.13.16.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__glob__0_3_0", + url = "https://crates.io/api/v1/crates/glob/0.3.0/download", + type = "tar.gz", + sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574", + strip_prefix = "glob-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.glob-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__globset__0_4_6", + url = "https://crates.io/api/v1/crates/globset/0.4.6/download", + type = "tar.gz", + sha256 = "c152169ef1e421390738366d2f796655fec62621dabbd0fd476f905934061e4a", + strip_prefix = "globset-0.4.6", + build_file = Label("//third_party/cargo/remote:BUILD.globset-0.4.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__globwalk__0_8_1", + url = "https://crates.io/api/v1/crates/globwalk/0.8.1/download", + type = "tar.gz", + sha256 = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc", + strip_prefix = "globwalk-0.8.1", + build_file = Label("//third_party/cargo/remote:BUILD.globwalk-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__gloo_timers__0_2_1", + url = "https://crates.io/api/v1/crates/gloo-timers/0.2.1/download", + type = "tar.gz", + sha256 = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f", + strip_prefix = "gloo-timers-0.2.1", + build_file = Label("//third_party/cargo/remote:BUILD.gloo-timers-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__h2__0_3_0", + url = "https://crates.io/api/v1/crates/h2/0.3.0/download", + type = "tar.gz", + sha256 = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5", + strip_prefix = "h2-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.h2-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__hamcrest2__0_3_0", + url = "https://crates.io/api/v1/crates/hamcrest2/0.3.0/download", + type = "tar.gz", + sha256 = "49f837c62de05dc9cc71ff6486cd85de8856a330395ae338a04bfcefe5e91075", + strip_prefix = "hamcrest2-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.hamcrest2-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__hashbrown__0_9_1", + url = "https://crates.io/api/v1/crates/hashbrown/0.9.1/download", + type = "tar.gz", + sha256 = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04", + strip_prefix = "hashbrown-0.9.1", + build_file = Label("//third_party/cargo/remote:BUILD.hashbrown-0.9.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.hermit-abi-0.1.18.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__hex__0_4_2", + url = "https://crates.io/api/v1/crates/hex/0.4.2/download", + type = "tar.gz", + sha256 = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35", + strip_prefix = "hex-0.4.2", + build_file = Label("//third_party/cargo/remote:BUILD.hex-0.4.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__home__0_5_3", + url = "https://crates.io/api/v1/crates/home/0.5.3/download", + type = "tar.gz", + sha256 = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654", + strip_prefix = "home-0.5.3", + build_file = Label("//third_party/cargo/remote:BUILD.home-0.5.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__http__0_2_3", + url = "https://crates.io/api/v1/crates/http/0.2.3/download", + type = "tar.gz", + sha256 = "7245cd7449cc792608c3c8a9eaf69bd4eabbabf802713748fd739c98b82f0747", + strip_prefix = "http-0.2.3", + build_file = Label("//third_party/cargo/remote:BUILD.http-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__http_body__0_4_0", + url = "https://crates.io/api/v1/crates/http-body/0.4.0/download", + type = "tar.gz", + sha256 = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994", + strip_prefix = "http-body-0.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.http-body-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__httparse__1_3_4", + url = "https://crates.io/api/v1/crates/httparse/1.3.4/download", + type = "tar.gz", + sha256 = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9", + strip_prefix = "httparse-1.3.4", + build_file = Label("//third_party/cargo/remote:BUILD.httparse-1.3.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__httpdate__0_3_2", + url = "https://crates.io/api/v1/crates/httpdate/0.3.2/download", + type = "tar.gz", + sha256 = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47", + strip_prefix = "httpdate-0.3.2", + build_file = Label("//third_party/cargo/remote:BUILD.httpdate-0.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__httpmock__0_5_4", + url = "https://crates.io/api/v1/crates/httpmock/0.5.4/download", + type = "tar.gz", + sha256 = "c3651b042b15370cea138892c0496c195ab77b472548d43e6595284c57da1bf5", + strip_prefix = "httpmock-0.5.4", + build_file = Label("//third_party/cargo/remote:BUILD.httpmock-0.5.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__humansize__1_1_0", + url = "https://crates.io/api/v1/crates/humansize/1.1.0/download", + type = "tar.gz", + sha256 = "b6cab2627acfc432780848602f3f558f7e9dd427352224b0d9324025796d2a5e", + strip_prefix = "humansize-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.humansize-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__hyper__0_14_2", + url = "https://crates.io/api/v1/crates/hyper/0.14.2/download", + type = "tar.gz", + sha256 = "12219dc884514cb4a6a03737f4413c0e01c23a1b059b0156004b23f1e19dccbe", + strip_prefix = "hyper-0.14.2", + build_file = Label("//third_party/cargo/remote:BUILD.hyper-0.14.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__hyper_tls__0_5_0", + url = "https://crates.io/api/v1/crates/hyper-tls/0.5.0/download", + type = "tar.gz", + sha256 = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905", + strip_prefix = "hyper-tls-0.5.0", + build_file = Label("//third_party/cargo/remote:BUILD.hyper-tls-0.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__idna__0_2_0", + url = "https://crates.io/api/v1/crates/idna/0.2.0/download", + type = "tar.gz", + sha256 = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9", + strip_prefix = "idna-0.2.0", + build_file = Label("//third_party/cargo/remote:BUILD.idna-0.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ignore__0_4_17", + url = "https://crates.io/api/v1/crates/ignore/0.4.17/download", + type = "tar.gz", + sha256 = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c", + strip_prefix = "ignore-0.4.17", + build_file = Label("//third_party/cargo/remote:BUILD.ignore-0.4.17.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__indexmap__1_6_1", + url = "https://crates.io/api/v1/crates/indexmap/1.6.1/download", + type = "tar.gz", + sha256 = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b", + strip_prefix = "indexmap-1.6.1", + build_file = Label("//third_party/cargo/remote:BUILD.indexmap-1.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.indoc-1.0.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__instant__0_1_9", + url = "https://crates.io/api/v1/crates/instant/0.1.9/download", + type = "tar.gz", + sha256 = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec", + strip_prefix = "instant-0.1.9", + build_file = Label("//third_party/cargo/remote:BUILD.instant-0.1.9.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ipnet__2_3_0", + url = "https://crates.io/api/v1/crates/ipnet/2.3.0/download", + type = "tar.gz", + sha256 = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135", + strip_prefix = "ipnet-2.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.ipnet-2.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__isahc__1_0_3", + url = "https://crates.io/api/v1/crates/isahc/1.0.3/download", + type = "tar.gz", + sha256 = "ff5419136b615bb64a2d0f8ccc91ed2e74c3bcf77e71c1820dbd6663898d1b34", + strip_prefix = "isahc-1.0.3", + build_file = Label("//third_party/cargo/remote:BUILD.isahc-1.0.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__itertools__0_10_0", + url = "https://crates.io/api/v1/crates/itertools/0.10.0/download", + type = "tar.gz", + sha256 = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319", + strip_prefix = "itertools-0.10.0", + build_file = Label("//third_party/cargo/remote:BUILD.itertools-0.10.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__itertools__0_9_0", + url = "https://crates.io/api/v1/crates/itertools/0.9.0/download", + type = "tar.gz", + sha256 = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b", + strip_prefix = "itertools-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.itertools-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__itoa__0_4_7", + url = "https://crates.io/api/v1/crates/itoa/0.4.7/download", + type = "tar.gz", + sha256 = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736", + strip_prefix = "itoa-0.4.7", + build_file = Label("//third_party/cargo/remote:BUILD.itoa-0.4.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__jobserver__0_1_21", + url = "https://crates.io/api/v1/crates/jobserver/0.1.21/download", + type = "tar.gz", + sha256 = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2", + strip_prefix = "jobserver-0.1.21", + build_file = Label("//third_party/cargo/remote:BUILD.jobserver-0.1.21.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__js_sys__0_3_46", + url = "https://crates.io/api/v1/crates/js-sys/0.3.46/download", + type = "tar.gz", + sha256 = "cf3d7383929f7c9c7c2d0fa596f325832df98c3704f2c60553080f7127a58175", + strip_prefix = "js-sys-0.3.46", + build_file = Label("//third_party/cargo/remote:BUILD.js-sys-0.3.46.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__kv_log_macro__1_0_7", + url = "https://crates.io/api/v1/crates/kv-log-macro/1.0.7/download", + type = "tar.gz", + sha256 = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f", + strip_prefix = "kv-log-macro-1.0.7", + build_file = Label("//third_party/cargo/remote:BUILD.kv-log-macro-1.0.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__lalrpop__0_19_4", + url = "https://crates.io/api/v1/crates/lalrpop/0.19.4/download", + type = "tar.gz", + sha256 = "4a71d75b267b3299da9ccff4dd80d73325b5d8adcd76fe97cf92725eb7c6f122", + strip_prefix = "lalrpop-0.19.4", + build_file = Label("//third_party/cargo/remote:BUILD.lalrpop-0.19.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__lalrpop_util__0_19_4", + url = "https://crates.io/api/v1/crates/lalrpop-util/0.19.4/download", + type = "tar.gz", + sha256 = "3ebbd90154472db6267a7d28ca08fea7788e5619fef10f2398155cb74c08f77a", + strip_prefix = "lalrpop-util-0.19.4", + build_file = Label("//third_party/cargo/remote:BUILD.lalrpop-util-0.19.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.lazy_static-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__levenshtein__1_0_4", + url = "https://crates.io/api/v1/crates/levenshtein/1.0.4/download", + type = "tar.gz", + sha256 = "66189c12161c65c0023ceb53e2fccc0013311bcb36a7cbd0f9c5e938b408ac96", + strip_prefix = "levenshtein-1.0.4", + build_file = Label("//third_party/cargo/remote:BUILD.levenshtein-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__libc__0_2_82", + url = "https://crates.io/api/v1/crates/libc/0.2.82/download", + type = "tar.gz", + sha256 = "89203f3fba0a3795506acaad8ebce3c80c0af93f994d5a1d7a0b1eeb23271929", + strip_prefix = "libc-0.2.82", + build_file = Label("//third_party/cargo/remote:BUILD.libc-0.2.82.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__libgit2_sys__0_12_18_1_1_0", + url = "https://crates.io/api/v1/crates/libgit2-sys/0.12.18+1.1.0/download", + type = "tar.gz", + sha256 = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885", + strip_prefix = "libgit2-sys-0.12.18+1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.libgit2-sys-0.12.18+1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__libnghttp2_sys__0_1_5_1_42_0", + url = "https://crates.io/api/v1/crates/libnghttp2-sys/0.1.5+1.42.0/download", + type = "tar.gz", + sha256 = "9657455ff47889b70ffd37c3e118e8cdd23fd1f9f3293a285f141070621c4c79", + strip_prefix = "libnghttp2-sys-0.1.5+1.42.0", + build_file = Label("//third_party/cargo/remote:BUILD.libnghttp2-sys-0.1.5+1.42.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__libssh2_sys__0_2_20", + url = "https://crates.io/api/v1/crates/libssh2-sys/0.2.20/download", + type = "tar.gz", + sha256 = "df40b13fe7ea1be9b9dffa365a51273816c345fc1811478b57ed7d964fbfc4ce", + strip_prefix = "libssh2-sys-0.2.20", + build_file = Label("//third_party/cargo/remote:BUILD.libssh2-sys-0.2.20.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__libz_sys__1_1_2", + url = "https://crates.io/api/v1/crates/libz-sys/1.1.2/download", + type = "tar.gz", + sha256 = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655", + strip_prefix = "libz-sys-1.1.2", + build_file = Label("//third_party/cargo/remote:BUILD.libz-sys-1.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__lock_api__0_4_2", + url = "https://crates.io/api/v1/crates/lock_api/0.4.2/download", + type = "tar.gz", + sha256 = "dd96ffd135b2fd7b973ac026d28085defbe8983df057ced3eb4f2130b0831312", + strip_prefix = "lock_api-0.4.2", + build_file = Label("//third_party/cargo/remote:BUILD.lock_api-0.4.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__log__0_4_13", + url = "https://crates.io/api/v1/crates/log/0.4.13/download", + type = "tar.gz", + sha256 = "fcf3805d4480bb5b86070dcfeb9e2cb2ebc148adb753c5cca5f884d1d65a42b2", + strip_prefix = "log-0.4.13", + build_file = Label("//third_party/cargo/remote:BUILD.log-0.4.13.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__maplit__1_0_2", + url = "https://crates.io/api/v1/crates/maplit/1.0.2/download", + type = "tar.gz", + sha256 = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d", + strip_prefix = "maplit-1.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.maplit-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__matches__0_1_8", + url = "https://crates.io/api/v1/crates/matches/0.1.8/download", + type = "tar.gz", + sha256 = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08", + strip_prefix = "matches-0.1.8", + build_file = Label("//third_party/cargo/remote:BUILD.matches-0.1.8.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.memchr-2.3.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__mime__0_3_16", + url = "https://crates.io/api/v1/crates/mime/0.3.16/download", + type = "tar.gz", + sha256 = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d", + strip_prefix = "mime-0.3.16", + build_file = Label("//third_party/cargo/remote:BUILD.mime-0.3.16.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.miniz_oxide-0.4.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__mio__0_7_7", + url = "https://crates.io/api/v1/crates/mio/0.7.7/download", + type = "tar.gz", + sha256 = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7", + strip_prefix = "mio-0.7.7", + build_file = Label("//third_party/cargo/remote:BUILD.mio-0.7.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__miow__0_3_6", + url = "https://crates.io/api/v1/crates/miow/0.3.6/download", + type = "tar.gz", + sha256 = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897", + strip_prefix = "miow-0.3.6", + build_file = Label("//third_party/cargo/remote:BUILD.miow-0.3.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__native_tls__0_2_7", + url = "https://crates.io/api/v1/crates/native-tls/0.2.7/download", + type = "tar.gz", + sha256 = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4", + strip_prefix = "native-tls-0.2.7", + build_file = Label("//third_party/cargo/remote:BUILD.native-tls-0.2.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__nb_connect__1_0_2", + url = "https://crates.io/api/v1/crates/nb-connect/1.0.2/download", + type = "tar.gz", + sha256 = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998", + strip_prefix = "nb-connect-1.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.nb-connect-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__new_debug_unreachable__1_0_4", + url = "https://crates.io/api/v1/crates/new_debug_unreachable/1.0.4/download", + type = "tar.gz", + sha256 = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54", + strip_prefix = "new_debug_unreachable-1.0.4", + build_file = Label("//third_party/cargo/remote:BUILD.new_debug_unreachable-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ntapi__0_3_6", + url = "https://crates.io/api/v1/crates/ntapi/0.3.6/download", + type = "tar.gz", + sha256 = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44", + strip_prefix = "ntapi-0.3.6", + build_file = Label("//third_party/cargo/remote:BUILD.ntapi-0.3.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__num__0_2_1", + url = "https://crates.io/api/v1/crates/num/0.2.1/download", + type = "tar.gz", + sha256 = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36", + strip_prefix = "num-0.2.1", + build_file = Label("//third_party/cargo/remote:BUILD.num-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__num_bigint__0_2_6", + url = "https://crates.io/api/v1/crates/num-bigint/0.2.6/download", + type = "tar.gz", + sha256 = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304", + strip_prefix = "num-bigint-0.2.6", + build_file = Label("//third_party/cargo/remote:BUILD.num-bigint-0.2.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__num_complex__0_2_4", + url = "https://crates.io/api/v1/crates/num-complex/0.2.4/download", + type = "tar.gz", + sha256 = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95", + strip_prefix = "num-complex-0.2.4", + build_file = Label("//third_party/cargo/remote:BUILD.num-complex-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.num-integer-0.1.44.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.num-iter-0.1.42.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__num_rational__0_2_4", + url = "https://crates.io/api/v1/crates/num-rational/0.2.4/download", + type = "tar.gz", + sha256 = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef", + strip_prefix = "num-rational-0.2.4", + build_file = Label("//third_party/cargo/remote:BUILD.num-rational-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.num-traits-0.2.14.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.num_cpus-1.13.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.once_cell-1.5.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__opaque_debug__0_2_3", + url = "https://crates.io/api/v1/crates/opaque-debug/0.2.3/download", + type = "tar.gz", + sha256 = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c", + strip_prefix = "opaque-debug-0.2.3", + build_file = Label("//third_party/cargo/remote:BUILD.opaque-debug-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__openssl__0_10_32", + url = "https://crates.io/api/v1/crates/openssl/0.10.32/download", + type = "tar.gz", + sha256 = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70", + strip_prefix = "openssl-0.10.32", + build_file = Label("//third_party/cargo/remote:BUILD.openssl-0.10.32.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__openssl_probe__0_1_2", + url = "https://crates.io/api/v1/crates/openssl-probe/0.1.2/download", + type = "tar.gz", + sha256 = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de", + strip_prefix = "openssl-probe-0.1.2", + build_file = Label("//third_party/cargo/remote:BUILD.openssl-probe-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__openssl_sys__0_9_60", + url = "https://crates.io/api/v1/crates/openssl-sys/0.9.60/download", + type = "tar.gz", + sha256 = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6", + strip_prefix = "openssl-sys-0.9.60", + build_file = Label("//third_party/cargo/remote:BUILD.openssl-sys-0.9.60.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__parking__2_0_0", + url = "https://crates.io/api/v1/crates/parking/2.0.0/download", + type = "tar.gz", + sha256 = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72", + strip_prefix = "parking-2.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.parking-2.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__parse_zoneinfo__0_3_0", + url = "https://crates.io/api/v1/crates/parse-zoneinfo/0.3.0/download", + type = "tar.gz", + sha256 = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41", + strip_prefix = "parse-zoneinfo-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.parse-zoneinfo-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pathdiff__0_2_0", + url = "https://crates.io/api/v1/crates/pathdiff/0.2.0/download", + type = "tar.gz", + sha256 = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34", + strip_prefix = "pathdiff-0.2.0", + build_file = Label("//third_party/cargo/remote:BUILD.pathdiff-0.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__percent_encoding__2_1_0", + url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download", + type = "tar.gz", + sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e", + strip_prefix = "percent-encoding-2.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.percent-encoding-2.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pest__2_1_3", + url = "https://crates.io/api/v1/crates/pest/2.1.3/download", + type = "tar.gz", + sha256 = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53", + strip_prefix = "pest-2.1.3", + build_file = Label("//third_party/cargo/remote:BUILD.pest-2.1.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pest_derive__2_1_0", + url = "https://crates.io/api/v1/crates/pest_derive/2.1.0/download", + type = "tar.gz", + sha256 = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0", + strip_prefix = "pest_derive-2.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.pest_derive-2.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pest_generator__2_1_3", + url = "https://crates.io/api/v1/crates/pest_generator/2.1.3/download", + type = "tar.gz", + sha256 = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55", + strip_prefix = "pest_generator-2.1.3", + build_file = Label("//third_party/cargo/remote:BUILD.pest_generator-2.1.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pest_meta__2_1_3", + url = "https://crates.io/api/v1/crates/pest_meta/2.1.3/download", + type = "tar.gz", + sha256 = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d", + strip_prefix = "pest_meta-2.1.3", + build_file = Label("//third_party/cargo/remote:BUILD.pest_meta-2.1.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__petgraph__0_5_1", + url = "https://crates.io/api/v1/crates/petgraph/0.5.1/download", + type = "tar.gz", + sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7", + strip_prefix = "petgraph-0.5.1", + build_file = Label("//third_party/cargo/remote:BUILD.petgraph-0.5.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__phf_shared__0_8_0", + url = "https://crates.io/api/v1/crates/phf_shared/0.8.0/download", + type = "tar.gz", + sha256 = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7", + strip_prefix = "phf_shared-0.8.0", + build_file = Label("//third_party/cargo/remote:BUILD.phf_shared-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pico_args__0_3_4", + url = "https://crates.io/api/v1/crates/pico-args/0.3.4/download", + type = "tar.gz", + sha256 = "28b9b4df73455c861d7cbf8be42f01d3b373ed7f02e378d55fa84eafc6f638b1", + strip_prefix = "pico-args-0.3.4", + build_file = Label("//third_party/cargo/remote:BUILD.pico-args-0.3.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_project__0_4_27", + url = "https://crates.io/api/v1/crates/pin-project/0.4.27/download", + type = "tar.gz", + sha256 = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15", + strip_prefix = "pin-project-0.4.27", + build_file = Label("//third_party/cargo/remote:BUILD.pin-project-0.4.27.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_project__1_0_4", + url = "https://crates.io/api/v1/crates/pin-project/1.0.4/download", + type = "tar.gz", + sha256 = "95b70b68509f17aa2857863b6fa00bf21fc93674c7a8893de2f469f6aa7ca2f2", + strip_prefix = "pin-project-1.0.4", + build_file = Label("//third_party/cargo/remote:BUILD.pin-project-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_project_internal__0_4_27", + url = "https://crates.io/api/v1/crates/pin-project-internal/0.4.27/download", + type = "tar.gz", + sha256 = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895", + strip_prefix = "pin-project-internal-0.4.27", + build_file = Label("//third_party/cargo/remote:BUILD.pin-project-internal-0.4.27.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_project_internal__1_0_4", + url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.4/download", + type = "tar.gz", + sha256 = "caa25a6393f22ce819b0f50e0be89287292fda8d425be38ee0ca14c4931d9e71", + strip_prefix = "pin-project-internal-1.0.4", + build_file = Label("//third_party/cargo/remote:BUILD.pin-project-internal-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_project_lite__0_2_4", + url = "https://crates.io/api/v1/crates/pin-project-lite/0.2.4/download", + type = "tar.gz", + sha256 = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827", + strip_prefix = "pin-project-lite-0.2.4", + build_file = Label("//third_party/cargo/remote:BUILD.pin-project-lite-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pin_utils__0_1_0", + url = "https://crates.io/api/v1/crates/pin-utils/0.1.0/download", + type = "tar.gz", + sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", + strip_prefix = "pin-utils-0.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.pin-utils-0.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__pkg_config__0_3_19", + url = "https://crates.io/api/v1/crates/pkg-config/0.3.19/download", + type = "tar.gz", + sha256 = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c", + strip_prefix = "pkg-config-0.3.19", + build_file = Label("//third_party/cargo/remote:BUILD.pkg-config-0.3.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__polling__2_0_2", + url = "https://crates.io/api/v1/crates/polling/2.0.2/download", + type = "tar.gz", + sha256 = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4", + strip_prefix = "polling-2.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.polling-2.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ppv_lite86__0_2_10", + url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download", + type = "tar.gz", + sha256 = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857", + strip_prefix = "ppv-lite86-0.2.10", + build_file = Label("//third_party/cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__precomputed_hash__0_1_1", + url = "https://crates.io/api/v1/crates/precomputed-hash/0.1.1/download", + type = "tar.gz", + sha256 = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c", + strip_prefix = "precomputed-hash-0.1.1", + build_file = Label("//third_party/cargo/remote:BUILD.precomputed-hash-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.proc-macro-error-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__proc_macro_hack__0_5_19", + url = "https://crates.io/api/v1/crates/proc-macro-hack/0.5.19/download", + type = "tar.gz", + sha256 = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5", + strip_prefix = "proc-macro-hack-0.5.19", + build_file = Label("//third_party/cargo/remote:BUILD.proc-macro-hack-0.5.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__proc_macro_nested__0_1_7", + url = "https://crates.io/api/v1/crates/proc-macro-nested/0.1.7/download", + type = "tar.gz", + sha256 = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086", + strip_prefix = "proc-macro-nested-0.1.7", + build_file = Label("//third_party/cargo/remote:BUILD.proc-macro-nested-0.1.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.proc-macro2-1.0.24.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__qstring__0_7_2", + url = "https://crates.io/api/v1/crates/qstring/0.7.2/download", + type = "tar.gz", + sha256 = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e", + strip_prefix = "qstring-0.7.2", + build_file = Label("//third_party/cargo/remote:BUILD.qstring-0.7.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__quote__1_0_8", + url = "https://crates.io/api/v1/crates/quote/1.0.8/download", + type = "tar.gz", + sha256 = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df", + strip_prefix = "quote-1.0.8", + build_file = Label("//third_party/cargo/remote:BUILD.quote-1.0.8.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rand__0_8_2", + url = "https://crates.io/api/v1/crates/rand/0.8.2/download", + type = "tar.gz", + sha256 = "18519b42a40024d661e1714153e9ad0c3de27cd495760ceb09710920f1098b1e", + strip_prefix = "rand-0.8.2", + build_file = Label("//third_party/cargo/remote:BUILD.rand-0.8.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rand_chacha__0_3_0", + url = "https://crates.io/api/v1/crates/rand_chacha/0.3.0/download", + type = "tar.gz", + sha256 = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d", + strip_prefix = "rand_chacha-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.rand_chacha-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rand_core__0_6_1", + url = "https://crates.io/api/v1/crates/rand_core/0.6.1/download", + type = "tar.gz", + sha256 = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5", + strip_prefix = "rand_core-0.6.1", + build_file = Label("//third_party/cargo/remote:BUILD.rand_core-0.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rand_hc__0_3_0", + url = "https://crates.io/api/v1/crates/rand_hc/0.3.0/download", + type = "tar.gz", + sha256 = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73", + strip_prefix = "rand_hc-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.rand_hc-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__redox_syscall__0_1_57", + url = "https://crates.io/api/v1/crates/redox_syscall/0.1.57/download", + type = "tar.gz", + sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", + strip_prefix = "redox_syscall-0.1.57", + build_file = Label("//third_party/cargo/remote:BUILD.redox_syscall-0.1.57.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__redox_syscall__0_2_4", + url = "https://crates.io/api/v1/crates/redox_syscall/0.2.4/download", + type = "tar.gz", + sha256 = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570", + strip_prefix = "redox_syscall-0.2.4", + build_file = Label("//third_party/cargo/remote:BUILD.redox_syscall-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__redox_users__0_3_5", + url = "https://crates.io/api/v1/crates/redox_users/0.3.5/download", + type = "tar.gz", + sha256 = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d", + strip_prefix = "redox_users-0.3.5", + build_file = Label("//third_party/cargo/remote:BUILD.redox_users-0.3.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.regex-1.4.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.regex-syntax-0.6.22.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__remove_dir_all__0_5_3", + url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download", + type = "tar.gz", + sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7", + strip_prefix = "remove_dir_all-0.5.3", + build_file = Label("//third_party/cargo/remote:BUILD.remove_dir_all-0.5.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__reqwest__0_11_0", + url = "https://crates.io/api/v1/crates/reqwest/0.11.0/download", + type = "tar.gz", + sha256 = "fd281b1030aa675fb90aa994d07187645bb3c8fc756ca766e7c3070b439de9de", + strip_prefix = "reqwest-0.11.0", + build_file = Label("//third_party/cargo/remote:BUILD.reqwest-0.11.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rust_argon2__0_8_3", + url = "https://crates.io/api/v1/crates/rust-argon2/0.8.3/download", + type = "tar.gz", + sha256 = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb", + strip_prefix = "rust-argon2-0.8.3", + build_file = Label("//third_party/cargo/remote:BUILD.rust-argon2-0.8.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__rustc_serialize__0_3_24", + url = "https://crates.io/api/v1/crates/rustc-serialize/0.3.24/download", + type = "tar.gz", + sha256 = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda", + strip_prefix = "rustc-serialize-0.3.24", + build_file = Label("//third_party/cargo/remote:BUILD.rustc-serialize-0.3.24.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ryu__1_0_5", + url = "https://crates.io/api/v1/crates/ryu/1.0.5/download", + type = "tar.gz", + sha256 = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e", + strip_prefix = "ryu-1.0.5", + build_file = Label("//third_party/cargo/remote:BUILD.ryu-1.0.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__same_file__1_0_6", + url = "https://crates.io/api/v1/crates/same-file/1.0.6/download", + type = "tar.gz", + sha256 = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502", + strip_prefix = "same-file-1.0.6", + build_file = Label("//third_party/cargo/remote:BUILD.same-file-1.0.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__schannel__0_1_19", + url = "https://crates.io/api/v1/crates/schannel/0.1.19/download", + type = "tar.gz", + sha256 = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75", + strip_prefix = "schannel-0.1.19", + build_file = Label("//third_party/cargo/remote:BUILD.schannel-0.1.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.scopeguard-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__security_framework__2_0_0", + url = "https://crates.io/api/v1/crates/security-framework/2.0.0/download", + type = "tar.gz", + sha256 = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69", + strip_prefix = "security-framework-2.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.security-framework-2.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.security-framework-sys-2.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__semver__0_11_0", + url = "https://crates.io/api/v1/crates/semver/0.11.0/download", + type = "tar.gz", + sha256 = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6", + strip_prefix = "semver-0.11.0", + build_file = Label("//third_party/cargo/remote:BUILD.semver-0.11.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__semver_parser__0_10_2", + url = "https://crates.io/api/v1/crates/semver-parser/0.10.2/download", + type = "tar.gz", + sha256 = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7", + strip_prefix = "semver-parser-0.10.2", + build_file = Label("//third_party/cargo/remote:BUILD.semver-parser-0.10.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__serde__1_0_120", + url = "https://crates.io/api/v1/crates/serde/1.0.120/download", + type = "tar.gz", + sha256 = "166b2349061381baf54a58e4b13c89369feb0ef2eaa57198899e2312aac30aab", + strip_prefix = "serde-1.0.120", + build_file = Label("//third_party/cargo/remote:BUILD.serde-1.0.120.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__serde_derive__1_0_120", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.120/download", + type = "tar.gz", + sha256 = "0ca2a8cb5805ce9e3b95435e3765b7b553cecc762d938d409434338386cb5775", + strip_prefix = "serde_derive-1.0.120", + build_file = Label("//third_party/cargo/remote:BUILD.serde_derive-1.0.120.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__serde_json__1_0_61", + url = "https://crates.io/api/v1/crates/serde_json/1.0.61/download", + type = "tar.gz", + sha256 = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a", + strip_prefix = "serde_json-1.0.61", + build_file = Label("//third_party/cargo/remote:BUILD.serde_json-1.0.61.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__serde_regex__1_1_0", + url = "https://crates.io/api/v1/crates/serde_regex/1.1.0/download", + type = "tar.gz", + sha256 = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf", + strip_prefix = "serde_regex-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.serde_regex-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__serde_urlencoded__0_7_0", + url = "https://crates.io/api/v1/crates/serde_urlencoded/0.7.0/download", + type = "tar.gz", + sha256 = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9", + strip_prefix = "serde_urlencoded-0.7.0", + build_file = Label("//third_party/cargo/remote:BUILD.serde_urlencoded-0.7.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__sha_1__0_8_2", + url = "https://crates.io/api/v1/crates/sha-1/0.8.2/download", + type = "tar.gz", + sha256 = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df", + strip_prefix = "sha-1-0.8.2", + build_file = Label("//third_party/cargo/remote:BUILD.sha-1-0.8.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__signal_hook__0_1_17", + url = "https://crates.io/api/v1/crates/signal-hook/0.1.17/download", + type = "tar.gz", + sha256 = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729", + strip_prefix = "signal-hook-0.1.17", + build_file = Label("//third_party/cargo/remote:BUILD.signal-hook-0.1.17.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__signal_hook_registry__1_3_0", + url = "https://crates.io/api/v1/crates/signal-hook-registry/1.3.0/download", + type = "tar.gz", + sha256 = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6", + strip_prefix = "signal-hook-registry-1.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.signal-hook-registry-1.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__siphasher__0_3_3", + url = "https://crates.io/api/v1/crates/siphasher/0.3.3/download", + type = "tar.gz", + sha256 = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7", + strip_prefix = "siphasher-0.3.3", + build_file = Label("//third_party/cargo/remote:BUILD.siphasher-0.3.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__slab__0_4_2", + url = "https://crates.io/api/v1/crates/slab/0.4.2/download", + type = "tar.gz", + sha256 = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8", + strip_prefix = "slab-0.4.2", + build_file = Label("//third_party/cargo/remote:BUILD.slab-0.4.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__slug__0_1_4", + url = "https://crates.io/api/v1/crates/slug/0.1.4/download", + type = "tar.gz", + sha256 = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373", + strip_prefix = "slug-0.1.4", + build_file = Label("//third_party/cargo/remote:BUILD.slug-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__sluice__0_5_3", + url = "https://crates.io/api/v1/crates/sluice/0.5.3/download", + type = "tar.gz", + sha256 = "8e24ed1edc8e774f2ec098b0650eec82bfc7c59ddd16cd0e17797bdc92ce2bf1", + strip_prefix = "sluice-0.5.3", + build_file = Label("//third_party/cargo/remote:BUILD.sluice-0.5.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.smallvec-1.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__smartstring__0_2_6", + url = "https://crates.io/api/v1/crates/smartstring/0.2.6/download", + type = "tar.gz", + sha256 = "1ada87540bf8ef4cf8a1789deb175626829bb59b1fefd816cf7f7f55efcdbae9", + strip_prefix = "smartstring-0.2.6", + build_file = Label("//third_party/cargo/remote:BUILD.smartstring-0.2.6.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__socket2__0_3_19", + url = "https://crates.io/api/v1/crates/socket2/0.3.19/download", + type = "tar.gz", + sha256 = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e", + strip_prefix = "socket2-0.3.19", + build_file = Label("//third_party/cargo/remote:BUILD.socket2-0.3.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__spdx__0_3_4", + url = "https://crates.io/api/v1/crates/spdx/0.3.4/download", + type = "tar.gz", + sha256 = "1a68f874c9aa7762aa10401e2ae004d977e7b6156074668eb4ce78dd0cb28255", + strip_prefix = "spdx-0.3.4", + build_file = Label("//third_party/cargo/remote:BUILD.spdx-0.3.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__spinning_top__0_2_2", + url = "https://crates.io/api/v1/crates/spinning_top/0.2.2/download", + type = "tar.gz", + sha256 = "7e529d73e80d64b5f2631f9035113347c578a1c9c7774b83a2b880788459ab36", + strip_prefix = "spinning_top-0.2.2", + build_file = Label("//third_party/cargo/remote:BUILD.spinning_top-0.2.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__static_assertions__1_1_0", + url = "https://crates.io/api/v1/crates/static_assertions/1.1.0/download", + type = "tar.gz", + sha256 = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f", + strip_prefix = "static_assertions-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.static_assertions-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__string_cache__0_8_1", + url = "https://crates.io/api/v1/crates/string_cache/0.8.1/download", + type = "tar.gz", + sha256 = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a", + strip_prefix = "string_cache-0.8.1", + build_file = Label("//third_party/cargo/remote:BUILD.string_cache-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__strsim__0_9_3", + url = "https://crates.io/api/v1/crates/strsim/0.9.3/download", + type = "tar.gz", + sha256 = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c", + strip_prefix = "strsim-0.9.3", + build_file = Label("//third_party/cargo/remote:BUILD.strsim-0.9.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__syn__1_0_58", + url = "https://crates.io/api/v1/crates/syn/1.0.58/download", + type = "tar.gz", + sha256 = "cc60a3d73ea6594cd712d830cc1f0390fd71542d8c8cd24e70cc54cdfd5e05d5", + strip_prefix = "syn-1.0.58", + build_file = Label("//third_party/cargo/remote:BUILD.syn-1.0.58.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tar__0_4_30", + url = "https://crates.io/api/v1/crates/tar/0.4.30/download", + type = "tar.gz", + sha256 = "489997b7557e9a43e192c527face4feacc78bfbe6eed67fd55c4c9e381cba290", + strip_prefix = "tar-0.4.30", + build_file = Label("//third_party/cargo/remote:BUILD.tar-0.4.30.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tempfile__3_2_0", + url = "https://crates.io/api/v1/crates/tempfile/3.2.0/download", + type = "tar.gz", + sha256 = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22", + strip_prefix = "tempfile-3.2.0", + build_file = Label("//third_party/cargo/remote:BUILD.tempfile-3.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tera__1_6_1", + url = "https://crates.io/api/v1/crates/tera/1.6.1/download", + type = "tar.gz", + sha256 = "eac6ab7eacf40937241959d540670f06209c38ceadb62116999db4a950fbf8dc", + strip_prefix = "tera-1.6.1", + build_file = Label("//third_party/cargo/remote:BUILD.tera-1.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__term__0_5_2", + url = "https://crates.io/api/v1/crates/term/0.5.2/download", + type = "tar.gz", + sha256 = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42", + strip_prefix = "term-0.5.2", + build_file = Label("//third_party/cargo/remote:BUILD.term-0.5.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__thread_local__1_1_1", + url = "https://crates.io/api/v1/crates/thread_local/1.1.1/download", + type = "tar.gz", + sha256 = "301bdd13d23c49672926be451130892d274d3ba0b410c18e00daa7990ff38d99", + strip_prefix = "thread_local-1.1.1", + build_file = Label("//third_party/cargo/remote:BUILD.thread_local-1.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__time__0_1_43", + url = "https://crates.io/api/v1/crates/time/0.1.43/download", + type = "tar.gz", + sha256 = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438", + strip_prefix = "time-0.1.43", + build_file = Label("//third_party/cargo/remote:BUILD.time-0.1.43.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tiny_keccak__2_0_2", + url = "https://crates.io/api/v1/crates/tiny-keccak/2.0.2/download", + type = "tar.gz", + sha256 = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237", + strip_prefix = "tiny-keccak-2.0.2", + build_file = Label("//third_party/cargo/remote:BUILD.tiny-keccak-2.0.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tinyvec__1_1_0", + url = "https://crates.io/api/v1/crates/tinyvec/1.1.0/download", + type = "tar.gz", + sha256 = "ccf8dbc19eb42fba10e8feaaec282fb50e2c14b2726d6301dbfeed0f73306a6f", + strip_prefix = "tinyvec-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.tinyvec-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tinyvec_macros__0_1_0", + url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.0/download", + type = "tar.gz", + sha256 = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c", + strip_prefix = "tinyvec_macros-0.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.tinyvec_macros-0.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tokio__1_1_0", + url = "https://crates.io/api/v1/crates/tokio/1.1.0/download", + type = "tar.gz", + sha256 = "8efab2086f17abcddb8f756117665c958feee6b2e39974c2f1600592ab3a4195", + strip_prefix = "tokio-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.tokio-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tokio_macros__1_0_0", + url = "https://crates.io/api/v1/crates/tokio-macros/1.0.0/download", + type = "tar.gz", + sha256 = "42517d2975ca3114b22a16192634e8241dc5cc1f130be194645970cc1c371494", + strip_prefix = "tokio-macros-1.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.tokio-macros-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tokio_native_tls__0_3_0", + url = "https://crates.io/api/v1/crates/tokio-native-tls/0.3.0/download", + type = "tar.gz", + sha256 = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b", + strip_prefix = "tokio-native-tls-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.tokio-native-tls-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tokio_stream__0_1_2", + url = "https://crates.io/api/v1/crates/tokio-stream/0.1.2/download", + type = "tar.gz", + sha256 = "76066865172052eb8796c686f0b441a93df8b08d40a950b062ffb9a426f00edd", + strip_prefix = "tokio-stream-0.1.2", + build_file = Label("//third_party/cargo/remote:BUILD.tokio-stream-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tokio_util__0_6_2", + url = "https://crates.io/api/v1/crates/tokio-util/0.6.2/download", + type = "tar.gz", + sha256 = "feb971a26599ffd28066d387f109746df178eff14d5ea1e235015c5601967a4b", + strip_prefix = "tokio-util-0.6.2", + build_file = Label("//third_party/cargo/remote:BUILD.tokio-util-0.6.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__toml__0_5_8", + url = "https://crates.io/api/v1/crates/toml/0.5.8/download", + type = "tar.gz", + sha256 = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa", + strip_prefix = "toml-0.5.8", + build_file = Label("//third_party/cargo/remote:BUILD.toml-0.5.8.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tower_service__0_3_0", + url = "https://crates.io/api/v1/crates/tower-service/0.3.0/download", + type = "tar.gz", + sha256 = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860", + strip_prefix = "tower-service-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.tower-service-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tracing__0_1_22", + url = "https://crates.io/api/v1/crates/tracing/0.1.22/download", + type = "tar.gz", + sha256 = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3", + strip_prefix = "tracing-0.1.22", + build_file = Label("//third_party/cargo/remote:BUILD.tracing-0.1.22.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tracing_attributes__0_1_11", + url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.11/download", + type = "tar.gz", + sha256 = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada", + strip_prefix = "tracing-attributes-0.1.11", + build_file = Label("//third_party/cargo/remote:BUILD.tracing-attributes-0.1.11.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tracing_core__0_1_17", + url = "https://crates.io/api/v1/crates/tracing-core/0.1.17/download", + type = "tar.gz", + sha256 = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f", + strip_prefix = "tracing-core-0.1.17", + build_file = Label("//third_party/cargo/remote:BUILD.tracing-core-0.1.17.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__tracing_futures__0_2_4", + url = "https://crates.io/api/v1/crates/tracing-futures/0.2.4/download", + type = "tar.gz", + sha256 = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c", + strip_prefix = "tracing-futures-0.2.4", + build_file = Label("//third_party/cargo/remote:BUILD.tracing-futures-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__try_lock__0_2_3", + url = "https://crates.io/api/v1/crates/try-lock/0.2.3/download", + type = "tar.gz", + sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642", + strip_prefix = "try-lock-0.2.3", + build_file = Label("//third_party/cargo/remote:BUILD.try-lock-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__typenum__1_12_0", + url = "https://crates.io/api/v1/crates/typenum/1.12.0/download", + type = "tar.gz", + sha256 = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33", + strip_prefix = "typenum-1.12.0", + build_file = Label("//third_party/cargo/remote:BUILD.typenum-1.12.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__ucd_trie__0_1_3", + url = "https://crates.io/api/v1/crates/ucd-trie/0.1.3/download", + type = "tar.gz", + sha256 = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c", + strip_prefix = "ucd-trie-0.1.3", + build_file = Label("//third_party/cargo/remote:BUILD.ucd-trie-0.1.3.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_char_property__0_9_0", + url = "https://crates.io/api/v1/crates/unic-char-property/0.9.0/download", + type = "tar.gz", + sha256 = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221", + strip_prefix = "unic-char-property-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-char-property-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_char_range__0_9_0", + url = "https://crates.io/api/v1/crates/unic-char-range/0.9.0/download", + type = "tar.gz", + sha256 = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc", + strip_prefix = "unic-char-range-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-char-range-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_common__0_9_0", + url = "https://crates.io/api/v1/crates/unic-common/0.9.0/download", + type = "tar.gz", + sha256 = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc", + strip_prefix = "unic-common-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-common-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_segment__0_9_0", + url = "https://crates.io/api/v1/crates/unic-segment/0.9.0/download", + type = "tar.gz", + sha256 = "e4ed5d26be57f84f176157270c112ef57b86debac9cd21daaabbe56db0f88f23", + strip_prefix = "unic-segment-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-segment-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_ucd_segment__0_9_0", + url = "https://crates.io/api/v1/crates/unic-ucd-segment/0.9.0/download", + type = "tar.gz", + sha256 = "2079c122a62205b421f499da10f3ee0f7697f012f55b675e002483c73ea34700", + strip_prefix = "unic-ucd-segment-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-ucd-segment-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unic_ucd_version__0_9_0", + url = "https://crates.io/api/v1/crates/unic-ucd-version/0.9.0/download", + type = "tar.gz", + sha256 = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4", + strip_prefix = "unic-ucd-version-0.9.0", + build_file = Label("//third_party/cargo/remote:BUILD.unic-ucd-version-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unicode_bidi__0_3_4", + url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.4/download", + type = "tar.gz", + sha256 = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5", + strip_prefix = "unicode-bidi-0.3.4", + build_file = Label("//third_party/cargo/remote:BUILD.unicode-bidi-0.3.4.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__unicode_normalization__0_1_16", + url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.16/download", + type = "tar.gz", + sha256 = "a13e63ab62dbe32aeee58d1c5408d35c36c392bba5d9d3142287219721afe606", + strip_prefix = "unicode-normalization-0.1.16", + build_file = Label("//third_party/cargo/remote:BUILD.unicode-normalization-0.1.16.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.unicode-xid-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.unindent-0.1.7.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__url__2_2_0", + url = "https://crates.io/api/v1/crates/url/2.2.0/download", + type = "tar.gz", + sha256 = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e", + strip_prefix = "url-2.2.0", + build_file = Label("//third_party/cargo/remote:BUILD.url-2.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__vcpkg__0_2_11", + url = "https://crates.io/api/v1/crates/vcpkg/0.2.11/download", + type = "tar.gz", + sha256 = "b00bca6106a5e23f3eee943593759b7fcddb00554332e856d990c893966879fb", + strip_prefix = "vcpkg-0.2.11", + build_file = Label("//third_party/cargo/remote:BUILD.vcpkg-0.2.11.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__vec_arena__1_0_0", + url = "https://crates.io/api/v1/crates/vec-arena/1.0.0/download", + type = "tar.gz", + sha256 = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d", + strip_prefix = "vec-arena-1.0.0", + build_file = Label("//third_party/cargo/remote:BUILD.vec-arena-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.version_check-0.9.2.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__waker_fn__1_1_0", + url = "https://crates.io/api/v1/crates/waker-fn/1.1.0/download", + type = "tar.gz", + sha256 = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca", + strip_prefix = "waker-fn-1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.waker-fn-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__walkdir__2_3_1", + url = "https://crates.io/api/v1/crates/walkdir/2.3.1/download", + type = "tar.gz", + sha256 = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d", + strip_prefix = "walkdir-2.3.1", + build_file = Label("//third_party/cargo/remote:BUILD.walkdir-2.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__want__0_3_0", + url = "https://crates.io/api/v1/crates/want/0.3.0/download", + type = "tar.gz", + sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", + strip_prefix = "want-0.3.0", + build_file = Label("//third_party/cargo/remote:BUILD.want-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasi__0_10_1_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.10.1+wasi-snapshot-preview1/download", + type = "tar.gz", + sha256 = "93c6c3420963c5c64bca373b25e77acb562081b9bb4dd5bb864187742186cea9", + strip_prefix = "wasi-0.10.1+wasi-snapshot-preview1", + build_file = Label("//third_party/cargo/remote:BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen__0_2_69", + url = "https://crates.io/api/v1/crates/wasm-bindgen/0.2.69/download", + type = "tar.gz", + sha256 = "3cd364751395ca0f68cafb17666eee36b63077fb5ecd972bbcd74c90c4bf736e", + strip_prefix = "wasm-bindgen-0.2.69", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-0.2.69.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen_backend__0_2_69", + url = "https://crates.io/api/v1/crates/wasm-bindgen-backend/0.2.69/download", + type = "tar.gz", + sha256 = "1114f89ab1f4106e5b55e688b828c0ab0ea593a1ea7c094b141b14cbaaec2d62", + strip_prefix = "wasm-bindgen-backend-0.2.69", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-backend-0.2.69.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen_futures__0_4_19", + url = "https://crates.io/api/v1/crates/wasm-bindgen-futures/0.4.19/download", + type = "tar.gz", + sha256 = "1fe9756085a84584ee9457a002b7cdfe0bfff169f45d2591d8be1345a6780e35", + strip_prefix = "wasm-bindgen-futures-0.4.19", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-futures-0.4.19.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen_macro__0_2_69", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro/0.2.69/download", + type = "tar.gz", + sha256 = "7a6ac8995ead1f084a8dea1e65f194d0973800c7f571f6edd70adf06ecf77084", + strip_prefix = "wasm-bindgen-macro-0.2.69", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-macro-0.2.69.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen_macro_support__0_2_69", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro-support/0.2.69/download", + type = "tar.gz", + sha256 = "b5a48c72f299d80557c7c62e37e7225369ecc0c963964059509fbafe917c7549", + strip_prefix = "wasm-bindgen-macro-support-0.2.69", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-macro-support-0.2.69.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wasm_bindgen_shared__0_2_69", + url = "https://crates.io/api/v1/crates/wasm-bindgen-shared/0.2.69/download", + type = "tar.gz", + sha256 = "7e7811dd7f9398f14cc76efd356f98f03aa30419dea46aa810d71e819fc97158", + strip_prefix = "wasm-bindgen-shared-0.2.69", + build_file = Label("//third_party/cargo/remote:BUILD.wasm-bindgen-shared-0.2.69.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__web_sys__0_3_46", + url = "https://crates.io/api/v1/crates/web-sys/0.3.46/download", + type = "tar.gz", + sha256 = "222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3", + strip_prefix = "web-sys-0.3.46", + build_file = Label("//third_party/cargo/remote:BUILD.web-sys-0.3.46.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__wepoll_sys__3_0_1", + url = "https://crates.io/api/v1/crates/wepoll-sys/3.0.1/download", + type = "tar.gz", + sha256 = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff", + strip_prefix = "wepoll-sys-3.0.1", + build_file = Label("//third_party/cargo/remote:BUILD.wepoll-sys-3.0.1.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.winapi-0.3.9.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.winapi-util-0.1.5.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__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("//third_party/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__winreg__0_7_0", + url = "https://crates.io/api/v1/crates/winreg/0.7.0/download", + type = "tar.gz", + sha256 = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69", + strip_prefix = "winreg-0.7.0", + build_file = Label("//third_party/cargo/remote:BUILD.winreg-0.7.0.bazel"), + ) + + maybe( + http_archive, + name = "cargo_raze__xattr__0_2_2", + url = "https://crates.io/api/v1/crates/xattr/0.2.2/download", + type = "tar.gz", + sha256 = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c", + strip_prefix = "xattr-0.2.2", + build_file = Label("//third_party/cargo/remote:BUILD.xattr-0.2.2.bazel"), + ) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.adler-0.2.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.adler-0.2.3.bazel new file mode 100644 index 0000000000..f88ebb3a0e --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel new file mode 100644 index 0000000000..68133c7ca5 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__memchr__2_3_4//:memchr", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.anyhow-1.0.38.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.anyhow-1.0.38.bazel new file mode 100644 index 0000000000..7cedbb7038 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.anyhow-1.0.38.bazel @@ -0,0 +1,113 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.38", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "anyhow", + 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 = "1.0.38", + # buildifier: leave-alone + deps = [ + ":anyhow_build_script", + ], +) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "test_autotrait" with type "test" omitted + +# Unsupported target "test_backtrace" with type "test" omitted + +# Unsupported target "test_boxed" with type "test" omitted + +# Unsupported target "test_chain" with type "test" omitted + +# Unsupported target "test_context" with type "test" omitted + +# Unsupported target "test_convert" with type "test" omitted + +# Unsupported target "test_downcast" with type "test" omitted + +# Unsupported target "test_ffi" with type "test" omitted + +# Unsupported target "test_fmt" with type "test" omitted + +# Unsupported target "test_macros" with type "test" omitted + +# Unsupported target "test_repr" with type "test" omitted + +# Unsupported target "test_source" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayref-0.3.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayref-0.3.6.bazel new file mode 100644 index 0000000000..75b34e5846 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayref-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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "restricted", # BSD-2-Clause from expression "BSD-2-Clause" +]) + +# Generated Targets + +# Unsupported target "array_refs" with type "example" omitted + +# Unsupported target "array_refs_with_const" with type "example" omitted + +# Unsupported target "simple-case" with type "example" omitted + +rust_library( + name = "arrayref", + 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 = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayvec-0.5.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayvec-0.5.2.bazel new file mode 100644 index 0000000000..771fbe42d5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.arrayvec-0.5.2.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 "//third_party/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 = [ + ], + 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/third_party/cargo/remote/BUILD.ascii-canvas-2.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ascii-canvas-2.0.0.bazel new file mode 100644 index 0000000000..7c0f592094 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ascii-canvas-2.0.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 "//third_party/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 = "ascii_canvas", + 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 = [ + "@cargo_raze__term__0_5_2//:term", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.assert-json-diff-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.assert-json-diff-1.1.0.bazel new file mode 100644 index 0000000000..54b51600f9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.assert-json-diff-1.1.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "assert_json_diff", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__extend__0_1_2//:extend", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + ], +) + +# Unsupported target "integration_test" with type "test" omitted + +# Unsupported target "version-numbers" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-channel-1.5.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-channel-1.5.1.bazel new file mode 100644 index 0000000000..72386a8667 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-channel-1.5.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 "//third_party/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 = "async_channel", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__concurrent_queue__1_2_2//:concurrent_queue", + "@cargo_raze__event_listener__2_5_1//:event_listener", + "@cargo_raze__futures_core__0_3_12//:futures_core", + ], +) + +# Unsupported target "bounded" with type "test" omitted + +# Unsupported target "unbounded" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-executor-1.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-executor-1.4.0.bazel new file mode 100644 index 0000000000..47ea0163c6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-executor-1.4.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 "//third_party/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 "executor" with type "bench" omitted + +# Unsupported target "tokio" with type "bench" omitted + +# Unsupported target "priority" with type "example" omitted + +rust_library( + name = "async_executor", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__async_task__4_0_3//:async_task", + "@cargo_raze__concurrent_queue__1_2_2//:concurrent_queue", + "@cargo_raze__fastrand__1_4_0//:fastrand", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__once_cell__1_5_2//:once_cell", + "@cargo_raze__vec_arena__1_0_0//:vec_arena", + ], +) + +# Unsupported target "drop" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-global-executor-2.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-global-executor-2.0.2.bazel new file mode 100644 index 0000000000..e75489c6c5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-global-executor-2.0.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 "//third_party/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 = "async_global_executor", + srcs = glob(["**/*.rs"]), + crate_features = [ + "async-io", + "default", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__async_channel__1_5_1//:async_channel", + "@cargo_raze__async_executor__1_4_0//:async_executor", + "@cargo_raze__async_io__1_3_1//:async_io", + "@cargo_raze__async_mutex__1_4_0//:async_mutex", + "@cargo_raze__blocking__1_0_2//:blocking", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__num_cpus__1_13_0//:num_cpus", + "@cargo_raze__once_cell__1_5_2//:once_cell", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-io-1.3.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-io-1.3.1.bazel new file mode 100644 index 0000000000..3d82f06ec3 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-io-1.3.1.bazel @@ -0,0 +1,108 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "linux-inotify" with type "example" omitted + +# Unsupported target "linux-timerfd" with type "example" omitted + +# Unsupported target "unix-signal" with type "example" omitted + +# Unsupported target "windows-uds" with type "example" omitted + +rust_library( + name = "async_io", + 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.3.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__concurrent_queue__1_2_2//:concurrent_queue", + "@cargo_raze__fastrand__1_4_0//:fastrand", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__nb_connect__1_0_2//:nb_connect", + "@cargo_raze__once_cell__1_5_2//:once_cell", + "@cargo_raze__parking__2_0_0//:parking", + "@cargo_raze__polling__2_0_2//:polling", + "@cargo_raze__vec_arena__1_0_0//:vec_arena", + "@cargo_raze__waker_fn__1_1_0//:waker_fn", + ] + selects.with_or({ + # cfg(target_os = "linux") + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "async" with type "test" omitted + +# Unsupported target "timer" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-lock-2.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-lock-2.3.0.bazel new file mode 100644 index 0000000000..18e2bffbf5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-lock-2.3.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 "//third_party/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 = "async_lock", + 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 = "2.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__event_listener__2_5_1//:event_listener", + ], +) + +# Unsupported target "barrier" with type "test" omitted + +# Unsupported target "mutex" with type "test" omitted + +# Unsupported target "rwlock" with type "test" omitted + +# Unsupported target "semaphore" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-mutex-1.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-mutex-1.4.0.bazel new file mode 100644 index 0000000000..03bfffa519 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-mutex-1.4.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 "//third_party/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 "async-mutex" with type "bench" omitted + +# Unsupported target "async-std" with type "bench" omitted + +# Unsupported target "futures" with type "bench" omitted + +# Unsupported target "futures-intrusive" with type "bench" omitted + +# Unsupported target "tokio" with type "bench" omitted + +# Unsupported target "fairness" with type "example" omitted + +rust_library( + name = "async_mutex", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__event_listener__2_5_1//:event_listener", + ], +) + +# Unsupported target "mutex" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-object-pool-0.1.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-object-pool-0.1.4.bazel new file mode 100644 index 0000000000..15c78fa57d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-object-pool-0.1.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "async_object_pool", + 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.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__async_std__1_9_0//:async_std", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-process-1.0.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-process-1.0.1.bazel new file mode 100644 index 0000000000..644de638d6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-process-1.0.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 "//third_party/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 = "async_process", + 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.0.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__0_1_10//:cfg_if", + "@cargo_raze__event_listener__2_5_1//:event_listener", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__once_cell__1_5_2//:once_cell", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__async_io__1_3_1//:async_io", + "@cargo_raze__signal_hook__0_1_17//:signal_hook", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__blocking__1_0_2//:blocking", + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "std" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel new file mode 100644 index 0000000000..d73928e3a1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel @@ -0,0 +1,182 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "mutex" with type "bench" omitted + +# Unsupported target "task" with type "bench" omitted + +# Unsupported target "task_local" with type "bench" omitted + +# Unsupported target "a-chat" with type "example" omitted + +# Unsupported target "hello-world" with type "example" omitted + +# Unsupported target "line-count" with type "example" omitted + +# Unsupported target "list-dir" with type "example" omitted + +# Unsupported target "logging" with type "example" omitted + +# Unsupported target "print-file" with type "example" omitted + +# Unsupported target "socket-timeouts" with type "example" omitted + +# Unsupported target "stdin-echo" with type "example" omitted + +# Unsupported target "stdin-timeout" with type "example" omitted + +# Unsupported target "surf-web" with type "example" omitted + +# Unsupported target "task-local" with type "example" omitted + +# Unsupported target "task-name" with type "example" omitted + +# Unsupported target "tcp-client" with type "example" omitted + +# Unsupported target "tcp-echo" with type "example" omitted + +# Unsupported target "tcp-ipv4-and-6-echo" with type "example" omitted + +# Unsupported target "udp-client" with type "example" omitted + +# Unsupported target "udp-echo" with type "example" omitted + +rust_library( + name = "async_std", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "alloc", + "async-channel", + "async-global-executor", + "async-io", + "async-lock", + "async-process", + "crossbeam-utils", + "default", + "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", + "std", + "unstable", + "wasm-bindgen-futures", + ], + 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 = [ + "@cargo_raze__async_channel__1_5_1//:async_channel", + "@cargo_raze__async_lock__2_3_0//:async_lock", + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_io__0_3_12//:futures_io", + "@cargo_raze__kv_log_macro__1_0_7//:kv_log_macro", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__num_cpus__1_13_0//:num_cpus", + "@cargo_raze__once_cell__1_5_2//:once_cell", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__pin_utils__0_1_0//:pin_utils", + "@cargo_raze__slab__0_4_2//:slab", + ] + selects.with_or({ + # cfg(not(target_os = "unknown")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__async_global_executor__2_0_2//:async_global_executor", + "@cargo_raze__async_io__1_3_1//:async_io", + "@cargo_raze__async_process__1_0_1//:async_process", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "addr" with type "test" omitted + +# Unsupported target "block_on" with type "test" omitted + +# Unsupported target "buf_writer" with type "test" omitted + +# Unsupported target "channel" with type "test" omitted + +# Unsupported target "collect" with type "test" omitted + +# Unsupported target "condvar" with type "test" omitted + +# Unsupported target "io_timeout" with type "test" omitted + +# Unsupported target "mutex" with type "test" omitted + +# Unsupported target "rwlock" with type "test" omitted + +# Unsupported target "stream" with type "test" omitted + +# Unsupported target "task_local" with type "test" omitted + +# Unsupported target "tcp" with type "test" omitted + +# Unsupported target "timeout" with type "test" omitted + +# Unsupported target "udp" with type "test" omitted + +# Unsupported target "uds" with type "test" omitted + +# Unsupported target "verbose_errors" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-0.3.0.bazel new file mode 100644 index 0000000000..df83796add --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-0.3.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "tcp_accept" with type "example" omitted + +rust_library( + name = "async_stream", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__async_stream_impl__0_3_0//:async_stream_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_core__0_3_12//:futures_core", + ], +) + +# Unsupported target "for_await" with type "test" omitted + +# Unsupported target "stream" with type "test" omitted + +# Unsupported target "try_stream" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-impl-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-impl-0.3.0.bazel new file mode 100644 index 0000000000..e050d97a24 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-stream-impl-0.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "async_stream_impl", + 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.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-task-4.0.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-task-4.0.3.bazel new file mode 100644 index 0000000000..928e27f2d0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-task-4.0.3.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "spawn" with type "bench" omitted + +# Unsupported target "spawn" with type "example" omitted + +# Unsupported target "spawn-local" with type "example" omitted + +# Unsupported target "spawn-on-thread" with type "example" omitted + +rust_library( + name = "async_task", + 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 = "4.0.3", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "basic" with type "test" omitted + +# Unsupported target "cancel" with type "test" omitted + +# Unsupported target "join" with type "test" omitted + +# Unsupported target "panic" with type "test" omitted + +# Unsupported target "ready" with type "test" omitted + +# Unsupported target "waker_panic" with type "test" omitted + +# Unsupported target "waker_pending" with type "test" omitted + +# Unsupported target "waker_ready" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-trait-0.1.42.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-trait-0.1.42.bazel new file mode 100644 index 0000000000..06f7708e5d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.async-trait-0.1.42.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 "//third_party/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 = "async_trait", + 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.1.42", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.atomic-waker-1.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.atomic-waker-1.0.0.bazel new file mode 100644 index 0000000000..b04ed4fb6a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.atomic-waker-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 "//third_party/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 = "atomic_waker", + 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 "basic" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.atty-0.2.14.bazel new file mode 100644 index 0000000000..51bb22fa02 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.atty-0.2.14.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.autocfg-1.0.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.autocfg-1.0.1.bazel new file mode 100644 index 0000000000..11a1d9f492 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.base64-0.13.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.base64-0.13.0.bazel new file mode 100644 index 0000000000..cf7111d816 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.base64-0.13.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 "//third_party/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 "base64" with type "example" omitted + +# Unsupported target "make_tables" with type "example" omitted + +rust_library( + name = "base64", + 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.13.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "decode" with type "test" omitted + +# Unsupported target "encode" with type "test" omitted + +# Unsupported target "helpers" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.basic-cookies-0.1.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.basic-cookies-0.1.4.bazel new file mode 100644 index 0000000000..6883ff1afa --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.basic-cookies-0.1.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 "//third_party/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 = "basic_cookies_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.1.4", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__lalrpop__0_19_4//:lalrpop", + ], +) + +rust_library( + name = "basic_cookies", + 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.4", + # buildifier: leave-alone + deps = [ + ":basic_cookies_build_script", + "@cargo_raze__lalrpop_util__0_19_4//:lalrpop_util", + "@cargo_raze__regex__1_4_3//:regex", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bazel new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-set-0.5.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-set-0.5.2.bazel new file mode 100644 index 0000000000..9edf67268a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-set-0.5.2.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 "//third_party/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 = "bit_set", + 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.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bit_vec__0_6_3//:bit_vec", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-vec-0.6.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-vec-0.6.3.bazel new file mode 100644 index 0000000000..30de8fe04f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bit-vec-0.6.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 "//third_party/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 = "bit_vec", + 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.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bitflags-1.2.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bitflags-1.2.1.bazel new file mode 100644 index 0000000000..d6f5a32693 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.blake2b_simd-0.5.11.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.blake2b_simd-0.5.11.bazel new file mode 100644 index 0000000000..2bf428e0c8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.blake2b_simd-0.5.11.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "blake2b_simd", + 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.11", + # buildifier: leave-alone + deps = [ + "@cargo_raze__arrayref__0_3_6//:arrayref", + "@cargo_raze__arrayvec__0_5_2//:arrayvec", + "@cargo_raze__constant_time_eq__0_1_5//:constant_time_eq", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-buffer-0.7.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-buffer-0.7.3.bazel new file mode 100644 index 0000000000..8ff458ac72 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-buffer-0.7.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 "//third_party/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 = "block_buffer", + 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 = [ + "@cargo_raze__block_padding__0_1_5//:block_padding", + "@cargo_raze__byte_tools__0_3_1//:byte_tools", + "@cargo_raze__byteorder__1_4_2//:byteorder", + "@cargo_raze__generic_array__0_12_3//:generic_array", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-padding-0.1.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-padding-0.1.5.bazel new file mode 100644 index 0000000000..4d07ab1007 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.block-padding-0.1.5.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 "//third_party/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 = "block_padding", + 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.5", + # buildifier: leave-alone + deps = [ + "@cargo_raze__byte_tools__0_3_1//:byte_tools", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.blocking-1.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.blocking-1.0.2.bazel new file mode 100644 index 0000000000..bda0f9a656 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.blocking-1.0.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 "//third_party/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 "ls" with type "example" omitted + +rust_library( + name = "blocking", + 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.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__async_channel__1_5_1//:async_channel", + "@cargo_raze__async_task__4_0_3//:async_task", + "@cargo_raze__atomic_waker__1_0_0//:atomic_waker", + "@cargo_raze__fastrand__1_4_0//:fastrand", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__once_cell__1_5_2//:once_cell", + ], +) + +# Unsupported target "unblock" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bstr-0.2.14.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bstr-0.2.14.bazel new file mode 100644 index 0000000000..4fcfee0fd9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bstr-0.2.14.bazel @@ -0,0 +1,71 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "graphemes" with type "example" omitted + +# Unsupported target "graphemes-std" with type "example" omitted + +# Unsupported target "lines" with type "example" omitted + +# Unsupported target "lines-std" with type "example" omitted + +# Unsupported target "uppercase" with type "example" omitted + +# Unsupported target "uppercase-std" with type "example" omitted + +# Unsupported target "words" with type "example" omitted + +# Unsupported target "words-std" with type "example" omitted + +rust_library( + name = "bstr", + 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.14", + # buildifier: leave-alone + deps = [ + "@cargo_raze__memchr__2_3_4//:memchr", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bumpalo-3.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bumpalo-3.4.0.bazel new file mode 100644 index 0000000000..ca2d05f8a6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bumpalo-3.4.0.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 "//third_party/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 + +rust_library( + name = "bumpalo", + 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 = "3.4.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "alloc_fill" with type "test" omitted + +# Unsupported target "alloc_with" with type "test" omitted + +# Unsupported target "quickchecks" with type "test" omitted + +# Unsupported target "readme_up_to_date" with type "test" omitted + +# Unsupported target "string" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted + +# Unsupported target "try_alloc" with type "test" omitted + +# Unsupported target "vec" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.byte-tools-0.3.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.byte-tools-0.3.1.bazel new file mode 100644 index 0000000000..5a6e89310d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.byte-tools-0.3.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 "//third_party/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 = "byte_tools", + 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 = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.byteorder-1.4.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.byteorder-1.4.2.bazel new file mode 100644 index 0000000000..7b2022babf --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.byteorder-1.4.2.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 "//third_party/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 = "byteorder", + 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 = "1.4.2", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.bytes-1.0.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bytes-1.0.1.bazel new file mode 100644 index 0000000000..1e99059246 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.bytes-1.0.1.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "buf" with type "bench" omitted + +# Unsupported target "bytes" with type "bench" omitted + +# Unsupported target "bytes_mut" with type "bench" omitted + +rust_library( + name = "bytes", + 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 = "1.0.1", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "test_buf" with type "test" omitted + +# Unsupported target "test_buf_mut" with type "test" omitted + +# Unsupported target "test_bytes" with type "test" omitted + +# Unsupported target "test_bytes_odd_alloc" with type "test" omitted + +# Unsupported target "test_bytes_vec_alloc" with type "test" omitted + +# Unsupported target "test_chain" with type "test" omitted + +# Unsupported target "test_debug" with type "test" omitted + +# Unsupported target "test_iter" with type "test" omitted + +# Unsupported target "test_reader" with type "test" omitted + +# Unsupported target "test_serde" with type "test" omitted + +# Unsupported target "test_take" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cache-padded-1.1.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cache-padded-1.1.1.bazel new file mode 100644 index 0000000000..7ffd1f9f11 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cache-padded-1.1.1.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 "//third_party/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 = "cache_padded", + 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 "padding" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-clone-crate-0.1.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-clone-crate-0.1.6.bazel new file mode 100644 index 0000000000..3a3777bc00 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-clone-crate-0.1.6.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "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_cargo_clone", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/main.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.6", + # buildifier: leave-alone + deps = [ + ":cargo_clone", + "@cargo_raze__anyhow__1_0_38//:anyhow", + "@cargo_raze__flate2__1_0_19//:flate2", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__reqwest__0_11_0//:reqwest", + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__tar__0_4_30//:tar", + ], +) + +alias( + name = "cargo_clone_crate", + actual = ":cargo_clone", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "cargo_clone", + 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 = [ + "@cargo_raze__anyhow__1_0_38//:anyhow", + "@cargo_raze__flate2__1_0_19//:flate2", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__reqwest__0_11_0//:reqwest", + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__tar__0_4_30//:tar", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-lock-6.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-lock-6.0.0.bazel new file mode 100644 index 0000000000..400700d8c7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-lock-6.0.0.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 "//third_party/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_cargo_lock", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/bin/cargo-lock/main.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "6.0.0", + # buildifier: leave-alone + deps = [ + ":cargo_lock", + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__toml__0_5_8//:toml", + "@cargo_raze__url__2_2_0//:url", + ], +) + +rust_library( + name = "cargo_lock", + 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 = "6.0.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__toml__0_5_8//:toml", + "@cargo_raze__url__2_2_0//:url", + ], +) + +# Unsupported target "lockfile" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel new file mode 100644 index 0000000000..6f4cf1cedf --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.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 "//third_party/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 "matches" with type "example" omitted + +rust_library( + name = "cargo_platform", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + ], +) + +# Unsupported target "test_cfg" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.bazel new file mode 100644 index 0000000000..986eddc977 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "cargo_metadata", + 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.12.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cargo_platform__0_1_1//:cargo_platform", + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__semver_parser__0_10_2//:semver_parser", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + ], +) + +# Unsupported target "selftest" with type "test" omitted + +# Unsupported target "test_samples" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel new file mode 100644 index 0000000000..ba884106ee --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.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 "//third_party/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 = "cargo_toml", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/cargo_toml.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__serde_derive__1_0_120//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__toml__0_5_8//:toml", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cc-1.0.66.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cc-1.0.66.bazel new file mode 100644 index 0000000000..b18c9ec9f7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cc-1.0.66.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 "//third_party/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_gcc_shim", + srcs = glob(["**/*.rs"]), + crate_features = [ + "jobserver", + "parallel", + ], + crate_root = "src/bin/gcc-shim.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.66", + # buildifier: leave-alone + deps = [ + ":cc", + "@cargo_raze__jobserver__0_1_21//:jobserver", + ], +) + +rust_library( + name = "cc", + srcs = glob(["**/*.rs"]), + crate_features = [ + "jobserver", + "parallel", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.66", + # buildifier: leave-alone + deps = [ + "@cargo_raze__jobserver__0_1_21//:jobserver", + ], +) + +# Unsupported target "cc_env" with type "test" omitted + +# Unsupported target "cflags" with type "test" omitted + +# Unsupported target "cxxflags" with type "test" omitted + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-expr-0.6.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-expr-0.6.0.bazel new file mode 100644 index 0000000000..0d199366de --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-expr-0.6.0.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 "//third_party/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 "eval" with type "example" omitted + +rust_library( + name = "cfg_expr", + 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.6.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__smallvec__1_6_1//:smallvec", + ], +) + +# Unsupported target "eval" with type "test" omitted + +# Unsupported target "lexer" with type "test" omitted + +# Unsupported target "parser" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-if-0.1.10.bazel new file mode 100644 index 0000000000..2fb0247ff0 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.cfg-if-1.0.0.bazel new file mode 100644 index 0000000000..bbc104d1c3 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.chrono-0.4.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.chrono-0.4.19.bazel new file mode 100644 index 0000000000..0ade71451a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.chrono-0.4.19.bazel @@ -0,0 +1,81 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "chrono" with type "bench" omitted + +# Unsupported target "serde" with type "bench" omitted + +rust_library( + name = "chrono", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "clock", + "default", + "libc", + "oldtime", + "std", + "time", + "winapi", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.19", + # buildifier: leave-alone + deps = [ + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__num_integer__0_1_44//:num_integer", + "@cargo_raze__num_traits__0_2_14//:num_traits", + "@cargo_raze__time__0_1_43//:time", + ] + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.chrono-tz-0.5.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.chrono-tz-0.5.3.bazel new file mode 100644 index 0000000000..2e294b80c0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.chrono-tz-0.5.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 "//third_party/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 = "chrono_tz_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.5.3", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__parse_zoneinfo__0_3_0//:parse_zoneinfo", + ], +) + +rust_library( + name = "chrono_tz", + 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.5.3", + # buildifier: leave-alone + deps = [ + ":chrono_tz_build_script", + "@cargo_raze__chrono__0_4_19//:chrono", + ], +) + +# Unsupported target "numberphile" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.concurrent-queue-1.2.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.concurrent-queue-1.2.2.bazel new file mode 100644 index 0000000000..55f995e021 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.concurrent-queue-1.2.2.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 "//third_party/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 = "concurrent_queue", + 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.2.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cache_padded__1_1_1//:cache_padded", + ], +) + +# Unsupported target "bounded" with type "test" omitted + +# Unsupported target "single" with type "test" omitted + +# Unsupported target "unbounded" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.constant_time_eq-0.1.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.constant_time_eq-0.1.5.bazel new file mode 100644 index 0000000000..038da4d26e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.constant_time_eq-0.1.5.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # CC0-1.0 from expression "CC0-1.0" +]) + +# Generated Targets + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "constant_time_eq", + 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.5", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.core-foundation-0.9.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.core-foundation-0.9.1.bazel new file mode 100644 index 0000000000..0cfbb90bb9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.core-foundation-0.9.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 "//third_party/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 = "core_foundation", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__core_foundation_sys__0_8_2//:core_foundation_sys", + "@cargo_raze__libc__0_2_82//:libc", + ], +) + +# Unsupported target "use_macro_outside_crate" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.core-foundation-sys-0.8.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.core-foundation-sys-0.8.2.bazel new file mode 100644 index 0000000000..4443d25efc --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.crates-index-0.16.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crates-index-0.16.2.bazel new file mode 100644 index 0000000000..3c226b3e3b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crates-index-0.16.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "crates_index", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__serde_derive__1_0_120//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.16.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__git2__0_13_16//:git2", + "@cargo_raze__glob__0_3_0//:glob", + "@cargo_raze__hex__0_4_2//:hex", + "@cargo_raze__home__0_5_3//:home", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__semver__0_11_0//:semver", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__smartstring__0_2_6//:smartstring", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.crc32fast-1.2.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crc32fast-1.2.1.bazel new file mode 100644 index 0000000000..1634d49f44 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel new file mode 100644 index 0000000000..a9cadf0e82 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crossbeam-utils-0.8.1.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "2018", + rustc_flags = [ + "--cap-lints=allow", + "--cfg=has_atomic_u8", + "--cfg=has_atomic_u16", + "--cfg=has_atomic_u32", + "--cfg=has_atomic_u64", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__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/third_party/cargo/remote/BUILD.crunchy-0.2.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crunchy-0.2.2.bazel new file mode 100644 index 0000000000..b9971227b2 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.crunchy-0.2.2.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 "//third_party/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 = "crunchy_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "limit_128", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.2", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "crunchy", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "limit_128", + ], + 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 = [ + ":crunchy_build_script", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-0.4.34.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-0.4.34.bazel new file mode 100644 index 0000000000..8f769171bf --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-0.4.34.bazel @@ -0,0 +1,152 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "curl_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "http2", + "openssl-probe", + "openssl-sys", + "ssl", + "static-curl", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.34", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__curl_sys__0_4_39_curl_7_74_0//:curl_sys", + ] + selects.with_or({ + # cfg(all(unix, not(target_os = "macos"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "ssl_proxy" with type "example" omitted + +rust_library( + name = "curl", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "http2", + "openssl-probe", + "openssl-sys", + "ssl", + "static-curl", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.34", + # buildifier: leave-alone + deps = [ + ":curl_build_script", + "@cargo_raze__curl_sys__0_4_39_curl_7_74_0//:curl_sys", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__socket2__0_3_19//:socket2", + ] + selects.with_or({ + # cfg(all(unix, not(target_os = "macos"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_probe__0_1_2//:openssl_probe", + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__schannel__0_1_19//:schannel", + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "atexit" with type "test" omitted + +# Unsupported target "easy" with type "test" omitted + +# Unsupported target "multi" with type "test" omitted + +# Unsupported target "post" with type "test" omitted + +# Unsupported target "protocols" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel new file mode 100644 index 0000000000..51f07a6ca6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.curl-sys-0.4.39+curl-7.74.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 "//third_party/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 = "curl_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "http2", + "libnghttp2-sys", + "openssl-sys", + "ssl", + "static-curl", + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.39+curl-7.74.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__curl//:curl", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__libnghttp2_sys__0_1_5_1_42_0//:libnghttp2_sys", + "@cargo_raze__libz_sys__1_1_2//:libz_sys", + ] + selects.with_or({ + # cfg(all(unix, not(target_os = "macos"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.deunicode-0.4.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.deunicode-0.4.3.bazel new file mode 100644 index 0000000000..8e41b738cf --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.deunicode-0.4.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 "//third_party/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 = "deunicode", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + glob( + ["**"], + exclude = ["**/*.rs"], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.diff-0.1.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.diff-0.1.12.bazel new file mode 100644 index 0000000000..14a0535d96 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.diff-0.1.12.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 "//third_party/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 "simple" with type "example" omitted + +rust_library( + name = "diff", + 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.12", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.difference-2.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.difference-2.0.0.bazel new file mode 100644 index 0000000000..c1dffc6246 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.difference-2.0.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "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_difference", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/main.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.0", + # buildifier: leave-alone + deps = [ + ":difference", + ], +) + +# Unsupported target "github-style" with type "example" omitted + +# Unsupported target "line-by-line" with type "example" omitted + +# Unsupported target "underline-words" with type "example" omitted + +rust_library( + name = "difference", + 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 = "2.0.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "quickcheck" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.digest-0.8.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.digest-0.8.1.bazel new file mode 100644 index 0000000000..f5803a1125 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.digest-0.8.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 "//third_party/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 = "digest", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__generic_array__0_12_3//:generic_array", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.dirs-1.0.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.dirs-1.0.5.bazel new file mode 100644 index 0000000000..a579aa549e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.dirs-1.0.5.bazel @@ -0,0 +1,77 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "dirs", + 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 = "1.0.5", + # 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.docopt-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.docopt-1.1.0.bazel new file mode 100644 index 0000000000..4cfcfd4ab5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.docopt-1.1.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense 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_docopt_wordlist", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/wordlist.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + ":docopt", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__strsim__0_9_3//:strsim", + ], +) + +# Unsupported target "cargo" with type "example" omitted + +# Unsupported target "cp" with type "example" omitted + +# Unsupported target "decode" with type "example" omitted + +# Unsupported target "hashmap" with type "example" omitted + +# Unsupported target "optional_command" with type "example" omitted + +# Unsupported target "verbose_multiple" with type "example" omitted + +rust_library( + name = "docopt", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__strsim__0_9_3//:strsim", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.either-1.6.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.either-1.6.1.bazel new file mode 100644 index 0000000000..6380dd5db9 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.ena-0.14.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ena-0.14.0.bazel new file mode 100644 index 0000000000..4af5c0cc15 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ena-0.14.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 "//third_party/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 = "ena", + 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 = [ + "@cargo_raze__log__0_4_13//:log", + ], +) + +# Unsupported target "external_undo_log" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.encoding_rs-0.8.26.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.encoding_rs-0.8.26.bazel new file mode 100644 index 0000000000..3cadc71df5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.encoding_rs-0.8.26.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "encoding_rs_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.8.26", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "encoding_rs", + 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.26", + # buildifier: leave-alone + deps = [ + ":encoding_rs_build_script", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.event-listener-2.5.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.event-listener-2.5.1.bazel new file mode 100644 index 0000000000..a1ef7821c1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.event-listener-2.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 "//third_party/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 "mutex" with type "example" omitted + +rust_library( + name = "event_listener", + 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 = "2.5.1", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "notify" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.extend-0.1.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.extend-0.1.2.bazel new file mode 100644 index 0000000000..912d494604 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.extend-0.1.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "extend", + 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.1.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__proc_macro_error__1_0_4//:proc_macro_error", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.fake-simd-0.1.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fake-simd-0.1.2.bazel new file mode 100644 index 0000000000..0314b2ad33 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fake-simd-0.1.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 "//third_party/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 = "fake_simd", + 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.2", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.fastrand-1.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fastrand-1.4.0.bazel new file mode 100644 index 0000000000..e81e4c33aa --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fastrand-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 "//third_party/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 + +rust_library( + name = "fastrand", + 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.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "smoke" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.filetime-0.2.14.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.filetime-0.2.14.bazel new file mode 100644 index 0000000000..4b78762b7a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.filetime-0.2.14.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "filetime", + 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.2.14", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.fixedbitset-0.2.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fixedbitset-0.2.0.bazel new file mode 100644 index 0000000000..2954714410 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fixedbitset-0.2.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 "//third_party/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 + +rust_library( + name = "fixedbitset", + 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/third_party/cargo/remote/BUILD.flate2-1.0.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.flate2-1.0.19.bazel new file mode 100644 index 0000000000..2f15513829 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.flate2-1.0.19.bazel @@ -0,0 +1,116 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "compress_file" with type "example" omitted + +# Unsupported target "deflatedecoder-bufread" with type "example" omitted + +# Unsupported target "deflatedecoder-read" with type "example" omitted + +# Unsupported target "deflatedecoder-write" with type "example" omitted + +# Unsupported target "deflateencoder-bufread" with type "example" omitted + +# Unsupported target "deflateencoder-read" with type "example" omitted + +# Unsupported target "deflateencoder-write" with type "example" omitted + +# Unsupported target "gzbuilder" with type "example" omitted + +# Unsupported target "gzdecoder-bufread" with type "example" omitted + +# Unsupported target "gzdecoder-read" with type "example" omitted + +# Unsupported target "gzdecoder-write" with type "example" omitted + +# Unsupported target "gzencoder-bufread" with type "example" omitted + +# Unsupported target "gzencoder-read" with type "example" omitted + +# Unsupported target "gzencoder-write" with type "example" omitted + +# Unsupported target "gzmultidecoder-bufread" with type "example" omitted + +# Unsupported target "gzmultidecoder-read" with type "example" omitted + +# Unsupported target "zlibdecoder-bufread" with type "example" omitted + +# Unsupported target "zlibdecoder-read" with type "example" omitted + +# Unsupported target "zlibdecoder-write" with type "example" omitted + +# Unsupported target "zlibencoder-bufread" with type "example" omitted + +# Unsupported target "zlibencoder-read" with type "example" omitted + +# Unsupported target "zlibencoder-write" with type "example" omitted + +rust_library( + name = "flate2", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "miniz_oxide", + "rust_backend", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.19", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__crc32fast__1_2_1//:crc32fast", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__miniz_oxide__0_4_3//:miniz_oxide", + ], +) + +# Unsupported target "async-reader" with type "test" omitted + +# Unsupported target "early-flush" with type "test" omitted + +# Unsupported target "empty-read" with type "test" omitted + +# Unsupported target "gunzip" with type "test" omitted + +# Unsupported target "tokio" with type "test" omitted + +# Unsupported target "zero-write" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.flume-0.10.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.flume-0.10.1.bazel new file mode 100644 index 0000000000..7138deac48 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.flume-0.10.1.bazel @@ -0,0 +1,105 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "basic" with type "bench" omitted + +# Unsupported target "async" with type "example" omitted + +# Unsupported target "perf" with type "example" omitted + +# Unsupported target "select" with type "example" omitted + +# Unsupported target "simple" with type "example" omitted + +rust_library( + name = "flume", + srcs = glob(["**/*.rs"]), + crate_features = [ + "async", + "futures-core", + "futures-sink", + "pin-project", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_sink__0_3_12//:futures_sink", + "@cargo_raze__pin_project__1_0_4//:pin_project", + "@cargo_raze__spinning_top__0_2_2//:spinning_top", + ], +) + +# Unsupported target "after" with type "test" omitted + +# Unsupported target "array" with type "test" omitted + +# Unsupported target "async" with type "test" omitted + +# Unsupported target "basic" 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 "stream" 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/third_party/cargo/remote/BUILD.fnv-1.0.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fnv-1.0.7.bazel new file mode 100644 index 0000000000..461c2e35b2 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.fnv-1.0.7.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 "//third_party/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/third_party/cargo/remote/BUILD.foreign-types-0.3.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.foreign-types-0.3.2.bazel new file mode 100644 index 0000000000..dc6d8c01ea --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.foreign-types-0.3.2.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 "//third_party/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 = "foreign_types", + 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 = [ + "@cargo_raze__foreign_types_shared__0_1_1//:foreign_types_shared", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.foreign-types-shared-0.1.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.foreign-types-shared-0.1.1.bazel new file mode 100644 index 0000000000..f9ddc252b6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.foreign-types-shared-0.1.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 "//third_party/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 = "foreign_types_shared", + 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.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.form_urlencoded-1.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.form_urlencoded-1.0.0.bazel new file mode 100644 index 0000000000..9f5372b302 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.form_urlencoded-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 "//third_party/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 = "form_urlencoded", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__matches__0_1_8//:matches", + "@cargo_raze__percent_encoding__2_1_0//:percent_encoding", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-channel-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-channel-0.3.12.bazel new file mode 100644 index 0000000000..1769364de1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-channel-0.3.12.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 "//third_party/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 = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_core__0_3_12//: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/third_party/cargo/remote/BUILD.futures-core-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-core-0.3.12.bazel new file mode 100644 index 0000000000..2fa758ae57 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-core-0.3.12.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 "//third_party/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 = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-io-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-io-0.3.12.bazel new file mode 100644 index 0000000000..4cf9765aa4 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-io-0.3.12.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 "//third_party/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 = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel new file mode 100644 index 0000000000..7c4cfcb59f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-lite-1.11.3.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 "//third_party/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 = "futures_lite", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "fastrand", + "futures-io", + "parking", + "std", + "waker-fn", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.11.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__fastrand__1_4_0//:fastrand", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_io__0_3_12//:futures_io", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__parking__2_0_0//:parking", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__waker_fn__1_1_0//:waker_fn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-macro-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-macro-0.3.12.bazel new file mode 100644 index 0000000000..ff4a5c1f7d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-macro-0.3.12.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 "//third_party/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_macro", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "proc-macro", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__proc_macro_hack__0_5_19//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-sink-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-sink-0.3.12.bazel new file mode 100644 index 0000000000..c12d05a8da --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-sink-0.3.12.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 "//third_party/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 = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-task-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-task-0.3.12.bazel new file mode 100644 index 0000000000..af5ad3a3da --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-task-0.3.12.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 "//third_party/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_task", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "once_cell", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + "@cargo_raze__once_cell__1_5_2//:once_cell", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-util-0.3.12.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-util-0.3.12.bazel new file mode 100644 index 0000000000..1a6d88ba15 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.futures-util-0.3.12.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "futures_unordered" with type "bench" omitted + +rust_library( + name = "futures_util", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "async-await", + "async-await-macro", + "default", + "futures-io", + "futures-macro", + "io", + "memchr", + "proc-macro-hack", + "proc-macro-nested", + "slab", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__futures_macro__0_3_12//:futures_macro", + "@cargo_raze__proc_macro_hack__0_5_19//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_io__0_3_12//:futures_io", + "@cargo_raze__futures_task__0_3_12//:futures_task", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__pin_utils__0_1_0//:pin_utils", + "@cargo_raze__proc_macro_nested__0_1_7//:proc_macro_nested", + "@cargo_raze__slab__0_4_2//:slab", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.generic-array-0.12.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.generic-array-0.12.3.bazel new file mode 100644 index 0000000000..21339c3f70 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.generic-array-0.12.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "generic_array", + 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.12.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__typenum__1_12_0//:typenum", + ], +) + +# Unsupported target "arr" with type "test" omitted + +# Unsupported target "generics" with type "test" omitted + +# Unsupported target "hex" with type "test" omitted + +# Unsupported target "import_name" with type "test" omitted + +# Unsupported target "iter" with type "test" omitted + +# Unsupported target "mod" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.1.16.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.1.16.bazel new file mode 100644 index 0000000000..042c5e9fd7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.1.16.bazel @@ -0,0 +1,115 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.16", + visibility = ["//visibility:private"], + 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "mod" with type "bench" omitted + +rust_library( + name = "getrandom", + 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.16", + # buildifier: leave-alone + deps = [ + ":getrandom_build_script", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//:libc", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "common" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.2.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.2.2.bazel new file mode 100644 index 0000000000..a34dc59a41 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.getrandom-0.2.2.bazel @@ -0,0 +1,121 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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.2.2", + visibility = ["//visibility:private"], + 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//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.2.2", + # buildifier: leave-alone + deps = [ + ":getrandom_build_script", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//:libc", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "custom" with type "test" omitted + +# Unsupported target "normal" with type "test" omitted + +# Unsupported target "rdrand" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.git2-0.13.16.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.git2-0.13.16.bazel new file mode 100644 index 0000000000..a37342a3a0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.git2-0.13.16.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 "//third_party/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 "add" with type "example" omitted + +# Unsupported target "blame" with type "example" omitted + +# Unsupported target "cat-file" with type "example" omitted + +# Unsupported target "clone" with type "example" omitted + +# Unsupported target "diff" with type "example" omitted + +# Unsupported target "fetch" with type "example" omitted + +# Unsupported target "init" with type "example" omitted + +# Unsupported target "log" with type "example" omitted + +# Unsupported target "ls-remote" with type "example" omitted + +# Unsupported target "pull" with type "example" omitted + +# Unsupported target "rev-list" with type "example" omitted + +# Unsupported target "rev-parse" with type "example" omitted + +# Unsupported target "status" with type "example" omitted + +# Unsupported target "tag" with type "example" omitted + +rust_library( + name = "git2", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "https", + "openssl-probe", + "openssl-sys", + "ssh", + "ssh_key_from_memory", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.13.16", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bitflags__1_2_1//:bitflags", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__libgit2_sys__0_12_18_1_1_0//:libgit2_sys", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__url__2_2_0//:url", + ] + selects.with_or({ + # cfg(all(unix, not(target_os = "macos"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_probe__0_1_2//:openssl_probe", + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "global_state" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.glob-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.glob-0.3.0.bazel new file mode 100644 index 0000000000..dda073c9f1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.glob-0.3.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 "//third_party/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 = "glob", + 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 = [ + ], +) + +# Unsupported target "glob-std" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.globset-0.4.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.globset-0.4.6.bazel new file mode 100644 index 0000000000..bbe4d65bc0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.globset-0.4.6.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 "//third_party/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 = "globset", + 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.6", + # buildifier: leave-alone + deps = [ + "@cargo_raze__aho_corasick__0_7_15//:aho_corasick", + "@cargo_raze__bstr__0_2_14//:bstr", + "@cargo_raze__fnv__1_0_7//:fnv", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__regex__1_4_3//:regex", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.globwalk-0.8.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.globwalk-0.8.1.bazel new file mode 100644 index 0000000000..2484e601b8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.globwalk-0.8.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "list" with type "example" omitted + +rust_library( + name = "globwalk", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bitflags__1_2_1//:bitflags", + "@cargo_raze__ignore__0_4_17//:ignore", + "@cargo_raze__walkdir__2_3_1//:walkdir", + ], +) + +# Unsupported target "docs" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.gloo-timers-0.2.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.gloo-timers-0.2.1.bazel new file mode 100644 index 0000000000..04fa178c7b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.gloo-timers-0.2.1.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 "//third_party/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 = "gloo_timers", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "futures", + "futures-channel", + "futures-core", + ], + 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 = [ + "@cargo_raze__futures_channel__0_3_12//:futures_channel", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__js_sys__0_3_46//:js_sys", + "@cargo_raze__wasm_bindgen__0_2_69//:wasm_bindgen", + "@cargo_raze__web_sys__0_3_46//:web_sys", + ], +) + +# Unsupported target "web" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.h2-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.h2-0.3.0.bazel new file mode 100644 index 0000000000..ce92146344 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.h2-0.3.0.bazel @@ -0,0 +1,71 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "akamai" with type "example" omitted + +# Unsupported target "client" with type "example" omitted + +# Unsupported target "server" with type "example" omitted + +rust_library( + name = "h2", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__fnv__1_0_7//:fnv", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_sink__0_3_12//:futures_sink", + "@cargo_raze__futures_util__0_3_12//:futures_util", + "@cargo_raze__http__0_2_3//:http", + "@cargo_raze__indexmap__1_6_1//:indexmap", + "@cargo_raze__slab__0_4_2//:slab", + "@cargo_raze__tokio__1_1_0//:tokio", + "@cargo_raze__tokio_util__0_6_2//:tokio_util", + "@cargo_raze__tracing__0_1_22//:tracing", + "@cargo_raze__tracing_futures__0_2_4//:tracing_futures", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.hamcrest2-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hamcrest2-0.3.0.bazel new file mode 100644 index 0000000000..fc72117765 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hamcrest2-0.3.0.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 "//third_party/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 = "hamcrest2", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__num__0_2_1//:num", + "@cargo_raze__regex__1_4_3//:regex", + ], +) + +# Unsupported target "all" with type "test" omitted + +# Unsupported target "any" with type "test" omitted + +# Unsupported target "anything" with type "test" omitted + +# Unsupported target "boolean" with type "test" omitted + +# Unsupported target "close_to" with type "test" omitted + +# Unsupported target "compared_to" with type "test" omitted + +# Unsupported target "contains" with type "test" omitted + +# Unsupported target "empty" with type "test" omitted + +# Unsupported target "equal_to" with type "test" omitted + +# Unsupported target "err" with type "test" omitted + +# Unsupported target "has" with type "test" omitted + +# Unsupported target "len" with type "test" omitted + +# Unsupported target "none" with type "test" omitted + +# Unsupported target "ok" with type "test" omitted + +# Unsupported target "path_exists" with type "test" omitted + +# Unsupported target "regex" with type "test" omitted + +# Unsupported target "some" with type "test" omitted + +# Unsupported target "type_of" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.hashbrown-0.9.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hashbrown-0.9.1.bazel new file mode 100644 index 0000000000..e253eb7a6b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hashbrown-0.9.1.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 "//third_party/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 + +rust_library( + name = "hashbrown", + srcs = glob(["**/*.rs"]), + crate_features = [ + "raw", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.1", + # buildifier: leave-alone + deps = [ + ], +) + +# 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/third_party/cargo/remote/BUILD.hermit-abi-0.1.18.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hermit-abi-0.1.18.bazel new file mode 100644 index 0000000000..cf4f8ad2a8 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__libc__0_2_82//:libc", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.hex-0.4.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hex-0.4.2.bazel new file mode 100644 index 0000000000..32b87f4016 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hex-0.4.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 "//third_party/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 "hex" with type "bench" omitted + +rust_library( + name = "hex", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + ], +) + +# Unsupported target "serde" with type "test" omitted + +# Unsupported target "version-number" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.home-0.5.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.home-0.5.3.bazel new file mode 100644 index 0000000000..028b3d0695 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.home-0.5.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 "//third_party/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 = "home", + 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.5.3", + # 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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-0.2.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-0.2.3.bazel new file mode 100644 index 0000000000..6b063123c0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-0.2.3.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 "//third_party/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 "header_map" with type "bench" omitted + +# Unsupported target "header_name" with type "bench" omitted + +# Unsupported target "header_value" with type "bench" omitted + +# Unsupported target "uri" with type "bench" omitted + +rust_library( + name = "http", + 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.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__fnv__1_0_7//:fnv", + "@cargo_raze__itoa__0_4_7//:itoa", + ], +) + +# Unsupported target "header_map" with type "test" omitted + +# Unsupported target "header_map_fuzz" with type "test" omitted + +# Unsupported target "status_code" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-body-0.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-body-0.4.0.bazel new file mode 100644 index 0000000000..e517c159c5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.http-body-0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "http_body", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__http__0_2_3//:http", + ], +) + +# Unsupported target "is_end_stream" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.httparse-1.3.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httparse-1.3.4.bazel new file mode 100644 index 0000000000..c8d009c974 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httparse-1.3.4.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 "//third_party/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 = "httparse_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 "parse" with type "bench" omitted + +rust_library( + name = "httparse", + 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 = [ + ":httparse_build_script", + ], +) + +# Unsupported target "uri" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.httpdate-0.3.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httpdate-0.3.2.bazel new file mode 100644 index 0000000000..bc370cbd8a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httpdate-0.3.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 "//third_party/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 = "httpdate", + 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/third_party/cargo/remote/BUILD.httpmock-0.5.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httpmock-0.5.4.bazel new file mode 100644 index 0000000000..db1e71a823 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.httpmock-0.5.4.bazel @@ -0,0 +1,121 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "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_httpmock", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/main.rs", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__async_trait__0_1_42//:async_trait", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.4", + # buildifier: leave-alone + deps = [ + ":httpmock", + "@cargo_raze__assert_json_diff__1_1_0//:assert_json_diff", + "@cargo_raze__async_object_pool__0_1_4//:async_object_pool", + "@cargo_raze__base64__0_13_0//:base64", + "@cargo_raze__basic_cookies__0_1_4//:basic_cookies", + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + "@cargo_raze__difference__2_0_0//:difference", + "@cargo_raze__futures_util__0_3_12//:futures_util", + "@cargo_raze__hyper__0_14_2//:hyper", + "@cargo_raze__isahc__1_0_3//:isahc", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__levenshtein__1_0_4//:levenshtein", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__qstring__0_7_2//:qstring", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__serde_regex__1_1_0//:serde_regex", + "@cargo_raze__tokio__1_1_0//:tokio", + ], +) + +rust_library( + name = "httpmock", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__async_trait__0_1_42//:async_trait", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__assert_json_diff__1_1_0//:assert_json_diff", + "@cargo_raze__async_object_pool__0_1_4//:async_object_pool", + "@cargo_raze__base64__0_13_0//:base64", + "@cargo_raze__basic_cookies__0_1_4//:basic_cookies", + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + "@cargo_raze__difference__2_0_0//:difference", + "@cargo_raze__futures_util__0_3_12//:futures_util", + "@cargo_raze__hyper__0_14_2//:hyper", + "@cargo_raze__isahc__1_0_3//:isahc", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__levenshtein__1_0_4//:levenshtein", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__qstring__0_7_2//:qstring", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__serde_regex__1_1_0//:serde_regex", + "@cargo_raze__tokio__1_1_0//:tokio", + ], +) + +# Unsupported target "lib" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.humansize-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.humansize-1.1.0.bazel new file mode 100644 index 0000000000..e6ba4c05e7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.humansize-1.1.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 "//third_party/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_options" with type "example" omitted + +# Unsupported target "sizes" with type "example" omitted + +rust_library( + name = "humansize", + 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/third_party/cargo/remote/BUILD.hyper-0.14.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hyper-0.14.2.bazel new file mode 100644 index 0000000000..3bdb3b3cc5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hyper-0.14.2.bazel @@ -0,0 +1,139 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "body" with type "bench" omitted + +# Unsupported target "connect" with type "bench" omitted + +# Unsupported target "end_to_end" with type "bench" omitted + +# Unsupported target "pipeline" with type "bench" omitted + +# Unsupported target "server" with type "bench" omitted + +# Unsupported target "client" with type "example" omitted + +# Unsupported target "client_json" with type "example" omitted + +# Unsupported target "echo" with type "example" omitted + +# Unsupported target "gateway" with type "example" omitted + +# Unsupported target "hello" with type "example" omitted + +# Unsupported target "http_proxy" with type "example" omitted + +# Unsupported target "multi_server" with type "example" omitted + +# Unsupported target "params" with type "example" omitted + +# Unsupported target "send_file" with type "example" omitted + +# Unsupported target "service_struct_impl" with type "example" omitted + +# Unsupported target "single_threaded" with type "example" omitted + +# Unsupported target "state" with type "example" omitted + +# Unsupported target "tower_client" with type "example" omitted + +# Unsupported target "tower_server" with type "example" omitted + +# Unsupported target "upgrades" with type "example" omitted + +# Unsupported target "web_api" with type "example" omitted + +rust_library( + name = "hyper", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "client", + "default", + "h2", + "http1", + "http2", + "server", + "socket2", + "tcp", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.14.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__futures_channel__0_3_12//:futures_channel", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_util__0_3_12//:futures_util", + "@cargo_raze__h2__0_3_0//:h2", + "@cargo_raze__http__0_2_3//:http", + "@cargo_raze__http_body__0_4_0//:http_body", + "@cargo_raze__httparse__1_3_4//:httparse", + "@cargo_raze__httpdate__0_3_2//:httpdate", + "@cargo_raze__itoa__0_4_7//:itoa", + "@cargo_raze__pin_project__1_0_4//:pin_project", + "@cargo_raze__socket2__0_3_19//:socket2", + "@cargo_raze__tokio__1_1_0//:tokio", + "@cargo_raze__tower_service__0_3_0//:tower_service", + "@cargo_raze__tracing__0_1_22//:tracing", + "@cargo_raze__want__0_3_0//:want", + ] + selects.with_or({ + # cfg(any(target_os = "linux", target_os = "macos")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "client" with type "test" omitted + +# Unsupported target "integration" with type "test" omitted + +# Unsupported target "server" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.hyper-tls-0.5.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hyper-tls-0.5.0.bazel new file mode 100644 index 0000000000..b910815023 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.hyper-tls-0.5.0.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 "//third_party/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 "client" with type "example" omitted + +rust_library( + name = "hyper_tls", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__hyper__0_14_2//:hyper", + "@cargo_raze__native_tls__0_2_7//:native_tls", + "@cargo_raze__tokio__1_1_0//:tokio", + "@cargo_raze__tokio_native_tls__0_3_0//:tokio_native_tls", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.idna-0.2.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.idna-0.2.0.bazel new file mode 100644 index 0000000000..5cb4b4ee1f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.idna-0.2.0.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 "//third_party/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 = "idna", + 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 = [ + "@cargo_raze__matches__0_1_8//:matches", + "@cargo_raze__unicode_bidi__0_3_4//:unicode_bidi", + "@cargo_raze__unicode_normalization__0_1_16//:unicode_normalization", + ], +) + +# Unsupported target "tests" with type "test" omitted + +# Unsupported target "unit" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel new file mode 100644 index 0000000000..cb0d3ee6e9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel @@ -0,0 +1,77 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated Targets + +# Unsupported target "walk" with type "example" omitted + +rust_library( + name = "ignore", + 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.4.17", + # buildifier: leave-alone + deps = [ + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + "@cargo_raze__globset__0_4_6//:globset", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__same_file__1_0_6//:same_file", + "@cargo_raze__thread_local__1_1_1//:thread_local", + "@cargo_raze__walkdir__2_3_1//:walkdir", + ] + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi_util__0_1_5//:winapi_util", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "gitignore_matched_path_or_any_parents_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.indexmap-1.6.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.indexmap-1.6.1.bazel new file mode 100644 index 0000000000..978a24db48 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.indexmap-1.6.1.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 "//third_party/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 = "indexmap_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.6.1", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "faststring" with type "bench" omitted + +rust_library( + name = "indexmap", + 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 = [ + ":indexmap_build_script", + "@cargo_raze__hashbrown__0_9_1//:hashbrown", + ], +) + +# Unsupported target "equivalent_trait" with type "test" omitted + +# Unsupported target "macros_full_path" with type "test" omitted + +# Unsupported target "quick" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.indoc-1.0.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.indoc-1.0.3.bazel new file mode 100644 index 0000000000..e11abed860 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__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/third_party/cargo/remote/BUILD.instant-0.1.9.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.instant-0.1.9.bazel new file mode 100644 index 0000000000..38e274d7ee --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.instant-0.1.9.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 "//third_party/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 = "instant", + 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.9", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + ], +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.ipnet-2.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ipnet-2.3.0.bazel new file mode 100644 index 0000000000..385918db82 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ipnet-2.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 "//third_party/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 = "ipnet", + 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.3.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.isahc-1.0.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.isahc-1.0.3.bazel new file mode 100644 index 0000000000..e0022c887a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.isahc-1.0.3.bazel @@ -0,0 +1,170 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "isahc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "encoding_rs", + "http2", + "mime", + "static-curl", + "text-decoding", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.3", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__curl_sys__0_4_39_curl_7_74_0//:curl_sys", + ], +) + +# Unsupported target "async" with type "example" omitted + +# Unsupported target "badssl" with type "example" omitted + +# Unsupported target "client" with type "example" omitted + +# Unsupported target "cookies" with type "example" omitted + +# Unsupported target "http2" with type "example" omitted + +# Unsupported target "json" with type "example" omitted + +# Unsupported target "logging" with type "example" omitted + +# Unsupported target "parallel_requests" with type "example" omitted + +# Unsupported target "progress" with type "example" omitted + +# Unsupported target "simple" with type "example" omitted + +# Unsupported target "stream_cancellation" with type "example" omitted + +# Unsupported target "tracing" with type "example" omitted + +# Unsupported target "upload_file" with type "example" omitted + +# Unsupported target "version" with type "example" omitted + +rust_library( + name = "isahc", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "encoding_rs", + "http2", + "mime", + "static-curl", + "text-decoding", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.3", + # buildifier: leave-alone + deps = [ + ":isahc_build_script", + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + "@cargo_raze__curl__0_4_34//:curl", + "@cargo_raze__curl_sys__0_4_39_curl_7_74_0//:curl_sys", + "@cargo_raze__encoding_rs__0_8_26//:encoding_rs", + "@cargo_raze__flume__0_10_1//:flume", + "@cargo_raze__futures_lite__1_11_3//:futures_lite", + "@cargo_raze__http__0_2_3//:http", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__mime__0_3_16//:mime", + "@cargo_raze__once_cell__1_5_2//:once_cell", + "@cargo_raze__slab__0_4_2//:slab", + "@cargo_raze__sluice__0_5_3//:sluice", + "@cargo_raze__tracing__0_1_22//:tracing", + "@cargo_raze__tracing_futures__0_2_4//:tracing_futures", + "@cargo_raze__url__2_2_0//:url", + "@cargo_raze__waker_fn__1_1_0//:waker_fn", + ], +) + +# Unsupported target "auth" with type "test" omitted + +# Unsupported target "cookies" with type "test" omitted + +# Unsupported target "encoding" with type "test" omitted + +# Unsupported target "headers" with type "test" omitted + +# Unsupported target "interceptors" with type "test" omitted + +# Unsupported target "methods" with type "test" omitted + +# Unsupported target "metrics" with type "test" omitted + +# Unsupported target "net" with type "test" omitted + +# Unsupported target "proxy" with type "test" omitted + +# Unsupported target "redirects" with type "test" omitted + +# Unsupported target "request_body" with type "test" omitted + +# Unsupported target "response_body" with type "test" omitted + +# Unsupported target "status" with type "test" omitted + +# Unsupported target "timeouts" with type "test" omitted + +# Unsupported target "unix" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.10.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.10.0.bazel new file mode 100644 index 0000000000..d368a1d90f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.10.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 "//third_party/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 "bench1" with type "bench" omitted + +# Unsupported target "combinations" with type "bench" omitted + +# Unsupported target "combinations_with_replacement" with type "bench" omitted + +# Unsupported target "fold_specialization" with type "bench" omitted + +# Unsupported target "powerset" with type "bench" omitted + +# Unsupported target "tree_fold1" with type "bench" omitted + +# Unsupported target "tuple_combinations" with type "bench" omitted + +# Unsupported target "tuples" with type "bench" omitted + +# Unsupported target "iris" with type "example" omitted + +rust_library( + name = "itertools", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "use_alloc", + "use_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", + # buildifier: leave-alone + deps = [ + "@cargo_raze__either__1_6_1//:either", + ], +) + +# Unsupported target "adaptors_no_collect" with type "test" omitted + +# Unsupported target "fold_specialization" with type "test" omitted + +# Unsupported target "macros_hygiene" with type "test" omitted + +# Unsupported target "merge_join" with type "test" omitted + +# Unsupported target "peeking_take_while" with type "test" omitted + +# Unsupported target "quick" with type "test" omitted + +# Unsupported target "specializations" with type "test" omitted + +# Unsupported target "test_core" with type "test" omitted + +# Unsupported target "test_std" with type "test" omitted + +# Unsupported target "tuples" with type "test" omitted + +# Unsupported target "zip" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.9.0.bazel new file mode 100644 index 0000000000..8fe4fa21c1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itertools-0.9.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 "//third_party/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 "bench1" with type "bench" omitted + +# Unsupported target "combinations_with_replacement" with type "bench" omitted + +# Unsupported target "fold_specialization" with type "bench" omitted + +# Unsupported target "tree_fold1" with type "bench" omitted + +# Unsupported target "tuple_combinations" with type "bench" omitted + +# Unsupported target "tuples" with type "bench" omitted + +# Unsupported target "iris" with type "example" omitted + +rust_library( + name = "itertools", + srcs = glob(["**/*.rs"]), + crate_features = [ + "use_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", + # buildifier: leave-alone + deps = [ + "@cargo_raze__either__1_6_1//:either", + ], +) + +# Unsupported target "adaptors_no_collect" with type "test" omitted + +# Unsupported target "fold_specialization" with type "test" omitted + +# Unsupported target "merge_join" with type "test" omitted + +# Unsupported target "peeking_take_while" with type "test" omitted + +# Unsupported target "quick" with type "test" omitted + +# Unsupported target "specializations" with type "test" omitted + +# Unsupported target "test_core" with type "test" omitted + +# Unsupported target "test_std" with type "test" omitted + +# Unsupported target "tuples" with type "test" omitted + +# Unsupported target "zip" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.itoa-0.4.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itoa-0.4.7.bazel new file mode 100644 index 0000000000..653a290ea6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.itoa-0.4.7.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 "//third_party/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 = "itoa", + 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.4.7", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.jobserver-0.1.21.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.jobserver-0.1.21.bazel new file mode 100644 index 0000000000..8c7142a433 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.jobserver-0.1.21.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "jobserver", + 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.21", + # 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//:libc", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "client" with type "test" omitted + +# Unsupported target "client-of-myself" with type "test" omitted + +# Unsupported target "helper" with type "test" omitted + +# Unsupported target "make-as-a-client" with type "test" omitted + +# Unsupported target "server" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.js-sys-0.3.46.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.js-sys-0.3.46.bazel new file mode 100644 index 0000000000..26a5e04240 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.js-sys-0.3.46.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 "//third_party/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 = "js_sys", + 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.46", + # buildifier: leave-alone + deps = [ + "@cargo_raze__wasm_bindgen__0_2_69//:wasm_bindgen", + ], +) + +# Unsupported target "headless" with type "test" omitted + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.kv-log-macro-1.0.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.kv-log-macro-1.0.7.bazel new file mode 100644 index 0000000000..0a9f4bf087 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.kv-log-macro-1.0.7.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 "//third_party/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 "main" with type "example" omitted + +rust_library( + name = "kv_log_macro", + 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.7", + # buildifier: leave-alone + deps = [ + "@cargo_raze__log__0_4_13//:log", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-0.19.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-0.19.4.bazel new file mode 100644 index 0000000000..eec8b155cb --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-0.19.4.bazel @@ -0,0 +1,113 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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_lalrpop", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "lexer", + "pico-args", + ], + crate_root = "src/main.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.19.4", + # buildifier: leave-alone + deps = [ + ":lalrpop", + "@cargo_raze__ascii_canvas__2_0_0//:ascii_canvas", + "@cargo_raze__atty__0_2_14//:atty", + "@cargo_raze__bit_set__0_5_2//:bit_set", + "@cargo_raze__diff__0_1_12//:diff", + "@cargo_raze__ena__0_14_0//:ena", + "@cargo_raze__itertools__0_9_0//:itertools", + "@cargo_raze__lalrpop_util__0_19_4//:lalrpop_util", + "@cargo_raze__petgraph__0_5_1//:petgraph", + "@cargo_raze__pico_args__0_3_4//:pico_args", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__regex_syntax__0_6_22//:regex_syntax", + "@cargo_raze__string_cache__0_8_1//:string_cache", + "@cargo_raze__term__0_5_2//:term", + "@cargo_raze__tiny_keccak__2_0_2//:tiny_keccak", + "@cargo_raze__unicode_xid__0_2_1//:unicode_xid", + ], +) + +rust_library( + name = "lalrpop", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "lexer", + "pico-args", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.19.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__ascii_canvas__2_0_0//:ascii_canvas", + "@cargo_raze__atty__0_2_14//:atty", + "@cargo_raze__bit_set__0_5_2//:bit_set", + "@cargo_raze__diff__0_1_12//:diff", + "@cargo_raze__ena__0_14_0//:ena", + "@cargo_raze__itertools__0_9_0//:itertools", + "@cargo_raze__lalrpop_util__0_19_4//:lalrpop_util", + "@cargo_raze__petgraph__0_5_1//:petgraph", + "@cargo_raze__pico_args__0_3_4//:pico_args", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__regex_syntax__0_6_22//:regex_syntax", + "@cargo_raze__string_cache__0_8_1//:string_cache", + "@cargo_raze__term__0_5_2//:term", + "@cargo_raze__tiny_keccak__2_0_2//:tiny_keccak", + "@cargo_raze__unicode_xid__0_2_1//:unicode_xid", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-util-0.19.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-util-0.19.4.bazel new file mode 100644 index 0000000000..69e6213985 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lalrpop-util-0.19.4.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 "//third_party/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 = "lalrpop_util", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "lexer", + "regex", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.19.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__regex__1_4_3//:regex", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lazy_static-1.4.0.bazel new file mode 100644 index 0000000000..6cc244eb79 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.levenshtein-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.levenshtein-1.0.4.bazel new file mode 100644 index 0000000000..1ecbf99378 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.levenshtein-1.0.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "levenshtein", + 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/third_party/cargo/remote/BUILD.libc-0.2.82.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libc-0.2.82.bazel new file mode 100644 index 0000000000..b887bca48e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libc-0.2.82.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 "//third_party/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 = [ + "align", + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.82", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "libc", + srcs = glob(["**/*.rs"]), + crate_features = [ + "align", + "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.82", + # buildifier: leave-alone + deps = [ + ":libc_build_script", + ], +) + +# Unsupported target "const_fn" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel new file mode 100644 index 0000000000..bc6c510f2e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "libgit2_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "https", + "libssh2-sys", + "openssl-sys", + "ssh", + "ssh_key_from_memory", + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.12.18+1.1.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__libgit2//:libgit2", + "@cargo_raze__libssh2_sys__0_2_20//:libssh2_sys", + "@cargo_raze__libz_sys__1_1_2//:libz_sys", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.libnghttp2-sys-0.1.5+1.42.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libnghttp2-sys-0.1.5+1.42.0.bazel new file mode 100644 index 0000000000..c3308ae1b5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libnghttp2-sys-0.1.5+1.42.0.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 "//third_party/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 = "libnghttp2_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.1.5+1.42.0", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__cc__1_0_66//:cc", + ], +) + +# Unsupported target "smoke" with type "example" omitted + +rust_library( + name = "libnghttp2_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.1.5+1.42.0", + # buildifier: leave-alone + deps = [ + ":libnghttp2_sys_build_script", + "@cargo_raze__libc__0_2_82//:libc", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.libssh2-sys-0.2.20.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libssh2-sys-0.2.20.bazel new file mode 100644 index 0000000000..cd205b4b9a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libssh2-sys-0.2.20.bazel @@ -0,0 +1,137 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "libssh2_sys_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]) + [ + "@cargo_raze__libssh2//:libssh2", + "@cargo_raze__openssl//:openssl", + ], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.20", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__cc__1_0_66//:cc", + "@cargo_raze__libz_sys__1_1_2//:libz_sys", + "@cargo_raze__pkg_config__0_3_19//:pkg_config", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__vcpkg__0_2_11//:vcpkg", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "libssh2_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.20", + # buildifier: leave-alone + deps = [ + ":libssh2_sys_build_script", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__libssh2//:libssh2", + "@cargo_raze__libz_sys__1_1_2//:libz_sys", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.libz-sys-1.1.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libz-sys-1.1.2.bazel new file mode 100644 index 0000000000..7d8d03c450 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.libz-sys-1.1.2.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 "//third_party/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 = "libz_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "libc", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + "--cfg=static", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__libc__0_2_82//:libc", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.lock_api-0.4.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lock_api-0.4.2.bazel new file mode 100644 index 0000000000..7be25ba84e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.lock_api-0.4.2.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 "//third_party/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 = "lock_api", + 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.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__scopeguard__1_1_0//:scopeguard", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.log-0.4.13.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.log-0.4.13.bazel new file mode 100644 index 0000000000..77bdc9ee53 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.log-0.4.13.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 "//third_party/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 = [ + "kv_unstable", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.13", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "log", + srcs = glob(["**/*.rs"]), + crate_features = [ + "kv_unstable", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.13", + # buildifier: leave-alone + deps = [ + ":log_build_script", + "@cargo_raze__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/third_party/cargo/remote/BUILD.maplit-1.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.maplit-1.0.2.bazel new file mode 100644 index 0000000000..024178d382 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.maplit-1.0.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 "//third_party/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 = "maplit", + 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.2", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.matches-0.1.8.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.matches-0.1.8.bazel new file mode 100644 index 0000000000..bd88e54578 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.matches-0.1.8.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "matches", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "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 = [ + ], +) + +# Unsupported target "macro_use_one" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.memchr-2.3.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.memchr-2.3.4.bazel new file mode 100644 index 0000000000..8bec90f5e3 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.mime-0.3.16.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.mime-0.3.16.bazel new file mode 100644 index 0000000000..919518bd71 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.mime-0.3.16.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 "//third_party/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 "cmp" with type "bench" omitted + +# Unsupported target "fmt" with type "bench" omitted + +# Unsupported target "parse" with type "bench" omitted + +rust_library( + name = "mime", + 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.16", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel new file mode 100644 index 0000000000..5ab08b8019 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__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", + "@cargo_raze__adler__0_2_3//:adler", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.mio-0.7.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.mio-0.7.7.bazel new file mode 100644 index 0000000000..a0772f7f64 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.mio-0.7.7.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "tcp_server" with type "example" omitted + +# Unsupported target "udp_server" with type "example" omitted + +rust_library( + name = "mio", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "net", + "os-ext", + "os-poll", + "os-util", + "tcp", + "udp", + "uds", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.7", + # buildifier: leave-alone + deps = [ + "@cargo_raze__log__0_4_13//:log", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__miow__0_3_6//:miow", + "@cargo_raze__ntapi__0_3_6//:ntapi", + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.miow-0.3.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.miow-0.3.6.bazel new file mode 100644 index 0000000000..fbb8eed260 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.miow-0.3.6.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 "//third_party/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 = "miow", + 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.6", + # buildifier: leave-alone + deps = [ + "@cargo_raze__socket2__0_3_19//:socket2", + "@cargo_raze__winapi__0_3_9//:winapi", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.native-tls-0.2.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.native-tls-0.2.7.bazel new file mode 100644 index 0000000000..3b2ccf61de --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.native-tls-0.2.7.bazel @@ -0,0 +1,153 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "native_tls_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.7", + visibility = ["//visibility:private"], + deps = [ + ] + selects.with_or({ + # cfg(any(target_os = "macos", target_os = "ios")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-darwin", + ): [ + "@cargo_raze__security_framework_sys__2_0_0//:security_framework_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "google-connect" with type "example" omitted + +# Unsupported target "simple-server" with type "example" omitted + +rust_library( + name = "native_tls", + 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.7", + # buildifier: leave-alone + deps = [ + ":native_tls_build_script", + ] + selects.with_or({ + # cfg(any(target_os = "macos", target_os = "ios")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-darwin", + ): [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__security_framework__2_0_0//:security_framework", + "@cargo_raze__security_framework_sys__2_0_0//:security_framework_sys", + "@cargo_raze__tempfile__3_2_0//:tempfile", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__openssl__0_10_32//:openssl", + "@cargo_raze__openssl_probe__0_1_2//:openssl_probe", + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__schannel__0_1_19//:schannel", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.nb-connect-1.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.nb-connect-1.0.2.bazel new file mode 100644 index 0000000000..10d397a29a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.nb-connect-1.0.2.bazel @@ -0,0 +1,77 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "nb_connect", + 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.0.2", + # 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel new file mode 100644 index 0000000000..2b9e2e2958 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.new_debug_unreachable-1.0.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "simple" with type "example" omitted + +alias( + name = "new_debug_unreachable", + actual = ":debug_unreachable", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "debug_unreachable", + 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.4", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "check" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.ntapi-0.3.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ntapi-0.3.6.bazel new file mode 100644 index 0000000000..b211359f51 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ntapi-0.3.6.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 "//third_party/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 = "ntapi_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "user", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.6", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "ntapi", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "user", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.6", + # buildifier: leave-alone + deps = [ + ":ntapi_build_script", + "@cargo_raze__winapi__0_3_9//:winapi", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-0.2.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-0.2.1.bazel new file mode 100644 index 0000000000..9159b629b7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-0.2.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 "//third_party/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 = "num", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "num-bigint", + "std", + ], + 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 = [ + "@cargo_raze__num_bigint__0_2_6//:num_bigint", + "@cargo_raze__num_complex__0_2_4//:num_complex", + "@cargo_raze__num_integer__0_1_44//:num_integer", + "@cargo_raze__num_iter__0_1_42//:num_iter", + "@cargo_raze__num_rational__0_2_4//:num_rational", + "@cargo_raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-bigint-0.2.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-bigint-0.2.6.bazel new file mode 100644 index 0000000000..86d255e9bb --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-bigint-0.2.6.bazel @@ -0,0 +1,120 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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_bigint_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.6", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +# Unsupported target "bigint" with type "bench" omitted + +# Unsupported target "factorial" with type "bench" omitted + +# Unsupported target "gcd" with type "bench" omitted + +# Unsupported target "roots" with type "bench" omitted + +# Unsupported target "shootout-pidigits" with type "bench" omitted + +rust_library( + name = "num_bigint", + 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.6", + # buildifier: leave-alone + deps = [ + ":num_bigint_build_script", + "@cargo_raze__num_integer__0_1_44//:num_integer", + "@cargo_raze__num_traits__0_2_14//:num_traits", + ], +) + +# Unsupported target "bigint" with type "test" omitted + +# Unsupported target "bigint_bitwise" with type "test" omitted + +# Unsupported target "bigint_scalar" with type "test" omitted + +# Unsupported target "biguint" with type "test" omitted + +# Unsupported target "biguint_scalar" with type "test" omitted + +# Unsupported target "modpow" with type "test" omitted + +# Unsupported target "quickcheck" with type "test" omitted + +# Unsupported target "rand" with type "test" omitted + +# Unsupported target "roots" with type "test" omitted + +# Unsupported target "serde" with type "test" omitted + +# Unsupported target "torture" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-complex-0.2.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-complex-0.2.4.bazel new file mode 100644 index 0000000000..f01868901b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-complex-0.2.4.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 "//third_party/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_complex_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.4", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_complex", + 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.4", + # buildifier: leave-alone + deps = [ + ":num_complex_build_script", + "@cargo_raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-integer-0.1.44.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-integer-0.1.44.bazel new file mode 100644 index 0000000000..1f697cdf6a --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-integer-0.1.44.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 "//third_party/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 = [ + "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 = [ + "@cargo_raze__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 = [ + "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", + "@cargo_raze__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/third_party/cargo/remote/BUILD.num-iter-0.1.42.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-iter-0.1.42.bazel new file mode 100644 index 0000000000..41d83ad102 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-iter-0.1.42.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 "//third_party/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 = [ + "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 = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_iter", + 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.42", + # buildifier: leave-alone + deps = [ + ":num_iter_build_script", + "@cargo_raze__num_integer__0_1_44//:num_integer", + "@cargo_raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-rational-0.2.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-rational-0.2.4.bazel new file mode 100644 index 0000000000..b637a84c59 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-rational-0.2.4.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 "//third_party/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 = [ + "bigint", + "num-bigint", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.4", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_rational", + srcs = glob(["**/*.rs"]), + crate_features = [ + "bigint", + "num-bigint", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.4", + # buildifier: leave-alone + deps = [ + ":num_rational_build_script", + "@cargo_raze__num_bigint__0_2_6//:num_bigint", + "@cargo_raze__num_integer__0_1_44//:num_integer", + "@cargo_raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-traits-0.2.14.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-traits-0.2.14.bazel new file mode 100644 index 0000000000..2a31f2ae2e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num-traits-0.2.14.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 "//third_party/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 = [ + "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 = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_traits", + 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.14", + # buildifier: leave-alone + deps = [ + ":num_traits_build_script", + ], +) + +# Unsupported target "cast" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.num_cpus-1.13.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.num_cpus-1.13.0.bazel new file mode 100644 index 0000000000..bb421d3ba8 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__libc__0_2_82//:libc", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.once_cell-1.5.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.once_cell-1.5.2.bazel new file mode 100644 index 0000000000..63dc2b0d4f --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.opaque-debug-0.2.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.opaque-debug-0.2.3.bazel new file mode 100644 index 0000000000..161eb438bd --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.opaque-debug-0.2.3.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 "//third_party/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 = "opaque_debug", + 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/third_party/cargo/remote/BUILD.openssl-0.10.32.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-0.10.32.bazel new file mode 100644 index 0000000000..8998c82af9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-0.10.32.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "openssl_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.10.32", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], +) + +# Unsupported target "mk_certs" with type "example" omitted + +rust_library( + name = "openssl", + 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.10.32", + # buildifier: leave-alone + deps = [ + ":openssl_build_script", + "@cargo_raze__bitflags__1_2_1//:bitflags", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__foreign_types__0_3_2//:foreign_types", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__openssl//:openssl", + "@cargo_raze__openssl_sys__0_9_60//:openssl_sys", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-probe-0.1.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-probe-0.1.2.bazel new file mode 100644 index 0000000000..108a76b0d3 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-probe-0.1.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 "//third_party/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 = "openssl_probe", + 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.2", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-sys-0.9.60.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-sys-0.9.60.bazel new file mode 100644 index 0000000000..aabb6e3d2c --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.openssl-sys-0.9.60.bazel @@ -0,0 +1,112 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "openssl_sys_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + "OPENSSL_DIR": "$(execpath @cargo_raze__openssl//:gen_dir)", + "OPENSSL_STATIC": "1", + }, + crate_features = [ + ], + crate_root = "build/main.rs", + data = glob(["**"]) + [ + "@cargo_raze__openssl//:gen_dir", + "@cargo_raze__openssl//:openssl", + ], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.60", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + "@cargo_raze__cc__1_0_66//:cc", + "@cargo_raze__pkg_config__0_3_19//:pkg_config", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__vcpkg__0_2_11//:vcpkg", + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "openssl_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + ["@cargo_raze__openssl//:openssl"], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.60", + # buildifier: leave-alone + deps = [ + ":openssl_sys_build_script", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__openssl//:openssl", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.parking-2.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.parking-2.0.0.bazel new file mode 100644 index 0000000000..4777022dbb --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.parking-2.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 "//third_party/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 = "parking", + 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 = "2.0.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "parking" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.parse-zoneinfo-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.parse-zoneinfo-0.3.0.bazel new file mode 100644 index 0000000000..1d288b2846 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.parse-zoneinfo-0.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "benchmark" with type "example" omitted + +rust_library( + name = "parse_zoneinfo", + 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 = [ + "@cargo_raze__regex__1_4_3//:regex", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pathdiff-0.2.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pathdiff-0.2.0.bazel new file mode 100644 index 0000000000..d4bca0fb0e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pathdiff-0.2.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 "//third_party/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 = "pathdiff", + 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/third_party/cargo/remote/BUILD.percent-encoding-2.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.percent-encoding-2.1.0.bazel new file mode 100644 index 0000000000..702d4b2094 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.percent-encoding-2.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 "//third_party/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 = "percent_encoding", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "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 = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest-2.1.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest-2.1.3.bazel new file mode 100644 index 0000000000..9d79b91a7e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest-2.1.3.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 "//third_party/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 "parens" with type "example" omitted + +rust_library( + name = "pest", + 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.1.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__ucd_trie__0_1_3//:ucd_trie", + ], +) + +# Unsupported target "calculator" with type "test" omitted + +# Unsupported target "json" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_derive-2.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_derive-2.1.0.bazel new file mode 100644 index 0000000000..4a2353cb18 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_derive-2.1.0.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 "//third_party/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 = "pest_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 = "2.1.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__pest__2_1_3//:pest", + "@cargo_raze__pest_generator__2_1_3//:pest_generator", + ], +) + +# Unsupported target "grammar" with type "test" omitted + +# Unsupported target "grammar_inline" with type "test" omitted + +# Unsupported target "lists" with type "test" omitted + +# Unsupported target "reporting" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_generator-2.1.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_generator-2.1.3.bazel new file mode 100644 index 0000000000..2387a34a7d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_generator-2.1.3.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 "//third_party/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 = "pest_generator", + 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.1.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__pest__2_1_3//:pest", + "@cargo_raze__pest_meta__2_1_3//:pest_meta", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_meta-2.1.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_meta-2.1.3.bazel new file mode 100644 index 0000000000..7808b4ecfa --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pest_meta-2.1.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 "//third_party/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 = "pest_meta", + 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.1.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__maplit__1_0_2//:maplit", + "@cargo_raze__pest__2_1_3//:pest", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.petgraph-0.5.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.petgraph-0.5.1.bazel new file mode 100644 index 0000000000..13869f0db3 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.petgraph-0.5.1.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "dijkstra" with type "bench" omitted + +# Unsupported target "iso" with type "bench" omitted + +# Unsupported target "matrix_graph" with type "bench" omitted + +# Unsupported target "ograph" with type "bench" omitted + +# Unsupported target "stable_graph" with type "bench" omitted + +# Unsupported target "unionfind" with type "bench" omitted + +rust_library( + name = "petgraph", + 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 = [ + "@cargo_raze__fixedbitset__0_2_0//:fixedbitset", + "@cargo_raze__indexmap__1_6_1//:indexmap", + ], +) + +# Unsupported target "graph" with type "test" omitted + +# Unsupported target "graphmap" with type "test" omitted + +# Unsupported target "iso" with type "test" omitted + +# Unsupported target "quickcheck" with type "test" omitted + +# Unsupported target "stable_graph" with type "test" omitted + +# Unsupported target "unionfind" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.phf_shared-0.8.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.phf_shared-0.8.0.bazel new file mode 100644 index 0000000000..c1eb11db80 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.phf_shared-0.8.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "phf_shared", + 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.8.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__siphasher__0_3_3//:siphasher", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pico-args-0.3.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pico-args-0.3.4.bazel new file mode 100644 index 0000000000..2636138831 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pico-args-0.3.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "app" with type "example" omitted + +rust_library( + name = "pico_args", + 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.4", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-0.4.27.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-0.4.27.bazel new file mode 100644 index 0000000000..21e9acfeef --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-0.4.27.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 "//third_party/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 "enum-default" with type "example" omitted + +# Unsupported target "enum-default-expanded" with type "example" omitted + +# Unsupported target "not_unpin" with type "example" omitted + +# Unsupported target "not_unpin-expanded" with type "example" omitted + +# Unsupported target "pinned_drop" with type "example" omitted + +# Unsupported target "pinned_drop-expanded" with type "example" omitted + +# Unsupported target "project_replace" with type "example" omitted + +# Unsupported target "project_replace-expanded" with type "example" omitted + +# Unsupported target "struct-default" with type "example" omitted + +# Unsupported target "struct-default-expanded" with type "example" omitted + +# Unsupported target "unsafe_unpin" with type "example" omitted + +# Unsupported target "unsafe_unpin-expanded" with type "example" omitted + +rust_library( + name = "pin_project", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__pin_project_internal__0_4_27//:pin_project_internal", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.27", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "cfg" with type "test" omitted + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "drop_order" with type "test" omitted + +# Unsupported target "lint" with type "test" omitted + +# Unsupported target "pin_project" with type "test" omitted + +# Unsupported target "pinned_drop" with type "test" omitted + +# Unsupported target "project" with type "test" omitted + +# Unsupported target "project_ref" with type "test" omitted + +# Unsupported target "project_replace" with type "test" omitted + +# Unsupported target "repr_packed" with type "test" omitted + +# Unsupported target "sized" with type "test" omitted + +# Unsupported target "unsafe_unpin" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-1.0.4.bazel new file mode 100644 index 0000000000..de1143e58e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-1.0.4.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 "//third_party/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 "enum-default" with type "example" omitted + +# Unsupported target "enum-default-expanded" with type "example" omitted + +# Unsupported target "not_unpin" with type "example" omitted + +# Unsupported target "not_unpin-expanded" with type "example" omitted + +# Unsupported target "pinned_drop" with type "example" omitted + +# Unsupported target "pinned_drop-expanded" with type "example" omitted + +# Unsupported target "project_replace" with type "example" omitted + +# Unsupported target "project_replace-expanded" with type "example" omitted + +# Unsupported target "struct-default" with type "example" omitted + +# Unsupported target "struct-default-expanded" with type "example" omitted + +# Unsupported target "unsafe_unpin" with type "example" omitted + +# Unsupported target "unsafe_unpin-expanded" with type "example" omitted + +rust_library( + name = "pin_project", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__pin_project_internal__1_0_4//:pin_project_internal", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.4", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "cfg" with type "test" omitted + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "drop_order" with type "test" omitted + +# Unsupported target "lint" with type "test" omitted + +# Unsupported target "pin_project" with type "test" omitted + +# Unsupported target "pinned_drop" with type "test" omitted + +# Unsupported target "proper_unpin" with type "test" omitted + +# Unsupported target "repr_packed" with type "test" omitted + +# Unsupported target "unsafe_unpin" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel new file mode 100644 index 0000000000..5af9a05b89 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-0.4.27.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 "//third_party/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 = "pin_project_internal_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.27", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "pin_project_internal", + 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.27", + # buildifier: leave-alone + deps = [ + ":pin_project_internal_build_script", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-1.0.4.bazel new file mode 100644 index 0000000000..e4cf68df82 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-internal-1.0.4.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 "//third_party/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 = "pin_project_internal", + 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 = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-lite-0.2.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-lite-0.2.4.bazel new file mode 100644 index 0000000000..482b97dad5 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-project-lite-0.2.4.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 "//third_party/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 = "pin_project_lite", + 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.4", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "drop_order" with type "test" omitted + +# Unsupported target "lint" with type "test" omitted + +# Unsupported target "proper_unpin" with type "test" omitted + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-utils-0.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-utils-0.1.0.bazel new file mode 100644 index 0000000000..ddb9bc396c --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pin-utils-0.1.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 "//third_party/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 = "pin_utils", + 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.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "projection" with type "test" omitted + +# Unsupported target "stack_pin" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.pkg-config-0.3.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pkg-config-0.3.19.bazel new file mode 100644 index 0000000000..30d2bf839c --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.pkg-config-0.3.19.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 "//third_party/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 = "pkg_config", + 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.19", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.polling-2.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.polling-2.0.2.bazel new file mode 100644 index 0000000000..9adb68bb2d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.polling-2.0.2.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 "//third_party/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 "two-listeners" with type "example" omitted + +rust_library( + name = "polling", + 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 = "2.0.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__0_1_10//:cfg_if", + "@cargo_raze__log__0_4_13//:log", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__wepoll_sys__3_0_1//:wepoll_sys", + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "notify" with type "test" omitted + +# Unsupported target "precision" with type "test" omitted + +# Unsupported target "timeout" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel new file mode 100644 index 0000000000..21117bd9a0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ppv-lite86-0.2.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 "//third_party/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.10", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.precomputed-hash-0.1.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.precomputed-hash-0.1.1.bazel new file mode 100644 index 0000000000..75341ad0ba --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.precomputed-hash-0.1.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "precomputed_hash", + 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.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-error-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-error-1.0.4.bazel new file mode 100644 index 0000000000..267b9955bc --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__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 = [ + "@cargo_raze__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", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//: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/third_party/cargo/remote/BUILD.proc-macro-error-attr-1.0.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-error-attr-1.0.4.bazel new file mode 100644 index 0000000000..619c3d8c42 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__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", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-hack-0.5.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-hack-0.5.19.bazel new file mode 100644 index 0000000000..6178a93b3b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-hack-0.5.19.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 "//third_party/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_hack_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.5.19", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "proc_macro_hack", + 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.5.19", + # buildifier: leave-alone + deps = [ + ":proc_macro_hack_build_script", + ], +) + +# Unsupported target "compiletest" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-nested-0.1.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-nested-0.1.7.bazel new file mode 100644 index 0000000000..5fbea38525 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro-nested-0.1.7.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 "//third_party/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_nested_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.1.7", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "proc_macro_nested", + 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.7", + # buildifier: leave-alone + deps = [ + ":proc_macro_nested_build_script", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro2-1.0.24.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.proc-macro2-1.0.24.bazel new file mode 100644 index 0000000000..25f22326db --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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", + "@cargo_raze__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/third_party/cargo/remote/BUILD.qstring-0.7.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.qstring-0.7.2.bazel new file mode 100644 index 0000000000..2799905473 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.qstring-0.7.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "qstring", + 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.7.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__percent_encoding__2_1_0//:percent_encoding", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.quote-1.0.8.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.quote-1.0.8.bazel new file mode 100644 index 0000000000..b28fc48cf0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.quote-1.0.8.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 "//third_party/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.8", + # buildifier: leave-alone + deps = [ + "@cargo_raze__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/third_party/cargo/remote/BUILD.rand-0.8.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand-0.8.2.bazel new file mode 100644 index 0000000000..43344d7569 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand-0.8.2.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "alloc", + "default", + "getrandom", + "libc", + "rand_chacha", + "rand_hc", + "std", + "std_rng", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__rand_chacha__0_3_0//:rand_chacha", + "@cargo_raze__rand_core__0_6_1//:rand_core", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//:libc", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_chacha-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_chacha-0.3.0.bazel new file mode 100644 index 0000000000..22b0fb0a5d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_chacha-0.3.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 "//third_party/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.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__ppv_lite86__0_2_10//:ppv_lite86", + "@cargo_raze__rand_core__0_6_1//:rand_core", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_core-0.6.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_core-0.6.1.bazel new file mode 100644 index 0000000000..74a82bbaaa --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_core-0.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 "//third_party/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.6.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__getrandom__0_2_2//:getrandom", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_hc-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_hc-0.3.0.bazel new file mode 100644 index 0000000000..756583000b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rand_hc-0.3.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 "//third_party/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.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__rand_core__0_6_1//:rand_core", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.1.57.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.1.57.bazel new file mode 100644 index 0000000000..4752a82bcd --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.1.57.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +alias( + name = "redox_syscall", + actual = ":syscall", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "syscall", + 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.57", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.2.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.2.4.bazel new file mode 100644 index 0000000000..6a3f646de9 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_syscall-0.2.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +alias( + name = "redox_syscall", + actual = ":syscall", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "syscall", + 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.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bitflags__1_2_1//:bitflags", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_users-0.3.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_users-0.3.5.bazel new file mode 100644 index 0000000000..26f0bf1af8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.redox_users-0.3.5.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "redox_users", + srcs = glob(["**/*.rs"]), + crate_features = [ + "auth", + "default", + "rust-argon2", + ], + 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 = [ + "@cargo_raze__getrandom__0_1_16//:getrandom", + "@cargo_raze__redox_syscall__0_1_57//:redox_syscall", + "@cargo_raze__rust_argon2__0_8_3//:rust_argon2", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.regex-1.4.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.regex-1.4.3.bazel new file mode 100644 index 0000000000..3e3bd54f25 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.regex-1.4.3.bazel @@ -0,0 +1,105 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.4.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__aho_corasick__0_7_15//:aho_corasick", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__regex_syntax__0_6_22//:regex_syntax", + "@cargo_raze__thread_local__1_1_1//: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/third_party/cargo/remote/BUILD.regex-syntax-0.6.22.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.regex-syntax-0.6.22.bazel new file mode 100644 index 0000000000..c4530bbaca --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel new file mode 100644 index 0000000000..ae4515b859 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.remove_dir_all-0.5.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 "//third_party/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 = "remove_dir_all", + 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.5.3", + # 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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.reqwest-0.11.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.reqwest-0.11.0.bazel new file mode 100644 index 0000000000..80e2e31f3d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.reqwest-0.11.0.bazel @@ -0,0 +1,144 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "blocking" with type "example" omitted + +# Unsupported target "form" with type "example" omitted + +# Unsupported target "json_dynamic" with type "example" omitted + +# Unsupported target "json_typed" with type "example" omitted + +# Unsupported target "simple" with type "example" omitted + +# Unsupported target "tor_socks" with type "example" omitted + +rust_library( + name = "reqwest", + srcs = glob(["**/*.rs"]), + aliases = { + "@cargo_raze__native_tls__0_2_7//:native_tls": "native_tls_crate", + }, + crate_features = [ + "__tls", + "blocking", + "default", + "default-tls", + "hyper-tls", + "json", + "native-tls-crate", + "serde_json", + "tokio-native-tls", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.11.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__http__0_2_3//:http", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__serde_urlencoded__0_7_0//:serde_urlencoded", + "@cargo_raze__url__2_2_0//:url", + ] + selects.with_or({ + # cfg(not(target_arch = "wasm32")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__base64__0_13_0//:base64", + "@cargo_raze__encoding_rs__0_8_26//:encoding_rs", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_util__0_3_12//:futures_util", + "@cargo_raze__http_body__0_4_0//:http_body", + "@cargo_raze__hyper__0_14_2//:hyper", + "@cargo_raze__hyper_tls__0_5_0//:hyper_tls", + "@cargo_raze__ipnet__2_3_0//:ipnet", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__mime__0_3_16//:mime", + "@cargo_raze__native_tls__0_2_7//:native_tls", + "@cargo_raze__percent_encoding__2_1_0//:percent_encoding", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__tokio__1_1_0//:tokio", + "@cargo_raze__tokio_native_tls__0_3_0//:tokio_native_tls", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winreg__0_7_0//:winreg", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "badssl" with type "test" omitted + +# Unsupported target "blocking" with type "test" omitted + +# Unsupported target "brotli" with type "test" omitted + +# Unsupported target "client" with type "test" omitted + +# Unsupported target "cookie" with type "test" omitted + +# Unsupported target "gzip" with type "test" omitted + +# Unsupported target "multipart" with type "test" omitted + +# Unsupported target "proxy" with type "test" omitted + +# Unsupported target "redirect" with type "test" omitted + +# Unsupported target "timeouts" with type "test" omitted + +# Unsupported target "wasm_simple" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.rust-argon2-0.8.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rust-argon2-0.8.3.bazel new file mode 100644 index 0000000000..5bef08fba6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rust-argon2-0.8.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +alias( + name = "rust_argon2", + actual = ":argon2", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "argon2", + srcs = glob(["**/*.rs"]), + crate_features = [ + "crossbeam-utils", + "default", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__base64__0_13_0//:base64", + "@cargo_raze__blake2b_simd__0_5_11//:blake2b_simd", + "@cargo_raze__constant_time_eq__0_1_5//:constant_time_eq", + "@cargo_raze__crossbeam_utils__0_8_1//:crossbeam_utils", + ], +) + +# Unsupported target "integration_test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.rustc-serialize-0.3.24.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rustc-serialize-0.3.24.bazel new file mode 100644 index 0000000000..25657b8b41 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.rustc-serialize-0.3.24.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 "//third_party/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/third_party/cargo/remote/BUILD.ryu-1.0.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ryu-1.0.5.bazel new file mode 100644 index 0000000000..5b859026c8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ryu-1.0.5.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR BSL-1.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 = "ryu_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.5", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "upstream_benchmark" with type "example" omitted + +rust_library( + name = "ryu", + 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.5", + # buildifier: leave-alone + deps = [ + ":ryu_build_script", + ], +) + +# Unsupported target "common_test" with type "test" omitted + +# Unsupported target "d2s_table_test" with type "test" omitted + +# Unsupported target "d2s_test" with type "test" omitted + +# Unsupported target "exhaustive" with type "test" omitted + +# Unsupported target "f2s_test" with type "test" omitted + +# Unsupported target "s2d_test" with type "test" omitted + +# Unsupported target "s2f_test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.same-file-1.0.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.same-file-1.0.6.bazel new file mode 100644 index 0000000000..6d098cc65b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.same-file-1.0.6.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated Targets + +# Unsupported target "is_same_file" with type "example" omitted + +# Unsupported target "is_stderr" with type "example" omitted + +rust_library( + name = "same_file", + 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.0.6", + # 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", + ): [ + "@cargo_raze__winapi_util__0_1_5//:winapi_util", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.schannel-0.1.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.schannel-0.1.19.bazel new file mode 100644 index 0000000000..1b23948928 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.schannel-0.1.19.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "schannel", + 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.19", + # buildifier: leave-alone + deps = [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__winapi__0_3_9//:winapi", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.scopeguard-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.scopeguard-1.1.0.bazel new file mode 100644 index 0000000000..d5c04fbda9 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.security-framework-2.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.security-framework-2.0.0.bazel new file mode 100644 index 0000000000..ea6e768f69 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.security-framework-2.0.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 "//third_party/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 "client" with type "example" omitted + +# Unsupported target "find_internet_password" with type "example" omitted + +# Unsupported target "set_internet_password" with type "example" omitted + +rust_library( + name = "security_framework", + 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 = [ + "@cargo_raze__bitflags__1_2_1//:bitflags", + "@cargo_raze__core_foundation__0_9_1//:core_foundation", + "@cargo_raze__core_foundation_sys__0_8_2//:core_foundation_sys", + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__security_framework_sys__2_0_0//:security_framework_sys", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.security-framework-sys-2.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.security-framework-sys-2.0.0.bazel new file mode 100644 index 0000000000..8b2451bf6b --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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 = [ + "@cargo_raze__core_foundation_sys__0_8_2//:core_foundation_sys", + "@cargo_raze__libc__0_2_82//:libc", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-0.11.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-0.11.0.bazel new file mode 100644 index 0000000000..3395eddac2 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-0.11.0.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 "//third_party/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 = "semver", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + ], + 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 = [ + "@cargo_raze__semver_parser__0_10_2//:semver_parser", + "@cargo_raze__serde__1_0_120//:serde", + ], +) + +# Unsupported target "deprecation" with type "test" omitted + +# Unsupported target "diesel" with type "test" omitted + +# Unsupported target "serde" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-parser-0.10.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-parser-0.10.2.bazel new file mode 100644 index 0000000000..2235618c83 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.semver-parser-0.10.2.bazel @@ -0,0 +1,81 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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_semver_parser", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/main.rs", + data = [] + glob(["**/*.pest"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.2", + # buildifier: leave-alone + deps = [ + ":semver_parser", + "@cargo_raze__pest__2_1_3//:pest", + ], +) + +rust_library( + name = "semver_parser", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + glob(["**/*.pest"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__pest__2_1_3//:pest", + ], +) + +# Unsupported target "genpest" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde-1.0.120.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde-1.0.120.bazel new file mode 100644 index 0000000000..f9b8c4a416 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde-1.0.120.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 "//third_party/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 = "serde_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.120", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "serde", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + proc_macro_deps = [ + "@cargo_raze__serde_derive__1_0_120//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.120", + # buildifier: leave-alone + deps = [ + ":serde_build_script", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_derive-1.0.120.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_derive-1.0.120.bazel new file mode 100644 index 0000000000..6c25527a2b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_derive-1.0.120.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 "//third_party/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 = "serde_derive_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.0.120", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "serde_derive", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + crate_type = "proc-macro", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.120", + # buildifier: leave-alone + deps = [ + ":serde_derive_build_script", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_json-1.0.61.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_json-1.0.61.bazel new file mode 100644 index 0000000000..b753c03e11 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_json-1.0.61.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 "//third_party/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 = "serde_json_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + "unbounded_depth", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.61", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "serde_json", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + "unbounded_depth", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.61", + # buildifier: leave-alone + deps = [ + ":serde_json_build_script", + "@cargo_raze__itoa__0_4_7//:itoa", + "@cargo_raze__ryu__1_0_5//:ryu", + "@cargo_raze__serde__1_0_120//:serde", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel new file mode 100644 index 0000000000..e2d45c9f9e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_regex-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 "//third_party/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 = "serde_regex", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel new file mode 100644 index 0000000000..9b1e8a42be --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.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 "//third_party/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 = "serde_urlencoded", + 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.7.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__form_urlencoded__1_0_0//:form_urlencoded", + "@cargo_raze__itoa__0_4_7//:itoa", + "@cargo_raze__ryu__1_0_5//:ryu", + "@cargo_raze__serde__1_0_120//:serde", + ], +) + +# Unsupported target "test_deserialize" with type "test" omitted + +# Unsupported target "test_serialize" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.sha-1-0.8.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.sha-1-0.8.2.bazel new file mode 100644 index 0000000000..b924639d27 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.sha-1-0.8.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 "//third_party/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 "lib" with type "bench" omitted + +# Unsupported target "sha1sum" with type "example" omitted + +alias( + name = "sha_1", + actual = ":sha1", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "sha1", + 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 = [ + "@cargo_raze__block_buffer__0_7_3//:block_buffer", + "@cargo_raze__digest__0_8_1//:digest", + "@cargo_raze__fake_simd__0_1_2//:fake_simd", + "@cargo_raze__opaque_debug__0_2_3//:opaque_debug", + ], +) + +# Unsupported target "lib" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-0.1.17.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-0.1.17.bazel new file mode 100644 index 0000000000..363b2afbde --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-0.1.17.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 "//third_party/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 = "signal_hook", + 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.17", + # buildifier: leave-alone + deps = [ + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__signal_hook_registry__1_3_0//:signal_hook_registry", + ], +) + +# Unsupported target "cleanup" with type "test" omitted + +# Unsupported target "cleanup_indirect" with type "test" omitted + +# Unsupported target "default" with type "test" omitted + +# Unsupported target "iterator" with type "test" omitted + +# Unsupported target "tokio" with type "test" omitted + +# Unsupported target "version" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-registry-1.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-registry-1.3.0.bazel new file mode 100644 index 0000000000..45972018db --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.signal-hook-registry-1.3.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 "//third_party/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 = "signal_hook_registry", + 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 = [ + "@cargo_raze__libc__0_2_82//:libc", + ], +) + +# Unsupported target "unregister_signal" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.siphasher-0.3.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.siphasher-0.3.3.bazel new file mode 100644 index 0000000000..18e8c3a1ee --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.siphasher-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 "//third_party/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 = "siphasher", + 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.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.slab-0.4.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.slab-0.4.2.bazel new file mode 100644 index 0000000000..f156b7fb17 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.slab-0.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "slab", + 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.2", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "slab" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.slug-0.1.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.slug-0.1.4.bazel new file mode 100644 index 0000000000..ec489f8715 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.slug-0.1.4.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 "//third_party/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 "main" with type "bench" omitted + +rust_library( + name = "slug", + 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.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__deunicode__0_4_3//:deunicode", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.sluice-0.5.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.sluice-0.5.3.bazel new file mode 100644 index 0000000000..10d8ea7bae --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.sluice-0.5.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "pipe" with type "bench" omitted + +rust_library( + name = "sluice", + 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.3", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_channel__0_3_12//:futures_channel", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_io__0_3_12//:futures_io", + ], +) + +# Unsupported target "pipe" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.smallvec-1.6.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.smallvec-1.6.1.bazel new file mode 100644 index 0000000000..110521e880 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel new file mode 100644 index 0000000000..ef5e5d7457 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.smartstring-0.2.6.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 "//third_party/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 "smartstring" with type "bench" omitted + +rust_library( + name = "smartstring", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.6", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__static_assertions__1_1_0//:static_assertions", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.socket2-0.3.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.socket2-0.3.19.bazel new file mode 100644 index 0000000000..6094677b0b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.socket2-0.3.19.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "socket2", + 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.3.19", + # 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:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.spdx-0.3.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.spdx-0.3.4.bazel new file mode 100644 index 0000000000..2f309b328d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.spdx-0.3.4.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 "//third_party/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 = "spdx", + 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.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__smallvec__1_6_1//:smallvec", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.spinning_top-0.2.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.spinning_top-0.2.2.bazel new file mode 100644 index 0000000000..39a624b1ad --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.spinning_top-0.2.2.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 "//third_party/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 = "spinning_top", + 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 = [ + "@cargo_raze__lock_api__0_4_2//:lock_api", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.static_assertions-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.static_assertions-1.1.0.bazel new file mode 100644 index 0000000000..9c4a730ca0 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.static_assertions-1.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 "//third_party/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 = "static_assertions", + 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/third_party/cargo/remote/BUILD.string_cache-0.8.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.string_cache-0.8.1.bazel new file mode 100644 index 0000000000..239581e21f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.string_cache-0.8.1.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 "//third_party/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 "simple" with type "example" omitted + +rust_library( + name = "string_cache", + 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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__new_debug_unreachable__1_0_4//:new_debug_unreachable", + "@cargo_raze__phf_shared__0_8_0//:phf_shared", + "@cargo_raze__precomputed_hash__0_1_1//:precomputed_hash", + ], +) + +# Unsupported target "small-stack" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.strsim-0.9.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.strsim-0.9.3.bazel new file mode 100644 index 0000000000..4e5a7d719e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.strsim-0.9.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 "//third_party/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.9.3", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "lib" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.syn-1.0.58.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.syn-1.0.58.bazel new file mode 100644 index 0000000000..6d6aa00b3d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.syn-1.0.58.bazel @@ -0,0 +1,164 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.58", + 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", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.58", + # buildifier: leave-alone + deps = [ + ":syn_build_script", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__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/third_party/cargo/remote/BUILD.tar-0.4.30.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tar-0.4.30.bazel new file mode 100644 index 0000000000..7fffb604e3 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tar-0.4.30.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 "extract_file" with type "example" omitted + +# Unsupported target "list" with type "example" omitted + +# Unsupported target "raw_list" with type "example" omitted + +# Unsupported target "write" with type "example" omitted + +rust_library( + name = "tar", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "xattr", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.30", + # buildifier: leave-alone + deps = [ + "@cargo_raze__filetime__0_2_14//:filetime", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//:libc", + "@cargo_raze__xattr__0_2_2//:xattr", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "all" with type "test" omitted + +# Unsupported target "entry" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tempfile-3.2.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tempfile-3.2.0.bazel new file mode 100644 index 0000000000..2210f1bb80 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tempfile-3.2.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 "//third_party/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 = "tempfile", + 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 = "3.2.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__rand__0_8_2//:rand", + "@cargo_raze__remove_dir_all__0_5_3//:remove_dir_all", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "namedtempfile" with type "test" omitted + +# Unsupported target "spooled" with type "test" omitted + +# Unsupported target "tempdir" with type "test" omitted + +# Unsupported target "tempfile" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tera-1.6.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tera-1.6.1.bazel new file mode 100644 index 0000000000..1605e6ef98 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tera-1.6.1.bazel @@ -0,0 +1,78 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tera", + srcs = glob(["**/*.rs"]), + crate_features = [ + "builtins", + "chrono", + "chrono-tz", + "default", + "humansize", + "percent-encoding", + "rand", + "slug", + "unic-segment", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + glob(["**/*.pest"]), + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__pest_derive__2_1_0//:pest_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.6.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__chrono__0_4_19//:chrono", + "@cargo_raze__chrono_tz__0_5_3//:chrono_tz", + "@cargo_raze__globwalk__0_8_1//:globwalk", + "@cargo_raze__humansize__1_1_0//:humansize", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__percent_encoding__2_1_0//:percent_encoding", + "@cargo_raze__pest__2_1_3//:pest", + "@cargo_raze__rand__0_8_2//:rand", + "@cargo_raze__regex__1_4_3//:regex", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + "@cargo_raze__slug__0_1_4//:slug", + "@cargo_raze__unic_segment__0_9_0//:unic_segment", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.term-0.5.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.term-0.5.2.bazel new file mode 100644 index 0000000000..933908ef78 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.term-0.5.2.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 "//third_party/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 = "term", + srcs = glob(["**/*.rs"]), + aliases = { + }, + 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.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__byteorder__1_4_2//:byteorder", + "@cargo_raze__dirs__1_0_5//:dirs", + ] + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "terminfo" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.thread_local-1.1.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.thread_local-1.1.1.bazel new file mode 100644 index 0000000000..2b7062777b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.thread_local-1.1.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 "//third_party/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.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__once_cell__1_5_2//:once_cell", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.time-0.1.43.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.time-0.1.43.bazel new file mode 100644 index 0000000000..5342546a37 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.time-0.1.43.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 "//third_party/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.43", + # buildifier: leave-alone + deps = [ + "@cargo_raze__libc__0_2_82//:libc", + ] + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tiny-keccak-2.0.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tiny-keccak-2.0.2.bazel new file mode 100644 index 0000000000..925b06f7da --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tiny-keccak-2.0.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # CC0-1.0 from expression "CC0-1.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 = "tiny_keccak_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "sha3", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.2", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "kangaroo" with type "bench" omitted + +# Unsupported target "keccak" with type "bench" omitted + +# Unsupported target "sha3" with type "example" omitted + +rust_library( + name = "tiny_keccak", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "sha3", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.2", + # buildifier: leave-alone + deps = [ + ":tiny_keccak_build_script", + "@cargo_raze__crunchy__0_2_2//:crunchy", + ], +) + +# Unsupported target "cshake" with type "test" omitted + +# Unsupported target "kangaroo" with type "test" omitted + +# Unsupported target "keccak" with type "test" omitted + +# Unsupported target "kmac" with type "test" omitted + +# Unsupported target "parallel_hash" with type "test" omitted + +# Unsupported target "sha3" with type "test" omitted + +# Unsupported target "shake" with type "test" omitted + +# Unsupported target "tuple_hash" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec-1.1.0.bazel new file mode 100644 index 0000000000..4444a4e787 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec-1.1.0.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 "//third_party/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 + +# Unsupported target "macros" with type "bench" omitted + +rust_library( + name = "tinyvec", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "tinyvec_macros", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__tinyvec_macros__0_1_0//:tinyvec_macros", + ], +) + +# Unsupported target "arrayvec" with type "test" omitted + +# Unsupported target "tinyvec" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel new file mode 100644 index 0000000000..89c6420ee6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tinyvec_macros-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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR (Apache-2.0 OR Zlib)" +]) + +# Generated Targets + +rust_library( + name = "tinyvec_macros", + 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.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-1.1.0.bazel new file mode 100644 index 0000000000..e998f31812 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-1.1.0.bazel @@ -0,0 +1,345 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "tokio_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "bytes", + "default", + "io-util", + "libc", + "macros", + "memchr", + "mio", + "net", + "num_cpus", + "rt", + "rt-multi-thread", + "sync", + "time", + "tokio-macros", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.0", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__autocfg__1_0_1//:autocfg", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "tokio", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "bytes", + "default", + "io-util", + "libc", + "macros", + "memchr", + "mio", + "net", + "num_cpus", + "rt", + "rt-multi-thread", + "sync", + "time", + "tokio-macros", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__tokio_macros__1_0_0//:tokio_macros", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + ":tokio_build_script", + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__mio__0_7_7//:mio", + "@cargo_raze__num_cpus__1_13_0//:num_cpus", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@cargo_raze__libc__0_2_82//: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", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "_require_full" with type "test" omitted + +# Unsupported target "async_send_sync" with type "test" omitted + +# Unsupported target "buffered" with type "test" omitted + +# Unsupported target "fs" with type "test" omitted + +# Unsupported target "fs_copy" with type "test" omitted + +# Unsupported target "fs_dir" with type "test" omitted + +# Unsupported target "fs_file" with type "test" omitted + +# Unsupported target "fs_file_mocked" with type "test" omitted + +# Unsupported target "fs_link" with type "test" omitted + +# Unsupported target "io_async_fd" with type "test" omitted + +# Unsupported target "io_async_read" with type "test" omitted + +# Unsupported target "io_chain" with type "test" omitted + +# Unsupported target "io_copy" with type "test" omitted + +# Unsupported target "io_driver" with type "test" omitted + +# Unsupported target "io_driver_drop" with type "test" omitted + +# Unsupported target "io_lines" with type "test" omitted + +# Unsupported target "io_mem_stream" with type "test" omitted + +# Unsupported target "io_read" with type "test" omitted + +# Unsupported target "io_read_buf" with type "test" omitted + +# Unsupported target "io_read_exact" with type "test" omitted + +# Unsupported target "io_read_line" with type "test" omitted + +# Unsupported target "io_read_to_end" with type "test" omitted + +# Unsupported target "io_read_to_string" with type "test" omitted + +# Unsupported target "io_read_until" with type "test" omitted + +# Unsupported target "io_split" with type "test" omitted + +# Unsupported target "io_take" with type "test" omitted + +# Unsupported target "io_write" with type "test" omitted + +# Unsupported target "io_write_all" with type "test" omitted + +# Unsupported target "io_write_buf" with type "test" omitted + +# Unsupported target "io_write_int" with type "test" omitted + +# Unsupported target "macros_join" with type "test" omitted + +# Unsupported target "macros_pin" with type "test" omitted + +# Unsupported target "macros_select" with type "test" omitted + +# Unsupported target "macros_test" with type "test" omitted + +# Unsupported target "macros_try_join" with type "test" omitted + +# Unsupported target "net_bind_resource" with type "test" omitted + +# Unsupported target "net_lookup_host" with type "test" omitted + +# Unsupported target "no_rt" with type "test" omitted + +# Unsupported target "process_issue_2174" with type "test" omitted + +# Unsupported target "process_issue_42" with type "test" omitted + +# Unsupported target "process_kill_on_drop" with type "test" omitted + +# Unsupported target "process_smoke" with type "test" omitted + +# Unsupported target "rt_basic" with type "test" omitted + +# Unsupported target "rt_common" with type "test" omitted + +# Unsupported target "rt_threaded" with type "test" omitted + +# Unsupported target "signal_ctrl_c" with type "test" omitted + +# Unsupported target "signal_drop_recv" with type "test" omitted + +# Unsupported target "signal_drop_rt" with type "test" omitted + +# Unsupported target "signal_drop_signal" with type "test" omitted + +# Unsupported target "signal_multi_rt" with type "test" omitted + +# Unsupported target "signal_no_rt" with type "test" omitted + +# Unsupported target "signal_notify_both" with type "test" omitted + +# Unsupported target "signal_twice" with type "test" omitted + +# Unsupported target "signal_usr1" with type "test" omitted + +# Unsupported target "sync_barrier" with type "test" omitted + +# Unsupported target "sync_broadcast" with type "test" omitted + +# Unsupported target "sync_errors" with type "test" omitted + +# Unsupported target "sync_mpsc" with type "test" omitted + +# Unsupported target "sync_mutex" with type "test" omitted + +# Unsupported target "sync_mutex_owned" with type "test" omitted + +# Unsupported target "sync_notify" with type "test" omitted + +# Unsupported target "sync_oneshot" with type "test" omitted + +# Unsupported target "sync_rwlock" with type "test" omitted + +# Unsupported target "sync_semaphore" with type "test" omitted + +# Unsupported target "sync_semaphore_owned" with type "test" omitted + +# Unsupported target "sync_watch" with type "test" omitted + +# Unsupported target "task_abort" with type "test" omitted + +# Unsupported target "task_blocking" with type "test" omitted + +# Unsupported target "task_local" with type "test" omitted + +# Unsupported target "task_local_set" with type "test" omitted + +# Unsupported target "tcp_accept" with type "test" omitted + +# Unsupported target "tcp_connect" with type "test" omitted + +# Unsupported target "tcp_echo" with type "test" omitted + +# Unsupported target "tcp_into_split" with type "test" omitted + +# Unsupported target "tcp_into_std" with type "test" omitted + +# Unsupported target "tcp_peek" with type "test" omitted + +# Unsupported target "tcp_shutdown" with type "test" omitted + +# Unsupported target "tcp_socket" with type "test" omitted + +# Unsupported target "tcp_split" with type "test" omitted + +# Unsupported target "tcp_stream" with type "test" omitted + +# Unsupported target "test_clock" with type "test" omitted + +# Unsupported target "time_interval" with type "test" omitted + +# Unsupported target "time_pause" with type "test" omitted + +# Unsupported target "time_rt" with type "test" omitted + +# Unsupported target "time_sleep" with type "test" omitted + +# Unsupported target "time_timeout" with type "test" omitted + +# Unsupported target "udp" with type "test" omitted + +# Unsupported target "uds_cred" with type "test" omitted + +# Unsupported target "uds_datagram" with type "test" omitted + +# Unsupported target "uds_split" with type "test" omitted + +# Unsupported target "uds_stream" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-macros-1.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-macros-1.0.0.bazel new file mode 100644 index 0000000000..653285916e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-macros-1.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tokio_macros", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-native-tls-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-native-tls-0.3.0.bazel new file mode 100644 index 0000000000..765a72e33d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-native-tls-0.3.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "download-rust-lang" with type "example" omitted + +# Unsupported target "echo" with type "example" omitted + +rust_library( + name = "tokio_native_tls", + 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.3.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__native_tls__0_2_7//:native_tls", + "@cargo_raze__tokio__1_1_0//:tokio", + ] + selects.with_or({ + # cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios"))) + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "macos", target_os = "ios")) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-darwin", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "bad" with type "test" omitted + +# Unsupported target "google" with type "test" omitted + +# Unsupported target "smoke" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-stream-0.1.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-stream-0.1.2.bazel new file mode 100644 index 0000000000..f1fedb4a3e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-stream-0.1.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tokio_stream", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "time", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__tokio__1_1_0//:tokio", + ], +) + +# Unsupported target "async_send_sync" with type "test" omitted + +# Unsupported target "stream_chain" with type "test" omitted + +# Unsupported target "stream_collect" with type "test" omitted + +# Unsupported target "stream_empty" with type "test" omitted + +# Unsupported target "stream_fuse" with type "test" omitted + +# Unsupported target "stream_iter" with type "test" omitted + +# Unsupported target "stream_merge" with type "test" omitted + +# Unsupported target "stream_once" with type "test" omitted + +# Unsupported target "stream_pending" with type "test" omitted + +# Unsupported target "stream_stream_map" with type "test" omitted + +# Unsupported target "stream_timeout" with type "test" omitted + +# Unsupported target "time_throttle" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-util-0.6.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-util-0.6.2.bazel new file mode 100644 index 0000000000..70ef5edc33 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tokio-util-0.6.2.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tokio_util", + srcs = glob(["**/*.rs"]), + crate_features = [ + "codec", + "default", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.6.2", + # buildifier: leave-alone + deps = [ + "@cargo_raze__async_stream__0_3_0//:async_stream", + "@cargo_raze__bytes__1_0_1//:bytes", + "@cargo_raze__futures_core__0_3_12//:futures_core", + "@cargo_raze__futures_sink__0_3_12//:futures_sink", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__tokio__1_1_0//:tokio", + "@cargo_raze__tokio_stream__0_1_2//:tokio_stream", + ], +) + +# Unsupported target "codecs" with type "test" omitted + +# Unsupported target "context" with type "test" omitted + +# Unsupported target "framed" with type "test" omitted + +# Unsupported target "framed_read" with type "test" omitted + +# Unsupported target "framed_write" with type "test" omitted + +# Unsupported target "io_reader_stream" with type "test" omitted + +# Unsupported target "io_stream_reader" with type "test" omitted + +# Unsupported target "length_delimited" with type "test" omitted + +# Unsupported target "sync_cancellation_token" with type "test" omitted + +# Unsupported target "time_delay_queue" with type "test" omitted + +# Unsupported target "udp" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.toml-0.5.8.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.toml-0.5.8.bazel new file mode 100644 index 0000000000..e4d38dd9df --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.toml-0.5.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 "//third_party/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 "decode" with type "example" omitted + +# Unsupported target "enum_external" with type "example" omitted + +# Unsupported target "toml2json" with type "example" omitted + +rust_library( + name = "toml", + 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.5.8", + # buildifier: leave-alone + deps = [ + "@cargo_raze__serde__1_0_120//:serde", + ], +) + +# Unsupported target "enum_external_deserialize" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tower-service-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tower-service-0.3.0.bazel new file mode 100644 index 0000000000..a8b59358d2 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tower-service-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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tower_service", + 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.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-0.1.22.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-0.1.22.bazel new file mode 100644 index 0000000000..ab3fa11b58 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-0.1.22.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "no_subscriber" with type "bench" omitted + +# Unsupported target "subscriber" with type "bench" omitted + +rust_library( + name = "tracing", + srcs = glob(["**/*.rs"]), + crate_features = [ + "attributes", + "default", + "log", + "std", + "tracing-attributes", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__tracing_attributes__0_1_11//:tracing_attributes", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.22", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__pin_project_lite__0_2_4//:pin_project_lite", + "@cargo_raze__tracing_core__0_1_17//:tracing_core", + ], +) + +# Unsupported target "event" with type "test" omitted + +# Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted + +# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted + +# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted + +# Unsupported target "filters_dont_leak" with type "test" omitted + +# Unsupported target "macro_imports" with type "test" omitted + +# Unsupported target "macros" with type "test" omitted + +# Unsupported target "max_level_hint" with type "test" omitted + +# Unsupported target "multiple_max_level_hints" with type "test" omitted + +# Unsupported target "span" with type "test" omitted + +# Unsupported target "subscriber" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-attributes-0.1.11.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-attributes-0.1.11.bazel new file mode 100644 index 0000000000..e8df713e5b --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-attributes-0.1.11.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tracing_attributes", + 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.1.11", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + ], +) + +# Unsupported target "async_fn" with type "test" omitted + +# Unsupported target "destructuring" with type "test" omitted + +# Unsupported target "err" with type "test" omitted + +# Unsupported target "fields" with type "test" omitted + +# Unsupported target "instrument" with type "test" omitted + +# Unsupported target "levels" with type "test" omitted + +# Unsupported target "names" with type "test" omitted + +# Unsupported target "support" with type "test" omitted + +# Unsupported target "targets" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-core-0.1.17.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-core-0.1.17.bazel new file mode 100644 index 0000000000..4810b5b7a2 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-core-0.1.17.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tracing_core", + srcs = glob(["**/*.rs"]), + crate_features = [ + "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.1.17", + # buildifier: leave-alone + deps = [ + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + ], +) + +# Unsupported target "dispatch" with type "test" omitted + +# Unsupported target "global_dispatch" with type "test" omitted + +# Unsupported target "macros" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-futures-0.2.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-futures-0.2.4.bazel new file mode 100644 index 0000000000..c97aabaa63 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.tracing-futures-0.2.4.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "tracing_futures", + srcs = glob(["**/*.rs"]), + crate_features = [ + "pin-project", + "std", + "std-future", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__pin_project__0_4_27//:pin_project", + "@cargo_raze__tracing__0_1_22//:tracing", + ], +) + +# Unsupported target "std_future" with type "test" omitted + +# Unsupported target "support" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.try-lock-0.2.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.try-lock-0.2.3.bazel new file mode 100644 index 0000000000..5b255da02d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.try-lock-0.2.3.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "try_lock", + 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/third_party/cargo/remote/BUILD.typenum-1.12.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.typenum-1.12.0.bazel new file mode 100644 index 0000000000..309ba36e60 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.typenum-1.12.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 "//third_party/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 = "typenum_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build/main.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.12.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "typenum", + 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.12.0", + # buildifier: leave-alone + deps = [ + ":typenum_build_script", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.ucd-trie-0.1.3.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ucd-trie-0.1.3.bazel new file mode 100644 index 0000000000..eb6accf3bc --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.ucd-trie-0.1.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 "//third_party/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 = "ucd_trie", + 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.1.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-property-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-property-0.9.0.bazel new file mode 100644 index 0000000000..504159b393 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-property-0.9.0.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 "//third_party/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 = "unic_char_property", + 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.9.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__unic_char_range__0_9_0//:unic_char_range", + ], +) + +# Unsupported target "bool_property_macro" with type "test" omitted + +# Unsupported target "enum_property_macro" with type "test" omitted + +# Unsupported target "tables_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-range-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-range-0.9.0.bazel new file mode 100644 index 0000000000..78f9f258ce --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-char-range-0.9.0.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 "//third_party/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 "macro_use_std_tests" with type "example" omitted + +rust_library( + name = "unic_char_range", + 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.9.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "iter_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-common-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-common-0.9.0.bazel new file mode 100644 index 0000000000..94dcd4cb3d --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-common-0.9.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 "//third_party/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 = "unic_common", + 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.9.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-segment-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-segment-0.9.0.bazel new file mode 100644 index 0000000000..0e4ea4a147 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-segment-0.9.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 "//third_party/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 = "unic_segment", + 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.9.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__unic_ucd_segment__0_9_0//:unic_ucd_segment", + ], +) + +# Unsupported target "basic_example" with type "test" omitted + +# Unsupported target "grapheme_cluster_conformance_tests" with type "test" omitted + +# Unsupported target "quickcheck_tests" with type "test" omitted + +# Unsupported target "words_conformance_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-segment-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-segment-0.9.0.bazel new file mode 100644 index 0000000000..09d1489d37 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-segment-0.9.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 "//third_party/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 = "unic_ucd_segment", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + glob(["**/*.rsv"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__unic_char_property__0_9_0//:unic_char_property", + "@cargo_raze__unic_char_range__0_9_0//:unic_char_range", + "@cargo_raze__unic_ucd_version__0_9_0//:unic_ucd_version", + ], +) + +# Unsupported target "basic_tests" with type "test" omitted + +# Unsupported target "conformance_tests" with type "test" omitted + +# Unsupported target "unicode_version_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-version-0.9.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-version-0.9.0.bazel new file mode 100644 index 0000000000..44f74519b6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unic-ucd-version-0.9.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 "//third_party/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 = "unic_ucd_version", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [] + glob(["**/*.rsv"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__unic_common__0_9_0//:unic_common", + ], +) + +# Unsupported target "basic_tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-bidi-0.3.4.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-bidi-0.3.4.bazel new file mode 100644 index 0000000000..9b412f2028 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-bidi-0.3.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 "//third_party/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_bidi", + 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.3.4", + # buildifier: leave-alone + deps = [ + "@cargo_raze__matches__0_1_8//:matches", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-normalization-0.1.16.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-normalization-0.1.16.bazel new file mode 100644 index 0000000000..ae9d663677 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-normalization-0.1.16.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 "//third_party/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 = "unicode_normalization", + 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.1.16", + # buildifier: leave-alone + deps = [ + "@cargo_raze__tinyvec__1_1_0//:tinyvec", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-xid-0.2.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unicode-xid-0.2.1.bazel new file mode 100644 index 0000000000..05117cc6c6 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.unindent-0.1.7.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.unindent-0.1.7.bazel new file mode 100644 index 0000000000..2da4d65dfd --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.url-2.2.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.url-2.2.0.bazel new file mode 100644 index 0000000000..a9ed2ae873 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.url-2.2.0.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 "//third_party/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 "parse_url" with type "bench" omitted + +rust_library( + name = "url", + 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 = "2.2.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__form_urlencoded__1_0_0//:form_urlencoded", + "@cargo_raze__idna__0_2_0//:idna", + "@cargo_raze__matches__0_1_8//:matches", + "@cargo_raze__percent_encoding__2_1_0//:percent_encoding", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.vcpkg-0.2.11.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.vcpkg-0.2.11.bazel new file mode 100644 index 0000000000..8e16d138c8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.vcpkg-0.2.11.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 "//third_party/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 = "vcpkg", + 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.11", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.vec-arena-1.0.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.vec-arena-1.0.0.bazel new file mode 100644 index 0000000000..46029e9af7 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.vec-arena-1.0.0.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 "//third_party/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 "linked-list" with type "example" omitted + +# Unsupported target "splay-tree" with type "example" omitted + +rust_library( + name = "vec_arena", + 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 "arena" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.version_check-0.9.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.version_check-0.9.2.bazel new file mode 100644 index 0000000000..d6dca6f72e --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.waker-fn-1.1.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.waker-fn-1.1.0.bazel new file mode 100644 index 0000000000..129e49965e --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.waker-fn-1.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 "//third_party/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 = "waker_fn", + 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.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.walkdir-2.3.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.walkdir-2.3.1.bazel new file mode 100644 index 0000000000..0a285b40b4 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.walkdir-2.3.1.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 "//third_party/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 = "walkdir", + 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 = "2.3.1", + # buildifier: leave-alone + deps = [ + "@cargo_raze__same_file__1_0_6//:same_file", + ] + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + "@cargo_raze__winapi_util__0_1_5//:winapi_util", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.want-0.3.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.want-0.3.0.bazel new file mode 100644 index 0000000000..857ac4d7b3 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.want-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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "throughput" with type "bench" omitted + +rust_library( + name = "want", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__try_lock__0_2_3//:try_lock", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel new file mode 100644 index 0000000000..1ca5275ae1 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasi-0.10.1+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 "//third_party/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.1+wasi-snapshot-preview1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel new file mode 100644 index 0000000000..b4cca7c927 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.69.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.69.bazel new file mode 100644 index 0000000000..58e7cea9a4 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.69.bazel @@ -0,0 +1,113 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = "wasm_bindgen_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "serde", + "serde-serialize", + "serde_json", + "spans", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.69", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "wasm_bindgen", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + "serde-serialize", + "serde_json", + "spans", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@cargo_raze__wasm_bindgen_macro__0_2_69//:wasm_bindgen_macro", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.69", + # buildifier: leave-alone + deps = [ + ":wasm_bindgen_build_script", + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__serde__1_0_120//:serde", + "@cargo_raze__serde_json__1_0_61//:serde_json", + ], +) + +# Unsupported target "headless" with type "test" omitted + +# Unsupported target "must_use" with type "test" omitted + +# Unsupported target "non_wasm" with type "test" omitted + +# Unsupported target "std-crate-no-std-dep" with type "test" omitted + +# Unsupported target "unwrap_throw" with type "test" omitted + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel new file mode 100644 index 0000000000..f2767c17ad --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.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 "//third_party/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 = "wasm_bindgen_backend", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.69", + # buildifier: leave-alone + deps = [ + "@cargo_raze__bumpalo__3_4_0//:bumpalo", + "@cargo_raze__lazy_static__1_4_0//:lazy_static", + "@cargo_raze__log__0_4_13//:log", + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + "@cargo_raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-futures-0.4.19.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-futures-0.4.19.bazel new file mode 100644 index 0000000000..12023668f8 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-futures-0.4.19.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 "//third_party/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 = "wasm_bindgen_futures", + 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.19", + # buildifier: leave-alone + deps = [ + "@cargo_raze__cfg_if__1_0_0//:cfg_if", + "@cargo_raze__js_sys__0_3_46//:js_sys", + "@cargo_raze__wasm_bindgen__0_2_69//:wasm_bindgen", + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-0.2.69.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-0.2.69.bazel new file mode 100644 index 0000000000..1e5681010f --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-0.2.69.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 "//third_party/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 = "wasm_bindgen_macro", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "proc-macro", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.69", + # buildifier: leave-alone + deps = [ + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__wasm_bindgen_macro_support__0_2_69//:wasm_bindgen_macro_support", + ], +) + +# Unsupported target "ui" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel new file mode 100644 index 0000000000..80e54a9ca6 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.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 "//third_party/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 = "wasm_bindgen_macro_support", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.69", + # buildifier: leave-alone + deps = [ + "@cargo_raze__proc_macro2__1_0_24//:proc_macro2", + "@cargo_raze__quote__1_0_8//:quote", + "@cargo_raze__syn__1_0_58//:syn", + "@cargo_raze__wasm_bindgen_backend__0_2_69//:wasm_bindgen_backend", + "@cargo_raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-shared-0.2.69.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-shared-0.2.69.bazel new file mode 100644 index 0000000000..a10451cd42 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wasm-bindgen-shared-0.2.69.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 "//third_party/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 = "wasm_bindgen_shared_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.2.69", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "wasm_bindgen_shared", + 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.69", + # buildifier: leave-alone + deps = [ + ":wasm_bindgen_shared_build_script", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.web-sys-0.3.46.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.web-sys-0.3.46.bazel new file mode 100644 index 0000000000..0f1d7364c4 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.web-sys-0.3.46.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 "//third_party/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 = "web_sys", + srcs = glob(["**/*.rs"]), + crate_features = [ + "Blob", + "BlobPropertyBag", + "Event", + "EventTarget", + "FormData", + "Headers", + "MessageEvent", + "Request", + "RequestInit", + "RequestMode", + "Response", + "ServiceWorkerGlobalScope", + "Window", + "Worker", + "WorkerGlobalScope", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.46", + # buildifier: leave-alone + deps = [ + "@cargo_raze__js_sys__0_3_46//:js_sys", + "@cargo_raze__wasm_bindgen__0_2_69//:wasm_bindgen", + ], +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.wepoll-sys-3.0.1.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wepoll-sys-3.0.1.bazel new file mode 100644 index 0000000000..e6d63ff3ce --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.wepoll-sys-3.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "reciprocal", # MPL-2.0 from expression "MPL-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 = "wepoll_sys_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "3.0.1", + visibility = ["//visibility:private"], + deps = [ + "@cargo_raze__cc__1_0_66//:cc", + ], +) + +rust_library( + name = "wepoll_sys", + 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 = "3.0.1", + # buildifier: leave-alone + deps = [ + ":wepoll_sys_build_script", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-0.3.9.bazel new file mode 100644 index 0000000000..037ea33251 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-0.3.9.bazel @@ -0,0 +1,171 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/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 = [ + "cfg", + "consoleapi", + "errhandlingapi", + "evntrace", + "fileapi", + "handleapi", + "impl-debug", + "impl-default", + "in6addr", + "inaddr", + "ioapiset", + "knownfolders", + "libloaderapi", + "lmcons", + "minschannel", + "minwinbase", + "minwindef", + "mswsock", + "namedpipeapi", + "ntdef", + "ntsecapi", + "objbase", + "processenv", + "profileapi", + "schannel", + "securitybaseapi", + "shlobj", + "sspi", + "std", + "synchapi", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincon", + "wincrypt", + "windef", + "winerror", + "winioctl", + "winnt", + "winreg", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + ], + 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 = [ + "cfg", + "consoleapi", + "errhandlingapi", + "evntrace", + "fileapi", + "handleapi", + "impl-debug", + "impl-default", + "in6addr", + "inaddr", + "ioapiset", + "knownfolders", + "libloaderapi", + "lmcons", + "minschannel", + "minwinbase", + "minwindef", + "mswsock", + "namedpipeapi", + "ntdef", + "ntsecapi", + "objbase", + "processenv", + "profileapi", + "schannel", + "securitybaseapi", + "shlobj", + "sspi", + "std", + "synchapi", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincon", + "wincrypt", + "windef", + "winerror", + "winioctl", + "winnt", + "winreg", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + ], + 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/third_party/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel new file mode 100644 index 0000000000..f12ba9ec32 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.winapi-util-0.1.5.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-util-0.1.5.bazel new file mode 100644 index 0000000000..754ad69ee0 --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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", + ): [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel new file mode 100644 index 0000000000..237929cccc --- /dev/null +++ b/cargo/cargo_raze/third_party/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 "//third_party/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/third_party/cargo/remote/BUILD.winreg-0.7.0.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winreg-0.7.0.bazel new file mode 100644 index 0000000000..d46c5d9365 --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.winreg-0.7.0.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 "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "basic_usage" with type "example" omitted + +# Unsupported target "enum" with type "example" omitted + +# Unsupported target "installed_apps" with type "example" omitted + +# Unsupported target "serialization" with type "example" omitted + +# Unsupported target "transactions" with type "example" omitted + +rust_library( + name = "winreg", + 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.0", + # buildifier: leave-alone + deps = [ + "@cargo_raze__winapi__0_3_9//:winapi", + ], +) diff --git a/cargo/cargo_raze/third_party/cargo/remote/BUILD.xattr-0.2.2.bazel b/cargo/cargo_raze/third_party/cargo/remote/BUILD.xattr-0.2.2.bazel new file mode 100644 index 0000000000..e83f74bf8c --- /dev/null +++ b/cargo/cargo_raze/third_party/cargo/remote/BUILD.xattr-0.2.2.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 "//third_party/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 = "xattr", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "unsupported", + ], + 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 = [ + "@cargo_raze__libc__0_2_82//:libc", + ], +) + +# Unsupported target "main" with type "test" omitted diff --git a/cargo/cargo_raze/third_party/curl/BUILD.bazel b/cargo/cargo_raze/third_party/curl/BUILD.bazel new file mode 100644 index 0000000000..1c7381042d --- /dev/null +++ b/cargo/cargo_raze/third_party/curl/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.curl.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/curl/BUILD.curl.bazel b/cargo/cargo_raze/third_party/curl/BUILD.curl.bazel new file mode 100644 index 0000000000..8b6f5d9675 --- /dev/null +++ b/cargo/cargo_raze/third_party/curl/BUILD.curl.bazel @@ -0,0 +1,48 @@ +load("@rules_foreign_cc//tools/build_defs:cmake.bzl", "cmake_external") + +filegroup( + name = "all", + srcs = glob(["**"]), +) + +_CACHE_ENTRIES = { + "BUILD_CURL_EXE": "off", + "BUILD_SHARED_LIBS": "off", + "CMAKE_PREFIX_PATH": "$CMAKE_PREFIX_PATH;$EXT_BUILD_DEPS/openssl", + # TODO: ldap should likely be enabled + "CURL_DISABLE_LDAP": "on", +} + +_MACOS_CACHE_ENTRIES = dict(_CACHE_ENTRIES.items() + { + "CMAKE_AR": "", + "CMAKE_C_ARCHIVE_CREATE": "", +}.items()) + +_LINUX_CACHE_ENTRIES = dict(_CACHE_ENTRIES.items() + { + "CMAKE_C_FLAGS": "$CMAKE_C_FLAGS -fPIC", +}.items()) + +cmake_external( + name = "curl", + cache_entries = select({ + "@rules_rust//rust/platform:darwin": _MACOS_CACHE_ENTRIES, + "@rules_rust//rust/platform:linux": _LINUX_CACHE_ENTRIES, + "//conditions:default": _CACHE_ENTRIES, + }), + lib_source = ":all", + static_libraries = select({ + # TODO: I'm guessing at this name. Needs to be checked on windows. + "@rules_rust//rust/platform:windows": ["curl.lib"], + "//conditions:default": ["libcurl.a"], + }), + visibility = ["//visibility:public"], + deps = [ + "@cargo_raze__zlib//:zlib", + ] + select({ + "@rules_rust//rust/platform:ios": [], + "@rules_rust//rust/platform:windows": [], + "//conditions:default": [ + "@cargo_raze__openssl//:openssl", + ], + }), +) diff --git a/cargo/cargo_raze/third_party/curl/curl_repositories.bzl b/cargo/cargo_raze/third_party/curl/curl_repositories.bzl new file mode 100644 index 0000000000..cc4bbb4d18 --- /dev/null +++ b/cargo/cargo_raze/third_party/curl/curl_repositories.bzl @@ -0,0 +1,18 @@ +"""A module defining the third party dependency curl""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def curl_repositories(): + maybe( + http_archive, + name = "cargo_raze__curl", + urls = [ + "https://curl.se/download/curl-7.74.0.tar.gz", + "https://github.com/curl/curl/releases/download/curl-7_74_0/curl-7.74.0.tar.gz", + ], + type = "tar.gz", + sha256 = "e56b3921eeb7a2951959c02db0912b5fcd5fdba5aca071da819e1accf338bbd7", + strip_prefix = "curl-7.74.0", + build_file = Label("//third_party/curl:BUILD.curl.bazel"), + ) diff --git a/cargo/cargo_raze/third_party/iconv/BUILD.bazel b/cargo/cargo_raze/third_party/iconv/BUILD.bazel new file mode 100644 index 0000000000..171a72f9aa --- /dev/null +++ b/cargo/cargo_raze/third_party/iconv/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.iconv.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/iconv/BUILD.iconv.bazel b/cargo/cargo_raze/third_party/iconv/BUILD.iconv.bazel new file mode 100644 index 0000000000..9771468d5a --- /dev/null +++ b/cargo/cargo_raze/third_party/iconv/BUILD.iconv.bazel @@ -0,0 +1,28 @@ +"""libiconv is only expected to be used on MacOS systems""" + +load("@rules_foreign_cc//tools/build_defs:configure.bzl", "configure_make") + +filegroup( + name = "all", + srcs = glob(["**"]), +) + +configure_make( + name = "iconv", + configure_env_vars = select({ + "@rules_rust//rust/platform:darwin": {"AR": ""}, + "//conditions:default": {}, + }), + configure_in_place = True, + configure_options = [ + "--enable-relocatable", + "--enable-shared=no", + "--enable-static=yes", + ], + lib_source = ":all", + make_commands = ["make install-lib"], + static_libraries = [ + "libiconv.a", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/iconv/iconv_repositories.bzl b/cargo/cargo_raze/third_party/iconv/iconv_repositories.bzl new file mode 100644 index 0000000000..fb33ce41b9 --- /dev/null +++ b/cargo/cargo_raze/third_party/iconv/iconv_repositories.bzl @@ -0,0 +1,17 @@ +"""A module defining the third party dependency iconv""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def iconv_repositories(): + maybe( + http_archive, + name = "cargo_raze__iconv", + urls = [ + "https://opensource.apple.com/tarballs/libiconv/libiconv-59.tar.gz", + ], + type = "tar.gz", + sha256 = "f7729999a9f2adc8c158012bc4bc8d69bea5dec88c8203cdd62067f91ed60b43", + strip_prefix = "libiconv-59/libiconv", + build_file = Label("//third_party/iconv:BUILD.iconv.bazel"), + ) diff --git a/cargo/cargo_raze/third_party/libgit2/BUILD.bazel b/cargo/cargo_raze/third_party/libgit2/BUILD.bazel new file mode 100644 index 0000000000..1c7381042d --- /dev/null +++ b/cargo/cargo_raze/third_party/libgit2/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.curl.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/libgit2/BUILD.libgit2.bazel b/cargo/cargo_raze/third_party/libgit2/BUILD.libgit2.bazel new file mode 100644 index 0000000000..413321effd --- /dev/null +++ b/cargo/cargo_raze/third_party/libgit2/BUILD.libgit2.bazel @@ -0,0 +1,48 @@ +load("@rules_foreign_cc//tools/build_defs:cmake.bzl", "cmake_external") + +filegroup( + name = "all", + srcs = glob( + ["**"], + exclude = ["tests/**"], + ), +) + +_CACHE_ENTRIES = { + "BUILD_CLAR": "off", + "BUILD_EXAMPLES": "off", + "BUILD_FUZZERS": "off", + "BUILD_SHARED_LIBS": "off", + "CMAKE_PREFIX_PATH": "$EXT_BUILD_DEPS/pcre;$EXT_BUILD_DEPS/openssl;$EXT_BUILD_DEPS/libssh2;$EXT_BUILD_DEPS/zlib;$CMAKE_PREFIX_PATH", + "EMBED_SSH_PATH": "$(execpath @cargo_raze__libssh2//:libssh2)", + "USE_HTTPS": "on", +} + +_LINUX_CACHE_ENTRIES = dict(_CACHE_ENTRIES.items() + { + "CMAKE_C_FLAGS": "$CMAKE_C_FLAGS -fPIC", + "REGEX_BACKEND": "pcre", +}.items()) + +cmake_external( + name = "libgit2", + cache_entries = select({ + "@rules_rust//rust/platform:linux": _LINUX_CACHE_ENTRIES, + "//conditions:default": _CACHE_ENTRIES, + }), + lib_source = ":all", + static_libraries = select({ + # TODO: I'm guessing at this name. Needs to be checked on windows. + "@rules_rust//rust/platform:windows": ["git2.lib"], + "//conditions:default": ["libgit2.a"], + }), + visibility = ["//visibility:public"], + deps = [ + "@cargo_raze__libssh2//:libssh2", + "@cargo_raze__zlib//:zlib", + "@cargo_raze__openssl//:openssl", + ] + select({ + "@rules_rust//rust/platform:darwin": ["@cargo_raze__iconv//:iconv"], + "@rules_rust//rust/platform:linux": ["@cargo_raze__pcre//:pcre"], + "//conditions:default": [], + }), +) diff --git a/cargo/cargo_raze/third_party/libgit2/libgit2_repositories.bzl b/cargo/cargo_raze/third_party/libgit2/libgit2_repositories.bzl new file mode 100644 index 0000000000..8f14d91ee1 --- /dev/null +++ b/cargo/cargo_raze/third_party/libgit2/libgit2_repositories.bzl @@ -0,0 +1,17 @@ +"""A module defining the third party dependency libgit2""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def libgit2_repositories(): + maybe( + http_archive, + name = "cargo_raze__libgit2", + urls = [ + "https://github.com/libgit2/libgit2/releases/download/v1.1.0/libgit2-1.1.0.tar.gz", + ], + type = "tar.gz", + sha256 = "ad73f845965cfd528e70f654e428073121a3fa0dc23caac81a1b1300277d4dba", + strip_prefix = "libgit2-1.1.0", + build_file = Label("//third_party/libgit2:BUILD.libgit2.bazel"), + ) diff --git a/cargo/cargo_raze/third_party/libssh2/BUILD.bazel b/cargo/cargo_raze/third_party/libssh2/BUILD.bazel new file mode 100644 index 0000000000..4d5710a16d --- /dev/null +++ b/cargo/cargo_raze/third_party/libssh2/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.libssh2.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/libssh2/BUILD.libssh2.bazel b/cargo/cargo_raze/third_party/libssh2/BUILD.libssh2.bazel new file mode 100644 index 0000000000..8cd4908876 --- /dev/null +++ b/cargo/cargo_raze/third_party/libssh2/BUILD.libssh2.bazel @@ -0,0 +1,34 @@ +load("@rules_foreign_cc//tools/build_defs:cmake.bzl", "cmake_external") + +filegroup( + name = "all", + srcs = glob(["**"]), +) + +_CACHE_ENTRIES = { + "BUILD_EXAMPLES": "off", + "BUILD_SHARED_LIBS": "off", + "BUILD_TESTING": "off", + "CMAKE_FIND_DEBUG_MODE": "on", + "CMAKE_PREFIX_PATH": "$CMAKE_PREFIX_PATH;$EXT_BUILD_DEPS/openssl", +} + +_LINUX_CACHE_ENTRIES = dict(_CACHE_ENTRIES.items() + { + "CMAKE_C_FLAGS": "$CMAKE_C_FLAGS -fPIC", +}.items()) + +cmake_external( + name = "libssh2", + cache_entries = select({ + "@rules_rust//rust/platform:linux": _LINUX_CACHE_ENTRIES, + "//conditions:default": _CACHE_ENTRIES, + }), + lib_source = "//:all", + static_libraries = select({ + # TODO: I'm guessing at this name. Needs to be checked on windows. + "@rules_rust//rust/platform:windows": ["ssh2.lib"], + "//conditions:default": ["libssh2.a"], + }), + visibility = ["//visibility:public"], + deps = ["@cargo_raze__openssl//:openssl"], +) diff --git a/cargo/cargo_raze/third_party/libssh2/libssh2_repositories.bzl b/cargo/cargo_raze/third_party/libssh2/libssh2_repositories.bzl new file mode 100644 index 0000000000..b7d5631580 --- /dev/null +++ b/cargo/cargo_raze/third_party/libssh2/libssh2_repositories.bzl @@ -0,0 +1,17 @@ +"""A module defining the third party dependency libssh2""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def libssh2_repositories(): + maybe( + http_archive, + name = "cargo_raze__libssh2", + urls = [ + "https://github.com/libssh2/libssh2/releases/download/libssh2-1.9.0/libssh2-1.9.0.tar.gz", + ], + type = "tar.gz", + sha256 = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd", + strip_prefix = "libssh2-1.9.0", + build_file = Label("//third_party/libssh2:BUILD.libssh2.bazel"), + ) diff --git a/cargo/cargo_raze/third_party/openssl/BUILD.bazel b/cargo/cargo_raze/third_party/openssl/BUILD.bazel new file mode 100644 index 0000000000..eec1d4c0fc --- /dev/null +++ b/cargo/cargo_raze/third_party/openssl/BUILD.bazel @@ -0,0 +1,7 @@ +exports_files( + [ + "BUILD.openssl.bazel", + "WORKSPACE.openssl.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/openssl/BUILD.openssl.bazel b/cargo/cargo_raze/third_party/openssl/BUILD.openssl.bazel new file mode 100644 index 0000000000..6beaae816b --- /dev/null +++ b/cargo/cargo_raze/third_party/openssl/BUILD.openssl.bazel @@ -0,0 +1,56 @@ +"""An openssl build file based on a snippet found in the github issue: +https://github.com/bazelbuild/rules_foreign_cc/issues/337 +""" + +load("@rules_foreign_cc//tools/build_defs:configure.bzl", "configure_make") + +# Read https://wiki.openssl.org/index.php/Compilation_and_Installation + +filegroup( + name = "all", + srcs = glob(["**"]), +) + +CONFIGURE_OPTIONS = [ + "no-comp", + "no-idea", + "no-weak-ssl-ciphers", +] + +configure_make( + name = "openssl", + configure_command = "config", + configure_env_vars = select({ + "@rules_rust//rust/platform:darwin": {"AR": ""}, + "//conditions:default": {}, + }), + configure_in_place = True, + configure_options = select({ + "@rules_rust//rust/platform:darwin": [ + "ARFLAGS=r", + "no-afalgeng", + "no-asm", + "no-shared", + ] + CONFIGURE_OPTIONS, + "//conditions:default": [ + "no-shared", + ] + CONFIGURE_OPTIONS, + }), + lib_source = ":all", + make_commands = [ + "make build_libs", + "make install_dev", + ], + static_libraries = [ + "libcrypto.a", + "libssl.a", + ], + visibility = ["//visibility:public"], +) + +filegroup( + name = "gen_dir", + srcs = [":openssl"], + output_group = "gen_dir", + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/openssl/openssl_repositories.bzl b/cargo/cargo_raze/third_party/openssl/openssl_repositories.bzl new file mode 100644 index 0000000000..860f223750 --- /dev/null +++ b/cargo/cargo_raze/third_party/openssl/openssl_repositories.bzl @@ -0,0 +1,17 @@ +"""A module defining the third party dependency OpenSSL""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def openssl_repositories(): + maybe( + http_archive, + name = "cargo_raze__openssl", + build_file = Label("//third_party/openssl:BUILD.openssl.bazel"), + sha256 = "5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9", + strip_prefix = "openssl-1.1.1h", + urls = [ + "https://www.openssl.org/source/openssl-1.1.1h.tar.gz", + "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1h.tar.gz", + ], + ) diff --git a/cargo/cargo_raze/third_party/pcre/BUILD.bazel b/cargo/cargo_raze/third_party/pcre/BUILD.bazel new file mode 100644 index 0000000000..70e7284da9 --- /dev/null +++ b/cargo/cargo_raze/third_party/pcre/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.pcre.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/pcre/BUILD.pcre.bazel b/cargo/cargo_raze/third_party/pcre/BUILD.pcre.bazel new file mode 100644 index 0000000000..379c69a26b --- /dev/null +++ b/cargo/cargo_raze/third_party/pcre/BUILD.pcre.bazel @@ -0,0 +1,18 @@ +"""pcre is only expected to be used on Linux systems""" + +load("@rules_foreign_cc//tools/build_defs:cmake.bzl", "cmake_external") + +filegroup( + name = "all", + srcs = glob(["**"]), +) + +cmake_external( + name = "pcre", + cache_entries = { + "CMAKE_C_FLAGS": "$CMAKE_C_FLAGS -fPIC", + }, + lib_source = ":all", + static_libraries = ["libpcre.a"], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/pcre/pcre_repositories.bzl b/cargo/cargo_raze/third_party/pcre/pcre_repositories.bzl new file mode 100644 index 0000000000..26314fa9b4 --- /dev/null +++ b/cargo/cargo_raze/third_party/pcre/pcre_repositories.bzl @@ -0,0 +1,16 @@ +"""A module defining the third party dependency PCRE""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def pcre_repositories(): + maybe( + http_archive, + name = "cargo_raze__pcre", + build_file = Label("//third_party/pcre:BUILD.pcre.bazel"), + strip_prefix = "pcre-8.43", + urls = [ + "https://mirror.bazel.build/ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz", + "https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz", + ], + ) diff --git a/cargo/cargo_raze/third_party/third_party_repositories.bzl b/cargo/cargo_raze/third_party/third_party_repositories.bzl new file mode 100644 index 0000000000..08ce4e4871 --- /dev/null +++ b/cargo/cargo_raze/third_party/third_party_repositories.bzl @@ -0,0 +1,44 @@ +"""A module for defining repositories cargo-raze depends on""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") +load("//third_party/cargo:crates.bzl", "cargo_raze_fetch_remote_crates") +load("//third_party/curl:curl_repositories.bzl", "curl_repositories") +load("//third_party/iconv:iconv_repositories.bzl", "iconv_repositories") +load("//third_party/libgit2:libgit2_repositories.bzl", "libgit2_repositories") +load("//third_party/libssh2:libssh2_repositories.bzl", "libssh2_repositories") +load("//third_party/openssl:openssl_repositories.bzl", "openssl_repositories") +load("//third_party/pcre:pcre_repositories.bzl", "pcre_repositories") +load("//third_party/zlib:zlib_repositories.bzl", "zlib_repositories") + +def third_party_repositories(): + """Creates repository definitions for all cargo-raze third party dependencies""" + + maybe( + http_archive, + name = "rules_foreign_cc", + sha256 = "379b1cd5cd13da154ba99df3aeb91f9cbb81910641fc520bb90f2a95e324353d", + strip_prefix = "rules_foreign_cc-689c96aaa7337eb129235e5388f4ebc88fa14e87", + urls = [ + "https://github.com/bazelbuild/rules_foreign_cc/archive/689c96aaa7337eb129235e5388f4ebc88fa14e87.zip", + ], + ) + + maybe( + http_archive, + name = "rules_cc", + url = "https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.zip", + sha256 = "8c7e8bf24a2bf515713445199a677ee2336e1c487fa1da41037c6026de04bbc3", + strip_prefix = "rules_cc-624b5d59dfb45672d4239422fa1e3de1822ee110", + type = "zip", + ) + + curl_repositories() + iconv_repositories() + libgit2_repositories() + libssh2_repositories() + openssl_repositories() + pcre_repositories() + zlib_repositories() + + cargo_raze_fetch_remote_crates() diff --git a/cargo/cargo_raze/third_party/third_party_transitive_deps.bzl b/cargo/cargo_raze/third_party/third_party_transitive_deps.bzl new file mode 100644 index 0000000000..20f9475e1f --- /dev/null +++ b/cargo/cargo_raze/third_party/third_party_transitive_deps.bzl @@ -0,0 +1,7 @@ +"""A module defining the transitive dependencies of third party deps for cargo-raze""" + +load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") + +def third_party_transitive_deps(): + """Loads all dependnecies from repositories defiend in third_party_repositories""" + rules_foreign_cc_dependencies() diff --git a/cargo/cargo_raze/third_party/zlib/BUILD.bazel b/cargo/cargo_raze/third_party/zlib/BUILD.bazel new file mode 100644 index 0000000000..8a7f7c2e9c --- /dev/null +++ b/cargo/cargo_raze/third_party/zlib/BUILD.bazel @@ -0,0 +1,6 @@ +exports_files( + [ + "BUILD.zlib.bazel", + ], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/zlib/BUILD.zlib.bazel b/cargo/cargo_raze/third_party/zlib/BUILD.zlib.bazel new file mode 100644 index 0000000000..3007074925 --- /dev/null +++ b/cargo/cargo_raze/third_party/zlib/BUILD.zlib.bazel @@ -0,0 +1,65 @@ +# Copied from https://github.com/protocolbuffers/protobuf/blob/master/third_party/zlib.BUILD + +load("@rules_cc//cc:defs.bzl", "cc_library") + +licenses(["notice"]) # BSD/MIT-like license (for zlib) + +_ZLIB_HEADERS = [ + "crc32.h", + "deflate.h", + "gzguts.h", + "inffast.h", + "inffixed.h", + "inflate.h", + "inftrees.h", + "trees.h", + "zconf.h", + "zlib.h", + "zutil.h", +] + +_ZLIB_PREFIXED_HEADERS = ["zlib/include/" + hdr for hdr in _ZLIB_HEADERS] + +# In order to limit the damage from the `includes` propagation +# via `:zlib`, copy the public headers to a subdirectory and +# expose those. +genrule( + name = "copy_public_headers", + srcs = _ZLIB_HEADERS, + outs = _ZLIB_PREFIXED_HEADERS, + cmd = "cp $(SRCS) $(@D)/zlib/include/", +) + +cc_library( + name = "zlib", + srcs = [ + "adler32.c", + "compress.c", + "crc32.c", + "deflate.c", + "gzclose.c", + "gzlib.c", + "gzread.c", + "gzwrite.c", + "infback.c", + "inffast.c", + "inflate.c", + "inftrees.c", + "trees.c", + "uncompr.c", + "zutil.c", + # Include the un-prefixed headers in srcs to work + # around the fact that zlib isn't consistent in its + # choice of <> or "" delimiter when including itself. + ] + _ZLIB_HEADERS, + hdrs = _ZLIB_PREFIXED_HEADERS, + copts = select({ + "@rules_rust//rust/platform:windows": [], + "//conditions:default": [ + "-Wno-unused-variable", + "-Wno-implicit-function-declaration", + ], + }), + includes = ["zlib/include/"], + visibility = ["//visibility:public"], +) diff --git a/cargo/cargo_raze/third_party/zlib/zlib_repositories.bzl b/cargo/cargo_raze/third_party/zlib/zlib_repositories.bzl new file mode 100644 index 0000000000..659e84a556 --- /dev/null +++ b/cargo/cargo_raze/third_party/zlib/zlib_repositories.bzl @@ -0,0 +1,17 @@ +"""A module defining the third party dependency zlib""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +def zlib_repositories(): + maybe( + http_archive, + name = "cargo_raze__zlib", + build_file = Label("//third_party/zlib:BUILD.zlib.bazel"), + sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", + strip_prefix = "zlib-1.2.11", + urls = [ + "https://zlib.net/zlib-1.2.11.tar.gz", + "https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz", + ], + ) diff --git a/cargo/cargo_raze/tools/BUILD.bazel b/cargo/cargo_raze/tools/BUILD.bazel new file mode 100644 index 0000000000..9b9061354d --- /dev/null +++ b/cargo/cargo_raze/tools/BUILD.bazel @@ -0,0 +1,42 @@ +package(default_visibility = ["//:__subpackages__"]) + +exports_files([ + "examples_repository_tools.sh", + "examples_repository_tools.bat", +]) + +sh_binary( + name = "bootstrap", + srcs = ["bootstrap.sh"], +) + +sh_binary( + name = "publish_new_version", + srcs = ["publish-new-version.sh"], +) + +sh_binary( + name = "examples_vendor", + srcs = ["examples_repository_tools.sh"], + args = ["vendor"], +) + +sh_binary( + name = "examples_raze", + srcs = ["examples_repository_tools.sh"], + args = [ + "raze", + "$(location //impl:cargo_raze_bin)", + ], + data = ["//impl:cargo_raze_bin"], +) + +sh_binary( + name = "examples_check", + srcs = ["examples_repository_tools.sh"], + args = [ + "check", + "$(location //impl:cargo_raze_bin)", + ], + data = ["//impl:cargo_raze_bin"], +) diff --git a/cargo/cargo_raze/tools/bootstrap.sh b/cargo/cargo_raze/tools/bootstrap.sh new file mode 100755 index 0000000000..cc7787a554 --- /dev/null +++ b/cargo/cargo_raze/tools/bootstrap.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Bazel will set BUILD_WORKSPACE_DIRECTORY for run targets +if [[ -z "${BUILD_WORKSPACE_DIRECTORY}" ]]; then + SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + BUILD_WORKSPACE_DIRECTORY="${SCRIPT_DIR}/.." +fi + +pushd ${BUILD_WORKSPACE_DIRECTORY}/impl +cargo build --quiet --release +popd + +RAZE=${BUILD_WORKSPACE_DIRECTORY}/impl/target/release/cargo-raze + +echo "Bootstrapping Cargo Raze" +exec ${RAZE} --manifest-path ${BUILD_WORKSPACE_DIRECTORY}/impl/Cargo.toml diff --git a/cargo/cargo_raze/tools/dump_metadata/Cargo.toml.disabled b/cargo/cargo_raze/tools/dump_metadata/Cargo.toml.disabled new file mode 100644 index 0000000000..2f994d3877 --- /dev/null +++ b/cargo/cargo_raze/tools/dump_metadata/Cargo.toml.disabled @@ -0,0 +1,31 @@ +[package] +name = "tools" +version = "0.0.0" +authors = ["Alex McArther "] +readme = "README.md" +keywords = ["subcommand"] +license = "Apache-2.0" +repository = "https://github.com/google/cargo-raze" +description = """ +A set of development-only tools for cargo-raze + +This crate is not intended to be pushed to crates.io +""" + +[lib] +path = "src/lib.rs" + +[[bin]] +name = "dump_metadata" +path = "src/bin/dump_metadata.rs" + +[dependencies.cargo-raze] +path = "../impl" + +[dependencies] +docopt = "1.0.2" +cargo = "0.32.0" +serde_derive = "1.0.84" +serde = "1.0.84" +serde_json = "1.0.34" +home = "0.3.4" diff --git a/cargo/cargo_raze/tools/dump_metadata/README.md b/cargo/cargo_raze/tools/dump_metadata/README.md new file mode 100644 index 0000000000..7c80a0d5f1 --- /dev/null +++ b/cargo/cargo_raze/tools/dump_metadata/README.md @@ -0,0 +1,3 @@ +# Tools + +Tools are not currently working. See https://github.com/google/cargo-raze/issues/210 diff --git a/cargo/cargo_raze/tools/dump_metadata/dump-metadata.sh b/cargo/cargo_raze/tools/dump_metadata/dump-metadata.sh new file mode 100755 index 0000000000..79685a615b --- /dev/null +++ b/cargo/cargo_raze/tools/dump_metadata/dump-metadata.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -eu + +SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +COMMAND="cargo run --manifest-path $SOURCE_DIR/tools/Cargo.toml --bin dump_metadata -- $@" + +echo "RUNNING \"$COMMAND\"" +$COMMAND diff --git a/cargo/cargo_raze/tools/dump_metadata/src/bin/dump_metadata.rs b/cargo/cargo_raze/tools/dump_metadata/src/bin/dump_metadata.rs new file mode 100644 index 0000000000..9d43cdb8cd --- /dev/null +++ b/cargo/cargo_raze/tools/dump_metadata/src/bin/dump_metadata.rs @@ -0,0 +1,198 @@ +// 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. + +extern crate cargo; +extern crate cargo_raze; +extern crate serde; +#[macro_use] +extern crate serde_derive; +extern crate docopt; +extern crate home; +extern crate serde_json; + +use cargo::util::CargoResult; +use cargo::util::Config; +use cargo::CargoError; +use cargo::CliResult; +use docopt::Docopt; +use std::env; +use std::error::Error as StdError; +use std::fmt; +use std::fs::File; +use std::io::Write; +use std::path::PathBuf; +use std::string::ToString; + +use cargo_raze::metadata::CargoInternalsMetadataFetcher; +use cargo_raze::metadata::CargoWorkspaceFiles; +use cargo_raze::metadata::MetadataFetcher; + +#[derive(Debug)] +struct DumpError(String); + +#[derive(Debug, Deserialize)] +struct Options { + arg_path_to_toml: String, + flag_noinfer_lock_file: Option, + flag_output_file: Option, + flag_pretty_print: bool, +} + +#[derive(Debug)] +struct ValidatedOptions { + path_to_toml: String, + infer_lock_file: bool, + pretty_print: bool, + output_file_opt: Option, +} + +const USAGE: &'static str = r#" +Loads and serializes metadata for a provided Cargo.toml + +Usage: + dump_metadata [options] + +Options: + -h, --help Print this message + --noinfer-lock-file Disable inferring lock file from toml path + --pretty-print Whether or not to pretty-print the output + --output-file= A filepath to print the generated output to +"#; + +impl StdError for DumpError {} +impl fmt::Display for DumpError { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "dump_metadata failed with cause: \"{}\"", self.0) + } +} + +fn validate_opts(options: &Options) -> Result { + let mut infer_lock_file = true; + if options.flag_noinfer_lock_file.is_some() { + infer_lock_file = !options.flag_noinfer_lock_file.unwrap() // CHECKED above + } + + Ok(ValidatedOptions { + path_to_toml: options.arg_path_to_toml.clone(), + infer_lock_file: infer_lock_file, + pretty_print: options.flag_pretty_print.clone(), + output_file_opt: options.flag_output_file.clone(), + }) +} + +fn find_workspace_files(options: &ValidatedOptions) -> CargoResult { + let opt_toml_path = PathBuf::from(&options.path_to_toml); + + // Find abs path to toml + let abs_toml_path = if opt_toml_path.is_absolute() { + opt_toml_path.canonicalize()? + } else { + env::current_dir() + .map_err(|e| CargoError::from(DumpError(e.to_string())))? + .join(opt_toml_path) + .canonicalize()? + }; + + // Verify that toml file exists + { + File::open(&abs_toml_path).map_err(|e| { + CargoError::from(DumpError(format!( + "opening {:?}: {}", + abs_toml_path, + e.to_string() + ))) + })?; + } + + // Try to find an associated lock file + let mut abs_lock_path_opt = None; + if options.infer_lock_file { + let expected_abs_lock_path = abs_toml_path + .parent() + .unwrap() // CHECKED: Toml must live in a dir + .join("Cargo.lock"); + + if File::open(&abs_toml_path).is_ok() { + abs_lock_path_opt = Some(expected_abs_lock_path); + } + } + + Ok(CargoWorkspaceFiles { + toml_path: abs_toml_path, + lock_path_opt: abs_lock_path_opt, + }) +} + +fn dump_metadata(options: ValidatedOptions, cargo_config: &mut Config) -> CargoResult<()> { + let workspace_files = find_workspace_files(&options)?; + + let mut metadata_fetcher = CargoInternalsMetadataFetcher::new(&cargo_config); + let metadata = metadata_fetcher.fetch_metadata(workspace_files)?; + let output_text = if options.pretty_print { + serde_json::to_string_pretty(&metadata)? + } else { + serde_json::to_string(&metadata)? + }; + + if options.output_file_opt.is_none() { + println!("{}", output_text) + } else { + let output_file_path = options.output_file_opt.unwrap(); // CHECKED above + let mut file_out = File::create(&output_file_path)?; + file_out.write_all(output_text.as_bytes())?; + } + + Ok(()) +} + +fn real_main(validated_opts: ValidatedOptions, cargo_config: &mut Config) -> CliResult { + dump_metadata(validated_opts, cargo_config)?; + + Ok(()) +} + +fn make_cargo_config(validated_opts: &ValidatedOptions) -> CargoResult { + // Sets the config cwd based on the manifest path. This is sort of backwards, but we're emulating + // how cargo handles "manifest-path". + // + // N.B. Config does not expose a constructor that accepts cwd only, and does not allow + // overwriting cwd later, so we need to emulate `default` but use our own CWD + + let config_cwd = { + // CHECKED toml file must have dir (even if it's just ".") + PathBuf::from(&validated_opts.path_to_toml) + .parent() + .unwrap() + .to_path_buf() + }; + + let homedir = home::cargo_home_with_cwd(&config_cwd)?; + + Ok(Config::new(cargo::core::Shell::new(), config_cwd, homedir)) +} + +fn main() { + let opts: Options = Docopt::new(USAGE) + .and_then(|d| d.deserialize()) + .unwrap_or_else(|e| e.exit()); + let validated_opts = validate_opts(&opts).unwrap(); + + let mut config = make_cargo_config(&validated_opts).unwrap(); + + let result = real_main(validated_opts, &mut config); + + if let Err(e) = result { + cargo::exit_with_error(e, &mut *config.shell()); + } +} diff --git a/cargo/cargo_raze/tools/dump_metadata/src/lib.rs b/cargo/cargo_raze/tools/dump_metadata/src/lib.rs new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/cargo/cargo_raze/tools/dump_metadata/src/lib.rs @@ -0,0 +1 @@ + diff --git a/cargo/cargo_raze/tools/examples_repository.bzl b/cargo/cargo_raze/tools/examples_repository.bzl new file mode 100644 index 0000000000..678c4f2928 --- /dev/null +++ b/cargo/cargo_raze/tools/examples_repository.bzl @@ -0,0 +1,125 @@ +"""A module defining a repository rule that ensures the vendored examples have +actual vendored sources""" + +load("@rules_rust//rust:repositories.bzl", "load_arbitrary_tool") + +def _examples_dir(repository_ctx): + """Returns the path to the cargo-raze workspace root + + Args: + repository_ctx (repository_ctx): The current rule's context object + + Returns: + path: A path to the cargo-raze workspace root + """ + examples_cargo_raze_root = repository_ctx.path(repository_ctx.attr._script).dirname.dirname + return repository_ctx.path(str(examples_cargo_raze_root) + "/examples") + +EXECUTE_FAIL_MESSAGE = """\ +Failed to setup examples repository with exit code ({}). +--------stdout: +{} +--------stderr: +{} +""" + +def _examples_repository_impl(repository_ctx): + """Implementation of the `examples_repository` repository rule + + Args: + repository_ctx (repository_ctx): The current rule's context object + """ + + examples_dir = _examples_dir(repository_ctx) + + if repository_ctx.attr.target_triple: + target_triple = repository_ctx.attr.target_triple + elif "mac" in repository_ctx.os.name: + target_triple = "x86_64-apple-darwin" + elif "windows" in repository_ctx.os.name: + target_triple = "x86_64-pc-windows-msvc" + else: + target_triple = "x86_64-unknown-linux-gnu" + + # Download cargo + load_arbitrary_tool( + ctx = repository_ctx, + tool_name = "cargo", + tool_subdirectories = ["cargo"], + version = repository_ctx.attr.cargo_version, + iso_date = None, + target_triple = target_triple, + ) + + # Add example contents + for item in examples_dir.readdir(): + # Skip bazel output symlinks + if item.basename.startswith("bazel-"): + continue + repository_ctx.symlink(item, item.basename) + + if "windows" in repository_ctx.os.name: + vendor_script = repository_ctx.path(repository_ctx.attr._script_windows) + command = [vendor_script] + environment = { + "CARGO": "{}/bin/cargo".format(repository_ctx.path(".")).replace("/", "\\"), + "EXAMPLES_DIR": str(examples_dir).replace("/", "\\"), + } + else: + vendor_script = repository_ctx.path(repository_ctx.attr._script) + command = [ + vendor_script, + "vendor", + ] + environment = { + "CARGO": "{}/bin/cargo".format(repository_ctx.path(".")), + "EXAMPLES_DIR": str(examples_dir), + } + + # Vendor sources + repository_ctx.report_progress("Vendoring example sources") + results = repository_ctx.execute( + command, + environment = environment, + ) + + if results.return_code != 0: + fail(EXECUTE_FAIL_MESSAGE.format( + results.return_code, + results.stdout, + results.stderr, + )) + +_examples_repository = repository_rule( + implementation = _examples_repository_impl, + doc = "A rule for guaranteeing the Vendored examples have vendored source", + attrs = { + "cargo_version": attr.string( + doc = "The version of cargo to use", + default = "1.49.0", + ), + "target_triple": attr.string( + doc = "The target triple of the cargo binary to download", + ), + "_script": attr.label( + doc = ( + "A script containing the ability to vendor crates into examples. " + + "This script is also used to detect the path of the examples." + ), + default = Label("//tools:examples_repository_tools.sh"), + allow_single_file = True, + ), + "_script_windows": attr.label( + doc = "The windows equivilant of `_script`", + default = Label("//tools:examples_repository_tools.bat"), + allow_single_file = True, + ), + }, +) + +def examples_repository(): + """Defines the examples repository""" + + _examples_repository( + name = "cargo_raze_examples", + ) diff --git a/cargo/cargo_raze/tools/examples_repository_tools.bat b/cargo/cargo_raze/tools/examples_repository_tools.bat new file mode 100755 index 0000000000..d18b430198 --- /dev/null +++ b/cargo/cargo_raze/tools/examples_repository_tools.bat @@ -0,0 +1,39 @@ +@ECHO OFF +setlocal ENABLEDELAYEDEXPANSION +:: Windows only supports vendoring + +for /D %%i in (%EXAMPLES_DIR%\vendored\*) do ( + echo Vendoring Sources for %%i + + :: Make a temporary directory to save existing BUILD files into + echo Making temp dir + rmdir /Q /S %%i\.temp + mkdir %%i\.temp + + :: Save BUILD files + echo Saving BUILD files + pushd %%i\cargo\vendor + for /D %%s in (*) do ( + echo Saving %%s\BUILD.bazel to %%i\.temp\%%s\BUILD.bazel + mkdir "%%i\.temp\%%s" + copy /v /y /b "%%s\BUILD.bazel" "%%i\.temp\%%s\BUILD.bazel" + ) + popd + + :: Do vendoring + echo Vendoring + START /b /d %%i /wait %CARGO% vendor -q --versioned-dirs cargo\vendor + + :: Restore BUILD files + echo Restoring BUILD files + pushd %%i\.temp + for /D %%r in (*) do ( + echo Restoring %%r\BUILD.bazel to %%i\cargo\vendor\%%r\BUILD.bazel + copy /v /y /b "%%r\BUILD.bazel" "%%i\cargo\vendor\%%r\BUILD.bazel" + ) + popd + + :: Cleanup + rmdir /Q /S %%i\.temp + echo Done +) diff --git a/cargo/cargo_raze/tools/examples_repository_tools.sh b/cargo/cargo_raze/tools/examples_repository_tools.sh new file mode 100755 index 0000000000..0fa61d0293 --- /dev/null +++ b/cargo/cargo_raze/tools/examples_repository_tools.sh @@ -0,0 +1,88 @@ +#!/bin/bash + +if [[ -z "${BUILD_WORKSPACE_DIRECTORY}" ]]; then + SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + BUILD_WORKSPACE_DIRECTORY="$( dirname "${SCRIPT_DIR}")" +fi + +if [[ -z "${EXAMPLES_DIR}" ]]; then + EXAMPLES_DIR=${BUILD_WORKSPACE_DIRECTORY}/examples +fi + +# Ensure there's a cargo binary +if [[ -z "${CARGO}" ]]; then + CARGO="$(which cargo)" +fi + +_RENDERED_FILES=() + +# Helper function +function _cache_bazel_files() { + RENDERED_FILES=() + for filename in $(find $1 -name "*.bazel"); do + mkdir -p "$(dirname ${_TEMP_DIR}/${filename})" + cp "${filename}" "${_TEMP_DIR}/${filename}" + _RENDERED_FILES+=("${filename}") + done +} + +# Vendors crate sources for the vendored examples +function vendor() { + # Committed `Cargo.toml` files need to be preserved so a temp directory is + # created where they will be copied into and restored after `cargo vendor` + # is ran. + _TEMP_DIR=$(mktemp -d -t cargo_raze_examples_vendored-XXXXXXXXXX) + + for ex in $(find $EXAMPLES_DIR/vendored -maxdepth 1 -type d | tail -n+2); do + pushd "$ex" + echo "Running Cargo Vendor for $(basename "$ex")" + + # First log all bazel files in the vendor path + _cache_bazel_files "$ex/cargo/vendor" + + # Vendor all crates + ${CARGO} vendor -q --versioned-dirs "$ex/cargo/vendor" + + # Write the bazel files back in place + for filename in "${_RENDERED_FILES[@]}"; do + cat "${_TEMP_DIR}/${filename}" > "${filename}" + done + popd + done + + rm -rf "${TEMP_DIR}" +} + +# Update the examples by running cargo-raze on them +function raze() { + if [[ -z "${RAZE}" ]]; then + RAZE="$1" + fi + + # Vendor sources + vendor + + # Regenerate all outputs + MANIFESTS=$(find $EXAMPLES_DIR -mindepth 2 -maxdepth 2 -type d) + for manifest in ${MANIFESTS[@]}; do + echo "Running raze on ${manifest}" + ${RAZE} --manifest-path=${manifest}/Cargo.toml + done +} + +# Ensures cargo-raze examples are up to date. +function check() { + RAZE="$1" + raze + + # Ensure there's no diff + pushd ${BUILD_WORKSPACE_DIRECTORY} + if [ -n "$(git status --porcelain examples)" ]; then + echo '/examples is out of date. Please rerun all tests and commit the changes generated from this command' >&2 + exit 1 + fi + popd +} + +set -e +$@ diff --git a/cargo/cargo_raze/tools/publish-new-version.sh b/cargo/cargo_raze/tools/publish-new-version.sh new file mode 100755 index 0000000000..7f65fb10ae --- /dev/null +++ b/cargo/cargo_raze/tools/publish-new-version.sh @@ -0,0 +1,91 @@ +#!/usr/bin/env bash + +# publish-new-version.sh +# EXAMPLE USAGE: publish-new-version.sh 0.1.1 +# +# This script accepts a desired new crate version as an argument and updates +# the Cargo.toml version of the repository to the given version, builds the +# crate, commits the changes, publishes the crate, and then pushes the crate +# to github. +# +# The script performs some types of sanity checking, but in general you should +# read and understand this script before running it. +# +# This script assumes that your git upstream is called "origin". + +set -eu + +command_exists() { + command -v "$1" >/dev/null 2>&1 || ( echo "Command \`$1\` isn't available. Please install before continuing."; exit 1 ) +} + +update_cargo_toml_version() { + crate_version=$1 + sed -i "s/^version =.*/version = \"${crate_version}\"/g" Cargo.toml +} + +cargo_build_crate() { + # Build so that our `Cargo.lock` gets updated (before we commit). + cargo build --release +} + +git_commit_changes() { + crate_version=$1 + git add . && git commit -m "Up to ${crate_version} [via publish-new-version.sh]" +} + +git_last_commit() { + echo "$(git rev-parse --short HEAD)" +} + +git_tag_commit_with_version() { + last_commit_hash=$1 + crate_version=$2 + git tag "v${crate_version}" "${last_commit_hash}" +} + +cargo_publish_crate() { + cargo publish +} + +git_push_changes_and_tags() { + git push origin master && git push origin --tags +} + +publish_crate_version() { + crate_version=$1 + update_cargo_toml_version "${crate_version}" + cargo_build_crate + git_commit_changes "${crate_version}" + last_commit_hash=$(git_last_commit) + git_tag_commit_with_version "${last_commit_hash}" "${crate_version}" + cargo_publish_crate + git_push_changes_and_tags +} + +command_exists "cargo" + +NEXT_CRATE_VERSION=$1 +if [[ -z "${NEXT_CRATE_VERSION+x}" ]] +then + echo "A version argument must be provided, of the form X.Y.Z." + echo "Example Usage: ./publish-new-version.sh 0.1.1" + exit 1 +fi + +if ! [[ -z "$(git status --porcelain)" ]]; then + echo "Working directory is not clean. Commit pending changes before running command." + exit 1 +fi + +if [[ -z "${BUILD_WORKSPACE_DIRECTORY+x}" ]]; then + SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + REPO_ROOT="$(dirname $SCRIPT_DIR)" +else + REPO_ROOT="${BUILD_WORKSPACE_DIRECTORY}" +fi + +pushd "${REPO_ROOT}/impl" +set -x +publish_crate_version "${NEXT_CRATE_VERSION}" +popd