Replace rust rules with new prost and tonic rules
This commit is contained in:
parent
cbdb484f0f
commit
0830cf211c
|
@ -549,10 +549,10 @@ tasks:
|
|||
shell_commands:
|
||||
- set -x
|
||||
- export CC=clang
|
||||
- make rust_rust_proto_compile_example
|
||||
- make rust_rust_grpc_compile_example
|
||||
- make rust_rust_proto_library_example
|
||||
- make rust_rust_grpc_library_example
|
||||
- make rust_rust_prost_proto_compile_example
|
||||
- make rust_rust_tonic_grpc_compile_example
|
||||
- make rust_rust_prost_proto_library_example
|
||||
- make rust_rust_tonic_grpc_library_example
|
||||
|
||||
scala_ubuntu2204_examples:
|
||||
name: scala examples
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
build --compilation_mode=opt
|
||||
build --strip=never
|
||||
|
||||
build --experimental_proto_descriptor_sets_include_source_info
|
|
@ -0,0 +1 @@
|
|||
6.0.0
|
13
Makefile
13
Makefile
|
@ -18,13 +18,10 @@ buildifier:
|
|||
bazel run //tools:buildifier
|
||||
|
||||
|
||||
# Run cargo raze on the rust dependencies
|
||||
.PHONY: rust_raze
|
||||
rust_raze:
|
||||
cd rust/raze; \
|
||||
rm Cargo.raze.lock || true; \
|
||||
rm -r remote; \
|
||||
cargo raze;
|
||||
# Run crate_universe to update the rust dependencies
|
||||
.PHONY: rust_crates_vendor
|
||||
rust_crates_vendor:
|
||||
bazel run //rust:crates_vendor -- --repin
|
||||
|
||||
|
||||
# Run yarn to upgrade the js dependencies
|
||||
|
@ -66,7 +63,7 @@ fsharp_regenerate_packages:
|
|||
|
||||
# Run all language specific updates
|
||||
.PHONY: all_updates
|
||||
all_updates: rust_raze yarn_upgrade ruby_bundle_upgrade pip_compile csharp_regenerate_packages fsharp_regenerate_packages
|
||||
all_updates: rust_crates_vendor yarn_upgrade ruby_bundle_upgrade pip_compile csharp_regenerate_packages fsharp_regenerate_packages
|
||||
|
||||
|
||||
# Pull in auto-generated examples makefile
|
||||
|
|
|
@ -103,10 +103,10 @@ Full documentation for the current and previous versions [can be found here](htt
|
|||
| [Ruby](https://rules-proto-grpc.com/en/latest/lang/ruby.html) | [ruby_grpc_compile](https://rules-proto-grpc.com/en/latest/lang/ruby.html#ruby-grpc-compile) | Generates Ruby protobuf and gRPC ``.rb`` files ([example](/example/ruby/ruby_grpc_compile)) |
|
||||
| [Ruby](https://rules-proto-grpc.com/en/latest/lang/ruby.html) | [ruby_proto_library](https://rules-proto-grpc.com/en/latest/lang/ruby.html#ruby-proto-library) | Generates a Ruby protobuf library using ``ruby_library`` from ``rules_ruby`` ([example](/example/ruby/ruby_proto_library)) |
|
||||
| [Ruby](https://rules-proto-grpc.com/en/latest/lang/ruby.html) | [ruby_grpc_library](https://rules-proto-grpc.com/en/latest/lang/ruby.html#ruby-grpc-library) | Generates a Ruby protobuf and gRPC library using ``ruby_library`` from ``rules_ruby`` ([example](/example/ruby/ruby_grpc_library)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_proto_compile](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-proto-compile) | Generates Rust protobuf ``.rs`` files ([example](/example/rust/rust_proto_compile)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_grpc_compile](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-grpc-compile) | Generates Rust protobuf and gRPC ``.rs`` files ([example](/example/rust/rust_grpc_compile)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_proto_library](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-proto-library) | Generates a Rust protobuf library using ``rust_library`` from ``rules_rust`` ([example](/example/rust/rust_proto_library)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_grpc_library](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-grpc-library) | Generates a Rust protobuf and gRPC library using ``rust_library`` from ``rules_rust`` ([example](/example/rust/rust_grpc_library)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_prost_proto_compile](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-prost-proto-compile) | Generates Rust protobuf ``.rs`` files using prost ([example](/example/rust/rust_prost_proto_compile)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_tonic_grpc_compile](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-tonic-grpc-compile) | Generates Rust protobuf and gRPC ``.rs`` files using prost and tonic ([example](/example/rust/rust_tonic_grpc_compile)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_prost_proto_library](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-prost-proto-library) | Generates a Rust prost protobuf library using ``rust_library`` from ``rules_rust`` ([example](/example/rust/rust_prost_proto_library)) |
|
||||
| [Rust](https://rules-proto-grpc.com/en/latest/lang/rust.html) | [rust_tonic_grpc_library](https://rules-proto-grpc.com/en/latest/lang/rust.html#rust-tonic-grpc-library) | Generates a Rust prost protobuf and tonic gRPC library using ``rust_library`` from ``rules_rust`` ([example](/example/rust/rust_tonic_grpc_library)) |
|
||||
| [Scala](https://rules-proto-grpc.com/en/latest/lang/scala.html) | [scala_proto_compile](https://rules-proto-grpc.com/en/latest/lang/scala.html#scala-proto-compile) | Generates a Scala protobuf ``.jar`` file ([example](/example/scala/scala_proto_compile)) |
|
||||
| [Scala](https://rules-proto-grpc.com/en/latest/lang/scala.html) | [scala_grpc_compile](https://rules-proto-grpc.com/en/latest/lang/scala.html#scala-grpc-compile) | Generates Scala protobuf and gRPC ``.jar`` file ([example](/example/scala/scala_grpc_compile)) |
|
||||
| [Scala](https://rules-proto-grpc.com/en/latest/lang/scala.html) | [scala_proto_library](https://rules-proto-grpc.com/en/latest/lang/scala.html#scala-proto-library) | Generates a Scala protobuf library using ``scala_library`` from ``rules_scala`` ([example](/example/scala/scala_proto_library)) |
|
||||
|
|
|
@ -277,6 +277,14 @@ rules_rust_dependencies()
|
|||
|
||||
rust_register_toolchains(edition = "2021")
|
||||
|
||||
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
|
||||
|
||||
crate_universe_dependencies(bootstrap = True)
|
||||
|
||||
load("//rust/crates:crates.bzl", "crate_repositories")
|
||||
|
||||
crate_repositories()
|
||||
|
||||
#
|
||||
# Scala
|
||||
#
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Rust
|
||||
====
|
||||
|
||||
Rules for generating Rust protobuf and gRPC ``.rs`` files and libraries using `rust-protobuf <https://github.com/stepancheg/rust-protobuf>`_ and `grpc <https://github.com/stepancheg/grpc-rust>`_. Libraries are created with ``rust_library`` from `rules_rust <https://github.com/bazelbuild/rules_rust>`_.
|
||||
Rules for generating Rust protobuf and gRPC ``.rs`` files and libraries using `prost <https://github.com/tokio-rs/prost>`_ and `tonic <https://github.com/hyperium/tonic>`_. Libraries are created with ``rust_library`` from `rules_rust <https://github.com/bazelbuild/rules_rust>`_. Requires ``--experimental_proto_descriptor_sets_include_source_info`` to be set for the build.
|
||||
|
||||
.. list-table:: Rules
|
||||
:widths: 1 2
|
||||
|
@ -14,26 +14,26 @@ Rules for generating Rust protobuf and gRPC ``.rs`` files and libraries using `r
|
|||
|
||||
* - Rule
|
||||
- Description
|
||||
* - `rust_proto_compile`_
|
||||
- Generates Rust protobuf ``.rs`` files
|
||||
* - `rust_grpc_compile`_
|
||||
- Generates Rust protobuf and gRPC ``.rs`` files
|
||||
* - `rust_proto_library`_
|
||||
- Generates a Rust protobuf library using ``rust_library`` from ``rules_rust``
|
||||
* - `rust_grpc_library`_
|
||||
- Generates a Rust protobuf and gRPC library using ``rust_library`` from ``rules_rust``
|
||||
* - `rust_prost_proto_compile`_
|
||||
- Generates Rust protobuf ``.rs`` files using prost
|
||||
* - `rust_tonic_grpc_compile`_
|
||||
- Generates Rust protobuf and gRPC ``.rs`` files using prost and tonic
|
||||
* - `rust_prost_proto_library`_
|
||||
- Generates a Rust prost protobuf library using ``rust_library`` from ``rules_rust``
|
||||
* - `rust_tonic_grpc_library`_
|
||||
- Generates a Rust prost protobuf and tonic gRPC library using ``rust_library`` from ``rules_rust``
|
||||
|
||||
.. _rust_proto_compile:
|
||||
.. _rust_prost_proto_compile:
|
||||
|
||||
rust_proto_compile
|
||||
------------------
|
||||
rust_prost_proto_compile
|
||||
------------------------
|
||||
|
||||
Generates Rust protobuf ``.rs`` files
|
||||
Generates Rust protobuf ``.rs`` files using prost
|
||||
|
||||
Example
|
||||
*******
|
||||
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_proto_compile>`__
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_prost_proto_compile>`__
|
||||
|
||||
``WORKSPACE``
|
||||
^^^^^^^^^^^^^
|
||||
|
@ -59,19 +59,19 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_proto_compile")
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_compile")
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "person_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:person_proto"],
|
||||
)
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "place_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:place_proto"],
|
||||
)
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "thing_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:thing_proto"],
|
||||
)
|
||||
|
@ -79,7 +79,7 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
Attributes
|
||||
**********
|
||||
|
||||
.. list-table:: Attributes for rust_proto_compile
|
||||
.. list-table:: Attributes for rust_prost_proto_compile
|
||||
:widths: 1 1 1 1 4
|
||||
:header-rows: 1
|
||||
|
||||
|
@ -127,19 +127,20 @@ Attributes
|
|||
Plugins
|
||||
*******
|
||||
|
||||
- `@rules_proto_grpc//rust:rust_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:rust_prost_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:rust_crate_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
|
||||
.. _rust_grpc_compile:
|
||||
.. _rust_tonic_grpc_compile:
|
||||
|
||||
rust_grpc_compile
|
||||
-----------------
|
||||
rust_tonic_grpc_compile
|
||||
-----------------------
|
||||
|
||||
Generates Rust protobuf and gRPC ``.rs`` files
|
||||
Generates Rust protobuf and gRPC ``.rs`` files using prost and tonic
|
||||
|
||||
Example
|
||||
*******
|
||||
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_grpc_compile>`__
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_tonic_grpc_compile>`__
|
||||
|
||||
``WORKSPACE``
|
||||
^^^^^^^^^^^^^
|
||||
|
@ -165,14 +166,14 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_grpc_compile")
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_compile")
|
||||
|
||||
rust_grpc_compile(
|
||||
rust_tonic_grpc_compile(
|
||||
name = "thing_rust_grpc",
|
||||
protos = ["@rules_proto_grpc//example/proto:thing_proto"],
|
||||
)
|
||||
|
||||
rust_grpc_compile(
|
||||
rust_tonic_grpc_compile(
|
||||
name = "greeter_rust_grpc",
|
||||
protos = ["@rules_proto_grpc//example/proto:greeter_grpc"],
|
||||
)
|
||||
|
@ -180,7 +181,7 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
Attributes
|
||||
**********
|
||||
|
||||
.. list-table:: Attributes for rust_grpc_compile
|
||||
.. list-table:: Attributes for rust_tonic_grpc_compile
|
||||
:widths: 1 1 1 1 4
|
||||
:header-rows: 1
|
||||
|
||||
|
@ -228,20 +229,21 @@ Attributes
|
|||
Plugins
|
||||
*******
|
||||
|
||||
- `@rules_proto_grpc//rust:rust_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:grpc_rust_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:rust_prost_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:rust_tonic_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
- `@rules_proto_grpc//rust:rust_crate_plugin <https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/rust/BUILD.bazel>`__
|
||||
|
||||
.. _rust_proto_library:
|
||||
.. _rust_prost_proto_library:
|
||||
|
||||
rust_proto_library
|
||||
------------------
|
||||
rust_prost_proto_library
|
||||
------------------------
|
||||
|
||||
Generates a Rust protobuf library using ``rust_library`` from ``rules_rust``
|
||||
Generates a Rust prost protobuf library using ``rust_library`` from ``rules_rust``
|
||||
|
||||
Example
|
||||
*******
|
||||
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_proto_library>`__
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_prost_proto_library>`__
|
||||
|
||||
``WORKSPACE``
|
||||
^^^^^^^^^^^^^
|
||||
|
@ -267,10 +269,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_proto_library")
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_library")
|
||||
|
||||
rust_proto_library(
|
||||
name = "proto_rust_proto",
|
||||
rust_prost_proto_library(
|
||||
name = "proto_rust_prost_proto",
|
||||
protos = [
|
||||
"@rules_proto_grpc//example/proto:person_proto",
|
||||
"@rules_proto_grpc//example/proto:place_proto",
|
||||
|
@ -281,7 +283,7 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
Attributes
|
||||
**********
|
||||
|
||||
.. list-table:: Attributes for rust_proto_library
|
||||
.. list-table:: Attributes for rust_prost_proto_library
|
||||
:widths: 1 1 1 1 4
|
||||
:header-rows: 1
|
||||
|
||||
|
@ -330,18 +332,28 @@ Attributes
|
|||
- false
|
||||
- ``[]``
|
||||
- List of labels to pass as deps attr to underlying lang_library rule
|
||||
* - ``prost_deps``
|
||||
- ``label_list``
|
||||
- false
|
||||
- ``["//rust/crates:prost", "//rust/crates:prost-types"]``
|
||||
- The prost dependencies that the rust library should depend on.
|
||||
* - ``prost_derive_dep``
|
||||
- ``label``
|
||||
- false
|
||||
- ``//rust/crates:prost-derive``
|
||||
- The prost-derive dependency that the rust library should depend on.
|
||||
|
||||
.. _rust_grpc_library:
|
||||
.. _rust_tonic_grpc_library:
|
||||
|
||||
rust_grpc_library
|
||||
-----------------
|
||||
rust_tonic_grpc_library
|
||||
-----------------------
|
||||
|
||||
Generates a Rust protobuf and gRPC library using ``rust_library`` from ``rules_rust``
|
||||
Generates a Rust prost protobuf and tonic gRPC library using ``rust_library`` from ``rules_rust``
|
||||
|
||||
Example
|
||||
*******
|
||||
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_grpc_library>`__
|
||||
Full example project can be found `here <https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/example/rust/rust_tonic_grpc_library>`__
|
||||
|
||||
``WORKSPACE``
|
||||
^^^^^^^^^^^^^
|
||||
|
@ -367,10 +379,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_grpc_library")
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_library")
|
||||
|
||||
rust_grpc_library(
|
||||
name = "greeter_rust_grpc",
|
||||
rust_tonic_grpc_library(
|
||||
name = "greeter_rust_tonic_grpc",
|
||||
protos = [
|
||||
"@rules_proto_grpc//example/proto:greeter_grpc",
|
||||
"@rules_proto_grpc//example/proto:thing_proto",
|
||||
|
@ -380,7 +392,7 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
|
|||
Attributes
|
||||
**********
|
||||
|
||||
.. list-table:: Attributes for rust_grpc_library
|
||||
.. list-table:: Attributes for rust_tonic_grpc_library
|
||||
:widths: 1 1 1 1 4
|
||||
:header-rows: 1
|
||||
|
||||
|
@ -429,3 +441,18 @@ Attributes
|
|||
- false
|
||||
- ``[]``
|
||||
- List of labels to pass as deps attr to underlying lang_library rule
|
||||
* - ``prost_deps``
|
||||
- ``label_list``
|
||||
- false
|
||||
- ``["//rust/crates:prost", "//rust/crates:prost-types"]``
|
||||
- The prost dependencies that the rust library should depend on.
|
||||
* - ``prost_derive_dep``
|
||||
- ``label``
|
||||
- false
|
||||
- ``//rust/crates:prost-derive``
|
||||
- The prost-derive dependency that the rust library should depend on.
|
||||
* - ``tonic_dep``
|
||||
- ``label``
|
||||
- false
|
||||
- ``//rust/crates:tonic``
|
||||
- The tonic dependency that the rust library should depend on.
|
||||
|
|
|
@ -356,28 +356,28 @@ ruby_ruby_grpc_library_example:
|
|||
.PHONY: ruby_examples
|
||||
ruby_examples: ruby_ruby_proto_compile_example ruby_ruby_grpc_compile_example ruby_ruby_proto_library_example ruby_ruby_grpc_library_example
|
||||
|
||||
.PHONY: rust_rust_proto_compile_example
|
||||
rust_rust_proto_compile_example:
|
||||
cd example/rust/rust_proto_compile; \
|
||||
.PHONY: rust_rust_prost_proto_compile_example
|
||||
rust_rust_prost_proto_compile_example:
|
||||
cd example/rust/rust_prost_proto_compile; \
|
||||
bazel --batch build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 ${BAZEL_EXTRA_FLAGS} --verbose_failures --disk_cache=../../bazel-disk-cache //...
|
||||
|
||||
.PHONY: rust_rust_grpc_compile_example
|
||||
rust_rust_grpc_compile_example:
|
||||
cd example/rust/rust_grpc_compile; \
|
||||
.PHONY: rust_rust_tonic_grpc_compile_example
|
||||
rust_rust_tonic_grpc_compile_example:
|
||||
cd example/rust/rust_tonic_grpc_compile; \
|
||||
bazel --batch build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 ${BAZEL_EXTRA_FLAGS} --verbose_failures --disk_cache=../../bazel-disk-cache //...
|
||||
|
||||
.PHONY: rust_rust_proto_library_example
|
||||
rust_rust_proto_library_example:
|
||||
cd example/rust/rust_proto_library; \
|
||||
.PHONY: rust_rust_prost_proto_library_example
|
||||
rust_rust_prost_proto_library_example:
|
||||
cd example/rust/rust_prost_proto_library; \
|
||||
bazel --batch build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 ${BAZEL_EXTRA_FLAGS} --verbose_failures --disk_cache=../../bazel-disk-cache //...
|
||||
|
||||
.PHONY: rust_rust_grpc_library_example
|
||||
rust_rust_grpc_library_example:
|
||||
cd example/rust/rust_grpc_library; \
|
||||
.PHONY: rust_rust_tonic_grpc_library_example
|
||||
rust_rust_tonic_grpc_library_example:
|
||||
cd example/rust/rust_tonic_grpc_library; \
|
||||
bazel --batch build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 ${BAZEL_EXTRA_FLAGS} --verbose_failures --disk_cache=../../bazel-disk-cache //...
|
||||
|
||||
.PHONY: rust_examples
|
||||
rust_examples: rust_rust_proto_compile_example rust_rust_grpc_compile_example rust_rust_proto_library_example rust_rust_grpc_library_example
|
||||
rust_examples: rust_rust_prost_proto_compile_example rust_rust_tonic_grpc_compile_example rust_rust_prost_proto_library_example rust_rust_tonic_grpc_library_example
|
||||
|
||||
.PHONY: scala_scala_proto_compile_example
|
||||
scala_scala_proto_compile_example:
|
||||
|
@ -426,4 +426,4 @@ swift_swift_grpc_library_example:
|
|||
swift_examples: swift_swift_proto_compile_example swift_swift_grpc_compile_example swift_swift_proto_library_example swift_swift_grpc_library_example
|
||||
|
||||
.PHONY: all_examples
|
||||
all_examples: android_android_proto_compile_example android_android_grpc_compile_example android_android_proto_library_example android_android_grpc_library_example buf_buf_proto_breaking_test_example buf_buf_proto_lint_test_example c_c_proto_compile_example c_c_proto_library_example cpp_cpp_proto_compile_example cpp_cpp_grpc_compile_example cpp_cpp_proto_library_example cpp_cpp_grpc_library_example csharp_csharp_proto_compile_example csharp_csharp_grpc_compile_example csharp_csharp_proto_library_example csharp_csharp_grpc_library_example d_d_proto_compile_example d_d_proto_library_example doc_doc_docbook_compile_example doc_doc_html_compile_example doc_doc_json_compile_example doc_doc_markdown_compile_example doc_doc_template_compile_example fsharp_fsharp_proto_compile_example fsharp_fsharp_grpc_compile_example fsharp_fsharp_proto_library_example fsharp_fsharp_grpc_library_example go_go_proto_compile_example go_go_grpc_compile_example go_go_validate_compile_example go_go_proto_library_example go_go_grpc_library_example go_go_validate_library_example grpc-gateway_gateway_grpc_compile_example grpc-gateway_gateway_openapiv2_compile_example grpc-gateway_gateway_grpc_library_example java_java_proto_compile_example java_java_grpc_compile_example java_java_proto_library_example java_java_grpc_library_example js_js_proto_compile_example js_js_grpc_node_compile_example js_js_grpc_web_compile_example js_js_proto_library_example js_js_grpc_node_library_example js_js_grpc_web_library_example objc_objc_proto_compile_example objc_objc_grpc_compile_example objc_objc_proto_library_example objc_objc_grpc_library_example php_php_proto_compile_example php_php_grpc_compile_example python_python_proto_compile_example python_python_grpc_compile_example python_python_grpclib_compile_example python_python_proto_library_example python_python_grpc_library_example python_python_grpclib_library_example ruby_ruby_proto_compile_example ruby_ruby_grpc_compile_example ruby_ruby_proto_library_example ruby_ruby_grpc_library_example rust_rust_proto_compile_example rust_rust_grpc_compile_example rust_rust_proto_library_example rust_rust_grpc_library_example scala_scala_proto_compile_example scala_scala_grpc_compile_example scala_scala_proto_library_example scala_scala_grpc_library_example swift_swift_proto_compile_example swift_swift_grpc_compile_example swift_swift_proto_library_example swift_swift_grpc_library_example
|
||||
all_examples: android_android_proto_compile_example android_android_grpc_compile_example android_android_proto_library_example android_android_grpc_library_example buf_buf_proto_breaking_test_example buf_buf_proto_lint_test_example c_c_proto_compile_example c_c_proto_library_example cpp_cpp_proto_compile_example cpp_cpp_grpc_compile_example cpp_cpp_proto_library_example cpp_cpp_grpc_library_example csharp_csharp_proto_compile_example csharp_csharp_grpc_compile_example csharp_csharp_proto_library_example csharp_csharp_grpc_library_example d_d_proto_compile_example d_d_proto_library_example doc_doc_docbook_compile_example doc_doc_html_compile_example doc_doc_json_compile_example doc_doc_markdown_compile_example doc_doc_template_compile_example fsharp_fsharp_proto_compile_example fsharp_fsharp_grpc_compile_example fsharp_fsharp_proto_library_example fsharp_fsharp_grpc_library_example go_go_proto_compile_example go_go_grpc_compile_example go_go_validate_compile_example go_go_proto_library_example go_go_grpc_library_example go_go_validate_library_example grpc-gateway_gateway_grpc_compile_example grpc-gateway_gateway_openapiv2_compile_example grpc-gateway_gateway_grpc_library_example java_java_proto_compile_example java_java_grpc_compile_example java_java_proto_library_example java_java_grpc_library_example js_js_proto_compile_example js_js_grpc_node_compile_example js_js_grpc_web_compile_example js_js_proto_library_example js_js_grpc_node_library_example js_js_grpc_web_library_example objc_objc_proto_compile_example objc_objc_grpc_compile_example objc_objc_proto_library_example objc_objc_grpc_library_example php_php_proto_compile_example php_php_grpc_compile_example python_python_proto_compile_example python_python_grpc_compile_example python_python_grpclib_compile_example python_python_proto_library_example python_python_grpc_library_example python_python_grpclib_library_example ruby_ruby_proto_compile_example ruby_ruby_grpc_compile_example ruby_ruby_proto_library_example ruby_ruby_grpc_library_example rust_rust_prost_proto_compile_example rust_rust_tonic_grpc_compile_example rust_rust_prost_proto_library_example rust_rust_tonic_grpc_library_example scala_scala_proto_compile_example scala_scala_grpc_compile_example scala_scala_proto_library_example scala_scala_grpc_library_example swift_swift_proto_compile_example swift_swift_grpc_compile_example swift_swift_proto_library_example swift_swift_grpc_library_example
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
load("@rules_proto_grpc//rust:defs.bzl", "rust_proto_compile")
|
||||
load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_compile")
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "person_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:person_proto"],
|
||||
)
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "place_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:place_proto"],
|
||||
)
|
||||
|
||||
rust_proto_compile(
|
||||
rust_prost_proto_compile(
|
||||
name = "thing_rust_proto",
|
||||
protos = ["@rules_proto_grpc//example/proto:thing_proto"],
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_library")
|
||||
|
||||
rust_prost_proto_library(
|
||||
name = "proto_rust_prost_proto",
|
||||
protos = [
|
||||
"@rules_proto_grpc//example/proto:person_proto",
|
||||
"@rules_proto_grpc//example/proto:place_proto",
|
||||
"@rules_proto_grpc//example/proto:thing_proto",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,30 @@
|
|||
local_repository(
|
||||
name = "rules_proto_grpc",
|
||||
path = "../../../",
|
||||
)
|
||||
|
||||
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains")
|
||||
|
||||
rules_proto_grpc_toolchains()
|
||||
|
||||
rules_proto_grpc_repos()
|
||||
|
||||
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
|
||||
|
||||
rules_proto_dependencies()
|
||||
|
||||
rules_proto_toolchains()
|
||||
|
||||
load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos")
|
||||
|
||||
rules_proto_grpc_rust_repos()
|
||||
|
||||
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
|
||||
|
||||
grpc_deps()
|
||||
|
||||
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
||||
|
||||
rules_rust_dependencies()
|
||||
|
||||
rust_register_toolchains(edition = "2021")
|
|
@ -0,0 +1,11 @@
|
|||
load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_compile")
|
||||
|
||||
rust_tonic_grpc_compile(
|
||||
name = "thing_rust_grpc",
|
||||
protos = ["@rules_proto_grpc//example/proto:thing_proto"],
|
||||
)
|
||||
|
||||
rust_tonic_grpc_compile(
|
||||
name = "greeter_rust_grpc",
|
||||
protos = ["@rules_proto_grpc//example/proto:greeter_grpc"],
|
||||
)
|
|
@ -0,0 +1,30 @@
|
|||
local_repository(
|
||||
name = "rules_proto_grpc",
|
||||
path = "../../../",
|
||||
)
|
||||
|
||||
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains")
|
||||
|
||||
rules_proto_grpc_toolchains()
|
||||
|
||||
rules_proto_grpc_repos()
|
||||
|
||||
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
|
||||
|
||||
rules_proto_dependencies()
|
||||
|
||||
rules_proto_toolchains()
|
||||
|
||||
load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos")
|
||||
|
||||
rules_proto_grpc_rust_repos()
|
||||
|
||||
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
|
||||
|
||||
grpc_deps()
|
||||
|
||||
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
||||
|
||||
rules_rust_dependencies()
|
||||
|
||||
rust_register_toolchains(edition = "2021")
|
|
@ -0,0 +1,9 @@
|
|||
load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_library")
|
||||
|
||||
rust_tonic_grpc_library(
|
||||
name = "greeter_rust_tonic_grpc",
|
||||
protos = [
|
||||
"@rules_proto_grpc//example/proto:greeter_grpc",
|
||||
"@rules_proto_grpc//example/proto:thing_proto",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,30 @@
|
|||
local_repository(
|
||||
name = "rules_proto_grpc",
|
||||
path = "../../../",
|
||||
)
|
||||
|
||||
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains")
|
||||
|
||||
rules_proto_grpc_toolchains()
|
||||
|
||||
rules_proto_grpc_repos()
|
||||
|
||||
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
|
||||
|
||||
rules_proto_dependencies()
|
||||
|
||||
rules_proto_toolchains()
|
||||
|
||||
load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos")
|
||||
|
||||
rules_proto_grpc_rust_repos()
|
||||
|
||||
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
|
||||
|
||||
grpc_deps()
|
||||
|
||||
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
||||
|
||||
rules_rust_dependencies()
|
||||
|
||||
rust_register_toolchains(edition = "2021")
|
|
@ -1,42 +1,5 @@
|
|||
"""Common generic rules used by rules_proto_grpc."""
|
||||
|
||||
_rust_keywords = [
|
||||
"as",
|
||||
"break",
|
||||
"const",
|
||||
"continue",
|
||||
"crate",
|
||||
"else",
|
||||
"enum",
|
||||
"extern",
|
||||
"false",
|
||||
"fn",
|
||||
"for",
|
||||
"if",
|
||||
"impl",
|
||||
"let",
|
||||
"loop",
|
||||
"match",
|
||||
"mod",
|
||||
"move",
|
||||
"mut",
|
||||
"pub",
|
||||
"ref",
|
||||
"return",
|
||||
"self",
|
||||
"Self",
|
||||
"static",
|
||||
"struct",
|
||||
"super",
|
||||
"trait",
|
||||
"true",
|
||||
"type",
|
||||
"unsafe",
|
||||
"use",
|
||||
"where",
|
||||
"while",
|
||||
]
|
||||
|
||||
_objc_upper_segments = {
|
||||
"url": "URL",
|
||||
"http": "HTTP",
|
||||
|
@ -136,19 +99,6 @@ def pascal_case(s):
|
|||
"""
|
||||
return "".join([capitalize(part) for part in s.split("_")])
|
||||
|
||||
def rust_keyword(s):
|
||||
"""
|
||||
Check if arg is a rust keyword and append '_pb' if true.
|
||||
|
||||
Args:
|
||||
s (string): The input string to be capitalized.
|
||||
|
||||
Returns:
|
||||
(string): The appended string.
|
||||
|
||||
"""
|
||||
return s + "_pb" if s in _rust_keywords else s
|
||||
|
||||
def python_path(s):
|
||||
"""
|
||||
Convert a path string to a python import compatible path as is generated by the python plugin.
|
||||
|
@ -245,10 +195,6 @@ def get_output_filename(src_file, pattern, proto_info):
|
|||
protopath_partitions[0],
|
||||
pascal_objc(protopath_partitions[2]),
|
||||
]))
|
||||
elif "{basename|rust_keyword}" in pattern:
|
||||
filename = pattern.replace("{basename|rust_keyword}", rust_keyword(basename))
|
||||
elif "{protopath|rust_keyword}" in pattern:
|
||||
filename = pattern.replace("{basename|rust_keyword}", rust_keyword(protopath))
|
||||
else:
|
||||
filename += basename + pattern
|
||||
|
||||
|
|
|
@ -254,11 +254,9 @@ VERSIONS = {
|
|||
|
||||
# Rust
|
||||
"rules_rust": {
|
||||
"type": "github",
|
||||
"org": "bazelbuild",
|
||||
"repo": "rules_rust",
|
||||
"ref": "0.14.0",
|
||||
"sha256": "2625a71dafa42fb63348bcb04498cb9e83be6ea0e99e0359863345dc1cfd65fb",
|
||||
"type": "http",
|
||||
"urls": ["https://github.com/bazelbuild/rules_rust/releases/download/0.16.1/rules_rust-v0.16.1.tar.gz"],
|
||||
"sha256": "aaaa4b9591a5dad8d8907ae2dbe6e0eb49e6314946ce4c7149241648e56a1277",
|
||||
},
|
||||
|
||||
# Scala
|
||||
|
|
131
rust/BUILD.bazel
131
rust/BUILD.bazel
|
@ -1,26 +1,135 @@
|
|||
load("//:defs.bzl", "proto_plugin")
|
||||
load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_vendor")
|
||||
|
||||
proto_plugin(
|
||||
name = "rust_plugin",
|
||||
name = "rust_prost_plugin",
|
||||
exclusions = [
|
||||
"google/protobuf",
|
||||
],
|
||||
# Use the proto basename and pipe the value to the rust_keyword function.
|
||||
# Ths function will append '_pb' if the basename is a rust keyword.
|
||||
outputs = ["{basename|rust_keyword}.rs"],
|
||||
tool = "//rust/raze:cargo_bin_protoc_gen_rust",
|
||||
options = ["file_descriptor_set"],
|
||||
output_directory = True,
|
||||
tool = "//rust/crates:protoc-gen-prost__protoc-gen-prost",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
proto_plugin(
|
||||
name = "grpc_rust_plugin",
|
||||
empty_template = "empty.template",
|
||||
name = "rust_tonic_plugin",
|
||||
exclusions = [
|
||||
"google/protobuf",
|
||||
],
|
||||
# Use the proto basename and pipe the value to the rust_keyword function.
|
||||
# Ths function will append '_pb' if the basename is a rust keyword.
|
||||
outputs = ["{basename|rust_keyword}_grpc.rs"],
|
||||
tool = "//rust/raze:cargo_bin_protoc_gen_rust_grpc",
|
||||
options = ["no_include"],
|
||||
output_directory = True,
|
||||
tool = "//rust/crates:protoc-gen-tonic__protoc-gen-tonic",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
proto_plugin(
|
||||
name = "rust_crate_plugin",
|
||||
exclusions = [
|
||||
"google/protobuf",
|
||||
],
|
||||
options = ["no_features"],
|
||||
output_directory = True,
|
||||
tool = "//rust/crates:protoc-gen-prost-crate__protoc-gen-prost-crate",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
sh_binary(
|
||||
name = "rust_fixer",
|
||||
srcs = ["rust_fixer.sh"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
crates_vendor(
|
||||
name = "crates_vendor",
|
||||
annotations = {
|
||||
"prost-build": [crate.annotation(
|
||||
build_script_env = {
|
||||
"PROTOC_NO_VENDOR": "true",
|
||||
"PROTOC": "$(execpath @com_google_protobuf//:protoc)",
|
||||
"PROTOC_INCLUDE": ".",
|
||||
},
|
||||
build_script_tools = ["@com_google_protobuf//:protoc"],
|
||||
)],
|
||||
},
|
||||
mode = "remote",
|
||||
packages = {
|
||||
"protoc-gen-prost": crate.spec(
|
||||
version = "0.2.1",
|
||||
),
|
||||
"protoc-gen-prost-crate": crate.spec(
|
||||
version = "0.3.1",
|
||||
),
|
||||
"protoc-gen-tonic": crate.spec(
|
||||
version = "0.2.1",
|
||||
),
|
||||
"prost": crate.spec(
|
||||
version = "0.11.6",
|
||||
),
|
||||
"prost-derive": crate.spec(
|
||||
version = "0.11.6",
|
||||
),
|
||||
"prost-types": crate.spec(
|
||||
version = "0.11.6",
|
||||
),
|
||||
"tonic": crate.spec(
|
||||
version = "0.8.2",
|
||||
),
|
||||
"tonic-build": crate.spec(
|
||||
version = "0.8.2",
|
||||
),
|
||||
|
||||
# routeguide example deps
|
||||
"serde": crate.spec(
|
||||
features = ["derive"],
|
||||
version = "1.0.152",
|
||||
),
|
||||
"serde_json": crate.spec(
|
||||
version = "1.0.91",
|
||||
),
|
||||
"rand": crate.spec(
|
||||
version = "0.8.5",
|
||||
),
|
||||
"tokio": crate.spec(
|
||||
version = "1.24.2",
|
||||
),
|
||||
"tokio-stream": crate.spec(
|
||||
version = "0.1.11",
|
||||
),
|
||||
"async-stream": crate.spec(
|
||||
version = "0.3.3",
|
||||
),
|
||||
"futures": crate.spec(
|
||||
version = "0.3.25",
|
||||
),
|
||||
},
|
||||
repository_name = "rules_proto_grpc_rust",
|
||||
supported_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",
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-apple-ios-sim",
|
||||
"aarch64-linux-android",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
"arm-unknown-linux-gnueabi",
|
||||
"armv7-unknown-linux-gnueabi",
|
||||
"armv7-linux-androideabi",
|
||||
"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",
|
||||
# "riscv32imc-unknown-none-elf", # disabled as @platforms doesn't have //cpu:riscv32 in the version embedded in Bazel 5.x
|
||||
],
|
||||
tags = ["manual"],
|
||||
vendor_path = "crates",
|
||||
)
|
||||
|
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "anyhow",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.68",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__anyhow-1.0.68//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "anyhow_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.68",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "anyhow_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "async_stream",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__async-stream-impl-0.3.3//:async_stream_impl",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.3",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "async_stream_impl",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.3",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,183 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "async_trait",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.1.63",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__async-trait-0.1.63//:build_script_build",
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "async-trait_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.1.63",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "async-trait_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "autocfg",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.1.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,201 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "axum",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__async-trait-0.1.63//:async_trait",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.6.4",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__axum-0.6.4//:build_script_build",
|
||||
"@rules_proto_grpc_rust__axum-core-0.3.2//:axum_core",
|
||||
"@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags",
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
"@rules_proto_grpc_rust__http-0.2.8//:http",
|
||||
"@rules_proto_grpc_rust__http-body-0.4.5//:http_body",
|
||||
"@rules_proto_grpc_rust__hyper-0.14.23//:hyper",
|
||||
"@rules_proto_grpc_rust__itoa-1.0.5//:itoa",
|
||||
"@rules_proto_grpc_rust__matchit-0.7.0//:matchit",
|
||||
"@rules_proto_grpc_rust__memchr-2.5.0//:memchr",
|
||||
"@rules_proto_grpc_rust__mime-0.3.16//:mime",
|
||||
"@rules_proto_grpc_rust__percent-encoding-2.2.0//:percent_encoding",
|
||||
"@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite",
|
||||
"@rules_proto_grpc_rust__serde-1.0.152//:serde",
|
||||
"@rules_proto_grpc_rust__sync_wrapper-0.1.1//:sync_wrapper",
|
||||
"@rules_proto_grpc_rust__tower-0.4.13//:tower",
|
||||
"@rules_proto_grpc_rust__tower-http-0.3.5//:tower_http",
|
||||
"@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer",
|
||||
"@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "axum_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__rustversion-1.0.11//:rustversion",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.6.4",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "axum_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,189 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "axum_core",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__async-trait-0.1.63//:async_trait",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__axum-core-0.3.2//:build_script_build",
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
"@rules_proto_grpc_rust__http-0.2.8//:http",
|
||||
"@rules_proto_grpc_rust__http-body-0.4.5//:http_body",
|
||||
"@rules_proto_grpc_rust__mime-0.3.16//:mime",
|
||||
"@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer",
|
||||
"@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "axum-core_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__rustversion-1.0.11//:rustversion",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.3.2",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "axum-core_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "base64",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.13.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,137 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files(
|
||||
[
|
||||
"cargo-bazel.json",
|
||||
"defs.bzl",
|
||||
"crates.bzl",
|
||||
] + glob([
|
||||
"*.bazel",
|
||||
]),
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = glob([
|
||||
"*.bazel",
|
||||
"*.bzl",
|
||||
]),
|
||||
)
|
||||
|
||||
# Workspace Member Dependencies
|
||||
alias(
|
||||
name = "async-stream",
|
||||
actual = "@rules_proto_grpc_rust__async-stream-0.3.3//:async_stream",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "futures",
|
||||
actual = "@rules_proto_grpc_rust__futures-0.3.25//:futures",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "prost",
|
||||
actual = "@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "prost-derive",
|
||||
actual = "@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "prost-types",
|
||||
actual = "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "protoc-gen-prost",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "protoc-gen-prost-crate",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1//:protoc_gen_prost_crate",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "protoc-gen-tonic",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.1//:protoc_gen_tonic",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "rand",
|
||||
actual = "@rules_proto_grpc_rust__rand-0.8.5//:rand",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "serde",
|
||||
actual = "@rules_proto_grpc_rust__serde-1.0.152//:serde",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "serde_json",
|
||||
actual = "@rules_proto_grpc_rust__serde_json-1.0.91//:serde_json",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "tokio",
|
||||
actual = "@rules_proto_grpc_rust__tokio-1.24.2//:tokio",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "tokio-stream",
|
||||
actual = "@rules_proto_grpc_rust__tokio-stream-0.1.11//:tokio_stream",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "tonic",
|
||||
actual = "@rules_proto_grpc_rust__tonic-0.8.3//:tonic",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "tonic-build",
|
||||
actual = "@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
# Binaries
|
||||
alias(
|
||||
name = "protoc-gen-prost__protoc-gen-prost",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc-gen-prost__bin",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "protoc-gen-prost-crate__protoc-gen-prost-crate",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1//:protoc-gen-prost-crate__bin",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "protoc-gen-tonic__protoc-gen-tonic",
|
||||
actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.1//:protoc-gen-tonic__bin",
|
||||
tags = ["manual"],
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "bitflags",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.3.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "bytes",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.3.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "cfg_if",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "either",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"use_std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.8.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,92 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "fastrand",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.8.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
|
||||
"@rules_proto_grpc_rust__instant-0.1.12//:instant", # cfg(target_arch = "wasm32")
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"@rules_proto_grpc_rust__instant-0.1.12//:instant", # cfg(target_arch = "wasm32")
|
||||
],
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "fixedbitset",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 / MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "fnv",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.7",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,99 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"async-await",
|
||||
"default",
|
||||
"executor",
|
||||
"futures-executor",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel",
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-executor-0.3.25//:futures_executor",
|
||||
"@rules_proto_grpc_rust__futures-io-0.3.25//:futures_io",
|
||||
"@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink",
|
||||
"@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,192 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_channel",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"futures-sink",
|
||||
"sink",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-channel-0.3.25//:build_script_build",
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "futures-channel_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"futures-sink",
|
||||
"sink",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.3.25",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "futures-channel_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,186 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_core",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "futures-core_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.3.25",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "futures-core_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_executor",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_io",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "futures_macro",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_sink",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_task",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-task-0.3.25//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "futures-task_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.3.25",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "futures-task_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,216 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "futures_util",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"async-await",
|
||||
"async-await-macro",
|
||||
"channel",
|
||||
"futures-channel",
|
||||
"futures-io",
|
||||
"futures-macro",
|
||||
"futures-sink",
|
||||
"io",
|
||||
"memchr",
|
||||
"sink",
|
||||
"slab",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-macro-0.3.25//:futures_macro",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.25",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel",
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-io-0.3.25//:futures_io",
|
||||
"@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink",
|
||||
"@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:build_script_build",
|
||||
"@rules_proto_grpc_rust__memchr-2.5.0//:memchr",
|
||||
"@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite",
|
||||
"@rules_proto_grpc_rust__pin-utils-0.1.0//:pin_utils",
|
||||
"@rules_proto_grpc_rust__slab-0.4.7//:slab",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "futures-util_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"async-await",
|
||||
"async-await-macro",
|
||||
"channel",
|
||||
"futures-channel",
|
||||
"futures-io",
|
||||
"futures-macro",
|
||||
"futures-sink",
|
||||
"io",
|
||||
"memchr",
|
||||
"sink",
|
||||
"slab",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.3.25",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "futures-util_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,168 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "getrandom",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.8",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi")
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,97 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "h2",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.15",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__fnv-1.0.7//:fnv",
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
"@rules_proto_grpc_rust__http-0.2.8//:http",
|
||||
"@rules_proto_grpc_rust__indexmap-1.9.2//:indexmap",
|
||||
"@rules_proto_grpc_rust__slab-0.4.7//:slab",
|
||||
"@rules_proto_grpc_rust__tokio-1.24.2//:tokio",
|
||||
"@rules_proto_grpc_rust__tokio-util-0.7.4//:tokio_util",
|
||||
"@rules_proto_grpc_rust__tracing-0.1.37//:tracing",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "hashbrown",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"raw",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.12.3",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "heck",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "http",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.8",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__fnv-1.0.7//:fnv",
|
||||
"@rules_proto_grpc_rust__itoa-1.0.5//:itoa",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "http_body",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.5",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__http-0.2.8//:http",
|
||||
"@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "http_range_header",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "httparse",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.8.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__httparse-1.8.0//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "httparse_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.8.0",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "httparse_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "httpdate",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,113 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "hyper",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"client",
|
||||
"default",
|
||||
"full",
|
||||
"h2",
|
||||
"http1",
|
||||
"http2",
|
||||
"runtime",
|
||||
"server",
|
||||
"socket2",
|
||||
"stream",
|
||||
"tcp",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.14.23",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel",
|
||||
"@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core",
|
||||
"@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util",
|
||||
"@rules_proto_grpc_rust__h2-0.3.15//:h2",
|
||||
"@rules_proto_grpc_rust__http-0.2.8//:http",
|
||||
"@rules_proto_grpc_rust__http-body-0.4.5//:http_body",
|
||||
"@rules_proto_grpc_rust__httparse-1.8.0//:httparse",
|
||||
"@rules_proto_grpc_rust__httpdate-1.0.2//:httpdate",
|
||||
"@rules_proto_grpc_rust__itoa-1.0.5//:itoa",
|
||||
"@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite",
|
||||
"@rules_proto_grpc_rust__socket2-0.4.7//:socket2",
|
||||
"@rules_proto_grpc_rust__tokio-1.24.2//:tokio",
|
||||
"@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service",
|
||||
"@rules_proto_grpc_rust__tracing-0.1.37//:tracing",
|
||||
"@rules_proto_grpc_rust__want-0.3.0//:want",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "hyper_timeout",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__hyper-0.14.23//:hyper",
|
||||
"@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite",
|
||||
"@rules_proto_grpc_rust__tokio-1.24.2//:tokio",
|
||||
"@rules_proto_grpc_rust__tokio-io-timeout-1.2.0//:tokio_io_timeout",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "indexmap",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.9.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__hashbrown-0.12.3//:hashbrown",
|
||||
"@rules_proto_grpc_rust__indexmap-1.9.2//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "indexmap_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.9.2",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "indexmap_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # BSD-3-Clause
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "instant",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.1.12",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "itertools",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"use_alloc",
|
||||
"use_std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.10.5",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__either-1.8.0//:either",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "itoa",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.5",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "lazy_static",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.4.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "libc",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.139",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "libc_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.2.139",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "libc_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,181 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "log",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.17",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if",
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "log_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.4.17",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "log_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "matchit",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.7.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Unlicense/MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "memchr",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "2.5.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__memchr-2.5.0//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "memchr_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "2.5.0",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "memchr_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "mime",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.16",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,180 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "mio",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"net",
|
||||
"os-ext",
|
||||
"os-poll",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.8.5",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
"@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(target_os = "wasi")
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
"@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi")
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
"@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency
|
||||
],
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "multimap",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.8.3",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "once_cell",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"race",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.17.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "percent_encoding",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "2.2.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "petgraph",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.6.2",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__fixedbitset-0.4.2//:fixedbitset",
|
||||
"@rules_proto_grpc_rust__indexmap-1.9.2//:indexmap",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "pin_project",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__pin-project-internal-1.0.12//:pin_project_internal",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.12",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "pin_project_internal",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.12",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "pin_project_lite",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.9",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "pin_utils",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.1.0",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,88 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "ppv_lite86",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"simd",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.17",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,183 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "prettyplease",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.1.23",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__prettyplease-0.1.23//:build_script_build",
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "prettyplease_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
links = "prettyplease01",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.1.23",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "prettyplease_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,185 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "proc_macro2",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.50",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:build_script_build",
|
||||
"@rules_proto_grpc_rust__unicode-ident-1.0.6//:unicode_ident",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "proc-macro2_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.50",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "proc-macro2_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,91 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "prost",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"prost-derive",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.11.6",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,99 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "prost_build",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.11.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__heck-0.4.0//:heck",
|
||||
"@rules_proto_grpc_rust__itertools-0.10.5//:itertools",
|
||||
"@rules_proto_grpc_rust__lazy_static-1.4.0//:lazy_static",
|
||||
"@rules_proto_grpc_rust__log-0.4.17//:log",
|
||||
"@rules_proto_grpc_rust__multimap-0.8.3//:multimap",
|
||||
"@rules_proto_grpc_rust__petgraph-0.6.2//:petgraph",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
"@rules_proto_grpc_rust__tempfile-3.3.0//:tempfile",
|
||||
"@rules_proto_grpc_rust__which-4.4.0//:which",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,91 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "prost_derive",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.11.6",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__anyhow-1.0.68//:anyhow",
|
||||
"@rules_proto_grpc_rust__itertools-0.10.5//:itertools",
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "prost_types",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.11.6",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bytes-1.3.0//:bytes",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,164 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "protoc_gen_prost",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "protoc-gen-prost__bin",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/main.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.1",
|
||||
deps = [
|
||||
":protoc_gen_prost",
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,166 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "protoc_gen_prost_crate",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "protoc-gen-prost-crate__bin",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/main.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.1",
|
||||
deps = [
|
||||
":protoc_gen_prost_crate",
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,172 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "protoc_gen_tonic",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__heck-0.4.0//:heck",
|
||||
"@rules_proto_grpc_rust__prettyplease-0.1.23//:prettyplease",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
"@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "protoc-gen-tonic__bin",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/main.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2021",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.1",
|
||||
deps = [
|
||||
":protoc_gen_tonic",
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__heck-0.4.0//:heck",
|
||||
"@rules_proto_grpc_rust__prettyplease-0.1.23//:prettyplease",
|
||||
"@rules_proto_grpc_rust__prost-0.11.6//:prost",
|
||||
"@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build",
|
||||
"@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types",
|
||||
"@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost",
|
||||
"@rules_proto_grpc_rust__regex-1.7.1//:regex",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
"@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,185 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "quote",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.23",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "quote_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.23",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "quote_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,191 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "rand",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"default",
|
||||
"getrandom",
|
||||
"libc",
|
||||
"rand_chacha",
|
||||
"small_rng",
|
||||
"std",
|
||||
"std_rng",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.8.5",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency
|
||||
],
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha",
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "rand_chacha",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.3.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__ppv-lite86-0.2.17//:ppv_lite86",
|
||||
"@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,90 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "rand_core",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"alloc",
|
||||
"getrandom",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.6.4",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__getrandom-0.2.8//:getrandom",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "syscall",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.2.16",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,89 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "regex",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"std",
|
||||
"unicode-bool",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.7.1",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__regex-syntax-0.6.28//:regex_syntax",
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "regex_syntax",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"unicode-bool",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.6.28",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,92 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT/Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "remove_dir_all",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.5.3",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows)
|
||||
],
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,180 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "rustversion",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.11",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__rustversion-1.0.11//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "rustversion_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build/build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.11",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "rustversion_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,86 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # Apache-2.0 OR BSL-1.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "ryu",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.12",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,189 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "serde",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"derive",
|
||||
"serde_derive",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__serde_derive-1.0.152//:serde_derive",
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.152",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__serde-1.0.152//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "serde_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"derive",
|
||||
"serde_derive",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.152",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "serde_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,185 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_proc_macro",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_proc_macro(
|
||||
name = "serde_derive",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.152",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__serde_derive-1.0.152//:build_script_build",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:syn",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "serde_derive_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2015",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.152",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "serde_derive_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,187 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "serde_json",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.91",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__itoa-1.0.5//:itoa",
|
||||
"@rules_proto_grpc_rust__ryu-1.0.12//:ryu",
|
||||
"@rules_proto_grpc_rust__serde-1.0.152//:serde",
|
||||
"@rules_proto_grpc_rust__serde_json-1.0.91//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "serde_json_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.91",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "serde_json_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,185 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "slab",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.7",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__slab-0.4.7//:build_script_build",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "slab_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "0.4.7",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "slab_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
|
@ -0,0 +1,150 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "socket2",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"all",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.4.7",
|
||||
deps = [
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix)
|
||||
],
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
|
@ -0,0 +1,205 @@
|
|||
###############################################################################
|
||||
# @generated
|
||||
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
||||
# regenerate this file, run the following:
|
||||
#
|
||||
# bazel run //rust:crates_vendor
|
||||
###############################################################################
|
||||
|
||||
load(
|
||||
"@rules_rust//cargo:defs.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
# buildifier: disable=bzl-visibility
|
||||
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
|
||||
load(
|
||||
"@rules_rust//rust:defs.bzl",
|
||||
"rust_library",
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# licenses([
|
||||
# "TODO", # MIT OR Apache-2.0
|
||||
# ])
|
||||
|
||||
rust_library(
|
||||
name = "syn",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
compile_data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"extra-traits",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"quote",
|
||||
"visit",
|
||||
"visit-mut",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "1.0.107",
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
"@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2",
|
||||
"@rules_proto_grpc_rust__quote-1.0.23//:quote",
|
||||
"@rules_proto_grpc_rust__syn-1.0.107//:build_script_build",
|
||||
"@rules_proto_grpc_rust__unicode-ident-1.0.6//:unicode_ident",
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
cargo_build_script(
|
||||
# See comment associated with alias. Do not change this name
|
||||
name = "syn_build_script",
|
||||
srcs = glob(
|
||||
include = [
|
||||
"**/*.rs",
|
||||
],
|
||||
exclude = [
|
||||
],
|
||||
),
|
||||
aliases = select({
|
||||
"//conditions:default": {
|
||||
},
|
||||
}),
|
||||
build_script_env = {
|
||||
},
|
||||
compile_data = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
crate_features = [
|
||||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"extra-traits",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"quote",
|
||||
"visit",
|
||||
"visit-mut",
|
||||
],
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
include = ["**"],
|
||||
exclude = [
|
||||
"**/* *",
|
||||
"BUILD.bazel",
|
||||
"BUILD",
|
||||
"WORKSPACE.bazel",
|
||||
"WORKSPACE",
|
||||
],
|
||||
) + select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_env = {
|
||||
},
|
||||
rustc_env_files = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
rustc_flags = [
|
||||
# In most cases, warnings in 3rd party crates are not interesting as
|
||||
# they're out of the control of consumers. The flag here silences
|
||||
# warnings. For more details see:
|
||||
# https://doc.rust-lang.org/rustc/lints/levels.html
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-bazel",
|
||||
"manual",
|
||||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
tools = select_with_or({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
version = "1.0.107",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + select({
|
||||
"//conditions:default": [
|
||||
],
|
||||
}),
|
||||
)
|
||||
|
||||
alias(
|
||||
# Because `cargo_build_script` does some invisible target name mutating to
|
||||
# determine the package and crate name for a build script, the Bazel
|
||||
# target namename of any build script cannot be the Cargo canonical name
|
||||
# of `build_script_build` without losing out on having certain Cargo
|
||||
# environment variables set.
|
||||
name = "build_script_build",
|
||||
actual = "syn_build_script",
|
||||
tags = [
|
||||
"manual",
|
||||
],
|
||||
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue