| ############################################################################### |
| # @generated |
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To |
| # regenerate this file, run the following: |
| # |
| # bazel run //proto/3rdparty: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", # MIT |
| # ]) |
| |
| rust_library( |
| name = "protobuf_codegen", |
| srcs = glob( |
| include = [ |
| "**/*.rs", |
| ], |
| exclude = [ |
| ], |
| ), |
| aliases = select({ |
| "//conditions:default": { |
| }, |
| }), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ) + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| crate_features = [ |
| ], |
| crate_root = "src/lib.rs", |
| data = select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| edition = "2015", |
| proc_macro_deps = [ |
| ] + select({ |
| "//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.8.2", |
| deps = [ |
| ] + select({ |
| "//conditions:default": [ |
| "@rules_rust_proto__protobuf-2.8.2//:protobuf", |
| ], |
| }), |
| ) |
| |
| rust_binary( |
| name = "protoc-gen-rust__bin", |
| srcs = glob( |
| include = [ |
| "**/*.rs", |
| ], |
| exclude = [ |
| ], |
| ), |
| aliases = select({ |
| "//conditions:default": { |
| }, |
| }), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ) + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| crate_features = [ |
| ], |
| crate_root = "src/bin/protoc-gen-rust.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 = "2.8.2", |
| deps = [ |
| ":protobuf_codegen", |
| ] + select({ |
| "//conditions:default": [ |
| "@rules_rust_proto__protobuf-2.8.2//:protobuf", |
| ], |
| }), |
| ) |
| |
| rust_binary( |
| name = "protobuf-bin-gen-rust-do-not-use__bin", |
| srcs = glob( |
| include = [ |
| "**/*.rs", |
| ], |
| exclude = [ |
| ], |
| ), |
| aliases = select({ |
| "//conditions:default": { |
| }, |
| }), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ) + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| crate_features = [ |
| ], |
| crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.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 = "2.8.2", |
| deps = [ |
| ":protobuf_codegen", |
| ] + select({ |
| "//conditions:default": [ |
| "@rules_rust_proto__protobuf-2.8.2//:protobuf", |
| ], |
| }), |
| ) |