From 6f3a528c6dcfc4170a81c1366ba756495f4369a1 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 15 Oct 2020 09:23:09 -0700 Subject: [PATCH] Regenerated proto raze outputs + addressed buildifier defects (#435) --- examples/proto/basic/lib.rs | 2 +- proto/proto.bzl | 111 ++- proto/raze/BUILD | 56 +- proto/raze/Cargo.toml | 6 +- proto/raze/crates.bzl | 692 ++++++++++-------- proto/raze/patch/README.md | 18 +- proto/raze/remote/autocfg-1.0.0.BUILD | 42 +- proto/raze/remote/base64-0.9.3.BUILD | 46 +- proto/raze/remote/bitflags-1.2.1.BUILD | 42 +- proto/raze/remote/byteorder-1.3.4.BUILD | 42 +- proto/raze/remote/bytes-0.4.12.BUILD | 46 +- proto/raze/remote/cfg-if-0.1.10.BUILD | 42 +- proto/raze/remote/cloudabi-0.0.3.BUILD | 44 +- proto/raze/remote/crossbeam-deque-0.7.3.BUILD | 48 +- proto/raze/remote/crossbeam-epoch-0.8.2.BUILD | 54 +- proto/raze/remote/crossbeam-queue-0.2.1.BUILD | 47 +- proto/raze/remote/crossbeam-utils-0.7.2.BUILD | 46 +- proto/raze/remote/fnv-1.0.6.BUILD | 42 +- proto/raze/remote/fuchsia-zircon-0.3.3.BUILD | 46 +- .../remote/fuchsia-zircon-sys-0.3.3.BUILD | 42 +- proto/raze/remote/futures-0.1.29.BUILD | 42 +- proto/raze/remote/futures-cpupool-0.1.8.BUILD | 46 +- proto/raze/remote/grpc-0.6.2.BUILD | 66 +- proto/raze/remote/grpc-compiler-0.6.2.BUILD | 61 +- proto/raze/remote/hermit-abi-0.1.11.BUILD | 44 +- proto/raze/remote/httpbis-0.7.0.BUILD | 95 ++- proto/raze/remote/iovec-0.1.4.BUILD | 69 +- proto/raze/remote/kernel32-sys-0.2.2.BUILD | 53 +- proto/raze/remote/lazy_static-1.4.0.BUILD | 42 +- proto/raze/remote/libc-0.2.69.BUILD | 42 +- proto/raze/remote/lock_api-0.3.4.BUILD | 44 +- proto/raze/remote/log-0.3.9.BUILD | 44 +- proto/raze/remote/log-0.4.6.BUILD | 44 +- proto/raze/remote/maybe-uninit-2.0.0.BUILD | 42 +- proto/raze/remote/memoffset-0.5.4.BUILD | 42 +- proto/raze/remote/mio-0.6.21.BUILD | 90 ++- proto/raze/remote/mio-uds-0.6.7.BUILD | 73 +- proto/raze/remote/miow-0.2.1.BUILD | 50 +- proto/raze/remote/net2-0.2.33.BUILD | 80 +- proto/raze/remote/num_cpus-1.13.0.BUILD | 44 +- proto/raze/remote/parking_lot-0.9.0.BUILD | 46 +- .../raze/remote/parking_lot_core-0.6.2.BUILD | 82 ++- proto/raze/remote/protobuf-2.8.2.BUILD | 44 +- .../raze/remote/protobuf-codegen-2.8.2.BUILD | 72 +- proto/raze/remote/redox_syscall-0.1.56.BUILD | 51 +- proto/raze/remote/rustc_version-0.2.3.BUILD | 44 +- proto/raze/remote/safemem-0.3.3.BUILD | 42 +- proto/raze/remote/scoped-tls-0.1.2.BUILD | 42 +- proto/raze/remote/scopeguard-1.1.0.BUILD | 42 +- proto/raze/remote/semver-0.9.0.BUILD | 44 +- proto/raze/remote/semver-parser-0.7.0.BUILD | 42 +- proto/raze/remote/slab-0.3.0.BUILD | 42 +- proto/raze/remote/slab-0.4.2.BUILD | 42 +- proto/raze/remote/smallvec-0.6.13.BUILD | 44 +- proto/raze/remote/tls-api-0.1.22.BUILD | 44 +- proto/raze/remote/tls-api-stub-0.1.22.BUILD | 46 +- proto/raze/remote/tokio-0.1.22.BUILD | 99 ++- proto/raze/remote/tokio-codec-0.1.2.BUILD | 48 +- proto/raze/remote/tokio-core-0.1.17.BUILD | 64 +- .../remote/tokio-current-thread-0.1.7.BUILD | 46 +- proto/raze/remote/tokio-executor-0.1.10.BUILD | 46 +- proto/raze/remote/tokio-fs-0.1.7.BUILD | 48 +- proto/raze/remote/tokio-io-0.1.13.BUILD | 48 +- proto/raze/remote/tokio-reactor-0.1.12.BUILD | 64 +- proto/raze/remote/tokio-sync-0.1.8.BUILD | 46 +- proto/raze/remote/tokio-tcp-0.1.4.BUILD | 54 +- .../raze/remote/tokio-threadpool-0.1.18.BUILD | 60 +- proto/raze/remote/tokio-timer-0.1.2.BUILD | 46 +- proto/raze/remote/tokio-timer-0.2.13.BUILD | 50 +- proto/raze/remote/tokio-tls-api-0.1.22.BUILD | 88 ++- proto/raze/remote/tokio-udp-0.1.6.BUILD | 56 +- proto/raze/remote/tokio-uds-0.1.7.BUILD | 60 +- proto/raze/remote/tokio-uds-0.2.6.BUILD | 62 +- proto/raze/remote/unix_socket-0.5.0.BUILD | 46 +- proto/raze/remote/void-1.0.2.BUILD | 42 +- proto/raze/remote/winapi-0.2.8.BUILD | 42 +- proto/raze/remote/winapi-0.3.8.BUILD | 62 +- proto/raze/remote/winapi-build-0.1.1.BUILD | 51 +- .../winapi-i686-pc-windows-gnu-0.4.0.BUILD | 42 +- .../winapi-x86_64-pc-windows-gnu-0.4.0.BUILD | 42 +- proto/raze/remote/ws2_32-sys-0.2.1.BUILD | 53 +- proto/repositories.bzl | 4 +- rust/private/rustc.bzl | 2 +- 83 files changed, 2990 insertions(+), 1777 deletions(-) diff --git a/examples/proto/basic/lib.rs b/examples/proto/basic/lib.rs index ace5038f8e..2146b3c436 100644 --- a/examples/proto/basic/lib.rs +++ b/examples/proto/basic/lib.rs @@ -1,5 +1,5 @@ extern crate common_proto_rust; -pub fn do_something(x: &common_proto_rust::Config) -> bool { +pub fn do_something(_x: &common_proto_rust::Config) -> bool { true } diff --git a/proto/proto.bzl b/proto/proto.bzl index 2940798b93..af90639c46 100644 --- a/proto/proto.bzl +++ b/proto/proto.bzl @@ -44,6 +44,7 @@ load("@io_bazel_rules_rust//rust:private/utils.bzl", "determine_output_hash", "f load("@rules_proto//proto:defs.bzl", "ProtoInfo") RustProtoInfo = provider( + doc = "Rust protobuf provider info", fields = { "proto_sources": "List[string]: list of source paths of protos", "transitive_proto_sources": "depset[string]", @@ -51,7 +52,16 @@ RustProtoInfo = provider( ) def _compute_proto_source_path(file, source_root_attr): - """Take the short path of file and make it suitable for protoc.""" + """Take the short path of file and make it suitable for protoc. + + Args: + file (File): The target source file. + source_root_attr (str): The directory relative to which the `.proto` \ + files defined in the proto_library are defined. + + Returns: + str: The protoc suitible path of `file` + """ # Bazel creates symlinks to the .proto files under a directory called # "_virtual_imports/" if we do any sort of munging of import @@ -82,6 +92,15 @@ def _compute_proto_source_path(file, source_root_attr): return path def _rust_proto_aspect_impl(target, ctx): + """The implementation of the `rust_proto_aspect` aspect + + Args: + target (Target): The target to which the aspect is applied + ctx (ctx): The rule context which the targetis created from + + Returns: + list: A list containg a `RustProtoInfo` provider + """ if ProtoInfo not in target: return None @@ -102,18 +121,26 @@ def _rust_proto_aspect_impl(target, ctx): for f in ctx.rule.attr.deps if RustProtoInfo in f ] - return RustProtoInfo( + return [RustProtoInfo( proto_sources = sources, transitive_proto_sources = depset(transitive = transitive_sources, direct = sources), - ) + )] _rust_proto_aspect = aspect( - _rust_proto_aspect_impl, + doc = "An aspect that gathers rust proto direct and transitive sources", + implementation = _rust_proto_aspect_impl, attr_aspects = ["deps"], ) def _gen_lib(ctx, grpc, srcs, lib): - """Generate a lib.rs file for the crates.""" + """Generate a lib.rs file for the crates. + + Args: + ctx (ctx): The current rule's context object + grpc (bool): True if the current rule is a `gRPC` rule. + srcs (list): A list of protoc suitible file paths (str). + lib (File): The File object where the rust source file should be written + """ content = ["extern crate protobuf;"] if grpc: content.append("extern crate grpc;") @@ -127,9 +154,33 @@ def _gen_lib(ctx, grpc, srcs, lib): ctx.actions.write(lib, "\n".join(content)) def _expand_provider(lst, provider): + """Gathers a list of a specific provider from a list of targets. + + Args: + lst (list): A list of Targets + provider (Provider): The target provider type to extract `lst` + + Returns: + list: A list of providers of the type from `provider`. + """ return [el[provider] for el in lst if provider in el] def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, grpc, compile_deps): + """Create and run a rustc compile action based on the current rule's attributes + + Args: + protos (depset): Paths of protos to compile. + descriptor_sets (depset): A set of transitive protobuf `FileDescriptorSet`s + imports (depset): A set of transitive protobuf Imports. + crate_name (str): The name of the Crate for the current target + ctx (ctx): The current rule's context object + grpc (bool): True if the current rule is a `gRPC` rule. + compile_deps (list): A list of Rust dependencies (`List[Target]`) + + Returns: + list: A list of providers, see `rustc_compile_action` + """ + # Create all the source in a specific folder proto_toolchain = ctx.toolchains["@io_bazel_rules_rust//proto:toolchain"] output_dir = "%s.%s.rust" % (crate_name, "grpc" if grpc else "proto") @@ -158,7 +209,7 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, grpc, output_hash, )) - result = rustc_compile_action( + return rustc_compile_action( ctx = ctx, toolchain = find_toolchain(ctx), crate_info = CrateInfo( @@ -176,10 +227,17 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, grpc, ), output_hash = output_hash, ) - return result def _rust_protogrpc_library_impl(ctx, grpc): - """Implementation of the rust_(proto|grpc)_library.""" + """Implementation of the rust_(proto|grpc)_library. + + Args: + ctx (ctx): The current rule's context object + grpc (bool): True if the current rule is a `gRPC` rule. + + Returns: + list: A list of providers, see `_rust_proto_compile` + """ proto = _expand_provider(ctx.attr.deps, ProtoInfo) transitive_sources = [ f[RustProtoInfo].transitive_proto_sources @@ -187,22 +245,26 @@ def _rust_protogrpc_library_impl(ctx, grpc): if RustProtoInfo in f ] - srcs = depset(transitive = transitive_sources) return _rust_proto_compile( - srcs, - depset(transitive = [p.transitive_descriptor_sets for p in proto]), - depset(transitive = [p.transitive_imports for p in proto]), - ctx.label.name, - ctx, - grpc, - ctx.attr.rust_deps, + protos = depset(transitive = transitive_sources), + descriptor_sets = depset(transitive = [p.transitive_descriptor_sets for p in proto]), + imports = depset(transitive = [p.transitive_imports for p in proto]), + crate_name = ctx.label.name, + ctx = ctx, + grpc = grpc, + compile_deps = ctx.attr.rust_deps, ) def _rust_proto_library_impl(ctx): - return _rust_protogrpc_library_impl(ctx, False) + """The implementation of the `rust_proto_library` rule -def _rust_grpc_library_impl(ctx): - return _rust_protogrpc_library_impl(ctx, True) + Args: + ctx (ctx): The rule's context object. + + Returns: + list: A list of providers, see `_rust_protogrpc_library_impl` + """ + return _rust_protogrpc_library_impl(ctx, False) rust_proto_library = rule( implementation = _rust_proto_library_impl, @@ -272,6 +334,17 @@ rust_binary( """, ) +def _rust_grpc_library_impl(ctx): + """The implementation of the `rust_grpc_library` rule + + Args: + ctx (ctx): The rule's context object + + Returns: + list: A list of providers. See `_rust_protogrpc_library_impl` + """ + return _rust_protogrpc_library_impl(ctx, True) + rust_grpc_library = rule( implementation = _rust_grpc_library_impl, attrs = { diff --git a/proto/raze/BUILD b/proto/raze/BUILD index 7546d02fe6..23b9ec32fb 100644 --- a/proto/raze/BUILD +++ b/proto/raze/BUILD @@ -1,4 +1,5 @@ """ +@generated cargo-raze workspace build file. DO NOT EDIT! Replaced on runs of cargo-raze @@ -10,51 +11,88 @@ licenses([ "notice", # See individual crates for specific licenses ]) +# Aliased targets alias( name = "grpc", - actual = "@raze__grpc__0_6_2//:grpc", + actual = "@rules_rust_proto__grpc__0_6_2//:grpc", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "grpc_compiler", - actual = "@raze__grpc_compiler__0_6_2//:grpc_compiler", + actual = "@rules_rust_proto__grpc_compiler__0_6_2//:grpc_compiler", + tags = [ + "cargo-raze", + "manual", + ], ) alias( # Extra aliased target, from raze configuration # N.B.: The exact form of this is subject to change. name = "cargo_bin_protoc_gen_rust_grpc", - actual = "@raze__grpc_compiler__0_6_2//:cargo_bin_protoc_gen_rust_grpc", + actual = "@rules_rust_proto__grpc_compiler__0_6_2//:cargo_bin_protoc_gen_rust_grpc", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "log", - actual = "@raze__log__0_4_6//:log", + actual = "@rules_rust_proto__log__0_4_6//:log", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "protobuf", - actual = "@raze__protobuf__2_8_2//:protobuf", + actual = "@rules_rust_proto__protobuf__2_8_2//:protobuf", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "protobuf_codegen", - actual = "@raze__protobuf_codegen__2_8_2//:protobuf_codegen", + actual = "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen", + tags = [ + "cargo-raze", + "manual", + ], ) alias( # Extra aliased target, from raze configuration # N.B.: The exact form of this is subject to change. name = "cargo_bin_protoc_gen_rust", - actual = "@raze__protobuf_codegen__2_8_2//:cargo_bin_protoc_gen_rust", + actual = "@rules_rust_proto__protobuf_codegen__2_8_2//:cargo_bin_protoc_gen_rust", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "tls_api", - actual = "@raze__tls_api__0_1_22//:tls_api", + actual = "@rules_rust_proto__tls_api__0_1_22//:tls_api", + tags = [ + "cargo-raze", + "manual", + ], ) alias( name = "tls_api_stub", - actual = "@raze__tls_api_stub__0_1_22//:tls_api_stub", + actual = "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub", + tags = [ + "cargo-raze", + "manual", + ], ) diff --git a/proto/raze/Cargo.toml b/proto/raze/Cargo.toml index 6468fe3f6f..4100f2d06d 100644 --- a/proto/raze/Cargo.toml +++ b/proto/raze/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "fake_lib" +name = "fake_rules_rust_proto" version = "0.0.1" [lib] -path = "lib.rs" +path = "fake_rules_rust_proto.rs" [dependencies] # Newer version of protobuf have been released, but the 0.6.2 release of @@ -26,6 +26,8 @@ log = "0.4, <0.4.7" [raze] genmode = "Remote" workspace_path = "//proto/raze" +gen_workspace_prefix = "rules_rust_proto" +output_buildfile_suffix = "BUILD" [raze.crates.lazy_static.'1.4.0'] additional_flags = [ diff --git a/proto/raze/crates.bzl b/proto/raze/crates.bzl index 34c58318c2..7dba5db077 100644 --- a/proto/raze/crates.bzl +++ b/proto/raze/crates.bzl @@ -1,351 +1,383 @@ """ +@generated cargo-raze crate workspace functions DO NOT EDIT! Replaced on runs of cargo-raze """ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load -def _new_http_archive(name, **kwargs): - if not native.existing_rule(name): - http_archive(name = name, **kwargs) - -def _new_git_repository(name, **kwargs): - if not native.existing_rule(name): - new_git_repository(name = name, **kwargs) - -def raze_fetch_remote_crates(): - _new_http_archive( - name = "raze__autocfg__1_0_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.0.crate", +def rules_rust_proto_fetch_remote_crates(): + """This function defines a collection of repos and should be called in a WORKSPACE file""" + maybe( + http_archive, + name = "rules_rust_proto__autocfg__1_0_0", + url = "https://crates.io/api/v1/crates/autocfg/1.0.0/download", type = "tar.gz", - strip_prefix = "autocfg-1.0.0", sha256 = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d", + strip_prefix = "autocfg-1.0.0", build_file = Label("//proto/raze/remote:autocfg-1.0.0.BUILD"), ) - _new_http_archive( - name = "raze__base64__0_9_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.9.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__base64__0_9_3", + url = "https://crates.io/api/v1/crates/base64/0.9.3/download", type = "tar.gz", - strip_prefix = "base64-0.9.3", sha256 = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643", + strip_prefix = "base64-0.9.3", build_file = Label("//proto/raze/remote:base64-0.9.3.BUILD"), ) - _new_http_archive( - name = "raze__bitflags__1_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate", + maybe( + http_archive, + name = "rules_rust_proto__bitflags__1_2_1", + url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download", type = "tar.gz", - strip_prefix = "bitflags-1.2.1", sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693", + strip_prefix = "bitflags-1.2.1", build_file = Label("//proto/raze/remote:bitflags-1.2.1.BUILD"), ) - _new_http_archive( - name = "raze__byteorder__1_3_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate", + maybe( + http_archive, + name = "rules_rust_proto__byteorder__1_3_4", + url = "https://crates.io/api/v1/crates/byteorder/1.3.4/download", type = "tar.gz", - strip_prefix = "byteorder-1.3.4", sha256 = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de", + strip_prefix = "byteorder-1.3.4", build_file = Label("//proto/raze/remote:byteorder-1.3.4.BUILD"), ) - _new_http_archive( - name = "raze__bytes__0_4_12", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-0.4.12.crate", + maybe( + http_archive, + name = "rules_rust_proto__bytes__0_4_12", + url = "https://crates.io/api/v1/crates/bytes/0.4.12/download", type = "tar.gz", - strip_prefix = "bytes-0.4.12", sha256 = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c", + strip_prefix = "bytes-0.4.12", build_file = Label("//proto/raze/remote:bytes-0.4.12.BUILD"), ) - _new_http_archive( - name = "raze__cfg_if__0_1_10", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate", + maybe( + http_archive, + name = "rules_rust_proto__cfg_if__0_1_10", + url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", type = "tar.gz", - strip_prefix = "cfg-if-0.1.10", sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", + strip_prefix = "cfg-if-0.1.10", build_file = Label("//proto/raze/remote:cfg-if-0.1.10.BUILD"), ) - _new_http_archive( - name = "raze__cloudabi__0_0_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cloudabi/cloudabi-0.0.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__cloudabi__0_0_3", + url = "https://crates.io/api/v1/crates/cloudabi/0.0.3/download", type = "tar.gz", - strip_prefix = "cloudabi-0.0.3", sha256 = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f", + strip_prefix = "cloudabi-0.0.3", build_file = Label("//proto/raze/remote:cloudabi-0.0.3.BUILD"), ) - _new_http_archive( - name = "raze__crossbeam_deque__0_7_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-deque/crossbeam-deque-0.7.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__crossbeam_deque__0_7_3", + url = "https://crates.io/api/v1/crates/crossbeam-deque/0.7.3/download", type = "tar.gz", - strip_prefix = "crossbeam-deque-0.7.3", sha256 = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285", + strip_prefix = "crossbeam-deque-0.7.3", build_file = Label("//proto/raze/remote:crossbeam-deque-0.7.3.BUILD"), ) - _new_http_archive( - name = "raze__crossbeam_epoch__0_8_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-epoch/crossbeam-epoch-0.8.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__crossbeam_epoch__0_8_2", + url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.8.2/download", type = "tar.gz", - strip_prefix = "crossbeam-epoch-0.8.2", sha256 = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace", + strip_prefix = "crossbeam-epoch-0.8.2", build_file = Label("//proto/raze/remote:crossbeam-epoch-0.8.2.BUILD"), ) - _new_http_archive( - name = "raze__crossbeam_queue__0_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-queue/crossbeam-queue-0.2.1.crate", + maybe( + http_archive, + name = "rules_rust_proto__crossbeam_queue__0_2_1", + url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.1/download", type = "tar.gz", - strip_prefix = "crossbeam-queue-0.2.1", sha256 = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db", + strip_prefix = "crossbeam-queue-0.2.1", build_file = Label("//proto/raze/remote:crossbeam-queue-0.2.1.BUILD"), ) - _new_http_archive( - name = "raze__crossbeam_utils__0_7_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.7.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__crossbeam_utils__0_7_2", + url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download", type = "tar.gz", - strip_prefix = "crossbeam-utils-0.7.2", sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8", + strip_prefix = "crossbeam-utils-0.7.2", build_file = Label("//proto/raze/remote:crossbeam-utils-0.7.2.BUILD"), ) - _new_http_archive( - name = "raze__fnv__1_0_6", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/fnv/fnv-1.0.6.crate", + maybe( + http_archive, + name = "rules_rust_proto__fnv__1_0_6", + url = "https://crates.io/api/v1/crates/fnv/1.0.6/download", type = "tar.gz", - strip_prefix = "fnv-1.0.6", sha256 = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3", + strip_prefix = "fnv-1.0.6", build_file = Label("//proto/raze/remote:fnv-1.0.6.BUILD"), ) - _new_http_archive( - name = "raze__fuchsia_zircon__0_3_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon/fuchsia-zircon-0.3.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__fuchsia_zircon__0_3_3", + url = "https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download", type = "tar.gz", - strip_prefix = "fuchsia-zircon-0.3.3", sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82", + strip_prefix = "fuchsia-zircon-0.3.3", build_file = Label("//proto/raze/remote:fuchsia-zircon-0.3.3.BUILD"), ) - _new_http_archive( - name = "raze__fuchsia_zircon_sys__0_3_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon-sys/fuchsia-zircon-sys-0.3.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__fuchsia_zircon_sys__0_3_3", + url = "https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download", type = "tar.gz", - strip_prefix = "fuchsia-zircon-sys-0.3.3", sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7", + strip_prefix = "fuchsia-zircon-sys-0.3.3", build_file = Label("//proto/raze/remote:fuchsia-zircon-sys-0.3.3.BUILD"), ) - _new_http_archive( - name = "raze__futures__0_1_29", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures/futures-0.1.29.crate", + maybe( + http_archive, + name = "rules_rust_proto__futures__0_1_29", + url = "https://crates.io/api/v1/crates/futures/0.1.29/download", type = "tar.gz", - strip_prefix = "futures-0.1.29", sha256 = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef", + strip_prefix = "futures-0.1.29", build_file = Label("//proto/raze/remote:futures-0.1.29.BUILD"), ) - _new_http_archive( - name = "raze__futures_cpupool__0_1_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-cpupool/futures-cpupool-0.1.8.crate", + maybe( + http_archive, + name = "rules_rust_proto__futures_cpupool__0_1_8", + url = "https://crates.io/api/v1/crates/futures-cpupool/0.1.8/download", type = "tar.gz", - strip_prefix = "futures-cpupool-0.1.8", sha256 = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4", + strip_prefix = "futures-cpupool-0.1.8", build_file = Label("//proto/raze/remote:futures-cpupool-0.1.8.BUILD"), ) - _new_http_archive( - name = "raze__grpc__0_6_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/grpc/grpc-0.6.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__grpc__0_6_2", + url = "https://crates.io/api/v1/crates/grpc/0.6.2/download", type = "tar.gz", - strip_prefix = "grpc-0.6.2", sha256 = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d", + strip_prefix = "grpc-0.6.2", build_file = Label("//proto/raze/remote:grpc-0.6.2.BUILD"), ) - _new_http_archive( - name = "raze__grpc_compiler__0_6_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/grpc-compiler/grpc-compiler-0.6.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__grpc_compiler__0_6_2", + url = "https://crates.io/api/v1/crates/grpc-compiler/0.6.2/download", type = "tar.gz", - strip_prefix = "grpc-compiler-0.6.2", sha256 = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1", + strip_prefix = "grpc-compiler-0.6.2", build_file = Label("//proto/raze/remote:grpc-compiler-0.6.2.BUILD"), ) - _new_http_archive( - name = "raze__hermit_abi__0_1_11", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.11.crate", + maybe( + http_archive, + name = "rules_rust_proto__hermit_abi__0_1_11", + url = "https://crates.io/api/v1/crates/hermit-abi/0.1.11/download", type = "tar.gz", - strip_prefix = "hermit-abi-0.1.11", sha256 = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15", + strip_prefix = "hermit-abi-0.1.11", build_file = Label("//proto/raze/remote:hermit-abi-0.1.11.BUILD"), ) - _new_http_archive( - name = "raze__httpbis__0_7_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/httpbis/httpbis-0.7.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__httpbis__0_7_0", + url = "https://crates.io/api/v1/crates/httpbis/0.7.0/download", type = "tar.gz", - strip_prefix = "httpbis-0.7.0", sha256 = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614", + strip_prefix = "httpbis-0.7.0", build_file = Label("//proto/raze/remote:httpbis-0.7.0.BUILD"), ) - _new_http_archive( - name = "raze__iovec__0_1_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/iovec/iovec-0.1.4.crate", + maybe( + http_archive, + name = "rules_rust_proto__iovec__0_1_4", + url = "https://crates.io/api/v1/crates/iovec/0.1.4/download", type = "tar.gz", - strip_prefix = "iovec-0.1.4", sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e", + strip_prefix = "iovec-0.1.4", build_file = Label("//proto/raze/remote:iovec-0.1.4.BUILD"), ) - _new_http_archive( - name = "raze__kernel32_sys__0_2_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/kernel32-sys/kernel32-sys-0.2.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__kernel32_sys__0_2_2", + url = "https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download", type = "tar.gz", - strip_prefix = "kernel32-sys-0.2.2", sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d", + strip_prefix = "kernel32-sys-0.2.2", build_file = Label("//proto/raze/remote:kernel32-sys-0.2.2.BUILD"), ) - _new_http_archive( - name = "raze__lazy_static__1_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__lazy_static__1_4_0", + url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download", type = "tar.gz", - strip_prefix = "lazy_static-1.4.0", sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", + strip_prefix = "lazy_static-1.4.0", build_file = Label("//proto/raze/remote:lazy_static-1.4.0.BUILD"), ) - _new_http_archive( - name = "raze__libc__0_2_69", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.69.crate", + maybe( + http_archive, + name = "rules_rust_proto__libc__0_2_69", + url = "https://crates.io/api/v1/crates/libc/0.2.69/download", type = "tar.gz", - strip_prefix = "libc-0.2.69", sha256 = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005", + strip_prefix = "libc-0.2.69", build_file = Label("//proto/raze/remote:libc-0.2.69.BUILD"), ) - _new_http_archive( - name = "raze__lock_api__0_3_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/lock_api/lock_api-0.3.4.crate", + maybe( + http_archive, + name = "rules_rust_proto__lock_api__0_3_4", + url = "https://crates.io/api/v1/crates/lock_api/0.3.4/download", type = "tar.gz", - strip_prefix = "lock_api-0.3.4", sha256 = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75", + strip_prefix = "lock_api-0.3.4", build_file = Label("//proto/raze/remote:lock_api-0.3.4.BUILD"), ) - _new_http_archive( - name = "raze__log__0_3_9", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.3.9.crate", + maybe( + http_archive, + name = "rules_rust_proto__log__0_3_9", + url = "https://crates.io/api/v1/crates/log/0.3.9/download", type = "tar.gz", - strip_prefix = "log-0.3.9", sha256 = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b", + strip_prefix = "log-0.3.9", build_file = Label("//proto/raze/remote:log-0.3.9.BUILD"), ) - _new_http_archive( - name = "raze__log__0_4_6", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.6.crate", + maybe( + http_archive, + name = "rules_rust_proto__log__0_4_6", + url = "https://crates.io/api/v1/crates/log/0.4.6/download", type = "tar.gz", - strip_prefix = "log-0.4.6", sha256 = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6", + strip_prefix = "log-0.4.6", build_file = Label("//proto/raze/remote:log-0.4.6.BUILD"), ) - _new_http_archive( - name = "raze__maybe_uninit__2_0_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/maybe-uninit/maybe-uninit-2.0.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__maybe_uninit__2_0_0", + url = "https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download", type = "tar.gz", - strip_prefix = "maybe-uninit-2.0.0", sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00", + strip_prefix = "maybe-uninit-2.0.0", build_file = Label("//proto/raze/remote:maybe-uninit-2.0.0.BUILD"), ) - _new_http_archive( - name = "raze__memoffset__0_5_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/memoffset/memoffset-0.5.4.crate", + maybe( + http_archive, + name = "rules_rust_proto__memoffset__0_5_4", + url = "https://crates.io/api/v1/crates/memoffset/0.5.4/download", type = "tar.gz", - strip_prefix = "memoffset-0.5.4", sha256 = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8", + strip_prefix = "memoffset-0.5.4", build_file = Label("//proto/raze/remote:memoffset-0.5.4.BUILD"), ) - _new_http_archive( - name = "raze__mio__0_6_21", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.6.21.crate", + maybe( + http_archive, + name = "rules_rust_proto__mio__0_6_21", + url = "https://crates.io/api/v1/crates/mio/0.6.21/download", type = "tar.gz", - strip_prefix = "mio-0.6.21", sha256 = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f", + strip_prefix = "mio-0.6.21", build_file = Label("//proto/raze/remote:mio-0.6.21.BUILD"), ) - _new_http_archive( - name = "raze__mio_uds__0_6_7", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/mio-uds/mio-uds-0.6.7.crate", + maybe( + http_archive, + name = "rules_rust_proto__mio_uds__0_6_7", + url = "https://crates.io/api/v1/crates/mio-uds/0.6.7/download", type = "tar.gz", - strip_prefix = "mio-uds-0.6.7", sha256 = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125", + strip_prefix = "mio-uds-0.6.7", build_file = Label("//proto/raze/remote:mio-uds-0.6.7.BUILD"), ) - _new_http_archive( - name = "raze__miow__0_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/miow/miow-0.2.1.crate", + maybe( + http_archive, + name = "rules_rust_proto__miow__0_2_1", + url = "https://crates.io/api/v1/crates/miow/0.2.1/download", type = "tar.gz", - strip_prefix = "miow-0.2.1", sha256 = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919", + strip_prefix = "miow-0.2.1", build_file = Label("//proto/raze/remote:miow-0.2.1.BUILD"), ) - _new_http_archive( - name = "raze__net2__0_2_33", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.33.crate", + maybe( + http_archive, + name = "rules_rust_proto__net2__0_2_33", + url = "https://crates.io/api/v1/crates/net2/0.2.33/download", type = "tar.gz", - strip_prefix = "net2-0.2.33", sha256 = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88", + strip_prefix = "net2-0.2.33", build_file = Label("//proto/raze/remote:net2-0.2.33.BUILD"), ) - _new_http_archive( - name = "raze__num_cpus__1_13_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__num_cpus__1_13_0", + url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download", type = "tar.gz", - strip_prefix = "num_cpus-1.13.0", sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3", + strip_prefix = "num_cpus-1.13.0", build_file = Label("//proto/raze/remote:num_cpus-1.13.0.BUILD"), ) - _new_http_archive( - name = "raze__parking_lot__0_9_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/parking_lot/parking_lot-0.9.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__parking_lot__0_9_0", + url = "https://crates.io/api/v1/crates/parking_lot/0.9.0/download", type = "tar.gz", - strip_prefix = "parking_lot-0.9.0", sha256 = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252", + strip_prefix = "parking_lot-0.9.0", build_file = Label("//proto/raze/remote:parking_lot-0.9.0.BUILD"), ) - _new_http_archive( - name = "raze__parking_lot_core__0_6_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/parking_lot_core/parking_lot_core-0.6.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__parking_lot_core__0_6_2", + url = "https://crates.io/api/v1/crates/parking_lot_core/0.6.2/download", type = "tar.gz", - strip_prefix = "parking_lot_core-0.6.2", sha256 = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b", + strip_prefix = "parking_lot_core-0.6.2", build_file = Label("//proto/raze/remote:parking_lot_core-0.6.2.BUILD"), ) - _new_http_archive( - name = "raze__protobuf__2_8_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/protobuf/protobuf-2.8.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__protobuf__2_8_2", + url = "https://crates.io/api/v1/crates/protobuf/2.8.2/download", type = "tar.gz", - strip_prefix = "protobuf-2.8.2", sha256 = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571", + strip_prefix = "protobuf-2.8.2", patches = [ "@io_bazel_rules_rust//proto/raze/patch:protobuf-2.8.2.patch", ], @@ -355,344 +387,382 @@ def raze_fetch_remote_crates(): build_file = Label("//proto/raze/remote:protobuf-2.8.2.BUILD"), ) - _new_http_archive( - name = "raze__protobuf_codegen__2_8_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/protobuf-codegen/protobuf-codegen-2.8.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__protobuf_codegen__2_8_2", + url = "https://crates.io/api/v1/crates/protobuf-codegen/2.8.2/download", type = "tar.gz", - strip_prefix = "protobuf-codegen-2.8.2", sha256 = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795", + strip_prefix = "protobuf-codegen-2.8.2", build_file = Label("//proto/raze/remote:protobuf-codegen-2.8.2.BUILD"), ) - _new_http_archive( - name = "raze__redox_syscall__0_1_56", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.56.crate", + maybe( + http_archive, + name = "rules_rust_proto__redox_syscall__0_1_56", + url = "https://crates.io/api/v1/crates/redox_syscall/0.1.56/download", type = "tar.gz", - strip_prefix = "redox_syscall-0.1.56", sha256 = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84", + strip_prefix = "redox_syscall-0.1.56", build_file = Label("//proto/raze/remote:redox_syscall-0.1.56.BUILD"), ) - _new_http_archive( - name = "raze__rustc_version__0_2_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc_version/rustc_version-0.2.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__rustc_version__0_2_3", + url = "https://crates.io/api/v1/crates/rustc_version/0.2.3/download", type = "tar.gz", - strip_prefix = "rustc_version-0.2.3", sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a", + strip_prefix = "rustc_version-0.2.3", build_file = Label("//proto/raze/remote:rustc_version-0.2.3.BUILD"), ) - _new_http_archive( - name = "raze__safemem__0_3_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/safemem/safemem-0.3.3.crate", + maybe( + http_archive, + name = "rules_rust_proto__safemem__0_3_3", + url = "https://crates.io/api/v1/crates/safemem/0.3.3/download", type = "tar.gz", - strip_prefix = "safemem-0.3.3", sha256 = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072", + strip_prefix = "safemem-0.3.3", build_file = Label("//proto/raze/remote:safemem-0.3.3.BUILD"), ) - _new_http_archive( - name = "raze__scoped_tls__0_1_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/scoped-tls/scoped-tls-0.1.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__scoped_tls__0_1_2", + url = "https://crates.io/api/v1/crates/scoped-tls/0.1.2/download", type = "tar.gz", - strip_prefix = "scoped-tls-0.1.2", sha256 = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28", + strip_prefix = "scoped-tls-0.1.2", build_file = Label("//proto/raze/remote:scoped-tls-0.1.2.BUILD"), ) - _new_http_archive( - name = "raze__scopeguard__1_1_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/scopeguard/scopeguard-1.1.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__scopeguard__1_1_0", + url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download", type = "tar.gz", - strip_prefix = "scopeguard-1.1.0", sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd", + strip_prefix = "scopeguard-1.1.0", build_file = Label("//proto/raze/remote:scopeguard-1.1.0.BUILD"), ) - _new_http_archive( - name = "raze__semver__0_9_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/semver/semver-0.9.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__semver__0_9_0", + url = "https://crates.io/api/v1/crates/semver/0.9.0/download", type = "tar.gz", - strip_prefix = "semver-0.9.0", sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403", + strip_prefix = "semver-0.9.0", build_file = Label("//proto/raze/remote:semver-0.9.0.BUILD"), ) - _new_http_archive( - name = "raze__semver_parser__0_7_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/semver-parser/semver-parser-0.7.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__semver_parser__0_7_0", + url = "https://crates.io/api/v1/crates/semver-parser/0.7.0/download", type = "tar.gz", - strip_prefix = "semver-parser-0.7.0", sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3", + strip_prefix = "semver-parser-0.7.0", build_file = Label("//proto/raze/remote:semver-parser-0.7.0.BUILD"), ) - _new_http_archive( - name = "raze__slab__0_3_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.3.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__slab__0_3_0", + url = "https://crates.io/api/v1/crates/slab/0.3.0/download", type = "tar.gz", - strip_prefix = "slab-0.3.0", sha256 = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23", + strip_prefix = "slab-0.3.0", build_file = Label("//proto/raze/remote:slab-0.3.0.BUILD"), ) - _new_http_archive( - name = "raze__slab__0_4_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__slab__0_4_2", + url = "https://crates.io/api/v1/crates/slab/0.4.2/download", type = "tar.gz", - strip_prefix = "slab-0.4.2", sha256 = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8", + strip_prefix = "slab-0.4.2", build_file = Label("//proto/raze/remote:slab-0.4.2.BUILD"), ) - _new_http_archive( - name = "raze__smallvec__0_6_13", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/smallvec/smallvec-0.6.13.crate", + maybe( + http_archive, + name = "rules_rust_proto__smallvec__0_6_13", + url = "https://crates.io/api/v1/crates/smallvec/0.6.13/download", type = "tar.gz", - strip_prefix = "smallvec-0.6.13", sha256 = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6", + strip_prefix = "smallvec-0.6.13", build_file = Label("//proto/raze/remote:smallvec-0.6.13.BUILD"), ) - _new_http_archive( - name = "raze__tls_api__0_1_22", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tls-api/tls-api-0.1.22.crate", + maybe( + http_archive, + name = "rules_rust_proto__tls_api__0_1_22", + url = "https://crates.io/api/v1/crates/tls-api/0.1.22/download", type = "tar.gz", - strip_prefix = "tls-api-0.1.22", sha256 = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1", + strip_prefix = "tls-api-0.1.22", build_file = Label("//proto/raze/remote:tls-api-0.1.22.BUILD"), ) - _new_http_archive( - name = "raze__tls_api_stub__0_1_22", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tls-api-stub/tls-api-stub-0.1.22.crate", + maybe( + http_archive, + name = "rules_rust_proto__tls_api_stub__0_1_22", + url = "https://crates.io/api/v1/crates/tls-api-stub/0.1.22/download", type = "tar.gz", - strip_prefix = "tls-api-stub-0.1.22", sha256 = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e", + strip_prefix = "tls-api-stub-0.1.22", build_file = Label("//proto/raze/remote:tls-api-stub-0.1.22.BUILD"), ) - _new_http_archive( - name = "raze__tokio__0_1_22", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.1.22.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio__0_1_22", + url = "https://crates.io/api/v1/crates/tokio/0.1.22/download", type = "tar.gz", - strip_prefix = "tokio-0.1.22", sha256 = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6", + strip_prefix = "tokio-0.1.22", build_file = Label("//proto/raze/remote:tokio-0.1.22.BUILD"), ) - _new_http_archive( - name = "raze__tokio_codec__0_1_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-codec/tokio-codec-0.1.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_codec__0_1_2", + url = "https://crates.io/api/v1/crates/tokio-codec/0.1.2/download", type = "tar.gz", - strip_prefix = "tokio-codec-0.1.2", sha256 = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b", + strip_prefix = "tokio-codec-0.1.2", build_file = Label("//proto/raze/remote:tokio-codec-0.1.2.BUILD"), ) - _new_http_archive( - name = "raze__tokio_core__0_1_17", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-core/tokio-core-0.1.17.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_core__0_1_17", + url = "https://crates.io/api/v1/crates/tokio-core/0.1.17/download", type = "tar.gz", - strip_prefix = "tokio-core-0.1.17", sha256 = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71", + strip_prefix = "tokio-core-0.1.17", build_file = Label("//proto/raze/remote:tokio-core-0.1.17.BUILD"), ) - _new_http_archive( - name = "raze__tokio_current_thread__0_1_7", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-current-thread/tokio-current-thread-0.1.7.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_current_thread__0_1_7", + url = "https://crates.io/api/v1/crates/tokio-current-thread/0.1.7/download", type = "tar.gz", - strip_prefix = "tokio-current-thread-0.1.7", sha256 = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e", + strip_prefix = "tokio-current-thread-0.1.7", build_file = Label("//proto/raze/remote:tokio-current-thread-0.1.7.BUILD"), ) - _new_http_archive( - name = "raze__tokio_executor__0_1_10", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-executor/tokio-executor-0.1.10.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_executor__0_1_10", + url = "https://crates.io/api/v1/crates/tokio-executor/0.1.10/download", type = "tar.gz", - strip_prefix = "tokio-executor-0.1.10", sha256 = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671", + strip_prefix = "tokio-executor-0.1.10", build_file = Label("//proto/raze/remote:tokio-executor-0.1.10.BUILD"), ) - _new_http_archive( - name = "raze__tokio_fs__0_1_7", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-fs/tokio-fs-0.1.7.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_fs__0_1_7", + url = "https://crates.io/api/v1/crates/tokio-fs/0.1.7/download", type = "tar.gz", - strip_prefix = "tokio-fs-0.1.7", sha256 = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4", + strip_prefix = "tokio-fs-0.1.7", build_file = Label("//proto/raze/remote:tokio-fs-0.1.7.BUILD"), ) - _new_http_archive( - name = "raze__tokio_io__0_1_13", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-io/tokio-io-0.1.13.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_io__0_1_13", + url = "https://crates.io/api/v1/crates/tokio-io/0.1.13/download", type = "tar.gz", - strip_prefix = "tokio-io-0.1.13", sha256 = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674", + strip_prefix = "tokio-io-0.1.13", build_file = Label("//proto/raze/remote:tokio-io-0.1.13.BUILD"), ) - _new_http_archive( - name = "raze__tokio_reactor__0_1_12", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-reactor/tokio-reactor-0.1.12.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_reactor__0_1_12", + url = "https://crates.io/api/v1/crates/tokio-reactor/0.1.12/download", type = "tar.gz", - strip_prefix = "tokio-reactor-0.1.12", sha256 = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351", + strip_prefix = "tokio-reactor-0.1.12", build_file = Label("//proto/raze/remote:tokio-reactor-0.1.12.BUILD"), ) - _new_http_archive( - name = "raze__tokio_sync__0_1_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-sync/tokio-sync-0.1.8.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_sync__0_1_8", + url = "https://crates.io/api/v1/crates/tokio-sync/0.1.8/download", type = "tar.gz", - strip_prefix = "tokio-sync-0.1.8", sha256 = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee", + strip_prefix = "tokio-sync-0.1.8", build_file = Label("//proto/raze/remote:tokio-sync-0.1.8.BUILD"), ) - _new_http_archive( - name = "raze__tokio_tcp__0_1_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-tcp/tokio-tcp-0.1.4.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_tcp__0_1_4", + url = "https://crates.io/api/v1/crates/tokio-tcp/0.1.4/download", type = "tar.gz", - strip_prefix = "tokio-tcp-0.1.4", sha256 = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72", + strip_prefix = "tokio-tcp-0.1.4", build_file = Label("//proto/raze/remote:tokio-tcp-0.1.4.BUILD"), ) - _new_http_archive( - name = "raze__tokio_threadpool__0_1_18", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-threadpool/tokio-threadpool-0.1.18.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_threadpool__0_1_18", + url = "https://crates.io/api/v1/crates/tokio-threadpool/0.1.18/download", type = "tar.gz", - strip_prefix = "tokio-threadpool-0.1.18", sha256 = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89", + strip_prefix = "tokio-threadpool-0.1.18", build_file = Label("//proto/raze/remote:tokio-threadpool-0.1.18.BUILD"), ) - _new_http_archive( - name = "raze__tokio_timer__0_1_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-timer/tokio-timer-0.1.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_timer__0_1_2", + url = "https://crates.io/api/v1/crates/tokio-timer/0.1.2/download", type = "tar.gz", - strip_prefix = "tokio-timer-0.1.2", sha256 = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc", + strip_prefix = "tokio-timer-0.1.2", build_file = Label("//proto/raze/remote:tokio-timer-0.1.2.BUILD"), ) - _new_http_archive( - name = "raze__tokio_timer__0_2_13", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-timer/tokio-timer-0.2.13.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_timer__0_2_13", + url = "https://crates.io/api/v1/crates/tokio-timer/0.2.13/download", type = "tar.gz", - strip_prefix = "tokio-timer-0.2.13", sha256 = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296", + strip_prefix = "tokio-timer-0.2.13", build_file = Label("//proto/raze/remote:tokio-timer-0.2.13.BUILD"), ) - _new_http_archive( - name = "raze__tokio_tls_api__0_1_22", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-tls-api/tokio-tls-api-0.1.22.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_tls_api__0_1_22", + url = "https://crates.io/api/v1/crates/tokio-tls-api/0.1.22/download", type = "tar.gz", - strip_prefix = "tokio-tls-api-0.1.22", sha256 = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9", + strip_prefix = "tokio-tls-api-0.1.22", build_file = Label("//proto/raze/remote:tokio-tls-api-0.1.22.BUILD"), ) - _new_http_archive( - name = "raze__tokio_udp__0_1_6", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-udp/tokio-udp-0.1.6.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_udp__0_1_6", + url = "https://crates.io/api/v1/crates/tokio-udp/0.1.6/download", type = "tar.gz", - strip_prefix = "tokio-udp-0.1.6", sha256 = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82", + strip_prefix = "tokio-udp-0.1.6", build_file = Label("//proto/raze/remote:tokio-udp-0.1.6.BUILD"), ) - _new_http_archive( - name = "raze__tokio_uds__0_1_7", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-uds/tokio-uds-0.1.7.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_uds__0_1_7", + url = "https://crates.io/api/v1/crates/tokio-uds/0.1.7/download", type = "tar.gz", - strip_prefix = "tokio-uds-0.1.7", sha256 = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9", + strip_prefix = "tokio-uds-0.1.7", build_file = Label("//proto/raze/remote:tokio-uds-0.1.7.BUILD"), ) - _new_http_archive( - name = "raze__tokio_uds__0_2_6", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-uds/tokio-uds-0.2.6.crate", + maybe( + http_archive, + name = "rules_rust_proto__tokio_uds__0_2_6", + url = "https://crates.io/api/v1/crates/tokio-uds/0.2.6/download", type = "tar.gz", - strip_prefix = "tokio-uds-0.2.6", sha256 = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798", + strip_prefix = "tokio-uds-0.2.6", build_file = Label("//proto/raze/remote:tokio-uds-0.2.6.BUILD"), ) - _new_http_archive( - name = "raze__unix_socket__0_5_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unix_socket/unix_socket-0.5.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__unix_socket__0_5_0", + url = "https://crates.io/api/v1/crates/unix_socket/0.5.0/download", type = "tar.gz", - strip_prefix = "unix_socket-0.5.0", sha256 = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564", + strip_prefix = "unix_socket-0.5.0", build_file = Label("//proto/raze/remote:unix_socket-0.5.0.BUILD"), ) - _new_http_archive( - name = "raze__void__1_0_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/void/void-1.0.2.crate", + maybe( + http_archive, + name = "rules_rust_proto__void__1_0_2", + url = "https://crates.io/api/v1/crates/void/1.0.2/download", type = "tar.gz", - strip_prefix = "void-1.0.2", sha256 = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d", + strip_prefix = "void-1.0.2", build_file = Label("//proto/raze/remote:void-1.0.2.BUILD"), ) - _new_http_archive( - name = "raze__winapi__0_2_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.2.8.crate", + maybe( + http_archive, + name = "rules_rust_proto__winapi__0_2_8", + url = "https://crates.io/api/v1/crates/winapi/0.2.8/download", type = "tar.gz", - strip_prefix = "winapi-0.2.8", sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a", + strip_prefix = "winapi-0.2.8", build_file = Label("//proto/raze/remote:winapi-0.2.8.BUILD"), ) - _new_http_archive( - name = "raze__winapi__0_3_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.8.crate", + maybe( + http_archive, + name = "rules_rust_proto__winapi__0_3_8", + url = "https://crates.io/api/v1/crates/winapi/0.3.8/download", type = "tar.gz", - strip_prefix = "winapi-0.3.8", sha256 = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6", + strip_prefix = "winapi-0.3.8", build_file = Label("//proto/raze/remote:winapi-0.3.8.BUILD"), ) - _new_http_archive( - name = "raze__winapi_build__0_1_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-build/winapi-build-0.1.1.crate", + maybe( + http_archive, + name = "rules_rust_proto__winapi_build__0_1_1", + url = "https://crates.io/api/v1/crates/winapi-build/0.1.1/download", type = "tar.gz", - strip_prefix = "winapi-build-0.1.1", sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc", + strip_prefix = "winapi-build-0.1.1", build_file = Label("//proto/raze/remote:winapi-build-0.1.1.BUILD"), ) - _new_http_archive( - name = "raze__winapi_i686_pc_windows_gnu__0_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__winapi_i686_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", type = "tar.gz", - strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", build_file = Label("//proto/raze/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD"), ) - _new_http_archive( - name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate", + maybe( + http_archive, + name = "rules_rust_proto__winapi_x86_64_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", type = "tar.gz", - strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", build_file = Label("//proto/raze/remote:winapi-x86_64-pc-windows-gnu-0.4.0.BUILD"), ) - _new_http_archive( - name = "raze__ws2_32_sys__0_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ws2_32-sys/ws2_32-sys-0.2.1.crate", + maybe( + http_archive, + name = "rules_rust_proto__ws2_32_sys__0_2_1", + url = "https://crates.io/api/v1/crates/ws2_32-sys/0.2.1/download", type = "tar.gz", - strip_prefix = "ws2_32-sys-0.2.1", sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e", + strip_prefix = "ws2_32-sys-0.2.1", build_file = Label("//proto/raze/remote:ws2_32-sys-0.2.1.BUILD"), ) diff --git a/proto/raze/patch/README.md b/proto/raze/patch/README.md index 92aafa4727..2cd05d71a8 100644 --- a/proto/raze/patch/README.md +++ b/proto/raze/patch/README.md @@ -1,31 +1,31 @@ # Patches Cargo raze, in its remote mode allows for patches to be applied to a repository -before building it with rustc. It is advisable to use this functionality -sparingly, if at all. Also note that the patch is applied after all of the +before building it with rustc. It is advisable to use this functionality +sparingly, if at all. Also note that the patch is applied after all of the dependency resolution has been completed by cargo raze, and that patching the version of a dependency will not cause cargo raze to update that dependency in the BUILD file. -The patch itself can be generated using git or another tool. The output of git +The patch itself can be generated using git or another tool. The output of git diff requires the `-p1` option to remove the leading `/` from the git diff patch format. ## protobuf-2.8.2 + The protobuf crate from the rust-protobuf repository introduced a build.rs -script in the 2.x.x series. This generates a small version.rs file that would -be +script in the 2.x.x series. This generates a small version.rs file that would be [included into lib.rs](https://github.com/stepancheg/rust-protobuf/blob/v2.8/protobuf/src/lib.rs#L122). However, the build.rs file requires a number of environment variables, normally -provided by cargo to the build file. Cargo raze does not provide these -variables. The resulting code includes a version string and version identifier. +provided by cargo to the build file. Cargo raze does not provide these +variables. The resulting code includes a version string and version identifier. The version string is then used by protobuf-codegen to generate code refering to -the identifier in the protobuf library. The use can be seen +the identifier in the protobuf library. The use can be seen [here](https://github.com/stepancheg/rust-protobuf/blob/v2.8/protobuf-codegen/src/lib.rs#L160). This is to enforce at compile time that the version of protobuf-codegen matches the version of the protobuf crate. For this crate, the patch that is applied is replacing the include! macro with -what would be generated by the build.rs file. This lets us avoid running the +what would be generated by the build.rs file. This lets us avoid running the build file altogether, at the expense of having to update the patch for every version. diff --git a/proto/raze/remote/autocfg-1.0.0.BUILD b/proto/raze/remote/autocfg-1.0.0.BUILD index 21e5343c0a..9d57278d3e 100644 --- a/proto/raze/remote/autocfg-1.0.0.BUILD +++ b/proto/raze/remote/autocfg-1.0.0.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "autocfg", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.0.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "integers" with type "example" omitted # Unsupported target "paths" with type "example" omitted # Unsupported target "rustflags" with type "test" omitted diff --git a/proto/raze/remote/base64-0.9.3.BUILD b/proto/raze/remote/base64-0.9.3.BUILD index b22a1c0e0d..903ec6434f 100644 --- a/proto/raze/remote/base64-0.9.3.BUILD +++ b/proto/raze/remote/base64-0.9.3.BUILD @@ -1,47 +1,57 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "base64", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__byteorder__1_3_4//:byteorder", - "@raze__safemem__0_3_3//:safemem", + "@rules_rust_proto__byteorder__1_3_4//:byteorder", + "@rules_rust_proto__safemem__0_3_3//:safemem", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.9.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "benchmarks" with type "bench" omitted # Unsupported target "decode" with type "test" omitted # Unsupported target "encode" with type "test" omitted diff --git a/proto/raze/remote/bitflags-1.2.1.BUILD b/proto/raze/remote/bitflags-1.2.1.BUILD index 69c83d942b..614749123b 100644 --- a/proto/raze/remote/bitflags-1.2.1.BUILD +++ b/proto/raze/remote/bitflags-1.2.1.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "bitflags", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - # Unsupported target "build-script-build" with type "custom-build" omitted diff --git a/proto/raze/remote/byteorder-1.3.4.BUILD b/proto/raze/remote/byteorder-1.3.4.BUILD index f6d98337fe..42a415fb56 100644 --- a/proto/raze/remote/byteorder-1.3.4.BUILD +++ b/proto/raze/remote/byteorder-1.3.4.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # "Unlicense OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets # Unsupported target "bench" with type "bench" omitted # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "byteorder", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.3.4", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/proto/raze/remote/bytes-0.4.12.BUILD b/proto/raze/remote/bytes-0.4.12.BUILD index 30ea88d2c2..158a6e9381 100644 --- a/proto/raze/remote/bytes-0.4.12.BUILD +++ b/proto/raze/remote/bytes-0.4.12.BUILD @@ -1,48 +1,58 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "bytes" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "bytes", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__byteorder__1_3_4//:byteorder", - "@raze__iovec__0_1_4//:iovec", + "@rules_rust_proto__byteorder__1_3_4//:byteorder", + "@rules_rust_proto__iovec__0_1_4//:iovec", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.4.12", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "test_buf" with type "test" omitted # Unsupported target "test_buf_mut" with type "test" omitted # Unsupported target "test_bytes" with type "test" omitted diff --git a/proto/raze/remote/cfg-if-0.1.10.BUILD b/proto/raze/remote/cfg-if-0.1.10.BUILD index 742e03786d..993cef05f8 100644 --- a/proto/raze/remote/cfg-if-0.1.10.BUILD +++ b/proto/raze/remote/cfg-if-0.1.10.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "cfg_if", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2018", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.10", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "xcrate" with type "test" omitted diff --git a/proto/raze/remote/cloudabi-0.0.3.BUILD b/proto/raze/remote/cloudabi-0.0.3.BUILD index cc23281a0e..05880b9104 100644 --- a/proto/raze/remote/cloudabi-0.0.3.BUILD +++ b/proto/raze/remote/cloudabi-0.0.3.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # "BSD-2-Clause" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "restricted", # BSD-2-Clause from expression "BSD-2-Clause" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "cloudabi", - crate_root = "cloudabi.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bitflags__1_2_1//:bitflags", + "@rules_rust_proto__bitflags__1_2_1//:bitflags", ], + srcs = glob(["**/*.rs"]), + crate_root = "cloudabi.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.0.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "bitflags", "default", ], ) - diff --git a/proto/raze/remote/crossbeam-deque-0.7.3.BUILD b/proto/raze/remote/crossbeam-deque-0.7.3.BUILD index c12618c964..417c8a99a2 100644 --- a/proto/raze/remote/crossbeam-deque-0.7.3.BUILD +++ b/proto/raze/remote/crossbeam-deque-0.7.3.BUILD @@ -1,48 +1,58 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "crossbeam_deque", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__crossbeam_epoch__0_8_2//:crossbeam_epoch", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__maybe_uninit__2_0_0//:maybe_uninit", + "@rules_rust_proto__crossbeam_epoch__0_8_2//:crossbeam_epoch", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.7.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "fifo" with type "test" omitted # Unsupported target "injector" with type "test" omitted # Unsupported target "lifo" with type "test" omitted diff --git a/proto/raze/remote/crossbeam-epoch-0.8.2.BUILD b/proto/raze/remote/crossbeam-epoch-0.8.2.BUILD index c47a72ea6c..ec70c66e89 100644 --- a/proto/raze/remote/crossbeam-epoch-0.8.2.BUILD +++ b/proto/raze/remote/crossbeam-epoch-0.8.2.BUILD @@ -1,55 +1,65 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "crossbeam_epoch", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__maybe_uninit__2_0_0//:maybe_uninit", - "@raze__memoffset__0_5_4//:memoffset", - "@raze__scopeguard__1_1_0//:scopeguard", + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__lazy_static__1_4_0//:lazy_static", + "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit", + "@rules_rust_proto__memoffset__0_5_4//:memoffset", + "@rules_rust_proto__scopeguard__1_1_0//:scopeguard", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "lazy_static", "std", ], ) - # Unsupported target "defer" with type "bench" omitted # Unsupported target "flush" with type "bench" omitted # Unsupported target "pin" with type "bench" omitted diff --git a/proto/raze/remote/crossbeam-queue-0.2.1.BUILD b/proto/raze/remote/crossbeam-queue-0.2.1.BUILD index 29c51902e7..142584ef46 100644 --- a/proto/raze/remote/crossbeam-queue-0.2.1.BUILD +++ b/proto/raze/remote/crossbeam-queue-0.2.1.BUILD @@ -1,49 +1,58 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" - "restricted", # "Apache-2.0 AND BSD-2-Clause" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR (Apache-2.0 AND BSD-2-Clause)" +]) + +# Generated targets # Unsupported target "array_queue" with type "test" omitted +# buildifier: leave-alone rust_library( name = "crossbeam_queue", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - # Unsupported target "seg_queue" with type "test" omitted diff --git a/proto/raze/remote/crossbeam-utils-0.7.2.BUILD b/proto/raze/remote/crossbeam-utils-0.7.2.BUILD index d5ebcc2699..8a455adb55 100644 --- a/proto/raze/remote/crossbeam-utils-0.7.2.BUILD +++ b/proto/raze/remote/crossbeam-utils-0.7.2.BUILD @@ -1,54 +1,64 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "atomic_cell" with type "bench" omitted # Unsupported target "atomic_cell" with type "test" omitted # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "cache_padded" with type "test" omitted +# buildifier: leave-alone rust_library( name = "crossbeam_utils", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__lazy_static__1_4_0//:lazy_static", + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__lazy_static__1_4_0//:lazy_static", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.7.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "lazy_static", "std", ], ) - # Unsupported target "parker" with type "test" omitted # Unsupported target "sharded_lock" with type "test" omitted # Unsupported target "thread" with type "test" omitted diff --git a/proto/raze/remote/fnv-1.0.6.BUILD b/proto/raze/remote/fnv-1.0.6.BUILD index 7e6e077eed..c3ade98fbc 100644 --- a/proto/raze/remote/fnv-1.0.6.BUILD +++ b/proto/raze/remote/fnv-1.0.6.BUILD @@ -1,42 +1,52 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "Apache-2.0,MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "fnv", - crate_root = "lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.0.6", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/fuchsia-zircon-0.3.3.BUILD b/proto/raze/remote/fuchsia-zircon-0.3.3.BUILD index f5e9587594..a850c5b007 100644 --- a/proto/raze/remote/fuchsia-zircon-0.3.3.BUILD +++ b/proto/raze/remote/fuchsia-zircon-0.3.3.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "BSD-3-Clause" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "fuchsia_zircon", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bitflags__1_2_1//:bitflags", - "@raze__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys", + "@rules_rust_proto__bitflags__1_2_1//:bitflags", + "@rules_rust_proto__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD b/proto/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD index 4b47fc6220..63ba2f28a7 100644 --- a/proto/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD +++ b/proto/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "BSD-3-Clause" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "fuchsia_zircon_sys", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "hello" with type "example" omitted diff --git a/proto/raze/remote/futures-0.1.29.BUILD b/proto/raze/remote/futures-0.1.29.BUILD index 92ec0b3ddf..a9de2ab723 100644 --- a/proto/raze/remote/futures-0.1.29.BUILD +++ b/proto/raze/remote/futures-0.1.29.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "all" with type "test" omitted # Unsupported target "bilock" with type "bench" omitted # Unsupported target "bilock" with type "test" omitted @@ -33,25 +39,29 @@ load( # Unsupported target "fuse" with type "test" omitted # Unsupported target "future_flatten_stream" with type "test" omitted +# buildifier: leave-alone rust_library( name = "futures", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.29", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "use_std", "with-deprecated", ], ) - # Unsupported target "futures_ordered" with type "test" omitted # Unsupported target "futures_unordered" with type "bench" omitted # Unsupported target "futures_unordered" with type "test" omitted diff --git a/proto/raze/remote/futures-cpupool-0.1.8.BUILD b/proto/raze/remote/futures-cpupool-0.1.8.BUILD index a0d45b2bb3..bce3b1c780 100644 --- a/proto/raze/remote/futures-cpupool-0.1.8.BUILD +++ b/proto/raze/remote/futures-cpupool-0.1.8.BUILD @@ -1,47 +1,57 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "futures_cpupool", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__futures__0_1_29//:futures", - "@raze__num_cpus__1_13_0//:num_cpus", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__num_cpus__1_13_0//:num_cpus", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "with-deprecated", ], ) - # Unsupported target "smoke" with type "test" omitted diff --git a/proto/raze/remote/grpc-0.6.2.BUILD b/proto/raze/remote/grpc-0.6.2.BUILD index 665646813c..04c964c641 100644 --- a/proto/raze/remote/grpc-0.6.2.BUILD +++ b/proto/raze/remote/grpc-0.6.2.BUILD @@ -1,57 +1,67 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "client" with type "test" omitted +# buildifier: leave-alone rust_library( name = "grpc", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__base64__0_9_3//:base64", - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__futures_cpupool__0_1_8//:futures_cpupool", - "@raze__httpbis__0_7_0//:httpbis", - "@raze__log__0_4_6//:log", - "@raze__protobuf__2_8_2//:protobuf", - "@raze__tls_api__0_1_22//:tls_api", - "@raze__tls_api_stub__0_1_22//:tls_api_stub", - "@raze__tokio_core__0_1_17//:tokio_core", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_tls_api__0_1_22//:tokio_tls_api", + "@rules_rust_proto__base64__0_9_3//:base64", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__futures_cpupool__0_1_8//:futures_cpupool", + "@rules_rust_proto__httpbis__0_7_0//:httpbis", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__tls_api__0_1_22//:tls_api", + "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub", + "@rules_rust_proto__tokio_core__0_1_17//:tokio_core", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_tls_api__0_1_22//:tokio_tls_api", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "server" with type "test" omitted # Unsupported target "simple" with type "test" omitted diff --git a/proto/raze/remote/grpc-compiler-0.6.2.BUILD b/proto/raze/remote/grpc-compiler-0.6.2.BUILD index 4d66875278..da8b132733 100644 --- a/proto/raze/remote/grpc-compiler-0.6.2.BUILD +++ b/proto/raze/remote/grpc-compiler-0.6.2.BUILD @@ -1,65 +1,80 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "grpc_compiler", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__protobuf__2_8_2//:protobuf", - "@raze__protobuf_codegen__2_8_2//:protobuf_codegen", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) +# buildifier: leave-alone rust_binary( # Prefix bin name to disambiguate from (probable) collision with lib name # N.B.: The exact form of this is subject to change. name = "cargo_bin_protoc_gen_rust_grpc", - crate_root = "src/bin/protoc-gen-rust-grpc.rs", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ # Binaries get an implicit dependency on their crate's lib ":grpc_compiler", - "@raze__protobuf__2_8_2//:protobuf", - "@raze__protobuf_codegen__2_8_2//:protobuf_codegen", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/protoc-gen-rust-grpc.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/hermit-abi-0.1.11.BUILD b/proto/raze/remote/hermit-abi-0.1.11.BUILD index b9ba28a165..c14e774db7 100644 --- a/proto/raze/remote/hermit-abi-0.1.11.BUILD +++ b/proto/raze/remote/hermit-abi-0.1.11.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "hermit_abi", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__libc__0_2_69//:libc", + "@rules_rust_proto__libc__0_2_69//:libc", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.11", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - diff --git a/proto/raze/remote/httpbis-0.7.0.BUILD b/proto/raze/remote/httpbis-0.7.0.BUILD index 2d15253894..2143fd95b4 100644 --- a/proto/raze/remote/httpbis-0.7.0.BUILD +++ b/proto/raze/remote/httpbis-0.7.0.BUILD @@ -1,60 +1,93 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "client" with type "example" omitted # Unsupported target "client_server" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "httpbis", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__futures_cpupool__0_1_8//:futures_cpupool", - "@raze__log__0_4_6//:log", - "@raze__net2__0_2_33//:net2", - "@raze__tls_api__0_1_22//:tls_api", - "@raze__tls_api_stub__0_1_22//:tls_api_stub", - "@raze__tokio_core__0_1_17//:tokio_core", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_timer__0_1_2//:tokio_timer", - "@raze__tokio_tls_api__0_1_22//:tokio_tls_api", - "@raze__tokio_uds__0_1_7//:tokio_uds", - "@raze__unix_socket__0_5_0//:unix_socket", - "@raze__void__1_0_2//:void", - ], + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__futures_cpupool__0_1_8//:futures_cpupool", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__net2__0_2_33//:net2", + "@rules_rust_proto__tls_api__0_1_22//:tls_api", + "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub", + "@rules_rust_proto__tokio_core__0_1_17//:tokio_core", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_timer__0_1_2//:tokio_timer", + "@rules_rust_proto__tokio_tls_api__0_1_22//:tokio_tls_api", + "@rules_rust_proto__void__1_0_2//:void", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__tokio_uds__0_1_7//:tokio_uds", + "@rules_rust_proto__unix_socket__0_5_0//:unix_socket", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.7.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - # Unsupported target "server" with type "example" omitted diff --git a/proto/raze/remote/iovec-0.1.4.BUILD b/proto/raze/remote/iovec-0.1.4.BUILD index ea20a38cd1..b376373a8a 100644 --- a/proto/raze/remote/iovec-0.1.4.BUILD +++ b/proto/raze/remote/iovec-0.1.4.BUILD @@ -1,43 +1,76 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets +# buildifier: leave-alone rust_library( name = "iovec", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__libc__0_2_69//:libc", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__libc__0_2_69//:libc", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.4", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/proto/raze/remote/kernel32-sys-0.2.2.BUILD b/proto/raze/remote/kernel32-sys-0.2.2.BUILD index 5cc8651ca2..1c5daf25f2 100644 --- a/proto/raze/remote/kernel32-sys-0.2.2.BUILD +++ b/proto/raze/remote/kernel32-sys-0.2.2.BUILD @@ -1,48 +1,63 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted + alias( - name = "kernel32_sys", - actual = ":kernel32", + name = "kernel32_sys", + actual = ":kernel32", + tags = [ + "cargo-raze", + "manual", + ], ) +# buildifier: leave-alone rust_library( name = "kernel32", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__winapi__0_2_8//:winapi", + "@rules_rust_proto__winapi__0_2_8//:winapi", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/lazy_static-1.4.0.BUILD b/proto/raze/remote/lazy_static-1.4.0.BUILD index ee1395ffb2..a57a4287ff 100644 --- a/proto/raze/remote/lazy_static-1.4.0.BUILD +++ b/proto/raze/remote/lazy_static-1.4.0.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "lazy_static", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", "--cfg=lazy_static_heap_impl", ], version = "1.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "no_std" with type "test" omitted # Unsupported target "test" with type "test" omitted diff --git a/proto/raze/remote/libc-0.2.69.BUILD b/proto/raze/remote/libc-0.2.69.BUILD index dccdbe913a..9b78e8734f 100644 --- a/proto/raze/remote/libc-0.2.69.BUILD +++ b/proto/raze/remote/libc-0.2.69.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "const_fn" with type "test" omitted +# buildifier: leave-alone rust_library( name = "libc", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.69", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/proto/raze/remote/lock_api-0.3.4.BUILD b/proto/raze/remote/lock_api-0.3.4.BUILD index 7a14494284..9c788a9b97 100644 --- a/proto/raze/remote/lock_api-0.3.4.BUILD +++ b/proto/raze/remote/lock_api-0.3.4.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "Apache-2.0,MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "lock_api", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2018", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__scopeguard__1_1_0//:scopeguard", + "@rules_rust_proto__scopeguard__1_1_0//:scopeguard", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.4", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/log-0.3.9.BUILD b/proto/raze/remote/log-0.3.9.BUILD index 415801333f..9355828e18 100644 --- a/proto/raze/remote/log-0.3.9.BUILD +++ b/proto/raze/remote/log-0.3.9.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "log", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__log__0_4_6//:log", + "@rules_rust_proto__log__0_4_6//:log", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.9", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "use_std", ], ) - diff --git a/proto/raze/remote/log-0.4.6.BUILD b/proto/raze/remote/log-0.4.6.BUILD index 5a8a0979f8..4342d5175b 100644 --- a/proto/raze/remote/log-0.4.6.BUILD +++ b/proto/raze/remote/log-0.4.6.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "filters" with type "test" omitted +# buildifier: leave-alone rust_library( name = "log", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.4.6", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "std", ], ) - diff --git a/proto/raze/remote/maybe-uninit-2.0.0.BUILD b/proto/raze/remote/maybe-uninit-2.0.0.BUILD index 7339249187..e19c8c0e2e 100644 --- a/proto/raze/remote/maybe-uninit-2.0.0.BUILD +++ b/proto/raze/remote/maybe-uninit-2.0.0.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "doesnt_drop" with type "test" omitted +# buildifier: leave-alone rust_library( name = "maybe_uninit", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "2.0.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/memoffset-0.5.4.BUILD b/proto/raze/remote/memoffset-0.5.4.BUILD index a62557da91..6c26a144d6 100644 --- a/proto/raze/remote/memoffset-0.5.4.BUILD +++ b/proto/raze/remote/memoffset-0.5.4.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "memoffset", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.5.4", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - diff --git a/proto/raze/remote/mio-0.6.21.BUILD b/proto/raze/remote/mio-0.6.21.BUILD index c7ccb2d180..3fee5d0ac8 100644 --- a/proto/raze/remote/mio-0.6.21.BUILD +++ b/proto/raze/remote/mio-0.6.21.BUILD @@ -1,52 +1,96 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) +# Generated targets # Unsupported target "bench_poll" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "mio", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_69//:libc", - "@raze__log__0_4_6//:log", - "@raze__net2__0_2_33//:net2", - "@raze__slab__0_4_2//:slab", - ], + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__net2__0_2_33//:net2", + "@rules_rust_proto__slab__0_4_2//:slab", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__libc__0_2_69//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_proto__kernel32_sys__0_2_2//:kernel32_sys", + "@rules_rust_proto__miow__0_2_1//:miow", + "@rules_rust_proto__winapi__0_2_8//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.21", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "with-deprecated", ], + aliases = { + }, ) - # Unsupported target "test" with type "test" omitted diff --git a/proto/raze/remote/mio-uds-0.6.7.BUILD b/proto/raze/remote/mio-uds-0.6.7.BUILD index b54d669b5b..a731daee82 100644 --- a/proto/raze/remote/mio-uds-0.6.7.BUILD +++ b/proto/raze/remote/mio-uds-0.6.7.BUILD @@ -1,47 +1,80 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "echo" with type "test" omitted +# buildifier: leave-alone rust_library( name = "mio_uds", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_69//:libc", - "@raze__mio__0_6_21//:mio", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__libc__0_2_69//:libc", + "@rules_rust_proto__mio__0_6_21//:mio", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.7", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - # Unsupported target "smoke" with type "test" omitted diff --git a/proto/raze/remote/miow-0.2.1.BUILD b/proto/raze/remote/miow-0.2.1.BUILD index af32a1df00..f4acf5b498 100644 --- a/proto/raze/remote/miow-0.2.1.BUILD +++ b/proto/raze/remote/miow-0.2.1.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "miow", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__kernel32_sys__0_2_2//:kernel32_sys", - "@raze__net2__0_2_33//:net2", - "@raze__winapi__0_2_8//:winapi", - "@raze__ws2_32_sys__0_2_1//:ws2_32_sys", + "@rules_rust_proto__kernel32_sys__0_2_2//:kernel32_sys", + "@rules_rust_proto__net2__0_2_33//:net2", + "@rules_rust_proto__winapi__0_2_8//:winapi", + "@rules_rust_proto__ws2_32_sys__0_2_1//:ws2_32_sys", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/net2-0.2.33.BUILD b/proto/raze/remote/net2-0.2.33.BUILD index 4e879f94ac..b4c4721574 100644 --- a/proto/raze/remote/net2-0.2.33.BUILD +++ b/proto/raze/remote/net2-0.2.33.BUILD @@ -1,47 +1,89 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "all" with type "test" omitted +# buildifier: leave-alone rust_library( name = "net2", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__libc__0_2_69//:libc", - ], + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + ] + selects.with_or({ + # cfg(any(target_os = "redox", unix)) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__libc__0_2_69//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_proto__winapi__0_3_8//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.33", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "duration", ], + aliases = { + }, ) - diff --git a/proto/raze/remote/num_cpus-1.13.0.BUILD b/proto/raze/remote/num_cpus-1.13.0.BUILD index 5b5fd96f61..b687e339ed 100644 --- a/proto/raze/remote/num_cpus-1.13.0.BUILD +++ b/proto/raze/remote/num_cpus-1.13.0.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "num_cpus", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__libc__0_2_69//:libc", + "@rules_rust_proto__libc__0_2_69//:libc", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.13.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "values" with type "example" omitted diff --git a/proto/raze/remote/parking_lot-0.9.0.BUILD b/proto/raze/remote/parking_lot-0.9.0.BUILD index d6c544edfb..0fe735358b 100644 --- a/proto/raze/remote/parking_lot-0.9.0.BUILD +++ b/proto/raze/remote/parking_lot-0.9.0.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "Apache-2.0,MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "parking_lot", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2018", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__lock_api__0_3_4//:lock_api", - "@raze__parking_lot_core__0_6_2//:parking_lot_core", + "@rules_rust_proto__lock_api__0_3_4//:lock_api", + "@rules_rust_proto__parking_lot_core__0_6_2//:parking_lot_core", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], version = "0.9.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - diff --git a/proto/raze/remote/parking_lot_core-0.6.2.BUILD b/proto/raze/remote/parking_lot_core-0.6.2.BUILD index 32553a2347..cfaab64d0c 100644 --- a/proto/raze/remote/parking_lot_core-0.6.2.BUILD +++ b/proto/raze/remote/parking_lot_core-0.6.2.BUILD @@ -1,46 +1,88 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "Apache-2.0,MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "parking_lot_core", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2018", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__libc__0_2_69//:libc", - "@raze__smallvec__0_6_13//:smallvec", - ], + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__smallvec__0_6_13//:smallvec", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__libc__0_2_69//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_proto__winapi__0_3_8//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/proto/raze/remote/protobuf-2.8.2.BUILD b/proto/raze/remote/protobuf-2.8.2.BUILD index c014547e8d..f6417c4bc6 100644 --- a/proto/raze/remote/protobuf-2.8.2.BUILD +++ b/proto/raze/remote/protobuf-2.8.2.BUILD @@ -1,48 +1,58 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "coded_input_stream" with type "bench" omitted # Unsupported target "coded_output_stream" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "protobuf", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", + "@rules_rust_proto__bytes__0_4_12//:bytes", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "2.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "bytes", "with-bytes", ], ) - diff --git a/proto/raze/remote/protobuf-codegen-2.8.2.BUILD b/proto/raze/remote/protobuf-codegen-2.8.2.BUILD index 43b04dfafc..ec8df97598 100644 --- a/proto/raze/remote/protobuf-codegen-2.8.2.BUILD +++ b/proto/raze/remote/protobuf-codegen-2.8.2.BUILD @@ -1,83 +1,103 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_binary( # Prefix bin name to disambiguate from (probable) collision with lib name # N.B.: The exact form of this is subject to change. name = "cargo_bin_protobuf_bin_gen_rust_do_not_use", - crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ # Binaries get an implicit dependency on their crate's lib ":protobuf_codegen", - "@raze__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "2.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - +# buildifier: leave-alone rust_library( name = "protobuf_codegen", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "2.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) +# buildifier: leave-alone rust_binary( # Prefix bin name to disambiguate from (probable) collision with lib name # N.B.: The exact form of this is subject to change. name = "cargo_bin_protoc_gen_rust", - crate_root = "src/bin/protoc-gen-rust.rs", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ # Binaries get an implicit dependency on their crate's lib ":protobuf_codegen", - "@raze__protobuf__2_8_2//:protobuf", + "@rules_rust_proto__protobuf__2_8_2//:protobuf", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/protoc-gen-rust.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "2.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/redox_syscall-0.1.56.BUILD b/proto/raze/remote/redox_syscall-0.1.56.BUILD index ed022d4cde..a54ce6cf08 100644 --- a/proto/raze/remote/redox_syscall-0.1.56.BUILD +++ b/proto/raze/remote/redox_syscall-0.1.56.BUILD @@ -1,46 +1,61 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets alias( - name = "redox_syscall", - actual = ":syscall", + name = "redox_syscall", + actual = ":syscall", + tags = [ + "cargo-raze", + "manual", + ], ) +# buildifier: leave-alone rust_library( name = "syscall", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.56", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/rustc_version-0.2.3.BUILD b/proto/raze/remote/rustc_version-0.2.3.BUILD index 64ad07cb21..99ee76eac5 100644 --- a/proto/raze/remote/rustc_version-0.2.3.BUILD +++ b/proto/raze/remote/rustc_version-0.2.3.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "rustc_version", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__semver__0_9_0//:semver", + "@rules_rust_proto__semver__0_9_0//:semver", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/safemem-0.3.3.BUILD b/proto/raze/remote/safemem-0.3.3.BUILD index 30a8b06c06..627e74b889 100644 --- a/proto/raze/remote/safemem-0.3.3.BUILD +++ b/proto/raze/remote/safemem-0.3.3.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "safemem", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/proto/raze/remote/scoped-tls-0.1.2.BUILD b/proto/raze/remote/scoped-tls-0.1.2.BUILD index 3fa143258c..961e55c2fb 100644 --- a/proto/raze/remote/scoped-tls-0.1.2.BUILD +++ b/proto/raze/remote/scoped-tls-0.1.2.BUILD @@ -1,42 +1,52 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "scoped_tls", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/scopeguard-1.1.0.BUILD b/proto/raze/remote/scopeguard-1.1.0.BUILD index 84534b62dd..b367d2e609 100644 --- a/proto/raze/remote/scopeguard-1.1.0.BUILD +++ b/proto/raze/remote/scopeguard-1.1.0.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "readme" with type "example" omitted +# buildifier: leave-alone rust_library( name = "scopeguard", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/semver-0.9.0.BUILD b/proto/raze/remote/semver-0.9.0.BUILD index 9d142d1676..560fc8c581 100644 --- a/proto/raze/remote/semver-0.9.0.BUILD +++ b/proto/raze/remote/semver-0.9.0.BUILD @@ -1,47 +1,57 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "deprecation" with type "test" omitted # Unsupported target "regression" with type "test" omitted +# buildifier: leave-alone rust_library( name = "semver", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__semver_parser__0_7_0//:semver_parser", + "@rules_rust_proto__semver_parser__0_7_0//:semver_parser", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.9.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - # Unsupported target "serde" with type "test" omitted diff --git a/proto/raze/remote/semver-parser-0.7.0.BUILD b/proto/raze/remote/semver-parser-0.7.0.BUILD index d40ebc89ae..90971ede95 100644 --- a/proto/raze/remote/semver-parser-0.7.0.BUILD +++ b/proto/raze/remote/semver-parser-0.7.0.BUILD @@ -1,42 +1,52 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "semver_parser", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.7.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/slab-0.3.0.BUILD b/proto/raze/remote/slab-0.3.0.BUILD index 98899c0d9f..9ea4db7e97 100644 --- a/proto/raze/remote/slab-0.3.0.BUILD +++ b/proto/raze/remote/slab-0.3.0.BUILD @@ -1,42 +1,52 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "slab", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/slab-0.4.2.BUILD b/proto/raze/remote/slab-0.4.2.BUILD index 4c83cd6e14..dd62875684 100644 --- a/proto/raze/remote/slab-0.4.2.BUILD +++ b/proto/raze/remote/slab-0.4.2.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "slab", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.4.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "slab" with type "test" omitted diff --git a/proto/raze/remote/smallvec-0.6.13.BUILD b/proto/raze/remote/smallvec-0.6.13.BUILD index 8501d72e29..9e838b2af7 100644 --- a/proto/raze/remote/smallvec-0.6.13.BUILD +++ b/proto/raze/remote/smallvec-0.6.13.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "bench" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "smallvec", - crate_root = "lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__maybe_uninit__2_0_0//:maybe_uninit", + "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit", ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.6.13", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/proto/raze/remote/tls-api-0.1.22.BUILD b/proto/raze/remote/tls-api-0.1.22.BUILD index 76aa70de61..c5fee1553c 100644 --- a/proto/raze/remote/tls-api-0.1.22.BUILD +++ b/proto/raze/remote/tls-api-0.1.22.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "tls_api", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__log__0_4_6//:log", + "@rules_rust_proto__log__0_4_6//:log", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.22", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tls-api-stub-0.1.22.BUILD b/proto/raze/remote/tls-api-stub-0.1.22.BUILD index faf9a8942e..d4b92b3737 100644 --- a/proto/raze/remote/tls-api-stub-0.1.22.BUILD +++ b/proto/raze/remote/tls-api-stub-0.1.22.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "tls_api_stub", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__tls_api__0_1_22//:tls_api", - "@raze__void__1_0_2//:void", + "@rules_rust_proto__tls_api__0_1_22//:tls_api", + "@rules_rust_proto__void__1_0_2//:void", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.22", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-0.1.22.BUILD b/proto/raze/remote/tokio-0.1.22.BUILD index 80a7dfd59f..8a95227b73 100644 --- a/proto/raze/remote/tokio-0.1.22.BUILD +++ b/proto/raze/remote/tokio-0.1.22.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) +# Generated targets # Unsupported target "blocking" with type "example" omitted # Unsupported target "buffered" with type "test" omitted # Unsupported target "chat" with type "example" omitted @@ -48,34 +54,60 @@ load( # Unsupported target "tinydb" with type "example" omitted # Unsupported target "tinyhttp" with type "example" omitted +# buildifier: leave-alone rust_library( name = "tokio", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__mio__0_6_21//:mio", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_current_thread__0_1_7//:tokio_current_thread", - "@raze__tokio_executor__0_1_10//:tokio_executor", - "@raze__tokio_fs__0_1_7//:tokio_fs", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - "@raze__tokio_sync__0_1_8//:tokio_sync", - "@raze__tokio_tcp__0_1_4//:tokio_tcp", - "@raze__tokio_threadpool__0_1_18//:tokio_threadpool", - "@raze__tokio_timer__0_2_13//:tokio_timer", - "@raze__tokio_udp__0_1_6//:tokio_udp", - "@raze__tokio_uds__0_2_6//:tokio_uds", - ], + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__num_cpus__1_13_0//:num_cpus", + "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec", + "@rules_rust_proto__tokio_current_thread__0_1_7//:tokio_current_thread", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__tokio_fs__0_1_7//:tokio_fs", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor", + "@rules_rust_proto__tokio_sync__0_1_8//:tokio_sync", + "@rules_rust_proto__tokio_tcp__0_1_4//:tokio_tcp", + "@rules_rust_proto__tokio_threadpool__0_1_18//:tokio_threadpool", + "@rules_rust_proto__tokio_timer__0_2_13//:tokio_timer", + "@rules_rust_proto__tokio_udp__0_1_6//:tokio_udp", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_proto__tokio_uds__0_2_6//:tokio_uds", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.22", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "bytes", "codec", @@ -104,7 +136,8 @@ rust_library( "udp", "uds", ], + aliases = { + }, ) - # Unsupported target "udp-client" with type "example" omitted # Unsupported target "udp-codec" with type "example" omitted diff --git a/proto/raze/remote/tokio-codec-0.1.2.BUILD b/proto/raze/remote/tokio-codec-0.1.2.BUILD index d7276de05d..d25bc0ea00 100644 --- a/proto/raze/remote/tokio-codec-0.1.2.BUILD +++ b/proto/raze/remote/tokio-codec-0.1.2.BUILD @@ -1,49 +1,59 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "codecs" with type "test" omitted # Unsupported target "framed" with type "test" omitted # Unsupported target "framed_read" with type "test" omitted # Unsupported target "framed_write" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_codec", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-core-0.1.17.BUILD b/proto/raze/remote/tokio-core-0.1.17.BUILD index 6274181866..9e523bf637 100644 --- a/proto/raze/remote/tokio-core-0.1.17.BUILD +++ b/proto/raze/remote/tokio-core-0.1.17.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "buffered" with type "test" omitted # Unsupported target "chain" with type "test" omitted # Unsupported target "chat" with type "example" omitted @@ -49,32 +55,36 @@ load( # Unsupported target "tinydb" with type "example" omitted # Unsupported target "tinyhttp" with type "example" omitted +# buildifier: leave-alone rust_library( name = "tokio_core", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__log__0_4_6//:log", - "@raze__mio__0_6_21//:mio", - "@raze__scoped_tls__0_1_2//:scoped_tls", - "@raze__tokio__0_1_22//:tokio", - "@raze__tokio_executor__0_1_10//:tokio_executor", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - "@raze__tokio_timer__0_2_13//:tokio_timer", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__scoped_tls__0_1_2//:scoped_tls", + "@rules_rust_proto__tokio__0_1_22//:tokio", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor", + "@rules_rust_proto__tokio_timer__0_2_13//:tokio_timer", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.17", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "udp" with type "test" omitted # Unsupported target "udp-codec" with type "example" omitted diff --git a/proto/raze/remote/tokio-current-thread-0.1.7.BUILD b/proto/raze/remote/tokio-current-thread-0.1.7.BUILD index 5c5c867485..7790afdbeb 100644 --- a/proto/raze/remote/tokio-current-thread-0.1.7.BUILD +++ b/proto/raze/remote/tokio-current-thread-0.1.7.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "current_thread" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_current_thread", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__futures__0_1_29//:futures", - "@raze__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.7", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-executor-0.1.10.BUILD b/proto/raze/remote/tokio-executor-0.1.10.BUILD index 0978a62019..65f3ca043b 100644 --- a/proto/raze/remote/tokio-executor-0.1.10.BUILD +++ b/proto/raze/remote/tokio-executor-0.1.10.BUILD @@ -1,45 +1,55 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "executor" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_executor", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_29//:futures", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__futures__0_1_29//:futures", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.10", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-fs-0.1.7.BUILD b/proto/raze/remote/tokio-fs-0.1.7.BUILD index f177c9d0a3..2e859c840f 100644 --- a/proto/raze/remote/tokio-fs-0.1.7.BUILD +++ b/proto/raze/remote/tokio-fs-0.1.7.BUILD @@ -1,49 +1,59 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "dir" with type "test" omitted # Unsupported target "file" with type "test" omitted # Unsupported target "link" with type "test" omitted # Unsupported target "std-echo" with type "example" omitted +# buildifier: leave-alone rust_library( name = "tokio_fs", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__futures__0_1_29//:futures", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_threadpool__0_1_18//:tokio_threadpool", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_threadpool__0_1_18//:tokio_threadpool", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.7", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-io-0.1.13.BUILD b/proto/raze/remote/tokio-io-0.1.13.BUILD index b0b720833a..31538f25a3 100644 --- a/proto/raze/remote/tokio-io-0.1.13.BUILD +++ b/proto/raze/remote/tokio-io-0.1.13.BUILD @@ -1,47 +1,57 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "async_read" with type "test" omitted # Unsupported target "length_delimited" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_io", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__log__0_4_6//:log", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__log__0_4_6//:log", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.13", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-reactor-0.1.12.BUILD b/proto/raze/remote/tokio-reactor-0.1.12.BUILD index 2ef247f664..660adf8028 100644 --- a/proto/raze/remote/tokio-reactor-0.1.12.BUILD +++ b/proto/raze/remote/tokio-reactor-0.1.12.BUILD @@ -1,54 +1,64 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "basic" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "tokio_reactor", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_29//:futures", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__log__0_4_6//:log", - "@raze__mio__0_6_21//:mio", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__parking_lot__0_9_0//:parking_lot", - "@raze__slab__0_4_2//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_sync__0_1_8//:tokio_sync", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__lazy_static__1_4_0//:lazy_static", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__num_cpus__1_13_0//:num_cpus", + "@rules_rust_proto__parking_lot__0_9_0//:parking_lot", + "@rules_rust_proto__slab__0_4_2//:slab", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_sync__0_1_8//:tokio_sync", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.12", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-sync-0.1.8.BUILD b/proto/raze/remote/tokio-sync-0.1.8.BUILD index 1021eed98a..afc3977a33 100644 --- a/proto/raze/remote/tokio-sync-0.1.8.BUILD +++ b/proto/raze/remote/tokio-sync-0.1.8.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "atomic_task" with type "test" omitted # Unsupported target "errors" with type "test" omitted # Unsupported target "fuzz_atomic_task" with type "test" omitted @@ -37,22 +43,26 @@ load( # Unsupported target "oneshot" with type "test" omitted # Unsupported target "semaphore" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_sync", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__fnv__1_0_6//:fnv", - "@raze__futures__0_1_29//:futures", + "@rules_rust_proto__fnv__1_0_6//:fnv", + "@rules_rust_proto__futures__0_1_29//:futures", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "watch" with type "test" omitted diff --git a/proto/raze/remote/tokio-tcp-0.1.4.BUILD b/proto/raze/remote/tokio-tcp-0.1.4.BUILD index 896c75208d..368633cef7 100644 --- a/proto/raze/remote/tokio-tcp-0.1.4.BUILD +++ b/proto/raze/remote/tokio-tcp-0.1.4.BUILD @@ -1,53 +1,63 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "chain" with type "test" omitted # Unsupported target "echo" with type "test" omitted # Unsupported target "limit" with type "test" omitted # Unsupported target "stream-buffered" with type "test" omitted # Unsupported target "tcp" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_tcp", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__mio__0_6_21//:mio", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.4", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-threadpool-0.1.18.BUILD b/proto/raze/remote/tokio-threadpool-0.1.18.BUILD index ed939b42e3..26ab67b811 100644 --- a/proto/raze/remote/tokio-threadpool-0.1.18.BUILD +++ b/proto/raze/remote/tokio-threadpool-0.1.18.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "basic" with type "bench" omitted # Unsupported target "blocking" with type "bench" omitted # Unsupported target "blocking" with type "test" omitted @@ -32,28 +38,32 @@ load( # Unsupported target "hello" with type "example" omitted # Unsupported target "threadpool" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_threadpool", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__crossbeam_deque__0_7_3//:crossbeam_deque", - "@raze__crossbeam_queue__0_2_1//:crossbeam_queue", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_29//:futures", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__log__0_4_6//:log", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__slab__0_4_2//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__crossbeam_deque__0_7_3//:crossbeam_deque", + "@rules_rust_proto__crossbeam_queue__0_2_1//:crossbeam_queue", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__lazy_static__1_4_0//:lazy_static", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__num_cpus__1_13_0//:num_cpus", + "@rules_rust_proto__slab__0_4_2//:slab", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.18", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-timer-0.1.2.BUILD b/proto/raze/remote/tokio-timer-0.1.2.BUILD index db13a7720f..6e497786e5 100644 --- a/proto/raze/remote/tokio-timer-0.1.2.BUILD +++ b/proto/raze/remote/tokio-timer-0.1.2.BUILD @@ -1,46 +1,56 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "support" with type "test" omitted # Unsupported target "test_timer" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_timer", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__futures__0_1_29//:futures", - "@raze__slab__0_3_0//:slab", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__slab__0_3_0//:slab", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-timer-0.2.13.BUILD b/proto/raze/remote/tokio-timer-0.2.13.BUILD index 7735dfa9f5..20a3325f6a 100644 --- a/proto/raze/remote/tokio-timer-0.2.13.BUILD +++ b/proto/raze/remote/tokio-timer-0.2.13.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "clock" with type "test" omitted # Unsupported target "deadline" with type "test" omitted # Unsupported target "delay" with type "test" omitted @@ -32,23 +38,27 @@ load( # Unsupported target "throttle" with type "test" omitted # Unsupported target "timeout" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_timer", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_29//:futures", - "@raze__slab__0_4_2//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", + "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__slab__0_4_2//:slab", + "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.13", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-tls-api-0.1.22.BUILD b/proto/raze/remote/tokio-tls-api-0.1.22.BUILD index 2750470430..ad86d9c821 100644 --- a/proto/raze/remote/tokio-tls-api-0.1.22.BUILD +++ b/proto/raze/remote/tokio-tls-api-0.1.22.BUILD @@ -1,47 +1,95 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "bad" with type "test" omitted # Unsupported target "smoke" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_tls_api", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__futures__0_1_29//:futures", - "@raze__tls_api__0_1_22//:tls_api", - "@raze__tokio_io__0_1_13//:tokio_io", - ], + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__tls_api__0_1_22//:tls_api", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + ] + selects.with_or({ + # cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios"))) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "macos", target_os = "ios")) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.22", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/proto/raze/remote/tokio-udp-0.1.6.BUILD b/proto/raze/remote/tokio-udp-0.1.6.BUILD index 4322cea7d7..a2b81bdf85 100644 --- a/proto/raze/remote/tokio-udp-0.1.6.BUILD +++ b/proto/raze/remote/tokio-udp-0.1.6.BUILD @@ -1,50 +1,60 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "tokio_udp", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__log__0_4_6//:log", - "@raze__mio__0_6_21//:mio", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.6", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "udp" with type "test" omitted diff --git a/proto/raze/remote/tokio-uds-0.1.7.BUILD b/proto/raze/remote/tokio-uds-0.1.7.BUILD index 651b07d996..9ff48a5bbe 100644 --- a/proto/raze/remote/tokio-uds-0.1.7.BUILD +++ b/proto/raze/remote/tokio-uds-0.1.7.BUILD @@ -1,51 +1,61 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "tokio_uds", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_69//:libc", - "@raze__log__0_3_9//:log", - "@raze__mio__0_6_21//:mio", - "@raze__mio_uds__0_6_7//:mio_uds", - "@raze__tokio_core__0_1_17//:tokio_core", - "@raze__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__libc__0_2_69//:libc", + "@rules_rust_proto__log__0_3_9//:log", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__mio_uds__0_6_7//:mio_uds", + "@rules_rust_proto__tokio_core__0_1_17//:tokio_core", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.7", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/tokio-uds-0.2.6.BUILD b/proto/raze/remote/tokio-uds-0.2.6.BUILD index 662c5f2f68..c7a2122ab2 100644 --- a/proto/raze/remote/tokio-uds-0.2.6.BUILD +++ b/proto/raze/remote/tokio-uds-0.2.6.BUILD @@ -1,54 +1,64 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "datagram" with type "test" omitted # Unsupported target "stream" with type "test" omitted +# buildifier: leave-alone rust_library( name = "tokio_uds", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_29//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_69//:libc", - "@raze__log__0_4_6//:log", - "@raze__mio__0_6_21//:mio", - "@raze__mio_uds__0_6_7//:mio_uds", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", + "@rules_rust_proto__bytes__0_4_12//:bytes", + "@rules_rust_proto__futures__0_1_29//:futures", + "@rules_rust_proto__iovec__0_1_4//:iovec", + "@rules_rust_proto__libc__0_2_69//:libc", + "@rules_rust_proto__log__0_4_6//:log", + "@rules_rust_proto__mio__0_6_21//:mio", + "@rules_rust_proto__mio_uds__0_6_7//:mio_uds", + "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec", + "@rules_rust_proto__tokio_io__0_1_13//:tokio_io", + "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.6", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/unix_socket-0.5.0.BUILD b/proto/raze/remote/unix_socket-0.5.0.BUILD index 1d6ebf39d7..f362d6ceae 100644 --- a/proto/raze/remote/unix_socket-0.5.0.BUILD +++ b/proto/raze/remote/unix_socket-0.5.0.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "unix_socket", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__libc__0_2_69//:libc", + "@rules_rust_proto__cfg_if__0_1_10//:cfg_if", + "@rules_rust_proto__libc__0_2_69//:libc", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.5.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/void-1.0.2.BUILD b/proto/raze/remote/void-1.0.2.BUILD index e2012e512e..5232c51c57 100644 --- a/proto/raze/remote/void-1.0.2.BUILD +++ b/proto/raze/remote/void-1.0.2.BUILD @@ -1,44 +1,54 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "void", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "1.0.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/proto/raze/remote/winapi-0.2.8.BUILD b/proto/raze/remote/winapi-0.2.8.BUILD index 6b096fdb3b..57000dbf25 100644 --- a/proto/raze/remote/winapi-0.2.8.BUILD +++ b/proto/raze/remote/winapi-0.2.8.BUILD @@ -1,42 +1,52 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone rust_library( name = "winapi", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.8", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/winapi-0.3.8.BUILD b/proto/raze/remote/winapi-0.3.8.BUILD index f29a822daf..15a7e860c5 100644 --- a/proto/raze/remote/winapi-0.3.8.BUILD +++ b/proto/raze/remote/winapi-0.3.8.BUILD @@ -1,42 +1,69 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - ], + ] + selects.with_or({ + # i686-pc-windows-gnu + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + ): [ + "@rules_rust_proto__winapi_i686_pc_windows_gnu__0_4_0//:winapi_i686_pc_windows_gnu", + ], + "//conditions:default": [], + }) + selects.with_or({ + # x86_64-pc-windows-gnu + ( + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_proto__winapi_x86_64_pc_windows_gnu__0_4_0//:winapi_x86_64_pc_windows_gnu", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.3.8", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "errhandlingapi", "handleapi", @@ -50,5 +77,6 @@ rust_library( "ws2ipdef", "ws2tcpip", ], + aliases = { + }, ) - diff --git a/proto/raze/remote/winapi-build-0.1.1.BUILD b/proto/raze/remote/winapi-build-0.1.1.BUILD index 19bb9c64df..4bc00630a5 100644 --- a/proto/raze/remote/winapi-build-0.1.1.BUILD +++ b/proto/raze/remote/winapi-build-0.1.1.BUILD @@ -1,46 +1,61 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets alias( - name = "winapi_build", - actual = ":build", + name = "winapi_build", + actual = ":build", + tags = [ + "cargo-raze", + "manual", + ], ) +# buildifier: leave-alone rust_library( name = "build", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.1.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD b/proto/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD index 67d17e29a6..fcaa2fc523 100644 --- a/proto/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD +++ b/proto/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi_i686_pc_windows_gnu", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD b/proto/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD index 75a692bfbb..d59f70649c 100644 --- a/proto/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD +++ b/proto/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD @@ -1,43 +1,53 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT,Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi_x86_64_pc_windows_gnu", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/raze/remote/ws2_32-sys-0.2.1.BUILD b/proto/raze/remote/ws2_32-sys-0.2.1.BUILD index d2bf2f4b88..be79ad382d 100644 --- a/proto/raze/remote/ws2_32-sys-0.2.1.BUILD +++ b/proto/raze/remote/ws2_32-sys-0.2.1.BUILD @@ -1,48 +1,63 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//proto/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//proto/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted + alias( - name = "ws2_32_sys", - actual = ":ws2_32", + name = "ws2_32_sys", + actual = ":ws2_32", + tags = [ + "cargo-raze", + "manual", + ], ) +# buildifier: leave-alone rust_library( name = "ws2_32", - crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", - srcs = glob(["**/*.rs"]), deps = [ - "@raze__winapi__0_2_8//:winapi", + "@rules_rust_proto__winapi__0_2_8//:winapi", ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", rustc_flags = [ "--cap-lints=allow", ], version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/proto/repositories.bzl b/proto/repositories.bzl index 668afca257..6bca95d9e0 100644 --- a/proto/repositories.bzl +++ b/proto/repositories.bzl @@ -14,7 +14,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") -load("//proto/raze:crates.bzl", _crate_deps = "raze_fetch_remote_crates") +load("//proto/raze:crates.bzl", "rules_rust_proto_fetch_remote_crates") # buildifier: disable=unnamed-macro def rust_proto_repositories(): @@ -65,7 +65,7 @@ def rust_proto_repositories(): ], ) - _crate_deps() + rules_rust_proto_fetch_remote_crates() # Register toolchains native.register_toolchains( diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl index 8b1ee0f130..e446b2d19b 100644 --- a/rust/private/rustc.bzl +++ b/rust/private/rustc.bzl @@ -540,7 +540,7 @@ def rustc_compile_action( crate_info, output_hash = None, rust_flags = []): - """Constructs the rustc command used to build the current target. + """Create and run a rustc compile action based on the current rule's attributes Args: ctx (ctx): The rule's context object