From 3b6fc1e0349f4ec4a7c0002d364133ac2f3e757e Mon Sep 17 00:00:00 2001 From: David Freese Date: Sat, 19 Sep 2020 06:02:57 -0700 Subject: [PATCH] Add Prost/Tonic rules This is still very WIP in terms of its integration with rules_rust, however, I wanted to put this up as a reference for those who may be interested in pushing it forward more. Ideally, rules_rust would be updated to expose an interface similar to rules_go: https://github.com/bazelbuild/rules_go#protobuf-and-grpc That allows plugins appropriate access into build internals so that the generate code can be shifted by the user. This quite necessary for rust, as there is no canonical rust api for protobuf/grpc; Prost/Tonic is just one of them. The current rust_proto_library and rust_grpc_library are tied to grpc_rust and rust_protobuf crates currently, and this cannot be shifted with the rust_protobuf_toolchain. This PR contains a couple parts: 1. Bazel rules and macros that define an external prost_library and tonic_library that can generate code from a proto_library target 2. A prostgen executable that does the heavy lifting of running the code generation, and making sure that different prost_library targets can be used in different targets 3. The cargo file with the requisite crates for prostgen 4. A set of test cases that we had run into when using prost_library and tonic_library. The //proto/prostgen/raze folder doesn't quite interoperate with the //proto/raze folder, and I haven't had a chance to nail that down yet. There are also some targets missing from WORKSPACE needed for the tests. For googlers, the high-level approach is described in go/rust-protobuf. --- WORKSPACE | 6 +- proto/prostgen/BUILD | 47 + proto/prostgen/extern_path.rs | 466 ++++++ proto/prostgen/lib.rs | 194 +++ proto/prostgen/main.rs | 7 + proto/prostgen/module.rs | 216 +++ proto/prostgen/raze/BUILD | 81 + proto/prostgen/raze/Cargo.lock | 1351 +++++++++++++++++ proto/prostgen/raze/Cargo.toml | 81 + proto/prostgen/raze/builds/BUILD | 26 + proto/prostgen/raze/builds/ring-0.16.BUILD | 23 + proto/prostgen/raze/crates.bzl | 1240 +++++++++++++++ proto/prostgen/raze/patches/BUILD | 19 + .../raze/patches/prost-build-0.6.1.md | 11 + .../raze/patches/prost-build-0.6.1.patch | 20 + proto/prostgen/raze/remote/BUILD | 0 .../prostgen/raze/remote/anyhow-1.0.31.BUILD | 85 ++ .../raze/remote/async-stream-0.2.1.BUILD | 52 + .../raze/remote/async-stream-impl-0.2.1.BUILD | 47 + .../raze/remote/async-trait-0.1.40.BUILD | 49 + .../prostgen/raze/remote/autocfg-1.0.1.BUILD | 49 + .../prostgen/raze/remote/base64-0.12.3.BUILD | 52 + .../prostgen/raze/remote/bitflags-1.2.1.BUILD | 71 + .../prostgen/raze/remote/bumpalo-3.4.0.BUILD | 54 + proto/prostgen/raze/remote/bytes-0.5.6.BUILD | 60 + proto/prostgen/raze/remote/cc-1.0.60.BUILD | 68 + .../prostgen/raze/remote/cfg-if-0.1.10.BUILD | 45 + proto/prostgen/raze/remote/clap-2.33.3.BUILD | 47 + .../raze/remote/core-foundation-0.7.0.BUILD | 47 + .../remote/core-foundation-sys-0.7.0.BUILD | 69 + proto/prostgen/raze/remote/either-1.6.1.BUILD | 44 + .../raze/remote/fixedbitset-0.2.0.BUILD | 45 + proto/prostgen/raze/remote/fnv-1.0.7.BUILD | 46 + .../raze/remote/fuchsia-zircon-0.3.3.BUILD | 46 + .../remote/fuchsia-zircon-sys-0.3.3.BUILD | 45 + .../raze/remote/futures-channel-0.3.5.BUILD | 53 + .../raze/remote/futures-core-0.3.5.BUILD | 47 + .../raze/remote/futures-sink-0.3.5.BUILD | 47 + .../raze/remote/futures-task-0.3.5.BUILD | 45 + .../raze/remote/futures-util-0.3.5.BUILD | 50 + .../raze/remote/getrandom-0.1.15.BUILD | 75 + proto/prostgen/raze/remote/h2-0.2.6.BUILD | 58 + .../raze/remote/hashbrown-0.9.0.BUILD | 50 + proto/prostgen/raze/remote/heck-0.3.1.BUILD | 45 + proto/prostgen/raze/remote/http-0.2.1.BUILD | 54 + .../raze/remote/http-body-0.3.1.BUILD | 47 + .../prostgen/raze/remote/httparse-1.3.4.BUILD | 75 + proto/prostgen/raze/remote/hyper-0.13.6.BUILD | 88 ++ .../prostgen/raze/remote/indexmap-1.6.0.BUILD | 77 + proto/prostgen/raze/remote/iovec-0.1.4.BUILD | 45 + .../raze/remote/itertools-0.8.2.BUILD | 63 + proto/prostgen/raze/remote/itoa-0.4.6.BUILD | 48 + .../prostgen/raze/remote/js-sys-0.3.45.BUILD | 47 + .../raze/remote/kernel32-sys-0.2.2.BUILD | 76 + .../raze/remote/lazy_static-1.4.0.BUILD | 46 + proto/prostgen/raze/remote/libc-0.2.77.BUILD | 74 + proto/prostgen/raze/remote/log-0.4.11.BUILD | 72 + proto/prostgen/raze/remote/memchr-2.3.3.BUILD | 73 + proto/prostgen/raze/remote/mio-0.6.22.BUILD | 53 + proto/prostgen/raze/remote/miow-0.2.1.BUILD | 48 + .../prostgen/raze/remote/multimap-0.8.2.BUILD | 44 + proto/prostgen/raze/remote/net2-0.2.35.BUILD | 48 + .../raze/remote/once_cell-1.4.1.BUILD | 53 + .../raze/remote/openssl-probe-0.1.2.BUILD | 44 + .../raze/remote/percent-encoding-2.1.0.BUILD | 44 + .../prostgen/raze/remote/petgraph-0.5.1.BUILD | 58 + .../raze/remote/pin-project-0.4.23.BUILD | 70 + .../remote/pin-project-internal-0.4.23.BUILD | 72 + .../raze/remote/pin-project-lite-0.1.7.BUILD | 47 + .../raze/remote/pin-utils-0.1.0.BUILD | 46 + .../raze/remote/ppv-lite86-0.2.9.BUILD | 46 + .../raze/remote/proc-macro-error-1.0.2.BUILD | 79 + .../remote/proc-macro-error-attr-1.0.2.BUILD | 74 + .../raze/remote/proc-macro2-1.0.18.BUILD | 78 + proto/prostgen/raze/remote/prost-0.6.1.BUILD | 51 + .../raze/remote/prost-build-0.6.1.BUILD | 54 + .../raze/remote/prost-derive-0.6.1.BUILD | 49 + .../raze/remote/prost-types-0.6.1.BUILD | 46 + proto/prostgen/raze/remote/quote-1.0.7.BUILD | 49 + proto/prostgen/raze/remote/rand-0.7.3.BUILD | 66 + .../raze/remote/rand_chacha-0.2.2.BUILD | 47 + .../raze/remote/rand_core-0.5.1.BUILD | 48 + .../prostgen/raze/remote/rand_hc-0.2.0.BUILD | 45 + .../prostgen/raze/remote/rand_pcg-0.2.1.BUILD | 48 + .../raze/remote/redox_syscall-0.1.57.BUILD | 49 + .../raze/remote/remove_dir_all-0.5.3.BUILD | 44 + proto/prostgen/raze/remote/ring-0.16.15.BUILD | 93 ++ .../prostgen/raze/remote/rustls-0.18.1.BUILD | 61 + .../remote/rustls-native-certs-0.4.0.BUILD | 49 + .../raze/remote/schannel-0.1.19.BUILD | 46 + proto/prostgen/raze/remote/sct-0.6.0.BUILD | 46 + .../remote/security-framework-1.0.0.BUILD | 54 + .../remote/security-framework-sys-1.0.0.BUILD | 47 + proto/prostgen/raze/remote/slab-0.4.2.BUILD | 45 + .../prostgen/raze/remote/socket2-0.3.15.BUILD | 46 + proto/prostgen/raze/remote/spin-0.5.2.BUILD | 45 + .../raze/remote/structopt-0.3.13.BUILD | 93 ++ .../raze/remote/structopt-derive-0.4.6.BUILD | 49 + proto/prostgen/raze/remote/syn-1.0.31.BUILD | 119 ++ .../prostgen/raze/remote/syn-mid-0.5.0.BUILD | 47 + .../prostgen/raze/remote/tempfile-3.1.0.BUILD | 52 + .../raze/remote/textwrap-0.11.0.BUILD | 49 + .../raze/remote/thiserror-1.0.18.BUILD | 57 + .../raze/remote/thiserror-impl-1.0.18.BUILD | 47 + proto/prostgen/raze/remote/time-0.1.44.BUILD | 45 + proto/prostgen/raze/remote/tokio-0.2.22.BUILD | 166 ++ .../raze/remote/tokio-rustls-0.14.1.BUILD | 51 + .../raze/remote/tokio-util-0.3.1.BUILD | 58 + proto/prostgen/raze/remote/tonic-0.3.0.BUILD | 91 ++ .../raze/remote/tonic-build-0.3.0.BUILD | 53 + proto/prostgen/raze/remote/tower-0.3.1.BUILD | 58 + .../raze/remote/tower-balance-0.3.0.BUILD | 61 + .../raze/remote/tower-buffer-0.3.0.BUILD | 52 + .../raze/remote/tower-discover-0.3.0.BUILD | 47 + .../raze/remote/tower-layer-0.3.0.BUILD | 44 + .../raze/remote/tower-limit-0.3.1.BUILD | 52 + .../raze/remote/tower-load-0.3.0.BUILD | 50 + .../raze/remote/tower-load-shed-0.3.0.BUILD | 49 + .../raze/remote/tower-make-0.3.0.BUILD | 48 + .../raze/remote/tower-ready-cache-0.3.1.BUILD | 51 + .../raze/remote/tower-retry-0.3.0.BUILD | 50 + .../raze/remote/tower-service-0.3.0.BUILD | 44 + .../raze/remote/tower-timeout-0.3.0.BUILD | 48 + .../raze/remote/tower-util-0.3.1.BUILD | 53 + .../prostgen/raze/remote/tracing-0.1.19.BUILD | 67 + .../remote/tracing-attributes-0.1.11.BUILD | 56 + .../raze/remote/tracing-core-0.1.16.BUILD | 50 + .../raze/remote/tracing-futures-0.2.4.BUILD | 52 + .../prostgen/raze/remote/try-lock-0.2.3.BUILD | 44 + .../remote/unicode-segmentation-1.6.0.BUILD | 44 + .../raze/remote/unicode-width-0.1.8.BUILD | 45 + .../raze/remote/unicode-xid-0.2.1.BUILD | 46 + .../raze/remote/untrusted-0.7.1.BUILD | 45 + .../raze/remote/version_check-0.9.2.BUILD | 44 + proto/prostgen/raze/remote/want-0.3.0.BUILD | 47 + .../wasi-0.10.0+wasi-snapshot-preview1.BUILD | 46 + .../wasi-0.9.0+wasi-snapshot-preview1.BUILD | 46 + .../raze/remote/wasm-bindgen-0.2.68.BUILD | 85 ++ .../remote/wasm-bindgen-backend-0.2.68.BUILD | 52 + .../remote/wasm-bindgen-macro-0.2.68.BUILD | 48 + .../wasm-bindgen-macro-support-0.2.68.BUILD | 50 + .../remote/wasm-bindgen-shared-0.2.68.BUILD | 69 + .../prostgen/raze/remote/web-sys-0.3.45.BUILD | 50 + .../prostgen/raze/remote/webpki-0.21.3.BUILD | 52 + proto/prostgen/raze/remote/which-3.1.1.BUILD | 46 + proto/prostgen/raze/remote/winapi-0.2.8.BUILD | 44 + proto/prostgen/raze/remote/winapi-0.3.9.BUILD | 117 ++ .../raze/remote/winapi-build-0.1.1.BUILD | 49 + .../winapi-i686-pc-windows-gnu-0.4.0.BUILD | 69 + .../winapi-x86_64-pc-windows-gnu-0.4.0.BUILD | 69 + .../raze/remote/ws2_32-sys-0.2.1.BUILD | 76 + proto/prostgen/rules.bzl | 325 ++++ proto/prostgen/test/BUILD | 200 +++ proto/prostgen/test/a.proto | 7 + proto/prostgen/test/b.proto | 7 + .../test/depends_on_use_external.proto | 9 + proto/prostgen/test/echo.proto | 19 + proto/prostgen/test/echo_impl.rs | 24 + proto/prostgen/test/echo_service_test.rs | 25 + proto/prostgen/test/echo_usage_test.rs | 14 + proto/prostgen/test/extern_path_test.rs | 20 + proto/prostgen/test/shared_imports.proto | 11 + proto/prostgen/test/use_external.proto | 11 + proto/prostgen/test/x.proto | 11 + proto/prostgen/test/y.proto | 11 + proto/prostgen/test_port.rs | 90 ++ proto/raze/Cargo.lock | 613 ++++---- proto/raze/crates.bzl | 120 +- 168 files changed, 12535 insertions(+), 370 deletions(-) create mode 100644 proto/prostgen/BUILD create mode 100644 proto/prostgen/extern_path.rs create mode 100644 proto/prostgen/lib.rs create mode 100644 proto/prostgen/main.rs create mode 100644 proto/prostgen/module.rs create mode 100644 proto/prostgen/raze/BUILD create mode 100644 proto/prostgen/raze/Cargo.lock create mode 100644 proto/prostgen/raze/Cargo.toml create mode 100644 proto/prostgen/raze/builds/BUILD create mode 100644 proto/prostgen/raze/builds/ring-0.16.BUILD create mode 100644 proto/prostgen/raze/crates.bzl create mode 100644 proto/prostgen/raze/patches/BUILD create mode 100644 proto/prostgen/raze/patches/prost-build-0.6.1.md create mode 100644 proto/prostgen/raze/patches/prost-build-0.6.1.patch create mode 100644 proto/prostgen/raze/remote/BUILD create mode 100644 proto/prostgen/raze/remote/anyhow-1.0.31.BUILD create mode 100644 proto/prostgen/raze/remote/async-stream-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/async-stream-impl-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/async-trait-0.1.40.BUILD create mode 100644 proto/prostgen/raze/remote/autocfg-1.0.1.BUILD create mode 100644 proto/prostgen/raze/remote/base64-0.12.3.BUILD create mode 100644 proto/prostgen/raze/remote/bitflags-1.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/bumpalo-3.4.0.BUILD create mode 100644 proto/prostgen/raze/remote/bytes-0.5.6.BUILD create mode 100644 proto/prostgen/raze/remote/cc-1.0.60.BUILD create mode 100644 proto/prostgen/raze/remote/cfg-if-0.1.10.BUILD create mode 100644 proto/prostgen/raze/remote/clap-2.33.3.BUILD create mode 100644 proto/prostgen/raze/remote/core-foundation-0.7.0.BUILD create mode 100644 proto/prostgen/raze/remote/core-foundation-sys-0.7.0.BUILD create mode 100644 proto/prostgen/raze/remote/either-1.6.1.BUILD create mode 100644 proto/prostgen/raze/remote/fixedbitset-0.2.0.BUILD create mode 100644 proto/prostgen/raze/remote/fnv-1.0.7.BUILD create mode 100644 proto/prostgen/raze/remote/fuchsia-zircon-0.3.3.BUILD create mode 100644 proto/prostgen/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD create mode 100644 proto/prostgen/raze/remote/futures-channel-0.3.5.BUILD create mode 100644 proto/prostgen/raze/remote/futures-core-0.3.5.BUILD create mode 100644 proto/prostgen/raze/remote/futures-sink-0.3.5.BUILD create mode 100644 proto/prostgen/raze/remote/futures-task-0.3.5.BUILD create mode 100644 proto/prostgen/raze/remote/futures-util-0.3.5.BUILD create mode 100644 proto/prostgen/raze/remote/getrandom-0.1.15.BUILD create mode 100644 proto/prostgen/raze/remote/h2-0.2.6.BUILD create mode 100644 proto/prostgen/raze/remote/hashbrown-0.9.0.BUILD create mode 100644 proto/prostgen/raze/remote/heck-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/http-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/http-body-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/httparse-1.3.4.BUILD create mode 100644 proto/prostgen/raze/remote/hyper-0.13.6.BUILD create mode 100644 proto/prostgen/raze/remote/indexmap-1.6.0.BUILD create mode 100644 proto/prostgen/raze/remote/iovec-0.1.4.BUILD create mode 100644 proto/prostgen/raze/remote/itertools-0.8.2.BUILD create mode 100644 proto/prostgen/raze/remote/itoa-0.4.6.BUILD create mode 100644 proto/prostgen/raze/remote/js-sys-0.3.45.BUILD create mode 100644 proto/prostgen/raze/remote/kernel32-sys-0.2.2.BUILD create mode 100644 proto/prostgen/raze/remote/lazy_static-1.4.0.BUILD create mode 100644 proto/prostgen/raze/remote/libc-0.2.77.BUILD create mode 100644 proto/prostgen/raze/remote/log-0.4.11.BUILD create mode 100644 proto/prostgen/raze/remote/memchr-2.3.3.BUILD create mode 100644 proto/prostgen/raze/remote/mio-0.6.22.BUILD create mode 100644 proto/prostgen/raze/remote/miow-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/multimap-0.8.2.BUILD create mode 100644 proto/prostgen/raze/remote/net2-0.2.35.BUILD create mode 100644 proto/prostgen/raze/remote/once_cell-1.4.1.BUILD create mode 100644 proto/prostgen/raze/remote/openssl-probe-0.1.2.BUILD create mode 100644 proto/prostgen/raze/remote/percent-encoding-2.1.0.BUILD create mode 100644 proto/prostgen/raze/remote/petgraph-0.5.1.BUILD create mode 100644 proto/prostgen/raze/remote/pin-project-0.4.23.BUILD create mode 100644 proto/prostgen/raze/remote/pin-project-internal-0.4.23.BUILD create mode 100644 proto/prostgen/raze/remote/pin-project-lite-0.1.7.BUILD create mode 100644 proto/prostgen/raze/remote/pin-utils-0.1.0.BUILD create mode 100644 proto/prostgen/raze/remote/ppv-lite86-0.2.9.BUILD create mode 100644 proto/prostgen/raze/remote/proc-macro-error-1.0.2.BUILD create mode 100644 proto/prostgen/raze/remote/proc-macro-error-attr-1.0.2.BUILD create mode 100644 proto/prostgen/raze/remote/proc-macro2-1.0.18.BUILD create mode 100644 proto/prostgen/raze/remote/prost-0.6.1.BUILD create mode 100644 proto/prostgen/raze/remote/prost-build-0.6.1.BUILD create mode 100644 proto/prostgen/raze/remote/prost-derive-0.6.1.BUILD create mode 100644 proto/prostgen/raze/remote/prost-types-0.6.1.BUILD create mode 100644 proto/prostgen/raze/remote/quote-1.0.7.BUILD create mode 100644 proto/prostgen/raze/remote/rand-0.7.3.BUILD create mode 100644 proto/prostgen/raze/remote/rand_chacha-0.2.2.BUILD create mode 100644 proto/prostgen/raze/remote/rand_core-0.5.1.BUILD create mode 100644 proto/prostgen/raze/remote/rand_hc-0.2.0.BUILD create mode 100644 proto/prostgen/raze/remote/rand_pcg-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/redox_syscall-0.1.57.BUILD create mode 100644 proto/prostgen/raze/remote/remove_dir_all-0.5.3.BUILD create mode 100644 proto/prostgen/raze/remote/ring-0.16.15.BUILD create mode 100644 proto/prostgen/raze/remote/rustls-0.18.1.BUILD create mode 100644 proto/prostgen/raze/remote/rustls-native-certs-0.4.0.BUILD create mode 100644 proto/prostgen/raze/remote/schannel-0.1.19.BUILD create mode 100644 proto/prostgen/raze/remote/sct-0.6.0.BUILD create mode 100644 proto/prostgen/raze/remote/security-framework-1.0.0.BUILD create mode 100644 proto/prostgen/raze/remote/security-framework-sys-1.0.0.BUILD create mode 100644 proto/prostgen/raze/remote/slab-0.4.2.BUILD create mode 100644 proto/prostgen/raze/remote/socket2-0.3.15.BUILD create mode 100644 proto/prostgen/raze/remote/spin-0.5.2.BUILD create mode 100644 proto/prostgen/raze/remote/structopt-0.3.13.BUILD create mode 100644 proto/prostgen/raze/remote/structopt-derive-0.4.6.BUILD create mode 100644 proto/prostgen/raze/remote/syn-1.0.31.BUILD create mode 100644 proto/prostgen/raze/remote/syn-mid-0.5.0.BUILD create mode 100644 proto/prostgen/raze/remote/tempfile-3.1.0.BUILD create mode 100644 proto/prostgen/raze/remote/textwrap-0.11.0.BUILD create mode 100644 proto/prostgen/raze/remote/thiserror-1.0.18.BUILD create mode 100644 proto/prostgen/raze/remote/thiserror-impl-1.0.18.BUILD create mode 100644 proto/prostgen/raze/remote/time-0.1.44.BUILD create mode 100644 proto/prostgen/raze/remote/tokio-0.2.22.BUILD create mode 100644 proto/prostgen/raze/remote/tokio-rustls-0.14.1.BUILD create mode 100644 proto/prostgen/raze/remote/tokio-util-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/tonic-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tonic-build-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/tower-balance-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-buffer-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-discover-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-layer-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-limit-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/tower-load-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-load-shed-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-make-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-ready-cache-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/tower-retry-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-service-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-timeout-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/tower-util-0.3.1.BUILD create mode 100644 proto/prostgen/raze/remote/tracing-0.1.19.BUILD create mode 100644 proto/prostgen/raze/remote/tracing-attributes-0.1.11.BUILD create mode 100644 proto/prostgen/raze/remote/tracing-core-0.1.16.BUILD create mode 100644 proto/prostgen/raze/remote/tracing-futures-0.2.4.BUILD create mode 100644 proto/prostgen/raze/remote/try-lock-0.2.3.BUILD create mode 100644 proto/prostgen/raze/remote/unicode-segmentation-1.6.0.BUILD create mode 100644 proto/prostgen/raze/remote/unicode-width-0.1.8.BUILD create mode 100644 proto/prostgen/raze/remote/unicode-xid-0.2.1.BUILD create mode 100644 proto/prostgen/raze/remote/untrusted-0.7.1.BUILD create mode 100644 proto/prostgen/raze/remote/version_check-0.9.2.BUILD create mode 100644 proto/prostgen/raze/remote/want-0.3.0.BUILD create mode 100644 proto/prostgen/raze/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD create mode 100644 proto/prostgen/raze/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD create mode 100644 proto/prostgen/raze/remote/wasm-bindgen-0.2.68.BUILD create mode 100644 proto/prostgen/raze/remote/wasm-bindgen-backend-0.2.68.BUILD create mode 100644 proto/prostgen/raze/remote/wasm-bindgen-macro-0.2.68.BUILD create mode 100644 proto/prostgen/raze/remote/wasm-bindgen-macro-support-0.2.68.BUILD create mode 100644 proto/prostgen/raze/remote/wasm-bindgen-shared-0.2.68.BUILD create mode 100644 proto/prostgen/raze/remote/web-sys-0.3.45.BUILD create mode 100644 proto/prostgen/raze/remote/webpki-0.21.3.BUILD create mode 100644 proto/prostgen/raze/remote/which-3.1.1.BUILD create mode 100644 proto/prostgen/raze/remote/winapi-0.2.8.BUILD create mode 100644 proto/prostgen/raze/remote/winapi-0.3.9.BUILD create mode 100644 proto/prostgen/raze/remote/winapi-build-0.1.1.BUILD create mode 100644 proto/prostgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD create mode 100644 proto/prostgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD create mode 100644 proto/prostgen/raze/remote/ws2_32-sys-0.2.1.BUILD create mode 100644 proto/prostgen/rules.bzl create mode 100644 proto/prostgen/test/BUILD create mode 100644 proto/prostgen/test/a.proto create mode 100644 proto/prostgen/test/b.proto create mode 100644 proto/prostgen/test/depends_on_use_external.proto create mode 100644 proto/prostgen/test/echo.proto create mode 100644 proto/prostgen/test/echo_impl.rs create mode 100644 proto/prostgen/test/echo_service_test.rs create mode 100644 proto/prostgen/test/echo_usage_test.rs create mode 100644 proto/prostgen/test/extern_path_test.rs create mode 100644 proto/prostgen/test/shared_imports.proto create mode 100644 proto/prostgen/test/use_external.proto create mode 100644 proto/prostgen/test/x.proto create mode 100644 proto/prostgen/test/y.proto create mode 100644 proto/prostgen/test_port.rs diff --git a/WORKSPACE b/WORKSPACE index 1f8161c3ae..b3bf100446 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -6,15 +6,15 @@ rust_repositories() load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories") -rust_proto_repositories() +# rust_proto_repositories() load("@io_bazel_rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories") -rust_bindgen_repositories() +# rust_bindgen_repositories() load("@io_bazel_rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories") -rust_wasm_bindgen_repositories() +# rust_wasm_bindgen_repositories() load("@io_bazel_rules_rust//:workspace.bzl", "rust_workspace") diff --git a/proto/prostgen/BUILD b/proto/prostgen/BUILD new file mode 100644 index 0000000000..1927202476 --- /dev/null +++ b/proto/prostgen/BUILD @@ -0,0 +1,47 @@ +# Code Generation for protobuf using the prost library + +load("//rust:rust.bzl", "rust_binary", "rust_doc", "rust_library", "rust_test") + +package(default_visibility = ["//visibility:private"]) + +exports_files(["rules.bzl"]) + +rust_library( + name = "prostgen_lib", + srcs = [ + "extern_path.rs", + "lib.rs", + "module.rs", + ], + deps = [ + "//proto/prostgen/raze:anyhow", + "//proto/prostgen/raze:heck", + "//proto/prostgen/raze:prost", + "//proto/prostgen/raze:prost_build", + "//proto/prostgen/raze:prost_types", + "//proto/prostgen/raze:structopt", + "//proto/prostgen/raze:thiserror", + "//proto/prostgen/raze:tonic_build", + ], +) + +rust_binary( + name = "prostgen", + srcs = ["main.rs"], + visibility = ["//visibility:public"], + deps = [ + ":prostgen_lib", + "//proto/prostgen/raze:anyhow", + "//proto/prostgen/raze:structopt", + ], +) + +rust_doc( + name = "prostgen_doc", + dep = ":prostgen_lib", +) + +rust_test( + name = "prostgen_test", + crate = ":prostgen_lib", +) diff --git a/proto/prostgen/extern_path.rs b/proto/prostgen/extern_path.rs new file mode 100644 index 0000000000..b1b72e4dcd --- /dev/null +++ b/proto/prostgen/extern_path.rs @@ -0,0 +1,466 @@ +use anyhow::Context; +use heck::{CamelCase, SnakeCase}; +use prost::Message; +use prost_types::FileDescriptorSet; +use std::path::PathBuf; +use std::result::Result; +use std::str::FromStr; +use std::vec::Vec; +use thiserror::Error; + +#[derive(Debug, Error)] +pub enum ArgError { + #[error( + "Invalid argument `{0}`: external arguments must be of the form \ + --external=crate_name,file_descriptor_path." + )] + InvalidArgument(String), + + #[error("crate name `{crate_name:?}` in argument external=`{argument:?}` is not valid")] + InvalidCrate { + crate_name: String, + argument: String, + }, + + #[error("An empty filename was provided in argument `{0}`")] + EmptyFilename(String), +} + +#[derive(Debug, Error, PartialEq)] +pub enum LoadError { + #[error("Package name not set")] + PackageNameUnset, + + #[error("Unable to load DescriptorProto for message[{index:?}]: {details:?}")] + BadMessageDescriptor { index: usize, details: String }, + + #[error("Unable to load EnumDescriptorProto for enum[{index:?}]: {details:?}")] + BadEnumDescriptor { index: usize, details: String }, +} + +#[derive(Debug, Error, PartialEq)] +pub enum SetLoadError { + #[error("Unabled to load FileDescriptorProto file[{index:?}]: {error:?}")] + BadFileDescriptor { index: usize, error: LoadError }, +} + +/// The resulting paths that can be passed to prost_build's extern_path option. +#[derive(Debug, PartialEq)] +pub struct ExternPath { + // The fully qualified rust path (i.e. ::crate::module::sub::Type) + path: String, + // The fully qualified protobuf package name (i.e. .google.protobuf.FileDescriptor) + package: String, +} + +impl ExternPath { + pub fn apply(&self, builder: tonic_build::Builder) -> tonic_build::Builder { + builder.extern_path(&self.package, &self.path) + } +} + +#[derive(Clone, Debug, PartialEq)] +struct CrateName(String); + +impl CrateName { + /// Converts a crate name into the identifier used in a source file. + fn for_source(&self) -> String { + self.0.replace("-", "_") + } +} + +impl FromStr for CrateName { + type Err = (); + + /// "convert" a crate name by providing some validation on the name given. Err is () as there's + /// not really a useful signal here about validity that can't be provided by the calling + /// function, with perhaps more context. + fn from_str(s: &str) -> Result { + if valid_crate(s) { + Ok(CrateName(s.to_owned())) + } else { + Err(()) + } + } +} + +/// Holds the arguments passed into the --extern=crate_name,file_path option for ProstGen. +#[derive(Debug)] +pub struct ExternPathSetArg { + crate_name: CrateName, + descriptor_set: PathBuf, +} + +impl ExternPathSetArg { + /// Reads in the binary-serialized FileDescriptorSet pointed to by `descriptor_set`, and from + /// that file loads in all of the valid `ExternPath` values. + pub fn load(&self) -> anyhow::Result> { + let loaded = read_file_descriptor_set(&self.descriptor_set) + .with_context(|| format!("Unable to load file {:?}", &self.descriptor_set))?; + let paths = self.get_all_paths(&loaded)?; + Ok(paths) + } + + /// Collects all of the valid, top-level `ExternPath`s within a FileDescriptorSet from each + /// file by using `get_paths`. + fn get_all_paths(&self, set: &FileDescriptorSet) -> Result, SetLoadError> { + let mut out = Vec::new(); + for (index, file) in set.file.iter().enumerate() { + out.append( + &mut self + .get_paths(file) + .map_err(|error| SetLoadError::BadFileDescriptor { index, error })?, + ); + } + Ok(out) + } + + /// Creates an ExternPath for every top-level enum and message within the FileDescriptorProto. + /// We only care about the top-level messages, rather than any messages or enums that might be + /// nested in a message, because this nesting cannot happen across files (i.e. a message type + /// cannot be opened in a different file, and a message injected). This means we can let + /// prost_build handle the recursive paths. + fn get_paths( + &self, + file: &prost_types::FileDescriptorProto, + ) -> Result, LoadError> { + let builder = self.get_builder(file)?; + let needed_capacity = file.message_type.len() + file.enum_type.len(); + + let mut out = Vec::with_capacity(needed_capacity); + + for (index, message_type) in file.message_type.iter().enumerate() { + let path = builder + .from(message_type) + .map_err(|details| LoadError::BadMessageDescriptor { index, details })?; + out.push(path); + } + for (index, enum_type) in file.enum_type.iter().enumerate() { + let path = builder + .from(enum_type) + .map_err(|details| LoadError::BadEnumDescriptor { index, details })?; + out.push(path); + } + + Ok(out) + } + + /// Constructs an `IndividualExternPathBuilder` as a helper class to store onto a crate and + /// package name that is used in constructing the paths of each message and enum, instead of + /// having to provide three string arguments to a function each time. + fn get_builder<'a>( + &'a self, + file: &'a prost_types::FileDescriptorProto, + ) -> Result, LoadError> { + let package_name = file + .package + .as_ref() + .ok_or(LoadError::PackageNameUnset)? + .as_str(); + Ok(IndividualExternPathBuilder { + crate_name: &self.crate_name, + package_name, + }) + } +} + +/// Allows for StructOpt to parse ExternPathSetArg from the command line. +impl FromStr for ExternPathSetArg { + type Err = ArgError; + + /// Provides a conversion from a string of "crate_name,file_descriptor_path" into the + /// `ExternPathSetArg` struct. Only checks the validity of the text format, not the file + /// specified itself. + fn from_str(s: &str) -> Result { + let parts: Vec<&str> = s.split(',').collect(); + + if parts.len() != 2 { + return Err(ArgError::InvalidArgument(s.to_owned())); + } + + let crate_name = CrateName::from_str(parts[0]).map_err(|()| ArgError::InvalidCrate { + crate_name: parts[0].to_owned(), + argument: s.to_owned(), + })?; + + if parts[1].is_empty() { + return Err(ArgError::EmptyFilename(s.to_owned())); + } + // This conversion is infallible. The FromStr::Err for this is the Infallible type: + // https://doc.rust-lang.org/std/path/struct.PathBuf.html#impl-FromStr + let descriptor_set = PathBuf::from_str(parts[1]).unwrap(); + + Ok(ExternPathSetArg { + crate_name, + descriptor_set, + }) + } +} + +/// Constraint for from method in the `IndividualExternPathBuilder` +trait HasName { + /// Expected to just return the name member of the struct. + fn name(&self) -> &Option; +} + +impl HasName for prost_types::DescriptorProto { + fn name(&self) -> &Option { + &self.name + } +} + +impl HasName for prost_types::EnumDescriptorProto { + fn name(&self) -> &Option { + &self.name + } +} + +/// Helper struct that holds onto references needed across multiple calls to build `ExternPath`s +struct IndividualExternPathBuilder<'a> { + crate_name: &'a CrateName, + package_name: &'a str, +} + +impl IndividualExternPathBuilder<'_> { + /// Converts a proto with a `name` member to an `ExternPath` relative to `crate_name` and + /// `pacakage_name` for this builder. + fn from(&self, description: &T) -> Result + where + T: HasName, + { + let name = description + .name() + .as_ref() + .ok_or_else(|| "Name was not set".to_owned())? + .as_str(); + Ok(ExternPath { + path: format!( + "::{}::{}::{}", + self.crate_name.for_source(), + to_module_name(self.package_name), + to_upper_camel(name) + ), + package: format!(".{}.{}", self.package_name, name), + }) + } +} + +fn read_file_descriptor_set(path: &PathBuf) -> std::io::Result { + let buf = std::fs::read(path)?; + let message = FileDescriptorSet::decode(&*buf)?; + Ok(message) +} + +/// A valid crate name is just a valid identifier, with '-' allowed, but converted to '_' in source. +/// Though, as a note, rule_rust does this converstion on bazel target names for us already. +/// https://github.com/bazelbuild/rules_rust/blob/master/rust/private/rust.bzl#L116 +fn valid_crate(name: &str) -> bool { + !name.is_empty() + && name.chars().next().unwrap().is_alphabetic() + && name + .chars() + .all(|c| c.is_ascii() && (c.is_alphanumeric() || c == '_' || c == '-')) +} + +/// Converts a `snake_case` identifier to an `UpperCamel` case Rust type identifier. +/// needs to match the behavior of prost_build::ident::to_upper_camel, which is private. +fn to_upper_camel(s: &str) -> String { + let mut ident = s.to_camel_case(); + // Suffix an underscore for the `Self` Rust keyword as it is not allowed as raw identifier. + if ident == "Self" { + ident += "_"; + } + ident +} + +/// Conversion for a proto +fn to_module_name(package_name: &str) -> String { + package_name + .split('.') + .map(|x| to_snake(x)) + .collect::>() + .join("::") +} + +/// Converts a `camelCase` or `SCREAMING_SNAKE_CASE` identifier to a `lower_snake` case Rust field +/// identifier. +/// needs to match the behavior of prost_build::ident::to_snake, which is private. +fn to_snake(s: &str) -> String { + let mut ident = s.to_snake_case(); + + // Use a raw identifier if the identifier matches a Rust keyword: + // https://doc.rust-lang.org/reference/keywords.html. + match ident.as_str() { + // 2015 strict keywords. + | "as" | "break" | "const" | "continue" | "else" | "enum" | "false" + | "fn" | "for" | "if" | "impl" | "in" | "let" | "loop" | "match" | "mod" | "move" | "mut" + | "pub" | "ref" | "return" | "static" | "struct" | "trait" | "true" + | "type" | "unsafe" | "use" | "where" | "while" + // 2018 strict keywords. + | "dyn" + // 2015 reserved keywords. + | "abstract" | "become" | "box" | "do" | "final" | "macro" | "override" | "priv" | "typeof" + | "unsized" | "virtual" | "yield" + // 2018 reserved keywords. + | "async" | "await" | "try" => ident.insert_str(0, "r#"), + // the following keywords are not supported as raw identifiers and are therefore suffixed with an underscore. + "self" | "super" | "extern" | "crate" => ident += "_", + _ => (), + } + ident +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_extern_path_from_str() { + let normal = ExternPathSetArg::from_str("crate-name,/path/to/file/descriptor").unwrap(); + + assert_eq!( + normal.crate_name, + CrateName::from_str("crate-name").unwrap() + ); + assert_eq!( + normal.descriptor_set, + PathBuf::from("/path/to/file/descriptor") + ); + + assert!(ExternPathSetArg::from_str(",/path/to/file/descriptor").is_err()); + assert!(ExternPathSetArg::from_str("crate_name,").is_err()); + assert!(ExternPathSetArg::from_str("crate_name/path/to/file/descriptor").is_err()); + assert!(ExternPathSetArg::from_str("").is_err()); + } + + #[test] + fn test_valid_crate() { + assert!(CrateName::from_str("prost_types").is_ok()); + assert!(CrateName::from_str("prost-types").is_ok()); + assert!(CrateName::from_str("::prost-types").is_err()); + assert!(CrateName::from_str("prost-types::").is_err()); + } + + #[test] + fn test_crate_name_for_source() { + assert_eq!( + CrateName::from_str("prost_types") + .unwrap() + .for_source() + .as_str(), + "prost_types" + ); + assert_eq!( + CrateName::from_str("prost-types") + .unwrap() + .for_source() + .as_str(), + "prost_types" + ); + } + + #[test] + fn test_to_module_name() { + assert_eq!( + to_module_name("google.protobuf").as_str(), + "google::protobuf" + ); + assert_eq!( + to_module_name("google.protobuf.FileDescriptorProto").as_str(), + "google::protobuf::file_descriptor_proto" + ); + } + + #[test] + fn test_path_builder() { + let crate_name = CrateName::from_str("prost-types").unwrap(); + let builder = IndividualExternPathBuilder { + crate_name: &crate_name, + package_name: "google.protobuf", + }; + assert!(builder + .from(&prost_types::DescriptorProto::default()) + .is_err()); + assert!(builder + .from(&prost_types::EnumDescriptorProto::default()) + .is_err()); + + let valid_message = prost_types::DescriptorProto { + name: Some("SomeMessageType".to_owned()), + ..prost_types::DescriptorProto::default() + }; + assert_eq!( + builder.from(&valid_message).unwrap(), + ExternPath { + path: "::prost_types::google::protobuf::SomeMessageType".to_owned(), + package: ".google.protobuf.SomeMessageType".to_owned(), + } + ); + + let valid_enum = prost_types::EnumDescriptorProto { + name: Some("SomeEnumType".to_owned()), + ..prost_types::EnumDescriptorProto::default() + }; + assert_eq!( + builder.from(&valid_enum).unwrap(), + ExternPath { + path: "::prost_types::google::protobuf::SomeEnumType".to_owned(), + package: ".google.protobuf.SomeEnumType".to_owned(), + } + ); + } + + #[test] + fn test_get_all_paths() { + let arg = ExternPathSetArg::from_str("uploader,irrelevant").unwrap(); + // Not having any files is not an error, fairly arbitrary. + assert!(arg + .get_all_paths(&FileDescriptorSet::default()) + .unwrap() + .is_empty()); + + assert_eq!( + arg.get_all_paths(&FileDescriptorSet { + file: vec![prost_types::FileDescriptorProto::default()] + }) + .err() + .unwrap(), + SetLoadError::BadFileDescriptor { + index: 0, + error: LoadError::PackageNameUnset + } + ); + + let valid_message = prost_types::DescriptorProto { + name: Some("SomeMessageType".to_owned()), + ..prost_types::DescriptorProto::default() + }; + let valid_enum = prost_types::EnumDescriptorProto { + name: Some("SomeEnumType".to_owned()), + ..prost_types::EnumDescriptorProto::default() + }; + let valid_file = prost_types::FileDescriptorProto { + package: Some("google.protobuf".to_owned()), + message_type: vec![valid_message], + enum_type: vec![valid_enum], + ..prost_types::FileDescriptorProto::default() + }; + + assert_eq!( + arg.get_all_paths(&FileDescriptorSet { + file: vec![valid_file] + }) + .unwrap(), + vec![ + ExternPath { + path: "::uploader::google::protobuf::SomeMessageType".to_owned(), + package: ".google.protobuf.SomeMessageType".to_owned(), + }, + ExternPath { + path: "::uploader::google::protobuf::SomeEnumType".to_owned(), + package: ".google.protobuf.SomeEnumType".to_owned(), + } + ] + ); + } +} diff --git a/proto/prostgen/lib.rs b/proto/prostgen/lib.rs new file mode 100644 index 0000000000..2b20f07737 --- /dev/null +++ b/proto/prostgen/lib.rs @@ -0,0 +1,194 @@ +mod extern_path; +mod module; + +use extern_path::{ExternPath, ExternPathSetArg}; +use module::Module; +use std::collections::HashMap; +use std::path::PathBuf; +use structopt::StructOpt; + +#[derive(Debug, StructOpt)] +#[structopt(name = "Prostgen", about = "Generates protobuf code using prost")] +pub struct ProstGen { + /// The paths to the proto files to be processed. + #[structopt(min_values = 1, parse(from_os_str))] + input: Vec, + + /// The directory where the output should be generated. This will include a "lib.rs" as well as + /// all of the prost generated include!-able output. + #[structopt(long, short, parse(from_os_str))] + output: PathBuf, + + /// The directories to be included in the invocation of protoc. + #[structopt(short = "-I", long, parse(from_os_str))] + include: Vec, + + /// If stubs for GRPC services should be generated or not (not implemented) + #[structopt(long)] + grpc: bool, + + /// Fields that should be referenced from other crates, using prost-build's extern_path + /// functionality. Each path should provide a "crate_name,file_descriptor_path" pair. These + /// are separated by a comma. The first part is the name of the crate that contains the + /// prost protobuf code, and the second part is the path to a serialized file descriptor set. + #[structopt(long, parse(try_from_str))] + external: Vec, +} + +/// A multi-line header to mark autogeneration of the file. Includes a @generated tag for +/// tools that support it. +const AUTOGENERATION_HEADER: &str = "// DO NOT EDIT: Autogenerated by prostgen\n\ + // @generated\n\n"; + +impl ProstGen { + /// Execute the proto generation logic per the passed in command-line arguments. + /// This will result in a single |output| file being generated from the |input| files specified. + /// Consumes itself as a way of being conservative for any future changes that might be + /// non-deterministic. This could reasonably borrow self without consequence. + pub fn run(self) -> anyhow::Result<()> { + let config = tonic_build::configure() + .build_client(self.grpc) + .build_server(self.grpc) + .format(true) + .out_dir(&self.output); + + let config = self + .load_externs()? + .iter() + .fold(config, |config, extern_path| extern_path.apply(config)); + + let mut prost_config = prost_build::Config::new(); + // Allows us to keep consistency of naming across all crates by not relying on prost_types. + // TODO(b/158000788): revisit if this is the correct decision + prost_config.compile_well_known_types(); + + config.compile_with_config(prost_config, self.input.as_slice(), self.include.as_slice())?; + + let modules = generate_from_out_dir(&self.output)?; + let content = build_tree(&modules).content(AUTOGENERATION_HEADER).output(); + + std::fs::write(&self.output.join("lib.rs"), content)?; + + Ok(()) + } + + fn load_externs(&self) -> anyhow::Result> { + let mut out = Vec::new(); + for arg in self.external.iter() { + out.append(&mut arg.load()?); + } + Ok(out) + } +} + +/// Helper function to map the output of prost-build::Config's generate function, which is +/// technically private into our module class. +fn build_tree<'a>(modules: &'a HashMap, String>) -> Module<'a> { + // Start with an initial module, and then repeatedly call add for the modules provided by + // prost-build. + modules + .iter() + .fold(Module::new(), |root, (module, content)| { + root.add_submodule( + module + .iter() + .map(|x| x.as_str()) + .collect::>() + .as_slice(), + content, + ) + }) +} + +/// Emulates the output of `prost_build::Config::generate` which is a private function. Internally, +/// prost_build takes the output of generate and does the inverse of this function. It takes a +/// `HashMap` and writes out files for each submodule represented by the result. This takes the out +/// dir from prost_build, walks through all of the files in the directory. It uses the file names +/// to reconstruct the module name, and then reads in the contents of the file for the module +/// contents (which then, alas, get written back into a file). This is our alternative to patching +/// both tonic and prost quite heavily. +fn generate_from_out_dir(output: &PathBuf) -> std::io::Result, String>> { + let mut modules = HashMap::new(); + for entry in std::fs::read_dir(output)? { + let entry = entry?; + let path = entry.path(); + if !path.is_file() { + // This shouldn't really happen, as we'll be creating the directory + continue; + } + // prost-build encodes the package name / module name in the file as "google.protobuf.rs" + // for a package name of google.protobuf and module name of google::protobuf, for example. + let name: Vec = path + .file_stem() + .map(|x| x.to_str()) + .flatten() + .ok_or_else(|| { + std::io::Error::new( + std::io::ErrorKind::InvalidData, + "Expected prost_build to create valid utf-8 filenames", + ) + })? + .split('.') + .map(|x| x.to_owned()) + .collect(); + + let contents = String::from_utf8(std::fs::read(path)?).map_err(|_| { + std::io::Error::new( + std::io::ErrorKind::InvalidData, + "Expected prost_build to create valid utf-8 file", + ) + })?; + modules.insert(name, contents); + } + + Ok(modules) +} + +#[cfg(test)] +mod tests { + use super::*; + + fn test_prost_build_generate_output() -> HashMap, String> { + let mut modules = HashMap::new(); + modules.insert( + vec!["google".to_owned(), "protobuf".to_owned()], + "hello world".to_owned(), + ); + modules.insert( + vec![ + "google".to_owned(), + "protobuf".to_owned(), + "compiler".to_owned(), + ], + "test".to_owned(), + ); + modules + } + + #[test] + fn test_generate() { + let tmpdir = PathBuf::from( + // This is pretty bazel specific, but easy to change to tmpdir if needed later + std::env::var_os("TEST_TMPDIR").expect("bazel test env variable not set"), + ); + std::fs::write(tmpdir.join("google.protobuf.rs"), "hello world").unwrap(); + std::fs::write(tmpdir.join("google.protobuf.compiler.rs"), "test").unwrap(); + + let output = generate_from_out_dir(&tmpdir).unwrap(); + + let expected = test_prost_build_generate_output(); + assert_eq!(output, expected); + } + + #[test] + fn test_build_tree() { + let modules = test_prost_build_generate_output(); + let tree = build_tree(&modules); + + let expected = Module::new() + .add_submodule(&["google", "protobuf"], "hello world") + .add_submodule(&["google", "protobuf", "compiler"], "test"); + + assert_eq!(tree, expected); + } +} diff --git a/proto/prostgen/main.rs b/proto/prostgen/main.rs new file mode 100644 index 0000000000..eeb55fe721 --- /dev/null +++ b/proto/prostgen/main.rs @@ -0,0 +1,7 @@ +use structopt::StructOpt; + +fn main() -> anyhow::Result<()> { + let prostgen = prostgen_lib::ProstGen::from_args(); + + prostgen.run() +} diff --git a/proto/prostgen/module.rs b/proto/prostgen/module.rs new file mode 100644 index 0000000000..94459356fe --- /dev/null +++ b/proto/prostgen/module.rs @@ -0,0 +1,216 @@ +use std::collections::BTreeMap; + +/// Used to create a tree-like heirarchy, representing rust modules, with their content generated by +/// prost-build. +#[derive(Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct Module<'build> { + /// The name of the module. This might be nested as a sub module under another module. + /// Only the root module of the crate is expected to be None for name. + name: Option<&'build str>, + + /// What should be put in the module scope + content: Option<&'build str>, + + /// Modules which should be nested as submodules in this one, after the content is written out. + /// a BTreeMap is used to keep a consistent ordering and the map is used to allow the + /// submodules to be editable in place as the tree is being constructed, and ensure that there + /// is only one Module struct per name. + submodules: BTreeMap<&'build str, Module<'build>>, +} + +/// Implements a consuming builder pattern for construction. Is consuming so that each Module can +/// constructed in final form without intermediate mutable state. +impl<'a> Module<'a> { + /// Constructs a module that can be used as the root of a module hierarchy. Each module can + /// have a name, content, and submodules. If the module does not have a name, it is treated as + /// the root module in a crate. The content, if it exists, is the first thing printed. The + /// submodules are then nested in the module afterwards. + pub fn new() -> Module<'a> { + Module { + name: None, + content: None, + submodules: BTreeMap::new(), + } + } + + /// Set the name of the module. The root module will have none. + pub fn name(mut self, name: &'a str) -> Module<'a> { + self.name = Some(name); + self + } + + /// Set the contents of the module to be a particular value. For the root module, this will + /// show up as a header for the file. + pub fn content(mut self, content: &'a str) -> Module<'a> { + self.content = Some(content); + self + } + + /// Constructs a |Module| from the full module name. Prost-build outputs module names as a + /// vector of strings. A module specified by std::io::env, would be passed as + /// vec!["std", "io", "env"]. There is no ordering to how these modules are provided by the + /// library, so only std::io::env could be provided, and we will need to create a node in the + /// tree for each part. + pub fn add_submodule(mut self, module_name: &'_ [&'a str], content: &'a str) -> Module<'a> { + module_name + .iter() + .fold(&mut self, |current, name| { + // This returns the Module we want to work with on the next step of the fold by + // retrieving or creating the appropriate submodule. Since the structure is + // recursive, we run the same thing each time for each part of the full module name. + current.submodules.entry(name).or_insert_with(|| { + // Intermediate modules have no content by default. + Module::new().name(name) + }) + }) + // Now we can set the content, but do it in a non-consuming manner + .content = Some(content); + + // Return back the top level module that we took in. + self + } + + /// Generates the single combined output of all of the rust modules starting at the current node + /// of the hierarchy. + pub fn output(&self) -> String { + let mut output = String::new(); + self.output_impl(&Indent::root(), &mut output); + output + } + + /// Adds in the code generation for the |Module| to the end of |output| at the specified + /// |indent| level. + fn output_impl(&self, indent: &Indent, output: &mut String) { + // The root module, which would create the crate, does not have a module name. + if let Some(name) = self.name { + indent.append(output); + output.push_str(format!("pub mod {} {{\n", name).as_str()); + } + + let nested_indent = indent.nested(); + if let Some(content) = self.content { + for line in content.lines() { + // Don't add whitespace to blank lines. + if !line.is_empty() { + nested_indent.append(output); + output.push_str(line); + } + output.push_str("\n"); + } + } + // recursively add in the sub modules. The recursive implementation tends to make the + // expression of the start/end of the module, particularly brackets, a little cleaner. + self.submodules.values().for_each(|x| { + x.output_impl(&nested_indent, output); + }); + + // Again, if we didn't add a "pub mod #name# {" line, then we shouldn't close the module. + if self.name.is_some() { + indent.append(output); + output.push_str("}\n"); + } + } +} + +/// Helper struct to handle indentation. +struct Indent { + depth: i32, +} + +impl Indent { + /// Assume a four space indent. + const INDENT: &'static str = " "; + + /// Create a new object, for the root of a crate, where neither the contents nor the module + /// declarations are indented. + pub fn root() -> Indent { + Indent { depth: -1 } + } + + /// Add the appropriate number indentations to the end of a string. + pub fn append(&self, output: &mut String) { + for _ in 0..self.depth { + output.push_str(Indent::INDENT); + } + } + + /// Get the necessary Indent for a nested section. This just increments the depth. + pub fn nested(&self) -> Indent { + Indent { + depth: self.depth + 1, + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn build_tree() { + let tree = Module::new() + .add_submodule(&["google", "protobuf"], "") + .add_submodule(&["google", "protobuf", "compiler"], "") + .add_submodule(&["devices"], ""); + + let mut expected = Module { + name: None, + content: None, + submodules: BTreeMap::<&str, Module>::new(), + }; + expected + .submodules + .entry("devices") + .or_insert(Module::new().name("devices").content("")); + expected + .submodules + .entry("google") + .or_insert(Module::new().name("google")) + .submodules + .entry("protobuf") + .or_insert(Module::new().name("protobuf").content("")) + .submodules + .entry("compiler") + .or_insert(Module::new().name("compiler").content("")); + + assert_eq!(tree, expected); + } + + #[test] + fn check_output() { + let output = Module::new() + .content("\nextern crate prost;\n\n") + .add_submodule(&["google", "protobuf"], "struct A{}") + .add_submodule(&["google", "protobuf", "compiler"], "struct B{}") + .add_submodule(&["devices"], "struct C{}") + .add_submodule( + &["devices", "uploader", "session"], + "struct D{}\n\nstruct E{}", + ) + .output(); + + let expected = r#" +extern crate prost; + +pub mod devices { + struct C{} + pub mod uploader { + pub mod session { + struct D{} + + struct E{} + } + } +} +pub mod google { + pub mod protobuf { + struct A{} + pub mod compiler { + struct B{} + } + } +} +"#; + assert_eq!(output, expected); + } +} diff --git a/proto/prostgen/raze/BUILD b/proto/prostgen/raze/BUILD new file mode 100644 index 0000000000..25a10c1f9f --- /dev/null +++ b/proto/prostgen/raze/BUILD @@ -0,0 +1,81 @@ +""" +@generated +cargo-raze workspace build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +package(default_visibility = ["//visibility:public"]) + +licenses([ + "notice" # See individual crates for specific licenses +]) +alias( + name = "anyhow", + actual = "@raze__anyhow__1_0_31//:anyhow", + tags = ["cargo-raze"], +) +alias( + name = "heck", + actual = "@raze__heck__0_3_1//:heck", + tags = ["cargo-raze"], +) +alias( + name = "hyper", + actual = "@raze__hyper__0_13_6//:hyper", + tags = ["cargo-raze"], +) +alias( + name = "proc_macro_error", + actual = "@raze__proc_macro_error__1_0_2//:proc_macro_error", + tags = ["cargo-raze"], +) +alias( + name = "proc_macro2", + actual = "@raze__proc_macro2__1_0_18//:proc_macro2", + tags = ["cargo-raze"], +) +alias( + name = "prost", + actual = "@raze__prost__0_6_1//:prost", + tags = ["cargo-raze"], +) +alias( + name = "prost_build", + actual = "@raze__prost_build__0_6_1//:prost_build", + tags = ["cargo-raze"], +) +alias( + name = "prost_derive", + actual = "@raze__prost_derive__0_6_1//:prost_derive", + tags = ["cargo-raze"], +) +alias( + name = "prost_types", + actual = "@raze__prost_types__0_6_1//:prost_types", + tags = ["cargo-raze"], +) +alias( + name = "structopt", + actual = "@raze__structopt__0_3_13//:structopt", + tags = ["cargo-raze"], +) +alias( + name = "syn", + actual = "@raze__syn__1_0_31//:syn", + tags = ["cargo-raze"], +) +alias( + name = "thiserror", + actual = "@raze__thiserror__1_0_18//:thiserror", + tags = ["cargo-raze"], +) +alias( + name = "tonic", + actual = "@raze__tonic__0_3_0//:tonic", + tags = ["cargo-raze"], +) +alias( + name = "tonic_build", + actual = "@raze__tonic_build__0_3_0//:tonic_build", + tags = ["cargo-raze"], +) diff --git a/proto/prostgen/raze/Cargo.lock b/proto/prostgen/raze/Cargo.lock new file mode 100644 index 0000000000..aedecef919 --- /dev/null +++ b/proto/prostgen/raze/Cargo.lock @@ -0,0 +1,1351 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "anyhow" +version = "1.0.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85bb70cc08ec97ca5450e6eba421deeea5f172c0fc61f78b5357b2a8e8be195f" + +[[package]] +name = "async-stream" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22068c0c19514942eefcfd4daf8976ef1aad84e61539f95cd200c35202f80af5" +dependencies = [ + "async-stream-impl", + "futures-core", +] + +[[package]] +name = "async-stream-impl" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "async-trait" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687c230d85c0a52504709705fc8a53e4a692b83a2184f03dae73e38e1e93a783" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "autocfg" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" + +[[package]] +name = "base64" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" + +[[package]] +name = "bitflags" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "bumpalo" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" + +[[package]] +name = "bytes" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" + +[[package]] +name = "cc" +version = "1.0.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c" + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "clap" +version = "2.33.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" +dependencies = [ + "bitflags", + "textwrap", + "unicode-width", +] + +[[package]] +name = "compile_with_bazel" +version = "0.1.0" +dependencies = [ + "anyhow", + "heck", + "hyper", + "proc-macro-error", + "proc-macro2", + "prost", + "prost-build", + "prost-derive", + "prost-types", + "structopt", + "syn", + "thiserror", + "tonic", + "tonic-build", +] + +[[package]] +name = "core-foundation" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" + +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + +[[package]] +name = "fixedbitset" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "fuchsia-zircon" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" +dependencies = [ + "bitflags", + "fuchsia-zircon-sys", +] + +[[package]] +name = "fuchsia-zircon-sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" + +[[package]] +name = "futures-channel" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5" +dependencies = [ + "futures-core", +] + +[[package]] +name = "futures-core" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" + +[[package]] +name = "futures-sink" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc" + +[[package]] +name = "futures-task" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626" + +[[package]] +name = "futures-util" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6" +dependencies = [ + "futures-core", + "futures-task", + "pin-project", + "pin-utils", +] + +[[package]] +name = "getrandom" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "h2" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7" + +[[package]] +name = "heck" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "http" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "httparse" +version = "1.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" + +[[package]] +name = "hyper" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6e7655b9594024ad0ee439f3b5a7299369dc2a3f459b47c696f9ff676f9aa1f" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "itoa", + "log", + "pin-project", + "socket2", + "time", + "tokio", + "tower-service", + "want", +] + +[[package]] +name = "indexmap" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "iovec" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" +dependencies = [ + "libc", +] + +[[package]] +name = "itertools" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" + +[[package]] +name = "js-sys" +version = "0.3.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "kernel32-sys" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" +dependencies = [ + "winapi 0.2.8", + "winapi-build", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.77" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235" + +[[package]] +name = "log" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "memchr" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" + +[[package]] +name = "mio" +version = "0.6.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" +dependencies = [ + "cfg-if", + "fuchsia-zircon", + "fuchsia-zircon-sys", + "iovec", + "kernel32-sys", + "libc", + "log", + "miow", + "net2", + "slab", + "winapi 0.2.8", +] + +[[package]] +name = "miow" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" +dependencies = [ + "kernel32-sys", + "net2", + "winapi 0.2.8", + "ws2_32-sys", +] + +[[package]] +name = "multimap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333" + +[[package]] +name = "net2" +version = "0.2.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853" +dependencies = [ + "cfg-if", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "once_cell" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" + +[[package]] +name = "openssl-probe" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" + +[[package]] +name = "percent-encoding" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + +[[package]] +name = "petgraph" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" +dependencies = [ + "fixedbitset", + "indexmap", +] + +[[package]] +name = "pin-project" +version = "0.4.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "ppv-lite86" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20" + +[[package]] +name = "proc-macro-error" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "syn-mid", + "version_check", +] + +[[package]] +name = "proc-macro2" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "prost" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce49aefe0a6144a45de32927c77bd2859a5f7677b55f220ae5b744e87389c212" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-build" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02b10678c913ecbd69350e8535c3aef91a8676c0773fc1d7b95cdd196d7f2f26" +dependencies = [ + "bytes", + "heck", + "itertools", + "log", + "multimap", + "petgraph", + "prost", + "prost-types", + "tempfile", + "which", +] + +[[package]] +name = "prost-derive" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "prost-types" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1834f67c0697c001304b75be76f67add9c89742eda3a085ad8ee0bb38c3417aa" +dependencies = [ + "bytes", + "prost", +] + +[[package]] +name = "quote" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom", + "libc", + "rand_chacha", + "rand_core", + "rand_hc", + "rand_pcg", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core", +] + +[[package]] +name = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + +[[package]] +name = "remove_dir_all" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "ring" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin", + "untrusted", + "web-sys", + "winapi 0.3.9", +] + +[[package]] +name = "rustls" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" +dependencies = [ + "base64", + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "rustls-native-certs" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8" +dependencies = [ + "openssl-probe", + "rustls", + "schannel", + "security-framework", +] + +[[package]] +name = "schannel" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +dependencies = [ + "lazy_static", + "winapi 0.3.9", +] + +[[package]] +name = "sct" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "security-framework" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "slab" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" + +[[package]] +name = "socket2" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "winapi 0.3.9", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "structopt" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff6da2e8d107dfd7b74df5ef4d205c6aebee0706c647f6bc6a2d5789905c00fb" +dependencies = [ + "clap", + "lazy_static", + "structopt-derive", +] + +[[package]] +name = "structopt-derive" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a489c87c08fbaf12e386665109dd13470dcc9c4583ea3e10dd2b4523e5ebd9ac" +dependencies = [ + "heck", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "syn" +version = "1.0.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5304cfdf27365b7585c25d4af91b35016ed21ef88f17ced89c7093b43dba8b6" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "syn-mid" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tempfile" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" +dependencies = [ + "cfg-if", + "libc", + "rand", + "redox_syscall", + "remove_dir_all", + "winapi 0.3.9", +] + +[[package]] +name = "textwrap" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" +dependencies = [ + "unicode-width", +] + +[[package]] +name = "thiserror" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5976891d6950b4f68477850b5b9e5aa64d955961466f9e174363f573e54e8ca7" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab81dbd1cd69cd2ce22ecfbdd3bdb73334ba25350649408cc6c085f46d89573d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "time" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi 0.3.9", +] + +[[package]] +name = "tokio" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "iovec", + "lazy_static", + "memchr", + "mio", + "pin-project-lite", + "slab", +] + +[[package]] +name = "tokio-rustls" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a" +dependencies = [ + "futures-core", + "rustls", + "tokio", + "webpki", +] + +[[package]] +name = "tokio-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tonic" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b13b102a19758191af97cff34c6785dffd6610f68de5ab1c4bb8378638e4ef90" +dependencies = [ + "async-stream", + "async-trait", + "base64", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "percent-encoding", + "pin-project", + "prost", + "prost-derive", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-balance", + "tower-load", + "tower-make", + "tower-service", + "tracing", + "tracing-futures", +] + +[[package]] +name = "tonic-build" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daec8b14e55497072204b53d5c0b1eb0a6ad1cd8301d6d4c079d4aeec35b21e9" +dependencies = [ + "proc-macro2", + "prost-build", + "quote", + "syn", +] + +[[package]] +name = "tower" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3169017c090b7a28fce80abaad0ab4f5566423677c9331bb320af7e49cfe62" +dependencies = [ + "futures-core", + "tower-buffer", + "tower-discover", + "tower-layer", + "tower-limit", + "tower-load-shed", + "tower-retry", + "tower-service", + "tower-timeout", + "tower-util", +] + +[[package]] +name = "tower-balance" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a792277613b7052448851efcf98a2c433e6f1d01460832dc60bef676bc275d4c" +dependencies = [ + "futures-core", + "futures-util", + "indexmap", + "pin-project", + "rand", + "slab", + "tokio", + "tower-discover", + "tower-layer", + "tower-load", + "tower-make", + "tower-ready-cache", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-buffer" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4887dc2a65d464c8b9b66e0e4d51c2fd6cf5b3373afc72805b0a60bce00446a" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-discover" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f6b5000c3c54d269cc695dff28136bb33d08cbf1df2c48129e143ab65bf3c2a" +dependencies = [ + "futures-core", + "pin-project", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a35d656f2638b288b33495d1053ea74c40dc05ec0b92084dd71ca5566c4ed1dc" + +[[package]] +name = "tower-limit" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92c3040c5dbed68abffaa0d4517ac1a454cd741044f33ab0eefab6b8d1361404" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-load", + "tower-service", +] + +[[package]] +name = "tower-load" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc79fc3afd07492b7966d7efa7c6c50f8ed58d768a6075dd7ae6591c5d2017b" +dependencies = [ + "futures-core", + "log", + "pin-project", + "tokio", + "tower-discover", + "tower-service", +] + +[[package]] +name = "tower-load-shed" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f021e23900173dc315feb4b6922510dae3e79c689b74c089112066c11f0ae4e" +dependencies = [ + "futures-core", + "pin-project", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-make" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce50370d644a0364bf4877ffd4f76404156a248d104e2cc234cd391ea5cdc965" +dependencies = [ + "tokio", + "tower-service", +] + +[[package]] +name = "tower-ready-cache" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4eabb6620e5481267e2ec832c780b31cad0c15dcb14ed825df5076b26b591e1f" +dependencies = [ + "futures-core", + "futures-util", + "indexmap", + "log", + "tokio", + "tower-service", +] + +[[package]] +name = "tower-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6727956aaa2f8957d4d9232b308fe8e4e65d99db30f42b225646e86c9b6a952" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-service" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" + +[[package]] +name = "tower-timeout" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127b8924b357be938823eaaec0608c482d40add25609481027b96198b2e4b31e" +dependencies = [ + "pin-project", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1093c19826d33807c72511e68f73b4a0469a3f22c2bd5f7d5212178b4b89674" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "tower-service", +] + +[[package]] +name = "tracing" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c" +dependencies = [ + "cfg-if", + "log", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bcf46c1f1f06aeea2d6b81f3c863d0930a596c86ad1920d4e5bad6dd1d7119a" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "tracing-futures" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" +dependencies = [ + "pin-project", + "tracing", +] + +[[package]] +name = "try-lock" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + +[[package]] +name = "unicode-segmentation" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" + +[[package]] +name = "unicode-width" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" + +[[package]] +name = "unicode-xid" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "version_check" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +dependencies = [ + "log", + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + +[[package]] +name = "wasm-bindgen" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307" + +[[package]] +name = "web-sys" +version = "0.3.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "which" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724" +dependencies = [ + "libc", +] + +[[package]] +name = "winapi" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-build" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "ws2_32-sys" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" +dependencies = [ + "winapi 0.2.8", + "winapi-build", +] diff --git a/proto/prostgen/raze/Cargo.toml b/proto/prostgen/raze/Cargo.toml new file mode 100644 index 0000000000..2974d431e0 --- /dev/null +++ b/proto/prostgen/raze/Cargo.toml @@ -0,0 +1,81 @@ +[package] +name = "compile_with_bazel" +version = "0.1.0" +edition = '2018' + +# Mandatory (or Cargo tooling is unhappy) +[lib] +path = "fake_lib.rs" + +[dependencies] +anyhow = "=1.0.31" +heck = "=0.3.1" +hyper = "=0.13.6" +syn= "=1.0.31" +proc-macro2= "=1.0.18" +proc-macro-error = "=1.0.2" +prost = "=0.6.1" +prost-derive = "=0.6.1" +prost-build = "=0.6.1" +prost-types = "=0.6.1" +structopt = { version = "=0.3.13", default-features = false } +thiserror = "=1.0.18" +tonic = { version = "=0.3.0", features = ["default", "tls", "tls-roots", "transport"] } +tonic-build = "=0.3.0" + +[raze] +# The WORKSPACE relative path to the Cargo.toml working directory. +workspace_path = "//proto/prostgen/raze" +genmode = "Remote" +default_gen_buildrs = true +# default_gen_buildrs = false + +# The target to generate BUILD rules for. +target = "x86_64-unknown-linux-gnu" + +# [raze.crates.proc-macro2.'1.0.21'] +# gen_buildrs = true +# additional_flags = [ +# "--cfg=u128", +# "--cfg=use_proc_macro", +# "--cfg=wrap_proc_macro", +# ] +# [raze.crates.proc-macro2.'1.0.18'] +# gen_buildrs = false +# additional_flags = [ +# "--cfg=u128", +# "--cfg=use_proc_macro", +# "--cfg=wrap_proc_macro", +# ] +# +# [raze.crates.proc-macro-error.'1.0.2'] +# gen_buildrs = false +# additional_flags = [ +# "--cfg=use_fallback", +# ] + +# [raze.crates.indexmap.'1.6.0'] +# # version 1.3 added no-std support, so it uses autocfg to detect the std crate +# additional_flags = [ +# "--cfg=has_std", +# ] + +[raze.crates.prost-build.'0.6.1'] +gen_buildrs = false +patches = [ + "//proto/prostgen/raze/patches:prost-build-0.6.1.patch", +] +patch_args = ["-p1"] + +[raze.crates.ring.'0.16.15'] +gen_buildrs = false +data_attr = 'glob(["**/src/data/*", "**/src/ec/**/*.der"])' +additional_deps = [ + # provided by the additional_build_file + ":ring-core", +] +additional_build_file = "builds/ring-0.16.BUILD" + +[raze.crates.webpki.'0.21.3'] +gen_buildrs = false +data_attr = 'glob(["**/src/data/*"])' diff --git a/proto/prostgen/raze/builds/BUILD b/proto/prostgen/raze/builds/BUILD new file mode 100644 index 0000000000..9097545961 --- /dev/null +++ b/proto/prostgen/raze/builds/BUILD @@ -0,0 +1,26 @@ +# BUILD files for crates that require additional targets to be linked from their +# source files. Some build.rs scripts go through the process of building c or +# c++ libraries that are thing linked as native libraries. +# +# Cargo raze supports adding additional content to the end of the autogenerated +# BUILD file using "additional_build_file". +# +# https://docs.rs/cargo-raze/0.3.1/cargo_raze/settings/struct.CrateSettings.html#structfield.additional_build_file +# +# Using this, we can add additional targets to that package. The main target +# for the crate can then depend on these extra targets using the crate's +# "additional_deps" cargo raze crate property. +# +# https://docs.rs/cargo-raze/0.2.15/cargo_raze/settings/struct.CrateSettings.html#structfield.additional_deps +# +# See //third_party/cargo/Cargo.toml for the usage. + +package(default_visibility = ["//visibility:private"]) + +filegroup( + name = "builds", + srcs = [ + "ring-0.16.BUILD", + ], + visibility = ["//proto/prostgen/raze:__subpackages__"], +) diff --git a/proto/prostgen/raze/builds/ring-0.16.BUILD b/proto/prostgen/raze/builds/ring-0.16.BUILD new file mode 100644 index 0000000000..46d50c6b65 --- /dev/null +++ b/proto/prostgen/raze/builds/ring-0.16.BUILD @@ -0,0 +1,23 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +# Based off of ring's build.rs file: +# https://github.com/briansmith/ring/blob/master/build.rs +cc_library( + name = "ring-core", + srcs = glob( + [ + "**/*.h", + "**/*.c", + "**/*.inl", + "**/*x86_64*-elf.S", + ], + exclude = ["crypto/constant_time_test.c"], + ), + copts = [ + "-fno-strict-aliasing", + "-fvisibility=hidden", + ], + includes = [ + "include", + ], +) diff --git a/proto/prostgen/raze/crates.bzl b/proto/prostgen/raze/crates.bzl new file mode 100644 index 0000000000..8967cb13b9 --- /dev/null +++ b/proto/prostgen/raze/crates.bzl @@ -0,0 +1,1240 @@ +""" +@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") + +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__anyhow__1_0_31", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/anyhow/anyhow-1.0.31.crate", + type = "tar.gz", + sha256 = "85bb70cc08ec97ca5450e6eba421deeea5f172c0fc61f78b5357b2a8e8be195f", + strip_prefix = "anyhow-1.0.31", + build_file = Label("//proto/prostgen/raze/remote:anyhow-1.0.31.BUILD"), + ) + + _new_http_archive( + name = "raze__async_stream__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-stream/async-stream-0.2.1.crate", + type = "tar.gz", + sha256 = "22068c0c19514942eefcfd4daf8976ef1aad84e61539f95cd200c35202f80af5", + strip_prefix = "async-stream-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:async-stream-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__async_stream_impl__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-stream-impl/async-stream-impl-0.2.1.crate", + type = "tar.gz", + sha256 = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670", + strip_prefix = "async-stream-impl-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:async-stream-impl-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__async_trait__0_1_40", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-trait/async-trait-0.1.40.crate", + type = "tar.gz", + sha256 = "687c230d85c0a52504709705fc8a53e4a692b83a2184f03dae73e38e1e93a783", + strip_prefix = "async-trait-0.1.40", + build_file = Label("//proto/prostgen/raze/remote:async-trait-0.1.40.BUILD"), + ) + + _new_http_archive( + name = "raze__autocfg__1_0_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.1.crate", + type = "tar.gz", + sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a", + strip_prefix = "autocfg-1.0.1", + build_file = Label("//proto/prostgen/raze/remote:autocfg-1.0.1.BUILD"), + ) + + _new_http_archive( + name = "raze__base64__0_12_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.12.3.crate", + type = "tar.gz", + sha256 = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff", + strip_prefix = "base64-0.12.3", + build_file = Label("//proto/prostgen/raze/remote:base64-0.12.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", + type = "tar.gz", + sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693", + strip_prefix = "bitflags-1.2.1", + build_file = Label("//proto/prostgen/raze/remote:bitflags-1.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__bumpalo__3_4_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bumpalo/bumpalo-3.4.0.crate", + type = "tar.gz", + sha256 = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820", + strip_prefix = "bumpalo-3.4.0", + build_file = Label("//proto/prostgen/raze/remote:bumpalo-3.4.0.BUILD"), + ) + + _new_http_archive( + name = "raze__bytes__0_5_6", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-0.5.6.crate", + type = "tar.gz", + sha256 = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38", + strip_prefix = "bytes-0.5.6", + build_file = Label("//proto/prostgen/raze/remote:bytes-0.5.6.BUILD"), + ) + + _new_http_archive( + name = "raze__cc__1_0_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.60.crate", + type = "tar.gz", + sha256 = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c", + strip_prefix = "cc-1.0.60", + build_file = Label("//proto/prostgen/raze/remote:cc-1.0.60.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", + type = "tar.gz", + sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", + strip_prefix = "cfg-if-0.1.10", + build_file = Label("//proto/prostgen/raze/remote:cfg-if-0.1.10.BUILD"), + ) + + _new_http_archive( + name = "raze__clap__2_33_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.3.crate", + type = "tar.gz", + sha256 = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002", + strip_prefix = "clap-2.33.3", + build_file = Label("//proto/prostgen/raze/remote:clap-2.33.3.BUILD"), + ) + + _new_http_archive( + name = "raze__core_foundation__0_7_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation/core-foundation-0.7.0.crate", + type = "tar.gz", + sha256 = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171", + strip_prefix = "core-foundation-0.7.0", + build_file = Label("//proto/prostgen/raze/remote:core-foundation-0.7.0.BUILD"), + ) + + _new_http_archive( + name = "raze__core_foundation_sys__0_7_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation-sys/core-foundation-sys-0.7.0.crate", + type = "tar.gz", + sha256 = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac", + strip_prefix = "core-foundation-sys-0.7.0", + build_file = Label("//proto/prostgen/raze/remote:core-foundation-sys-0.7.0.BUILD"), + ) + + _new_http_archive( + name = "raze__either__1_6_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/either/either-1.6.1.crate", + type = "tar.gz", + sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457", + strip_prefix = "either-1.6.1", + build_file = Label("//proto/prostgen/raze/remote:either-1.6.1.BUILD"), + ) + + _new_http_archive( + name = "raze__fixedbitset__0_2_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/fixedbitset/fixedbitset-0.2.0.crate", + type = "tar.gz", + sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d", + strip_prefix = "fixedbitset-0.2.0", + build_file = Label("//proto/prostgen/raze/remote:fixedbitset-0.2.0.BUILD"), + ) + + _new_http_archive( + name = "raze__fnv__1_0_7", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/fnv/fnv-1.0.7.crate", + type = "tar.gz", + sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", + strip_prefix = "fnv-1.0.7", + build_file = Label("//proto/prostgen/raze/remote:fnv-1.0.7.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", + type = "tar.gz", + sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82", + strip_prefix = "fuchsia-zircon-0.3.3", + build_file = Label("//proto/prostgen/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", + type = "tar.gz", + sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7", + strip_prefix = "fuchsia-zircon-sys-0.3.3", + build_file = Label("//proto/prostgen/raze/remote:fuchsia-zircon-sys-0.3.3.BUILD"), + ) + + _new_http_archive( + name = "raze__futures_channel__0_3_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-channel/futures-channel-0.3.5.crate", + type = "tar.gz", + sha256 = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5", + strip_prefix = "futures-channel-0.3.5", + build_file = Label("//proto/prostgen/raze/remote:futures-channel-0.3.5.BUILD"), + ) + + _new_http_archive( + name = "raze__futures_core__0_3_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.5.crate", + type = "tar.gz", + sha256 = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399", + strip_prefix = "futures-core-0.3.5", + build_file = Label("//proto/prostgen/raze/remote:futures-core-0.3.5.BUILD"), + ) + + _new_http_archive( + name = "raze__futures_sink__0_3_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-sink/futures-sink-0.3.5.crate", + type = "tar.gz", + sha256 = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc", + strip_prefix = "futures-sink-0.3.5", + build_file = Label("//proto/prostgen/raze/remote:futures-sink-0.3.5.BUILD"), + ) + + _new_http_archive( + name = "raze__futures_task__0_3_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-task/futures-task-0.3.5.crate", + type = "tar.gz", + sha256 = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626", + strip_prefix = "futures-task-0.3.5", + build_file = Label("//proto/prostgen/raze/remote:futures-task-0.3.5.BUILD"), + ) + + _new_http_archive( + name = "raze__futures_util__0_3_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-util/futures-util-0.3.5.crate", + type = "tar.gz", + sha256 = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6", + strip_prefix = "futures-util-0.3.5", + build_file = Label("//proto/prostgen/raze/remote:futures-util-0.3.5.BUILD"), + ) + + _new_http_archive( + name = "raze__getrandom__0_1_15", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.15.crate", + type = "tar.gz", + sha256 = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6", + strip_prefix = "getrandom-0.1.15", + build_file = Label("//proto/prostgen/raze/remote:getrandom-0.1.15.BUILD"), + ) + + _new_http_archive( + name = "raze__h2__0_2_6", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/h2/h2-0.2.6.crate", + type = "tar.gz", + sha256 = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53", + strip_prefix = "h2-0.2.6", + build_file = Label("//proto/prostgen/raze/remote:h2-0.2.6.BUILD"), + ) + + _new_http_archive( + name = "raze__hashbrown__0_9_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hashbrown/hashbrown-0.9.0.crate", + type = "tar.gz", + sha256 = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7", + strip_prefix = "hashbrown-0.9.0", + build_file = Label("//proto/prostgen/raze/remote:hashbrown-0.9.0.BUILD"), + ) + + _new_http_archive( + name = "raze__heck__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/heck/heck-0.3.1.crate", + type = "tar.gz", + sha256 = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205", + strip_prefix = "heck-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:heck-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__http__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/http/http-0.2.1.crate", + type = "tar.gz", + sha256 = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9", + strip_prefix = "http-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:http-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__http_body__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/http-body/http-body-0.3.1.crate", + type = "tar.gz", + sha256 = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b", + strip_prefix = "http-body-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:http-body-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__httparse__1_3_4", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/httparse/httparse-1.3.4.crate", + type = "tar.gz", + sha256 = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9", + strip_prefix = "httparse-1.3.4", + build_file = Label("//proto/prostgen/raze/remote:httparse-1.3.4.BUILD"), + ) + + _new_http_archive( + name = "raze__hyper__0_13_6", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hyper/hyper-0.13.6.crate", + type = "tar.gz", + sha256 = "a6e7655b9594024ad0ee439f3b5a7299369dc2a3f459b47c696f9ff676f9aa1f", + strip_prefix = "hyper-0.13.6", + build_file = Label("//proto/prostgen/raze/remote:hyper-0.13.6.BUILD"), + ) + + _new_http_archive( + name = "raze__indexmap__1_6_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/indexmap/indexmap-1.6.0.crate", + type = "tar.gz", + sha256 = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2", + strip_prefix = "indexmap-1.6.0", + build_file = Label("//proto/prostgen/raze/remote:indexmap-1.6.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", + type = "tar.gz", + sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e", + strip_prefix = "iovec-0.1.4", + build_file = Label("//proto/prostgen/raze/remote:iovec-0.1.4.BUILD"), + ) + + _new_http_archive( + name = "raze__itertools__0_8_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/itertools/itertools-0.8.2.crate", + type = "tar.gz", + sha256 = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484", + strip_prefix = "itertools-0.8.2", + build_file = Label("//proto/prostgen/raze/remote:itertools-0.8.2.BUILD"), + ) + + _new_http_archive( + name = "raze__itoa__0_4_6", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.6.crate", + type = "tar.gz", + sha256 = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6", + strip_prefix = "itoa-0.4.6", + build_file = Label("//proto/prostgen/raze/remote:itoa-0.4.6.BUILD"), + ) + + _new_http_archive( + name = "raze__js_sys__0_3_45", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/js-sys/js-sys-0.3.45.crate", + type = "tar.gz", + sha256 = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8", + strip_prefix = "js-sys-0.3.45", + build_file = Label("//proto/prostgen/raze/remote:js-sys-0.3.45.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", + type = "tar.gz", + sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d", + strip_prefix = "kernel32-sys-0.2.2", + build_file = Label("//proto/prostgen/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", + type = "tar.gz", + sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", + strip_prefix = "lazy_static-1.4.0", + build_file = Label("//proto/prostgen/raze/remote:lazy_static-1.4.0.BUILD"), + ) + + _new_http_archive( + name = "raze__libc__0_2_77", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.77.crate", + type = "tar.gz", + sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235", + strip_prefix = "libc-0.2.77", + build_file = Label("//proto/prostgen/raze/remote:libc-0.2.77.BUILD"), + ) + + _new_http_archive( + name = "raze__log__0_4_11", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.11.crate", + type = "tar.gz", + sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", + strip_prefix = "log-0.4.11", + build_file = Label("//proto/prostgen/raze/remote:log-0.4.11.BUILD"), + ) + + _new_http_archive( + name = "raze__memchr__2_3_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.3.3.crate", + type = "tar.gz", + sha256 = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400", + strip_prefix = "memchr-2.3.3", + build_file = Label("//proto/prostgen/raze/remote:memchr-2.3.3.BUILD"), + ) + + _new_http_archive( + name = "raze__mio__0_6_22", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.6.22.crate", + type = "tar.gz", + sha256 = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430", + strip_prefix = "mio-0.6.22", + build_file = Label("//proto/prostgen/raze/remote:mio-0.6.22.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", + type = "tar.gz", + sha256 = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919", + strip_prefix = "miow-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:miow-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__multimap__0_8_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/multimap/multimap-0.8.2.crate", + type = "tar.gz", + sha256 = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333", + strip_prefix = "multimap-0.8.2", + build_file = Label("//proto/prostgen/raze/remote:multimap-0.8.2.BUILD"), + ) + + _new_http_archive( + name = "raze__net2__0_2_35", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.35.crate", + type = "tar.gz", + sha256 = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853", + strip_prefix = "net2-0.2.35", + build_file = Label("//proto/prostgen/raze/remote:net2-0.2.35.BUILD"), + ) + + _new_http_archive( + name = "raze__once_cell__1_4_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.4.1.crate", + type = "tar.gz", + sha256 = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad", + strip_prefix = "once_cell-1.4.1", + build_file = Label("//proto/prostgen/raze/remote:once_cell-1.4.1.BUILD"), + ) + + _new_http_archive( + name = "raze__openssl_probe__0_1_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-probe/openssl-probe-0.1.2.crate", + type = "tar.gz", + sha256 = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de", + strip_prefix = "openssl-probe-0.1.2", + build_file = Label("//proto/prostgen/raze/remote:openssl-probe-0.1.2.BUILD"), + ) + + _new_http_archive( + name = "raze__percent_encoding__2_1_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-2.1.0.crate", + type = "tar.gz", + sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e", + strip_prefix = "percent-encoding-2.1.0", + build_file = Label("//proto/prostgen/raze/remote:percent-encoding-2.1.0.BUILD"), + ) + + _new_http_archive( + name = "raze__petgraph__0_5_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/petgraph/petgraph-0.5.1.crate", + type = "tar.gz", + sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7", + strip_prefix = "petgraph-0.5.1", + build_file = Label("//proto/prostgen/raze/remote:petgraph-0.5.1.BUILD"), + ) + + _new_http_archive( + name = "raze__pin_project__0_4_23", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project/pin-project-0.4.23.crate", + type = "tar.gz", + sha256 = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa", + strip_prefix = "pin-project-0.4.23", + build_file = Label("//proto/prostgen/raze/remote:pin-project-0.4.23.BUILD"), + ) + + _new_http_archive( + name = "raze__pin_project_internal__0_4_23", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-internal/pin-project-internal-0.4.23.crate", + type = "tar.gz", + sha256 = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f", + strip_prefix = "pin-project-internal-0.4.23", + build_file = Label("//proto/prostgen/raze/remote:pin-project-internal-0.4.23.BUILD"), + ) + + _new_http_archive( + name = "raze__pin_project_lite__0_1_7", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.1.7.crate", + type = "tar.gz", + sha256 = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715", + strip_prefix = "pin-project-lite-0.1.7", + build_file = Label("//proto/prostgen/raze/remote:pin-project-lite-0.1.7.BUILD"), + ) + + _new_http_archive( + name = "raze__pin_utils__0_1_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate", + type = "tar.gz", + sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", + strip_prefix = "pin-utils-0.1.0", + build_file = Label("//proto/prostgen/raze/remote:pin-utils-0.1.0.BUILD"), + ) + + _new_http_archive( + name = "raze__ppv_lite86__0_2_9", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.9.crate", + type = "tar.gz", + sha256 = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20", + strip_prefix = "ppv-lite86-0.2.9", + build_file = Label("//proto/prostgen/raze/remote:ppv-lite86-0.2.9.BUILD"), + ) + + _new_http_archive( + name = "raze__proc_macro_error__1_0_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error/proc-macro-error-1.0.2.crate", + type = "tar.gz", + sha256 = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678", + strip_prefix = "proc-macro-error-1.0.2", + build_file = Label("//proto/prostgen/raze/remote:proc-macro-error-1.0.2.BUILD"), + ) + + _new_http_archive( + name = "raze__proc_macro_error_attr__1_0_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error-attr/proc-macro-error-attr-1.0.2.crate", + type = "tar.gz", + sha256 = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53", + strip_prefix = "proc-macro-error-attr-1.0.2", + build_file = Label("//proto/prostgen/raze/remote:proc-macro-error-attr-1.0.2.BUILD"), + ) + + _new_http_archive( + name = "raze__proc_macro2__1_0_18", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.18.crate", + type = "tar.gz", + sha256 = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa", + strip_prefix = "proc-macro2-1.0.18", + build_file = Label("//proto/prostgen/raze/remote:proc-macro2-1.0.18.BUILD"), + ) + + _new_http_archive( + name = "raze__prost__0_6_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/prost/prost-0.6.1.crate", + type = "tar.gz", + sha256 = "ce49aefe0a6144a45de32927c77bd2859a5f7677b55f220ae5b744e87389c212", + strip_prefix = "prost-0.6.1", + build_file = Label("//proto/prostgen/raze/remote:prost-0.6.1.BUILD"), + ) + + _new_http_archive( + name = "raze__prost_build__0_6_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/prost-build/prost-build-0.6.1.crate", + type = "tar.gz", + sha256 = "02b10678c913ecbd69350e8535c3aef91a8676c0773fc1d7b95cdd196d7f2f26", + strip_prefix = "prost-build-0.6.1", + patches = [ + "//proto/prostgen/raze/patches:prost-build-0.6.1.patch", + ], + patch_args = [ + "-p1", + ], + build_file = Label("//proto/prostgen/raze/remote:prost-build-0.6.1.BUILD"), + ) + + _new_http_archive( + name = "raze__prost_derive__0_6_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/prost-derive/prost-derive-0.6.1.crate", + type = "tar.gz", + sha256 = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72", + strip_prefix = "prost-derive-0.6.1", + build_file = Label("//proto/prostgen/raze/remote:prost-derive-0.6.1.BUILD"), + ) + + _new_http_archive( + name = "raze__prost_types__0_6_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/prost-types/prost-types-0.6.1.crate", + type = "tar.gz", + sha256 = "1834f67c0697c001304b75be76f67add9c89742eda3a085ad8ee0bb38c3417aa", + strip_prefix = "prost-types-0.6.1", + build_file = Label("//proto/prostgen/raze/remote:prost-types-0.6.1.BUILD"), + ) + + _new_http_archive( + name = "raze__quote__1_0_7", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.7.crate", + type = "tar.gz", + sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37", + strip_prefix = "quote-1.0.7", + build_file = Label("//proto/prostgen/raze/remote:quote-1.0.7.BUILD"), + ) + + _new_http_archive( + name = "raze__rand__0_7_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate", + type = "tar.gz", + sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03", + strip_prefix = "rand-0.7.3", + build_file = Label("//proto/prostgen/raze/remote:rand-0.7.3.BUILD"), + ) + + _new_http_archive( + name = "raze__rand_chacha__0_2_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate", + type = "tar.gz", + sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402", + strip_prefix = "rand_chacha-0.2.2", + build_file = Label("//proto/prostgen/raze/remote:rand_chacha-0.2.2.BUILD"), + ) + + _new_http_archive( + name = "raze__rand_core__0_5_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate", + type = "tar.gz", + sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19", + strip_prefix = "rand_core-0.5.1", + build_file = Label("//proto/prostgen/raze/remote:rand_core-0.5.1.BUILD"), + ) + + _new_http_archive( + name = "raze__rand_hc__0_2_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate", + type = "tar.gz", + sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c", + strip_prefix = "rand_hc-0.2.0", + build_file = Label("//proto/prostgen/raze/remote:rand_hc-0.2.0.BUILD"), + ) + + _new_http_archive( + name = "raze__rand_pcg__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.2.1.crate", + type = "tar.gz", + sha256 = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429", + strip_prefix = "rand_pcg-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:rand_pcg-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__redox_syscall__0_1_57", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.57.crate", + type = "tar.gz", + sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", + strip_prefix = "redox_syscall-0.1.57", + build_file = Label("//proto/prostgen/raze/remote:redox_syscall-0.1.57.BUILD"), + ) + + _new_http_archive( + name = "raze__remove_dir_all__0_5_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.3.crate", + type = "tar.gz", + sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7", + strip_prefix = "remove_dir_all-0.5.3", + build_file = Label("//proto/prostgen/raze/remote:remove_dir_all-0.5.3.BUILD"), + ) + + _new_http_archive( + name = "raze__ring__0_16_15", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ring/ring-0.16.15.crate", + type = "tar.gz", + sha256 = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4", + strip_prefix = "ring-0.16.15", + build_file = Label("//proto/prostgen/raze/remote:ring-0.16.15.BUILD"), + ) + + _new_http_archive( + name = "raze__rustls__0_18_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rustls/rustls-0.18.1.crate", + type = "tar.gz", + sha256 = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81", + strip_prefix = "rustls-0.18.1", + build_file = Label("//proto/prostgen/raze/remote:rustls-0.18.1.BUILD"), + ) + + _new_http_archive( + name = "raze__rustls_native_certs__0_4_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rustls-native-certs/rustls-native-certs-0.4.0.crate", + type = "tar.gz", + sha256 = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8", + strip_prefix = "rustls-native-certs-0.4.0", + build_file = Label("//proto/prostgen/raze/remote:rustls-native-certs-0.4.0.BUILD"), + ) + + _new_http_archive( + name = "raze__schannel__0_1_19", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/schannel/schannel-0.1.19.crate", + type = "tar.gz", + sha256 = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75", + strip_prefix = "schannel-0.1.19", + build_file = Label("//proto/prostgen/raze/remote:schannel-0.1.19.BUILD"), + ) + + _new_http_archive( + name = "raze__sct__0_6_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/sct/sct-0.6.0.crate", + type = "tar.gz", + sha256 = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c", + strip_prefix = "sct-0.6.0", + build_file = Label("//proto/prostgen/raze/remote:sct-0.6.0.BUILD"), + ) + + _new_http_archive( + name = "raze__security_framework__1_0_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework/security-framework-1.0.0.crate", + type = "tar.gz", + sha256 = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b", + strip_prefix = "security-framework-1.0.0", + build_file = Label("//proto/prostgen/raze/remote:security-framework-1.0.0.BUILD"), + ) + + _new_http_archive( + name = "raze__security_framework_sys__1_0_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework-sys/security-framework-sys-1.0.0.crate", + type = "tar.gz", + sha256 = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7", + strip_prefix = "security-framework-sys-1.0.0", + build_file = Label("//proto/prostgen/raze/remote:security-framework-sys-1.0.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", + type = "tar.gz", + sha256 = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8", + strip_prefix = "slab-0.4.2", + build_file = Label("//proto/prostgen/raze/remote:slab-0.4.2.BUILD"), + ) + + _new_http_archive( + name = "raze__socket2__0_3_15", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/socket2/socket2-0.3.15.crate", + type = "tar.gz", + sha256 = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44", + strip_prefix = "socket2-0.3.15", + build_file = Label("//proto/prostgen/raze/remote:socket2-0.3.15.BUILD"), + ) + + _new_http_archive( + name = "raze__spin__0_5_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/spin/spin-0.5.2.crate", + type = "tar.gz", + sha256 = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d", + strip_prefix = "spin-0.5.2", + build_file = Label("//proto/prostgen/raze/remote:spin-0.5.2.BUILD"), + ) + + _new_http_archive( + name = "raze__structopt__0_3_13", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/structopt/structopt-0.3.13.crate", + type = "tar.gz", + sha256 = "ff6da2e8d107dfd7b74df5ef4d205c6aebee0706c647f6bc6a2d5789905c00fb", + strip_prefix = "structopt-0.3.13", + build_file = Label("//proto/prostgen/raze/remote:structopt-0.3.13.BUILD"), + ) + + _new_http_archive( + name = "raze__structopt_derive__0_4_6", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/structopt-derive/structopt-derive-0.4.6.crate", + type = "tar.gz", + sha256 = "a489c87c08fbaf12e386665109dd13470dcc9c4583ea3e10dd2b4523e5ebd9ac", + strip_prefix = "structopt-derive-0.4.6", + build_file = Label("//proto/prostgen/raze/remote:structopt-derive-0.4.6.BUILD"), + ) + + _new_http_archive( + name = "raze__syn__1_0_31", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.31.crate", + type = "tar.gz", + sha256 = "b5304cfdf27365b7585c25d4af91b35016ed21ef88f17ced89c7093b43dba8b6", + strip_prefix = "syn-1.0.31", + build_file = Label("//proto/prostgen/raze/remote:syn-1.0.31.BUILD"), + ) + + _new_http_archive( + name = "raze__syn_mid__0_5_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/syn-mid/syn-mid-0.5.0.crate", + type = "tar.gz", + sha256 = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a", + strip_prefix = "syn-mid-0.5.0", + build_file = Label("//proto/prostgen/raze/remote:syn-mid-0.5.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tempfile__3_1_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.1.0.crate", + type = "tar.gz", + sha256 = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9", + strip_prefix = "tempfile-3.1.0", + build_file = Label("//proto/prostgen/raze/remote:tempfile-3.1.0.BUILD"), + ) + + _new_http_archive( + name = "raze__textwrap__0_11_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate", + type = "tar.gz", + sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060", + strip_prefix = "textwrap-0.11.0", + build_file = Label("//proto/prostgen/raze/remote:textwrap-0.11.0.BUILD"), + ) + + _new_http_archive( + name = "raze__thiserror__1_0_18", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.18.crate", + type = "tar.gz", + sha256 = "5976891d6950b4f68477850b5b9e5aa64d955961466f9e174363f573e54e8ca7", + strip_prefix = "thiserror-1.0.18", + build_file = Label("//proto/prostgen/raze/remote:thiserror-1.0.18.BUILD"), + ) + + _new_http_archive( + name = "raze__thiserror_impl__1_0_18", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror-impl/thiserror-impl-1.0.18.crate", + type = "tar.gz", + sha256 = "ab81dbd1cd69cd2ce22ecfbdd3bdb73334ba25350649408cc6c085f46d89573d", + strip_prefix = "thiserror-impl-1.0.18", + build_file = Label("//proto/prostgen/raze/remote:thiserror-impl-1.0.18.BUILD"), + ) + + _new_http_archive( + name = "raze__time__0_1_44", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.44.crate", + type = "tar.gz", + sha256 = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255", + strip_prefix = "time-0.1.44", + build_file = Label("//proto/prostgen/raze/remote:time-0.1.44.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio__0_2_22", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.22.crate", + type = "tar.gz", + sha256 = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd", + strip_prefix = "tokio-0.2.22", + build_file = Label("//proto/prostgen/raze/remote:tokio-0.2.22.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio_rustls__0_14_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-rustls/tokio-rustls-0.14.1.crate", + type = "tar.gz", + sha256 = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a", + strip_prefix = "tokio-rustls-0.14.1", + build_file = Label("//proto/prostgen/raze/remote:tokio-rustls-0.14.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio_util__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-util/tokio-util-0.3.1.crate", + type = "tar.gz", + sha256 = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499", + strip_prefix = "tokio-util-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:tokio-util-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tonic__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tonic/tonic-0.3.0.crate", + type = "tar.gz", + sha256 = "b13b102a19758191af97cff34c6785dffd6610f68de5ab1c4bb8378638e4ef90", + strip_prefix = "tonic-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tonic-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tonic_build__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tonic-build/tonic-build-0.3.0.crate", + type = "tar.gz", + sha256 = "daec8b14e55497072204b53d5c0b1eb0a6ad1cd8301d6d4c079d4aeec35b21e9", + strip_prefix = "tonic-build-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tonic-build-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower/tower-0.3.1.crate", + type = "tar.gz", + sha256 = "fd3169017c090b7a28fce80abaad0ab4f5566423677c9331bb320af7e49cfe62", + strip_prefix = "tower-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:tower-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_balance__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-balance/tower-balance-0.3.0.crate", + type = "tar.gz", + sha256 = "a792277613b7052448851efcf98a2c433e6f1d01460832dc60bef676bc275d4c", + strip_prefix = "tower-balance-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-balance-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_buffer__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-buffer/tower-buffer-0.3.0.crate", + type = "tar.gz", + sha256 = "c4887dc2a65d464c8b9b66e0e4d51c2fd6cf5b3373afc72805b0a60bce00446a", + strip_prefix = "tower-buffer-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-buffer-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_discover__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-discover/tower-discover-0.3.0.crate", + type = "tar.gz", + sha256 = "0f6b5000c3c54d269cc695dff28136bb33d08cbf1df2c48129e143ab65bf3c2a", + strip_prefix = "tower-discover-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-discover-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_layer__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-layer/tower-layer-0.3.0.crate", + type = "tar.gz", + sha256 = "a35d656f2638b288b33495d1053ea74c40dc05ec0b92084dd71ca5566c4ed1dc", + strip_prefix = "tower-layer-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-layer-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_limit__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-limit/tower-limit-0.3.1.crate", + type = "tar.gz", + sha256 = "92c3040c5dbed68abffaa0d4517ac1a454cd741044f33ab0eefab6b8d1361404", + strip_prefix = "tower-limit-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:tower-limit-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_load__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-load/tower-load-0.3.0.crate", + type = "tar.gz", + sha256 = "8cc79fc3afd07492b7966d7efa7c6c50f8ed58d768a6075dd7ae6591c5d2017b", + strip_prefix = "tower-load-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-load-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_load_shed__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-load-shed/tower-load-shed-0.3.0.crate", + type = "tar.gz", + sha256 = "9f021e23900173dc315feb4b6922510dae3e79c689b74c089112066c11f0ae4e", + strip_prefix = "tower-load-shed-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-load-shed-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_make__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-make/tower-make-0.3.0.crate", + type = "tar.gz", + sha256 = "ce50370d644a0364bf4877ffd4f76404156a248d104e2cc234cd391ea5cdc965", + strip_prefix = "tower-make-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-make-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_ready_cache__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-ready-cache/tower-ready-cache-0.3.1.crate", + type = "tar.gz", + sha256 = "4eabb6620e5481267e2ec832c780b31cad0c15dcb14ed825df5076b26b591e1f", + strip_prefix = "tower-ready-cache-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:tower-ready-cache-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_retry__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-retry/tower-retry-0.3.0.crate", + type = "tar.gz", + sha256 = "e6727956aaa2f8957d4d9232b308fe8e4e65d99db30f42b225646e86c9b6a952", + strip_prefix = "tower-retry-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-retry-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_service__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-service/tower-service-0.3.0.crate", + type = "tar.gz", + sha256 = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860", + strip_prefix = "tower-service-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-service-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_timeout__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-timeout/tower-timeout-0.3.0.crate", + type = "tar.gz", + sha256 = "127b8924b357be938823eaaec0608c482d40add25609481027b96198b2e4b31e", + strip_prefix = "tower-timeout-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:tower-timeout-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_util__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-util/tower-util-0.3.1.crate", + type = "tar.gz", + sha256 = "d1093c19826d33807c72511e68f73b4a0469a3f22c2bd5f7d5212178b4b89674", + strip_prefix = "tower-util-0.3.1", + build_file = Label("//proto/prostgen/raze/remote:tower-util-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing__0_1_19", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing/tracing-0.1.19.crate", + type = "tar.gz", + sha256 = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c", + strip_prefix = "tracing-0.1.19", + build_file = Label("//proto/prostgen/raze/remote:tracing-0.1.19.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_attributes__0_1_11", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-attributes/tracing-attributes-0.1.11.crate", + type = "tar.gz", + sha256 = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada", + strip_prefix = "tracing-attributes-0.1.11", + build_file = Label("//proto/prostgen/raze/remote:tracing-attributes-0.1.11.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_core__0_1_16", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-core/tracing-core-0.1.16.crate", + type = "tar.gz", + sha256 = "5bcf46c1f1f06aeea2d6b81f3c863d0930a596c86ad1920d4e5bad6dd1d7119a", + strip_prefix = "tracing-core-0.1.16", + build_file = Label("//proto/prostgen/raze/remote:tracing-core-0.1.16.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_futures__0_2_4", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-futures/tracing-futures-0.2.4.crate", + type = "tar.gz", + sha256 = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c", + strip_prefix = "tracing-futures-0.2.4", + build_file = Label("//proto/prostgen/raze/remote:tracing-futures-0.2.4.BUILD"), + ) + + _new_http_archive( + name = "raze__try_lock__0_2_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/try-lock/try-lock-0.2.3.crate", + type = "tar.gz", + sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642", + strip_prefix = "try-lock-0.2.3", + build_file = Label("//proto/prostgen/raze/remote:try-lock-0.2.3.BUILD"), + ) + + _new_http_archive( + name = "raze__unicode_segmentation__1_6_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-segmentation/unicode-segmentation-1.6.0.crate", + type = "tar.gz", + sha256 = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0", + strip_prefix = "unicode-segmentation-1.6.0", + build_file = Label("//proto/prostgen/raze/remote:unicode-segmentation-1.6.0.BUILD"), + ) + + _new_http_archive( + name = "raze__unicode_width__0_1_8", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.8.crate", + type = "tar.gz", + sha256 = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3", + strip_prefix = "unicode-width-0.1.8", + build_file = Label("//proto/prostgen/raze/remote:unicode-width-0.1.8.BUILD"), + ) + + _new_http_archive( + name = "raze__unicode_xid__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate", + type = "tar.gz", + sha256 = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564", + strip_prefix = "unicode-xid-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:unicode-xid-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__untrusted__0_7_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/untrusted/untrusted-0.7.1.crate", + type = "tar.gz", + sha256 = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a", + strip_prefix = "untrusted-0.7.1", + build_file = Label("//proto/prostgen/raze/remote:untrusted-0.7.1.BUILD"), + ) + + _new_http_archive( + name = "raze__version_check__0_9_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate", + type = "tar.gz", + sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed", + strip_prefix = "version_check-0.9.2", + build_file = Label("//proto/prostgen/raze/remote:version_check-0.9.2.BUILD"), + ) + + _new_http_archive( + name = "raze__want__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/want/want-0.3.0.crate", + type = "tar.gz", + sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", + strip_prefix = "want-0.3.0", + build_file = Label("//proto/prostgen/raze/remote:want-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__wasi__0_10_0_wasi_snapshot_preview1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate", + type = "tar.gz", + sha256 = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f", + strip_prefix = "wasi-0.10.0+wasi-snapshot-preview1", + build_file = Label("//proto/prostgen/raze/remote:wasi-0.10.0+wasi-snapshot-preview1.BUILD"), + ) + + _new_http_archive( + name = "raze__wasi__0_9_0_wasi_snapshot_preview1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate", + type = "tar.gz", + sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519", + strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1", + build_file = Label("//proto/prostgen/raze/remote:wasi-0.9.0+wasi-snapshot-preview1.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen__0_2_68", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen/wasm-bindgen-0.2.68.crate", + type = "tar.gz", + sha256 = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42", + strip_prefix = "wasm-bindgen-0.2.68", + build_file = Label("//proto/prostgen/raze/remote:wasm-bindgen-0.2.68.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_backend__0_2_68", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.68.crate", + type = "tar.gz", + sha256 = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68", + strip_prefix = "wasm-bindgen-backend-0.2.68", + build_file = Label("//proto/prostgen/raze/remote:wasm-bindgen-backend-0.2.68.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_macro__0_2_68", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.68.crate", + type = "tar.gz", + sha256 = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038", + strip_prefix = "wasm-bindgen-macro-0.2.68", + build_file = Label("//proto/prostgen/raze/remote:wasm-bindgen-macro-0.2.68.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_macro_support__0_2_68", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.68.crate", + type = "tar.gz", + sha256 = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe", + strip_prefix = "wasm-bindgen-macro-support-0.2.68", + build_file = Label("//proto/prostgen/raze/remote:wasm-bindgen-macro-support-0.2.68.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_shared__0_2_68", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.68.crate", + type = "tar.gz", + sha256 = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307", + strip_prefix = "wasm-bindgen-shared-0.2.68", + build_file = Label("//proto/prostgen/raze/remote:wasm-bindgen-shared-0.2.68.BUILD"), + ) + + _new_http_archive( + name = "raze__web_sys__0_3_45", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/web-sys/web-sys-0.3.45.crate", + type = "tar.gz", + sha256 = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d", + strip_prefix = "web-sys-0.3.45", + build_file = Label("//proto/prostgen/raze/remote:web-sys-0.3.45.BUILD"), + ) + + _new_http_archive( + name = "raze__webpki__0_21_3", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/webpki/webpki-0.21.3.crate", + type = "tar.gz", + sha256 = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae", + strip_prefix = "webpki-0.21.3", + build_file = Label("//proto/prostgen/raze/remote:webpki-0.21.3.BUILD"), + ) + + _new_http_archive( + name = "raze__which__3_1_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/which/which-3.1.1.crate", + type = "tar.gz", + sha256 = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724", + strip_prefix = "which-3.1.1", + build_file = Label("//proto/prostgen/raze/remote:which-3.1.1.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", + type = "tar.gz", + sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a", + strip_prefix = "winapi-0.2.8", + build_file = Label("//proto/prostgen/raze/remote:winapi-0.2.8.BUILD"), + ) + + _new_http_archive( + name = "raze__winapi__0_3_9", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate", + type = "tar.gz", + sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + strip_prefix = "winapi-0.3.9", + build_file = Label("//proto/prostgen/raze/remote:winapi-0.3.9.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", + type = "tar.gz", + sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc", + strip_prefix = "winapi-build-0.1.1", + build_file = Label("//proto/prostgen/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", + type = "tar.gz", + sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", + build_file = Label("//proto/prostgen/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", + type = "tar.gz", + sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", + build_file = Label("//proto/prostgen/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", + type = "tar.gz", + sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e", + strip_prefix = "ws2_32-sys-0.2.1", + build_file = Label("//proto/prostgen/raze/remote:ws2_32-sys-0.2.1.BUILD"), + ) + diff --git a/proto/prostgen/raze/patches/BUILD b/proto/prostgen/raze/patches/BUILD new file mode 100644 index 0000000000..79b08a2332 --- /dev/null +++ b/proto/prostgen/raze/patches/BUILD @@ -0,0 +1,19 @@ +# Patches to be added to the bazel configuration of external crate repositories +# by cargo raze, if using genmode=Remote, and by our local scripts otherwise. + +package(default_visibility = ["//visibility:private"]) + +filegroup( + name = "patches", + srcs = [ + "prost-build-0.6.1.patch", + ], + visibility = ["//proto/prostgen/raze:__subpackages__"], +) + +filegroup( + name = "docs", + srcs = [ + "prost-build-0.6.1.md", + ], +) diff --git a/proto/prostgen/raze/patches/prost-build-0.6.1.md b/proto/prostgen/raze/patches/prost-build-0.6.1.md new file mode 100644 index 0000000000..26dcac9a4a --- /dev/null +++ b/proto/prostgen/raze/patches/prost-build-0.6.1.md @@ -0,0 +1,11 @@ +# Prost-Build + +The prost-build library is generally geared towards using build.rs files as a +means for generating both itself, and then the generated protobuf files. This +makes it very cargo-centric. For example, with the lib.rs file, it expects a +[path to the protoc compiler to be provided by PROTOC](https://github.com/danburkert/prost/blob/master/prost-build/src/lib.rs#L684) +which hard-codes the path of protoc into the library. This makes it so we +currently cannot build prost-build without patching the code. This now patches +the code in a simlar manner to +[danburket/prost#307](https://github.com/danburkert/prost/pull/307) which will +be in an eventual next release of prost. diff --git a/proto/prostgen/raze/patches/prost-build-0.6.1.patch b/proto/prostgen/raze/patches/prost-build-0.6.1.patch new file mode 100644 index 0000000000..693b42328a --- /dev/null +++ b/proto/prostgen/raze/patches/prost-build-0.6.1.patch @@ -0,0 +1,20 @@ +diff --git a/src/lib.rs b/src/lib.rs +index c0c5724..8aad4e1 100644 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -677,12 +677,12 @@ where + + /// Returns the path to the `protoc` binary. +-pub fn protoc() -> &'static Path { +- Path::new(env!("PROTOC")) ++pub fn protoc() -> PathBuf { ++ PathBuf::from(std::env::var("PROTOC").expect("protoc not specified")) + } + + /// Returns the path to the Protobuf include directory. + pub fn protoc_include() -> &'static Path { +- Path::new(env!("PROTOC_INCLUDE")) ++ Path::new(option_env!("PROTOC_INCLUDE").unwrap_or(".")) + } + + #[cfg(test)] diff --git a/proto/prostgen/raze/remote/BUILD b/proto/prostgen/raze/remote/BUILD new file mode 100644 index 0000000000..e69de29bb2 diff --git a/proto/prostgen/raze/remote/anyhow-1.0.31.BUILD b/proto/prostgen/raze/remote/anyhow-1.0.31.BUILD new file mode 100644 index 0000000000..5cb275c55e --- /dev/null +++ b/proto/prostgen/raze/remote/anyhow-1.0.31.BUILD @@ -0,0 +1,85 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.0.31", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "anyhow", + crate_type = "lib", + deps = [ + ":anyhow_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.31", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "test_autotrait" with type "test" omitted +# Unsupported target "test_backtrace" with type "test" omitted +# Unsupported target "test_boxed" with type "test" omitted +# Unsupported target "test_chain" with type "test" omitted +# Unsupported target "test_context" with type "test" omitted +# Unsupported target "test_convert" with type "test" omitted +# Unsupported target "test_downcast" with type "test" omitted +# Unsupported target "test_fmt" with type "test" omitted +# Unsupported target "test_macros" with type "test" omitted +# Unsupported target "test_repr" with type "test" omitted +# Unsupported target "test_source" with type "test" omitted diff --git a/proto/prostgen/raze/remote/async-stream-0.2.1.BUILD b/proto/prostgen/raze/remote/async-stream-0.2.1.BUILD new file mode 100644 index 0000000000..ea80c2dcbb --- /dev/null +++ b/proto/prostgen/raze/remote/async-stream-0.2.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_stream", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__async_stream_impl__0_2_1//:async_stream_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "for_await" with type "test" omitted +# Unsupported target "stream" with type "test" omitted +# Unsupported target "tcp_accept" with type "example" omitted +# Unsupported target "try_stream" with type "test" omitted diff --git a/proto/prostgen/raze/remote/async-stream-impl-0.2.1.BUILD b/proto/prostgen/raze/remote/async-stream-impl-0.2.1.BUILD new file mode 100644 index 0000000000..d9eb68ab21 --- /dev/null +++ b/proto/prostgen/raze/remote/async-stream-impl-0.2.1.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_stream_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/async-trait-0.1.40.BUILD b/proto/prostgen/raze/remote/async-trait-0.1.40.BUILD new file mode 100644 index 0000000000..aacf41239f --- /dev/null +++ b/proto/prostgen/raze/remote/async-trait-0.1.40.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_trait", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.40", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/autocfg-1.0.1.BUILD b/proto/prostgen/raze/remote/autocfg-1.0.1.BUILD new file mode 100644 index 0000000000..baa569ae46 --- /dev/null +++ b/proto/prostgen/raze/remote/autocfg-1.0.1.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "autocfg", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "integers" with type "example" omitted +# Unsupported target "paths" with type "example" omitted +# Unsupported target "rustflags" with type "test" omitted +# Unsupported target "traits" with type "example" omitted +# Unsupported target "versions" with type "example" omitted diff --git a/proto/prostgen/raze/remote/base64-0.12.3.BUILD b/proto/prostgen/raze/remote/base64-0.12.3.BUILD new file mode 100644 index 0000000000..506b2a8060 --- /dev/null +++ b/proto/prostgen/raze/remote/base64-0.12.3.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "base64", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.12.3", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + +# Unsupported target "benchmarks" with type "bench" omitted +# Unsupported target "decode" with type "test" omitted +# Unsupported target "encode" with type "test" omitted +# Unsupported target "helpers" with type "test" omitted +# Unsupported target "make_tables" with type "example" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/proto/prostgen/raze/remote/bitflags-1.2.1.BUILD b/proto/prostgen/raze/remote/bitflags-1.2.1.BUILD new file mode 100644 index 0000000000..06734cc9ba --- /dev/null +++ b/proto/prostgen/raze/remote/bitflags-1.2.1.BUILD @@ -0,0 +1,71 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "bitflags_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.2.1", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "bitflags", + crate_type = "lib", + deps = [ + ":bitflags_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.1", + tags = ["cargo-raze"], + crate_features = [ + "default", + ], +) + diff --git a/proto/prostgen/raze/remote/bumpalo-3.4.0.BUILD b/proto/prostgen/raze/remote/bumpalo-3.4.0.BUILD new file mode 100644 index 0000000000..d2e03a3fda --- /dev/null +++ b/proto/prostgen/raze/remote/bumpalo-3.4.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "alloc_fill" with type "test" omitted +# Unsupported target "alloc_with" with type "test" omitted +# Unsupported target "benches" with type "bench" omitted + +rust_library( + name = "bumpalo", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.4.0", + tags = ["cargo-raze"], + crate_features = [ + "default", + ], +) + +# Unsupported target "quickchecks" with type "test" omitted +# Unsupported target "readme_up_to_date" with type "test" omitted +# Unsupported target "string" with type "test" omitted +# Unsupported target "tests" with type "test" omitted +# Unsupported target "try_alloc" with type "test" omitted +# Unsupported target "vec" with type "test" omitted diff --git a/proto/prostgen/raze/remote/bytes-0.5.6.BUILD b/proto/prostgen/raze/remote/bytes-0.5.6.BUILD new file mode 100644 index 0000000000..4b6c88a9e6 --- /dev/null +++ b/proto/prostgen/raze/remote/bytes-0.5.6.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "buf" with type "bench" omitted +# Unsupported target "bytes" with type "bench" omitted + +rust_library( + name = "bytes", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.6", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + +# Unsupported target "bytes_mut" with type "bench" omitted +# Unsupported target "test_buf" with type "test" omitted +# Unsupported target "test_buf_mut" with type "test" omitted +# Unsupported target "test_bytes" with type "test" omitted +# Unsupported target "test_bytes_odd_alloc" with type "test" omitted +# Unsupported target "test_bytes_vec_alloc" with type "test" omitted +# Unsupported target "test_chain" with type "test" omitted +# Unsupported target "test_debug" with type "test" omitted +# Unsupported target "test_iter" with type "test" omitted +# Unsupported target "test_reader" with type "test" omitted +# Unsupported target "test_serde" with type "test" omitted +# Unsupported target "test_take" with type "test" omitted diff --git a/proto/prostgen/raze/remote/cc-1.0.60.BUILD b/proto/prostgen/raze/remote/cc-1.0.60.BUILD new file mode 100644 index 0000000000..211b1c5660 --- /dev/null +++ b/proto/prostgen/raze/remote/cc-1.0.60.BUILD @@ -0,0 +1,68 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "cc", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.60", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "cc_env" with type "test" omitted +# Unsupported target "cflags" with type "test" omitted +# Unsupported target "cxxflags" with type "test" omitted +rust_binary( + # Prefix bin name to disambiguate from (probable) collision with lib name + # N.B.: The exact form of this is subject to change. + name = "cargo_bin_gcc_shim", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":cc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/gcc-shim.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.60", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/cfg-if-0.1.10.BUILD b/proto/prostgen/raze/remote/cfg-if-0.1.10.BUILD new file mode 100644 index 0000000000..bbdb0bfcb9 --- /dev/null +++ b/proto/prostgen/raze/remote/cfg-if-0.1.10.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "cfg_if", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.10", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "xcrate" with type "test" omitted diff --git a/proto/prostgen/raze/remote/clap-2.33.3.BUILD b/proto/prostgen/raze/remote/clap-2.33.3.BUILD new file mode 100644 index 0000000000..7abd3c9b7b --- /dev/null +++ b/proto/prostgen/raze/remote/clap-2.33.3.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "clap", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + "@raze__textwrap__0_11_0//:textwrap", + "@raze__unicode_width__0_1_8//:unicode_width", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.33.3", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/core-foundation-0.7.0.BUILD b/proto/prostgen/raze/remote/core-foundation-0.7.0.BUILD new file mode 100644 index 0000000000..3e74ce3df8 --- /dev/null +++ b/proto/prostgen/raze/remote/core-foundation-0.7.0.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "core_foundation", + crate_type = "lib", + deps = [ + "@raze__core_foundation_sys__0_7_0//:core_foundation_sys", + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "use_macro_outside_crate" with type "test" omitted diff --git a/proto/prostgen/raze/remote/core-foundation-sys-0.7.0.BUILD b/proto/prostgen/raze/remote/core-foundation-sys-0.7.0.BUILD new file mode 100644 index 0000000000..15901f3172 --- /dev/null +++ b/proto/prostgen/raze/remote/core-foundation-sys-0.7.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "core_foundation_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.7.0", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "core_foundation_sys", + crate_type = "lib", + deps = [ + ":core_foundation_sys_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/either-1.6.1.BUILD b/proto/prostgen/raze/remote/either-1.6.1.BUILD new file mode 100644 index 0000000000..7fd82e6977 --- /dev/null +++ b/proto/prostgen/raze/remote/either-1.6.1.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "either", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/fixedbitset-0.2.0.BUILD b/proto/prostgen/raze/remote/fixedbitset-0.2.0.BUILD new file mode 100644 index 0000000000..9cdb2ed25c --- /dev/null +++ b/proto/prostgen/raze/remote/fixedbitset-0.2.0.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "benches" with type "bench" omitted + +rust_library( + name = "fixedbitset", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/fnv-1.0.7.BUILD b/proto/prostgen/raze/remote/fnv-1.0.7.BUILD new file mode 100644 index 0000000000..6f4fae363d --- /dev/null +++ b/proto/prostgen/raze/remote/fnv-1.0.7.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "fnv", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.7", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/fuchsia-zircon-0.3.3.BUILD b/proto/prostgen/raze/remote/fuchsia-zircon-0.3.3.BUILD new file mode 100644 index 0000000000..5787d02055 --- /dev/null +++ b/proto/prostgen/raze/remote/fuchsia-zircon-0.3.3.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "fuchsia_zircon", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + "@raze__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"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD b/proto/prostgen/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD new file mode 100644 index 0000000000..de58f33bcf --- /dev/null +++ b/proto/prostgen/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "fuchsia_zircon_sys", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.3", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "hello" with type "example" omitted diff --git a/proto/prostgen/raze/remote/futures-channel-0.3.5.BUILD b/proto/prostgen/raze/remote/futures-channel-0.3.5.BUILD new file mode 100644 index 0000000000..a1d3bc1ecb --- /dev/null +++ b/proto/prostgen/raze/remote/futures-channel-0.3.5.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "channel" with type "test" omitted + +rust_library( + name = "futures_channel", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "default", + "std", + ], +) + +# Unsupported target "mpsc" with type "test" omitted +# Unsupported target "mpsc-close" with type "test" omitted +# Unsupported target "oneshot" with type "test" omitted +# Unsupported target "sync_mpsc" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/futures-core-0.3.5.BUILD b/proto/prostgen/raze/remote/futures-core-0.3.5.BUILD new file mode 100644 index 0000000000..5493cbaa60 --- /dev/null +++ b/proto/prostgen/raze/remote/futures-core-0.3.5.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "futures_core", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/futures-sink-0.3.5.BUILD b/proto/prostgen/raze/remote/futures-sink-0.3.5.BUILD new file mode 100644 index 0000000000..9d1e763fc9 --- /dev/null +++ b/proto/prostgen/raze/remote/futures-sink-0.3.5.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "futures_sink", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/futures-task-0.3.5.BUILD b/proto/prostgen/raze/remote/futures-task-0.3.5.BUILD new file mode 100644 index 0000000000..3da40b2d6d --- /dev/null +++ b/proto/prostgen/raze/remote/futures-task-0.3.5.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "futures_task", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + ], +) + diff --git a/proto/prostgen/raze/remote/futures-util-0.3.5.BUILD b/proto/prostgen/raze/remote/futures-util-0.3.5.BUILD new file mode 100644 index 0000000000..fbee585cb8 --- /dev/null +++ b/proto/prostgen/raze/remote/futures-util-0.3.5.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "futures_util", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_task__0_3_5//:futures_task", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__pin_utils__0_1_0//:pin_utils", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + ], +) + +# Unsupported target "futures_unordered" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/getrandom-0.1.15.BUILD b/proto/prostgen/raze/remote/getrandom-0.1.15.BUILD new file mode 100644 index 0000000000..c3169dde76 --- /dev/null +++ b/proto/prostgen/raze/remote/getrandom-0.1.15.BUILD @@ -0,0 +1,75 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "getrandom_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.1.15", + visibility = ["//visibility:private"], +) + +# Unsupported target "common" with type "test" omitted + +rust_library( + name = "getrandom", + crate_type = "lib", + deps = [ + ":getrandom_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.15", + tags = ["cargo-raze"], + crate_features = [ + "std", + ], +) + +# Unsupported target "mod" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/h2-0.2.6.BUILD b/proto/prostgen/raze/remote/h2-0.2.6.BUILD new file mode 100644 index 0000000000..20e85f0af8 --- /dev/null +++ b/proto/prostgen/raze/remote/h2-0.2.6.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "akamai" with type "example" omitted +# Unsupported target "client" with type "example" omitted + +rust_library( + name = "h2", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_sink__0_3_5//:futures_sink", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__http__0_2_1//:http", + "@raze__indexmap__1_6_0//:indexmap", + "@raze__slab__0_4_2//:slab", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_util__0_3_1//:tokio_util", + "@raze__tracing__0_1_19//:tracing", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.6", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "server" with type "example" omitted diff --git a/proto/prostgen/raze/remote/hashbrown-0.9.0.BUILD b/proto/prostgen/raze/remote/hashbrown-0.9.0.BUILD new file mode 100644 index 0000000000..4aa1ceb2df --- /dev/null +++ b/proto/prostgen/raze/remote/hashbrown-0.9.0.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "hashbrown", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.0", + tags = ["cargo-raze"], + crate_features = [ + "raw", + ], +) + +# Unsupported target "hasher" with type "test" omitted +# Unsupported target "rayon" with type "test" omitted +# Unsupported target "serde" with type "test" omitted +# Unsupported target "set" with type "test" omitted diff --git a/proto/prostgen/raze/remote/heck-0.3.1.BUILD b/proto/prostgen/raze/remote/heck-0.3.1.BUILD new file mode 100644 index 0000000000..490ac5cd96 --- /dev/null +++ b/proto/prostgen/raze/remote/heck-0.3.1.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "heck", + crate_type = "lib", + deps = [ + "@raze__unicode_segmentation__1_6_0//:unicode_segmentation", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/http-0.2.1.BUILD b/proto/prostgen/raze/remote/http-0.2.1.BUILD new file mode 100644 index 0000000000..8fd30d5a5f --- /dev/null +++ b/proto/prostgen/raze/remote/http-0.2.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "header_map" with type "bench" omitted +# Unsupported target "header_map" with type "test" omitted +# Unsupported target "header_map_fuzz" with type "test" omitted +# Unsupported target "header_name" with type "bench" omitted +# Unsupported target "header_value" with type "bench" omitted + +rust_library( + name = "http", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__itoa__0_4_6//:itoa", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "status_code" with type "test" omitted +# Unsupported target "uri" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/http-body-0.3.1.BUILD b/proto/prostgen/raze/remote/http-body-0.3.1.BUILD new file mode 100644 index 0000000000..02b376ebae --- /dev/null +++ b/proto/prostgen/raze/remote/http-body-0.3.1.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "http_body", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__http__0_2_1//:http", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "is_end_stream" with type "test" omitted diff --git a/proto/prostgen/raze/remote/httparse-1.3.4.BUILD b/proto/prostgen/raze/remote/httparse-1.3.4.BUILD new file mode 100644 index 0000000000..6b662df74b --- /dev/null +++ b/proto/prostgen/raze/remote/httparse-1.3.4.BUILD @@ -0,0 +1,75 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "httparse_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.3.4", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "httparse", + crate_type = "lib", + deps = [ + ":httparse_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.3.4", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + +# Unsupported target "parse" with type "bench" omitted +# Unsupported target "uri" with type "test" omitted diff --git a/proto/prostgen/raze/remote/hyper-0.13.6.BUILD b/proto/prostgen/raze/remote/hyper-0.13.6.BUILD new file mode 100644 index 0000000000..0194cea437 --- /dev/null +++ b/proto/prostgen/raze/remote/hyper-0.13.6.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "body" with type "bench" omitted +# Unsupported target "client" with type "example" omitted +# Unsupported target "client" with type "test" omitted +# Unsupported target "client_json" with type "example" omitted +# Unsupported target "connect" with type "bench" omitted +# Unsupported target "echo" with type "example" omitted +# Unsupported target "end_to_end" with type "bench" omitted +# Unsupported target "gateway" with type "example" omitted +# Unsupported target "hello" with type "example" omitted +# Unsupported target "http_proxy" with type "example" omitted + +rust_library( + name = "hyper", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__futures_channel__0_3_5//:futures_channel", + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__h2__0_2_6//:h2", + "@raze__http__0_2_1//:http", + "@raze__http_body__0_3_1//:http_body", + "@raze__httparse__1_3_4//:httparse", + "@raze__itoa__0_4_6//:itoa", + "@raze__log__0_4_11//:log", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__socket2__0_3_15//:socket2", + "@raze__time__0_1_44//:time", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__want__0_3_0//:want", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.13.6", + tags = ["cargo-raze"], + crate_features = [ + "default", + "runtime", + "socket2", + "stream", + "tcp", + ], +) + +# Unsupported target "integration" with type "test" omitted +# Unsupported target "multi_server" with type "example" omitted +# Unsupported target "params" with type "example" omitted +# Unsupported target "pipeline" with type "bench" omitted +# Unsupported target "send_file" with type "example" omitted +# Unsupported target "server" with type "bench" omitted +# Unsupported target "server" with type "test" omitted +# Unsupported target "single_threaded" with type "example" omitted +# Unsupported target "state" with type "example" omitted +# Unsupported target "tower_client" with type "example" omitted +# Unsupported target "tower_server" with type "example" omitted +# Unsupported target "upgrades" with type "example" omitted +# Unsupported target "web_api" with type "example" omitted diff --git a/proto/prostgen/raze/remote/indexmap-1.6.0.BUILD b/proto/prostgen/raze/remote/indexmap-1.6.0.BUILD new file mode 100644 index 0000000000..7ef8e6545d --- /dev/null +++ b/proto/prostgen/raze/remote/indexmap-1.6.0.BUILD @@ -0,0 +1,77 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "indexmap_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.6.0", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted +# Unsupported target "equivalent_trait" with type "test" omitted +# Unsupported target "faststring" with type "bench" omitted + +rust_library( + name = "indexmap", + crate_type = "lib", + deps = [ + ":indexmap_build_script", + "@raze__hashbrown__0_9_0//:hashbrown", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "macros_full_path" with type "test" omitted +# Unsupported target "quick" with type "test" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/proto/prostgen/raze/remote/iovec-0.1.4.BUILD b/proto/prostgen/raze/remote/iovec-0.1.4.BUILD new file mode 100644 index 0000000000..1ca9f6abd8 --- /dev/null +++ b/proto/prostgen/raze/remote/iovec-0.1.4.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "iovec", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.4", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/itertools-0.8.2.BUILD b/proto/prostgen/raze/remote/itertools-0.8.2.BUILD new file mode 100644 index 0000000000..519ce062b3 --- /dev/null +++ b/proto/prostgen/raze/remote/itertools-0.8.2.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "adaptors_no_collect" with type "test" omitted +# Unsupported target "bench1" with type "bench" omitted +# Unsupported target "combinations_with_replacement" with type "bench" omitted +# Unsupported target "fold_specialization" with type "bench" omitted +# Unsupported target "fold_specialization" with type "test" omitted +# Unsupported target "iris" with type "example" omitted + +rust_library( + name = "itertools", + crate_type = "lib", + deps = [ + "@raze__either__1_6_1//:either", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.2", + tags = ["cargo-raze"], + crate_features = [ + "default", + "use_std", + ], +) + +# Unsupported target "merge_join" with type "test" omitted +# Unsupported target "peeking_take_while" with type "test" omitted +# Unsupported target "quick" with type "test" omitted +# Unsupported target "test_core" with type "test" omitted +# Unsupported target "test_std" with type "test" omitted +# Unsupported target "tree_fold1" with type "bench" omitted +# Unsupported target "tuple_combinations" with type "bench" omitted +# Unsupported target "tuples" with type "bench" omitted +# Unsupported target "tuples" with type "test" omitted +# Unsupported target "zip" with type "test" omitted diff --git a/proto/prostgen/raze/remote/itoa-0.4.6.BUILD b/proto/prostgen/raze/remote/itoa-0.4.6.BUILD new file mode 100644 index 0000000000..811658816a --- /dev/null +++ b/proto/prostgen/raze/remote/itoa-0.4.6.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "itoa", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.6", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/js-sys-0.3.45.BUILD b/proto/prostgen/raze/remote/js-sys-0.3.45.BUILD new file mode 100644 index 0000000000..c59b6e37a3 --- /dev/null +++ b/proto/prostgen/raze/remote/js-sys-0.3.45.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "headless" with type "test" omitted + +rust_library( + name = "js_sys", + crate_type = "lib", + deps = [ + "@raze__wasm_bindgen__0_2_68//:wasm_bindgen", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.45", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/proto/prostgen/raze/remote/kernel32-sys-0.2.2.BUILD b/proto/prostgen/raze/remote/kernel32-sys-0.2.2.BUILD new file mode 100644 index 0000000000..2bcb4a56eb --- /dev/null +++ b/proto/prostgen/raze/remote/kernel32-sys-0.2.2.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "kernel32_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__winapi_build__0_1_1//:winapi_build", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.2.2", + visibility = ["//visibility:private"], +) + +alias( + name = "kernel32_sys", + actual = ":kernel32", + tags = ["cargo-raze"], +) + +rust_library( + name = "kernel32", + crate_type = "lib", + deps = [ + ":kernel32_sys_build_script", + "@raze__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"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/lazy_static-1.4.0.BUILD b/proto/prostgen/raze/remote/lazy_static-1.4.0.BUILD new file mode 100644 index 0000000000..14eb02fd89 --- /dev/null +++ b/proto/prostgen/raze/remote/lazy_static-1.4.0.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "lazy_static", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "no_std" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/libc-0.2.77.BUILD b/proto/prostgen/raze/remote/libc-0.2.77.BUILD new file mode 100644 index 0000000000..168fdfa69f --- /dev/null +++ b/proto/prostgen/raze/remote/libc-0.2.77.BUILD @@ -0,0 +1,74 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "libc_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.2.77", + visibility = ["//visibility:private"], +) + +# Unsupported target "const_fn" with type "test" omitted + +rust_library( + name = "libc", + crate_type = "lib", + deps = [ + ":libc_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.77", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/log-0.4.11.BUILD b/proto/prostgen/raze/remote/log-0.4.11.BUILD new file mode 100644 index 0000000000..fece37eb4d --- /dev/null +++ b/proto/prostgen/raze/remote/log-0.4.11.BUILD @@ -0,0 +1,72 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "log_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.4.11", + visibility = ["//visibility:private"], +) + +# Unsupported target "filters" with type "test" omitted + +rust_library( + name = "log", + crate_type = "lib", + deps = [ + ":log_build_script", + "@raze__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.11", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "macros" with type "test" omitted diff --git a/proto/prostgen/raze/remote/memchr-2.3.3.BUILD b/proto/prostgen/raze/remote/memchr-2.3.3.BUILD new file mode 100644 index 0000000000..2410337792 --- /dev/null +++ b/proto/prostgen/raze/remote/memchr-2.3.3.BUILD @@ -0,0 +1,73 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "memchr_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "2.3.3", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "memchr", + crate_type = "lib", + deps = [ + ":memchr_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.3.3", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/mio-0.6.22.BUILD b/proto/prostgen/raze/remote/mio-0.6.22.BUILD new file mode 100644 index 0000000000..f34a51822d --- /dev/null +++ b/proto/prostgen/raze/remote/mio-0.6.22.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "mio", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__iovec__0_1_4//:iovec", + "@raze__libc__0_2_77//:libc", + "@raze__log__0_4_11//:log", + "@raze__net2__0_2_35//:net2", + "@raze__slab__0_4_2//:slab", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.22", + tags = ["cargo-raze"], + crate_features = [ + "default", + "with-deprecated", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/miow-0.2.1.BUILD b/proto/prostgen/raze/remote/miow-0.2.1.BUILD new file mode 100644 index 0000000000..e25fda44b5 --- /dev/null +++ b/proto/prostgen/raze/remote/miow-0.2.1.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "miow", + crate_type = "lib", + deps = [ + "@raze__kernel32_sys__0_2_2//:kernel32_sys", + "@raze__net2__0_2_35//:net2", + "@raze__winapi__0_2_8//:winapi", + "@raze__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"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/multimap-0.8.2.BUILD b/proto/prostgen/raze/remote/multimap-0.8.2.BUILD new file mode 100644 index 0000000000..5db4265266 --- /dev/null +++ b/proto/prostgen/raze/remote/multimap-0.8.2.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "multimap", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/net2-0.2.35.BUILD b/proto/prostgen/raze/remote/net2-0.2.35.BUILD new file mode 100644 index 0000000000..f0a00893ec --- /dev/null +++ b/proto/prostgen/raze/remote/net2-0.2.35.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "net2", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.35", + tags = ["cargo-raze"], + crate_features = [ + "default", + "duration", + ], +) + diff --git a/proto/prostgen/raze/remote/once_cell-1.4.1.BUILD b/proto/prostgen/raze/remote/once_cell-1.4.1.BUILD new file mode 100644 index 0000000000..e22f7f34a8 --- /dev/null +++ b/proto/prostgen/raze/remote/once_cell-1.4.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "bench" with type "example" omitted +# Unsupported target "bench_acquire" with type "example" omitted +# Unsupported target "bench_vs_lazy_static" with type "example" omitted +# Unsupported target "lazy_static" with type "example" omitted + +rust_library( + name = "once_cell", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.1", + tags = ["cargo-raze"], + crate_features = [ + "std", + ], +) + +# Unsupported target "reentrant_init_deadlocks" with type "example" omitted +# Unsupported target "regex" with type "example" omitted +# Unsupported target "test" with type "test" omitted +# Unsupported target "test_synchronization" with type "example" omitted diff --git a/proto/prostgen/raze/remote/openssl-probe-0.1.2.BUILD b/proto/prostgen/raze/remote/openssl-probe-0.1.2.BUILD new file mode 100644 index 0000000000..4da914e996 --- /dev/null +++ b/proto/prostgen/raze/remote/openssl-probe-0.1.2.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "openssl_probe", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/percent-encoding-2.1.0.BUILD b/proto/prostgen/raze/remote/percent-encoding-2.1.0.BUILD new file mode 100644 index 0000000000..f4d06eb045 --- /dev/null +++ b/proto/prostgen/raze/remote/percent-encoding-2.1.0.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "percent_encoding", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.1.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/petgraph-0.5.1.BUILD b/proto/prostgen/raze/remote/petgraph-0.5.1.BUILD new file mode 100644 index 0000000000..4840719845 --- /dev/null +++ b/proto/prostgen/raze/remote/petgraph-0.5.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "dijkstra" with type "bench" omitted +# Unsupported target "graph" with type "test" omitted +# Unsupported target "graphmap" with type "test" omitted +# Unsupported target "iso" with type "bench" omitted +# Unsupported target "iso" with type "test" omitted +# Unsupported target "matrix_graph" with type "bench" omitted +# Unsupported target "ograph" with type "bench" omitted + +rust_library( + name = "petgraph", + crate_type = "lib", + deps = [ + "@raze__fixedbitset__0_2_0//:fixedbitset", + "@raze__indexmap__1_6_0//:indexmap", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "quickcheck" with type "test" omitted +# Unsupported target "stable_graph" with type "bench" omitted +# Unsupported target "stable_graph" with type "test" omitted +# Unsupported target "unionfind" with type "bench" omitted +# Unsupported target "unionfind" with type "test" omitted diff --git a/proto/prostgen/raze/remote/pin-project-0.4.23.BUILD b/proto/prostgen/raze/remote/pin-project-0.4.23.BUILD new file mode 100644 index 0000000000..cda414001a --- /dev/null +++ b/proto/prostgen/raze/remote/pin-project-0.4.23.BUILD @@ -0,0 +1,70 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "cfg" with type "test" omitted +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "enum-default" with type "example" omitted +# Unsupported target "enum-default-expanded" with type "example" omitted +# Unsupported target "lint" with type "test" omitted +# Unsupported target "not_unpin" with type "example" omitted +# Unsupported target "not_unpin-expanded" with type "example" omitted + +rust_library( + name = "pin_project", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__pin_project_internal__0_4_23//:pin_project_internal", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.23", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "pin_project" with type "test" omitted +# Unsupported target "pinned_drop" with type "example" omitted +# Unsupported target "pinned_drop" with type "test" omitted +# Unsupported target "pinned_drop-expanded" with type "example" omitted +# Unsupported target "project" with type "test" omitted +# Unsupported target "project_ref" with type "test" omitted +# Unsupported target "project_replace" with type "example" omitted +# Unsupported target "project_replace" with type "test" omitted +# Unsupported target "project_replace-expanded" with type "example" omitted +# Unsupported target "repr_packed" with type "test" omitted +# Unsupported target "sized" with type "test" omitted +# Unsupported target "struct-default" with type "example" omitted +# Unsupported target "struct-default-expanded" with type "example" omitted +# Unsupported target "unsafe_unpin" with type "example" omitted +# Unsupported target "unsafe_unpin" with type "test" omitted +# Unsupported target "unsafe_unpin-expanded" with type "example" omitted diff --git a/proto/prostgen/raze/remote/pin-project-internal-0.4.23.BUILD b/proto/prostgen/raze/remote/pin-project-internal-0.4.23.BUILD new file mode 100644 index 0000000000..89ab352238 --- /dev/null +++ b/proto/prostgen/raze/remote/pin-project-internal-0.4.23.BUILD @@ -0,0 +1,72 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "pin_project_internal_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.4.23", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "pin_project_internal", + crate_type = "proc-macro", + deps = [ + ":pin_project_internal_build_script", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.23", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/pin-project-lite-0.1.7.BUILD b/proto/prostgen/raze/remote/pin-project-lite-0.1.7.BUILD new file mode 100644 index 0000000000..d0547dd84d --- /dev/null +++ b/proto/prostgen/raze/remote/pin-project-lite-0.1.7.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "lint" with type "test" omitted + +rust_library( + name = "pin_project_lite", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.7", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/pin-utils-0.1.0.BUILD b/proto/prostgen/raze/remote/pin-utils-0.1.0.BUILD new file mode 100644 index 0000000000..739b350603 --- /dev/null +++ b/proto/prostgen/raze/remote/pin-utils-0.1.0.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "pin_utils", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "projection" with type "test" omitted +# Unsupported target "stack_pin" with type "test" omitted diff --git a/proto/prostgen/raze/remote/ppv-lite86-0.2.9.BUILD b/proto/prostgen/raze/remote/ppv-lite86-0.2.9.BUILD new file mode 100644 index 0000000000..ffe03dc819 --- /dev/null +++ b/proto/prostgen/raze/remote/ppv-lite86-0.2.9.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "ppv_lite86", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.9", + tags = ["cargo-raze"], + crate_features = [ + "simd", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/proc-macro-error-1.0.2.BUILD b/proto/prostgen/raze/remote/proc-macro-error-1.0.2.BUILD new file mode 100644 index 0000000000..1d09f72e65 --- /dev/null +++ b/proto/prostgen/raze/remote/proc-macro-error-1.0.2.BUILD @@ -0,0 +1,79 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "proc_macro_error_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__version_check__0_9_2//:version_check", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.0.2", + visibility = ["//visibility:private"], +) + +# Unsupported target "macro-errors" with type "test" omitted +# Unsupported target "ok" with type "test" omitted + +rust_library( + name = "proc_macro_error", + crate_type = "lib", + deps = [ + ":proc_macro_error_build_script", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_error_attr__1_0_2//:proc_macro_error_attr", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "runtime-errors" with type "test" omitted diff --git a/proto/prostgen/raze/remote/proc-macro-error-attr-1.0.2.BUILD b/proto/prostgen/raze/remote/proc-macro-error-attr-1.0.2.BUILD new file mode 100644 index 0000000000..8281d431eb --- /dev/null +++ b/proto/prostgen/raze/remote/proc-macro-error-attr-1.0.2.BUILD @@ -0,0 +1,74 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "proc_macro_error_attr_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__version_check__0_9_2//:version_check", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.0.2", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "proc_macro_error_attr", + crate_type = "proc-macro", + deps = [ + ":proc_macro_error_attr_build_script", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + "@raze__syn_mid__0_5_0//:syn_mid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/proc-macro2-1.0.18.BUILD b/proto/prostgen/raze/remote/proc-macro2-1.0.18.BUILD new file mode 100644 index 0000000000..f5c537a245 --- /dev/null +++ b/proto/prostgen/raze/remote/proc-macro2-1.0.18.BUILD @@ -0,0 +1,78 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "proc_macro2_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "proc-macro", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.0.18", + visibility = ["//visibility:private"], +) + +# Unsupported target "comments" with type "test" omitted +# Unsupported target "features" with type "test" omitted +# Unsupported target "marker" with type "test" omitted + +rust_library( + name = "proc_macro2", + crate_type = "lib", + deps = [ + ":proc_macro2_build_script", + "@raze__unicode_xid__0_2_1//:unicode_xid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.18", + tags = ["cargo-raze"], + crate_features = [ + "default", + "proc-macro", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/prost-0.6.1.BUILD b/proto/prostgen/raze/remote/prost-0.6.1.BUILD new file mode 100644 index 0000000000..ddf90f1edb --- /dev/null +++ b/proto/prostgen/raze/remote/prost-0.6.1.BUILD @@ -0,0 +1,51 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "prost", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__prost_derive__0_6_1//:prost_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = ["cargo-raze"], + crate_features = [ + "default", + "prost-derive", + ], +) + +# Unsupported target "varint" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/prost-build-0.6.1.BUILD b/proto/prostgen/raze/remote/prost-build-0.6.1.BUILD new file mode 100644 index 0000000000..f3d989a931 --- /dev/null +++ b/proto/prostgen/raze/remote/prost-build-0.6.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "build-script-build" with type "custom-build" omitted + +rust_library( + name = "prost_build", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__heck__0_3_1//:heck", + "@raze__itertools__0_8_2//:itertools", + "@raze__log__0_4_11//:log", + "@raze__multimap__0_8_2//:multimap", + "@raze__petgraph__0_5_1//:petgraph", + "@raze__prost__0_6_1//:prost", + "@raze__prost_types__0_6_1//:prost_types", + "@raze__tempfile__3_1_0//:tempfile", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/prost-derive-0.6.1.BUILD b/proto/prostgen/raze/remote/prost-derive-0.6.1.BUILD new file mode 100644 index 0000000000..bd9cd94239 --- /dev/null +++ b/proto/prostgen/raze/remote/prost-derive-0.6.1.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "prost_derive", + crate_type = "proc-macro", + deps = [ + "@raze__anyhow__1_0_31//:anyhow", + "@raze__itertools__0_8_2//:itertools", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/prost-types-0.6.1.BUILD b/proto/prostgen/raze/remote/prost-types-0.6.1.BUILD new file mode 100644 index 0000000000..96b9fee87b --- /dev/null +++ b/proto/prostgen/raze/remote/prost-types-0.6.1.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "prost_types", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__prost__0_6_1//:prost", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/quote-1.0.7.BUILD b/proto/prostgen/raze/remote/quote-1.0.7.BUILD new file mode 100644 index 0000000000..2705532300 --- /dev/null +++ b/proto/prostgen/raze/remote/quote-1.0.7.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "compiletest" with type "test" omitted + +rust_library( + name = "quote", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.7", + tags = ["cargo-raze"], + crate_features = [ + "default", + "proc-macro", + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/proto/prostgen/raze/remote/rand-0.7.3.BUILD b/proto/prostgen/raze/remote/rand-0.7.3.BUILD new file mode 100644 index 0000000000..6bda7ef38a --- /dev/null +++ b/proto/prostgen/raze/remote/rand-0.7.3.BUILD @@ -0,0 +1,66 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "generators" with type "bench" omitted +# Unsupported target "misc" with type "bench" omitted +# Unsupported target "monte-carlo" with type "example" omitted +# Unsupported target "monty-hall" with type "example" omitted + +rust_library( + name = "rand", + crate_type = "lib", + deps = [ + "@raze__getrandom__0_1_15//:getrandom", + "@raze__libc__0_2_77//:libc", + "@raze__rand_chacha__0_2_2//:rand_chacha", + "@raze__rand_core__0_5_1//:rand_core", + "@raze__rand_pcg__0_2_1//:rand_pcg", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.3", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "default", + "getrandom", + "getrandom_package", + "libc", + "rand_pcg", + "small_rng", + "std", + ], + aliases = { + "@raze__getrandom__0_1_15//:getrandom": "getrandom_package", + }, +) + +# Unsupported target "seq" with type "bench" omitted +# Unsupported target "weighted" with type "bench" omitted diff --git a/proto/prostgen/raze/remote/rand_chacha-0.2.2.BUILD b/proto/prostgen/raze/remote/rand_chacha-0.2.2.BUILD new file mode 100644 index 0000000000..e2d6f114d2 --- /dev/null +++ b/proto/prostgen/raze/remote/rand_chacha-0.2.2.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "rand_chacha", + crate_type = "lib", + deps = [ + "@raze__ppv_lite86__0_2_9//:ppv_lite86", + "@raze__rand_core__0_5_1//:rand_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.2", + tags = ["cargo-raze"], + crate_features = [ + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/rand_core-0.5.1.BUILD b/proto/prostgen/raze/remote/rand_core-0.5.1.BUILD new file mode 100644 index 0000000000..4898515efc --- /dev/null +++ b/proto/prostgen/raze/remote/rand_core-0.5.1.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "rand_core", + crate_type = "lib", + deps = [ + "@raze__getrandom__0_1_15//:getrandom", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "getrandom", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/rand_hc-0.2.0.BUILD b/proto/prostgen/raze/remote/rand_hc-0.2.0.BUILD new file mode 100644 index 0000000000..0a5ea01697 --- /dev/null +++ b/proto/prostgen/raze/remote/rand_hc-0.2.0.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "rand_hc", + crate_type = "lib", + deps = [ + "@raze__rand_core__0_5_1//:rand_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/rand_pcg-0.2.1.BUILD b/proto/prostgen/raze/remote/rand_pcg-0.2.1.BUILD new file mode 100644 index 0000000000..bf4fb7c9a1 --- /dev/null +++ b/proto/prostgen/raze/remote/rand_pcg-0.2.1.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "lcg128xsl64" with type "test" omitted +# Unsupported target "lcg64xsh32" with type "test" omitted +# Unsupported target "mcg128xsl64" with type "test" omitted + +rust_library( + name = "rand_pcg", + crate_type = "lib", + deps = [ + "@raze__rand_core__0_5_1//:rand_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/redox_syscall-0.1.57.BUILD b/proto/prostgen/raze/remote/redox_syscall-0.1.57.BUILD new file mode 100644 index 0000000000..94e079926f --- /dev/null +++ b/proto/prostgen/raze/remote/redox_syscall-0.1.57.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +alias( + name = "redox_syscall", + actual = ":syscall", + tags = ["cargo-raze"], +) + +rust_library( + name = "syscall", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.57", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/remove_dir_all-0.5.3.BUILD b/proto/prostgen/raze/remote/remove_dir_all-0.5.3.BUILD new file mode 100644 index 0000000000..85c5f37a79 --- /dev/null +++ b/proto/prostgen/raze/remote/remove_dir_all-0.5.3.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "remove_dir_all", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.3", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/ring-0.16.15.BUILD b/proto/prostgen/raze/remote/ring-0.16.15.BUILD new file mode 100644 index 0000000000..cc3951a66f --- /dev/null +++ b/proto/prostgen/raze/remote/ring-0.16.15.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "restricted", # no license +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "aead_tests" with type "test" omitted +# Unsupported target "agreement_tests" with type "test" omitted +# Unsupported target "build-script-build" with type "custom-build" omitted +# Unsupported target "constant_time_tests" with type "test" omitted +# Unsupported target "digest_tests" with type "test" omitted +# Unsupported target "ecdsa_tests" with type "test" omitted +# Unsupported target "ed25519_tests" with type "test" omitted +# Unsupported target "hkdf_tests" with type "test" omitted +# Unsupported target "hmac_tests" with type "test" omitted +# Unsupported target "pbkdf2_tests" with type "test" omitted +# Unsupported target "quic_tests" with type "test" omitted +# Unsupported target "rand_tests" with type "test" omitted + +rust_library( + name = "ring", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_77//:libc", + "@raze__once_cell__1_4_1//:once_cell", + "@raze__spin__0_5_2//:spin", + "@raze__untrusted__0_7_1//:untrusted", + ":ring-core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["**/src/data/*", "**/src/ec/**/*.der"]), + version = "0.16.15", + tags = ["cargo-raze"], + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "once_cell", + ], +) + +# Unsupported target "rsa_tests" with type "test" omitted +# Unsupported target "signature_tests" with type "test" omitted + +# Additional content from builds/ring-0.16.BUILD +load("@rules_cc//cc:defs.bzl", "cc_library") + +# Based off of ring's build.rs file: +# https://github.com/briansmith/ring/blob/master/build.rs +cc_library( + name = "ring-core", + srcs = glob( + [ + "**/*.h", + "**/*.c", + "**/*.inl", + "**/*x86_64*-elf.S", + ], + exclude = ["crypto/constant_time_test.c"], + ), + copts = [ + "-fno-strict-aliasing", + "-fvisibility=hidden", + ], + includes = [ + "include", + ], +) diff --git a/proto/prostgen/raze/remote/rustls-0.18.1.BUILD b/proto/prostgen/raze/remote/rustls-0.18.1.BUILD new file mode 100644 index 0000000000..3da079d728 --- /dev/null +++ b/proto/prostgen/raze/remote/rustls-0.18.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "api" with type "test" omitted +# Unsupported target "bench" with type "example" omitted +# Unsupported target "benchmarks" with type "bench" omitted +# Unsupported target "benchmarks" with type "test" omitted +# Unsupported target "bogo_shim" with type "example" omitted +# Unsupported target "limitedclient" with type "example" omitted + +rust_library( + name = "rustls", + crate_type = "lib", + deps = [ + "@raze__base64__0_12_3//:base64", + "@raze__log__0_4_11//:log", + "@raze__ring__0_16_15//:ring", + "@raze__sct__0_6_0//:sct", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.18.1", + tags = ["cargo-raze"], + crate_features = [ + "default", + "log", + "logging", + ], +) + +# Unsupported target "simple_0rtt_client" with type "example" omitted +# Unsupported target "simpleclient" with type "example" omitted +# Unsupported target "trytls_shim" with type "example" omitted diff --git a/proto/prostgen/raze/remote/rustls-native-certs-0.4.0.BUILD b/proto/prostgen/raze/remote/rustls-native-certs-0.4.0.BUILD new file mode 100644 index 0000000000..e78df96172 --- /dev/null +++ b/proto/prostgen/raze/remote/rustls-native-certs-0.4.0.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "compare_mozilla" with type "test" omitted +# Unsupported target "google" with type "example" omitted + +rust_library( + name = "rustls_native_certs", + crate_type = "lib", + deps = [ + "@raze__openssl_probe__0_1_2//:openssl_probe", + "@raze__rustls__0_18_1//:rustls", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "smoketests" with type "test" omitted diff --git a/proto/prostgen/raze/remote/schannel-0.1.19.BUILD b/proto/prostgen/raze/remote/schannel-0.1.19.BUILD new file mode 100644 index 0000000000..539680dadb --- /dev/null +++ b/proto/prostgen/raze/remote/schannel-0.1.19.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "schannel", + crate_type = "lib", + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__winapi__0_3_9//:winapi", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.19", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/sct-0.6.0.BUILD b/proto/prostgen/raze/remote/sct-0.6.0.BUILD new file mode 100644 index 0000000000..13024e8dd9 --- /dev/null +++ b/proto/prostgen/raze/remote/sct-0.6.0.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "sct", + crate_type = "lib", + deps = [ + "@raze__ring__0_16_15//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/security-framework-1.0.0.BUILD b/proto/prostgen/raze/remote/security-framework-1.0.0.BUILD new file mode 100644 index 0000000000..7920c2b56c --- /dev/null +++ b/proto/prostgen/raze/remote/security-framework-1.0.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "client" with type "example" omitted +# Unsupported target "find_internet_password" with type "example" omitted + +rust_library( + name = "security_framework", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + "@raze__core_foundation__0_7_0//:core_foundation", + "@raze__core_foundation_sys__0_7_0//:core_foundation_sys", + "@raze__libc__0_2_77//:libc", + "@raze__security_framework_sys__1_0_0//:security_framework_sys", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.0", + tags = ["cargo-raze"], + crate_features = [ + "OSX_10_9", + "default", + ], +) + +# Unsupported target "set_internet_password" with type "example" omitted diff --git a/proto/prostgen/raze/remote/security-framework-sys-1.0.0.BUILD b/proto/prostgen/raze/remote/security-framework-sys-1.0.0.BUILD new file mode 100644 index 0000000000..d74eb8dc77 --- /dev/null +++ b/proto/prostgen/raze/remote/security-framework-sys-1.0.0.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "security_framework_sys", + crate_type = "lib", + deps = [ + "@raze__core_foundation_sys__0_7_0//:core_foundation_sys", + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.0", + tags = ["cargo-raze"], + crate_features = [ + "OSX_10_9", + ], +) + diff --git a/proto/prostgen/raze/remote/slab-0.4.2.BUILD b/proto/prostgen/raze/remote/slab-0.4.2.BUILD new file mode 100644 index 0000000000..6a23a58e06 --- /dev/null +++ b/proto/prostgen/raze/remote/slab-0.4.2.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "slab", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "slab" with type "test" omitted diff --git a/proto/prostgen/raze/remote/socket2-0.3.15.BUILD b/proto/prostgen/raze/remote/socket2-0.3.15.BUILD new file mode 100644 index 0000000000..407c8f9acd --- /dev/null +++ b/proto/prostgen/raze/remote/socket2-0.3.15.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "socket2", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.15", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/spin-0.5.2.BUILD b/proto/prostgen/raze/remote/spin-0.5.2.BUILD new file mode 100644 index 0000000000..a16e152b14 --- /dev/null +++ b/proto/prostgen/raze/remote/spin-0.5.2.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "debug" with type "example" omitted + +rust_library( + name = "spin", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/structopt-0.3.13.BUILD b/proto/prostgen/raze/remote/structopt-0.3.13.BUILD new file mode 100644 index 0000000000..158dee8af5 --- /dev/null +++ b/proto/prostgen/raze/remote/structopt-0.3.13.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "after_help" with type "example" omitted +# Unsupported target "argument_naming" with type "test" omitted +# Unsupported target "arguments" with type "test" omitted +# Unsupported target "at_least_two" with type "example" omitted +# Unsupported target "author_version_about" with type "test" omitted +# Unsupported target "basic" with type "example" omitted +# Unsupported target "custom-string-parsers" with type "test" omitted +# Unsupported target "default_value" with type "test" omitted +# Unsupported target "deny-warnings" with type "test" omitted +# Unsupported target "deny_missing_docs" with type "example" omitted +# Unsupported target "doc-comments-help" with type "test" omitted +# Unsupported target "doc_comments" with type "example" omitted +# Unsupported target "enum_in_args" with type "example" omitted +# Unsupported target "enum_tuple" with type "example" omitted +# Unsupported target "env" with type "example" omitted +# Unsupported target "example" with type "example" omitted +# Unsupported target "explicit_name_no_renaming" with type "test" omitted +# Unsupported target "flags" with type "test" omitted +# Unsupported target "flatten" with type "example" omitted +# Unsupported target "flatten" with type "test" omitted +# Unsupported target "gen_completions" with type "example" omitted +# Unsupported target "git" with type "example" omitted +# Unsupported target "group" with type "example" omitted +# Unsupported target "issues" with type "test" omitted +# Unsupported target "keyvalue" with type "example" omitted +# Unsupported target "macro-errors" with type "test" omitted +# Unsupported target "negative_flag" with type "example" omitted +# Unsupported target "nested-subcommands" with type "test" omitted +# Unsupported target "no_version" with type "example" omitted +# Unsupported target "non_literal_attributes" with type "test" omitted +# Unsupported target "options" with type "test" omitted +# Unsupported target "privacy" with type "test" omitted +# Unsupported target "raw_bool_literal" with type "test" omitted +# Unsupported target "raw_idents" with type "test" omitted +# Unsupported target "rename_all" with type "example" omitted +# Unsupported target "rename_all_env" with type "test" omitted +# Unsupported target "skip" with type "example" omitted +# Unsupported target "skip" with type "test" omitted +# Unsupported target "special_types" with type "test" omitted + +rust_library( + name = "structopt", + crate_type = "lib", + deps = [ + "@raze__clap__2_33_3//:clap", + "@raze__lazy_static__1_4_0//:lazy_static", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__structopt_derive__0_4_6//:structopt_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.13", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "subcommand_aliases" with type "example" omitted +# Unsupported target "subcommands" with type "test" omitted +# Unsupported target "true_or_false" with type "example" omitted +# Unsupported target "utils" with type "test" omitted +# Unsupported target "we_need_syn_full" with type "test" omitted diff --git a/proto/prostgen/raze/remote/structopt-derive-0.4.6.BUILD b/proto/prostgen/raze/remote/structopt-derive-0.4.6.BUILD new file mode 100644 index 0000000000..baffe40a1c --- /dev/null +++ b/proto/prostgen/raze/remote/structopt-derive-0.4.6.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "structopt_derive", + crate_type = "proc-macro", + deps = [ + "@raze__heck__0_3_1//:heck", + "@raze__proc_macro_error__1_0_2//:proc_macro_error", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.6", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/syn-1.0.31.BUILD b/proto/prostgen/raze/remote/syn-1.0.31.BUILD new file mode 100644 index 0000000000..fb544a1fb6 --- /dev/null +++ b/proto/prostgen/raze/remote/syn-1.0.31.BUILD @@ -0,0 +1,119 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "syn_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "1.0.31", + visibility = ["//visibility:private"], +) + +# Unsupported target "file" with type "bench" omitted +# Unsupported target "rust" with type "bench" omitted + +rust_library( + name = "syn", + crate_type = "lib", + deps = [ + ":syn_build_script", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__unicode_xid__0_2_1//:unicode_xid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.31", + tags = ["cargo-raze"], + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], +) + +# Unsupported target "test_asyncness" with type "test" omitted +# Unsupported target "test_attribute" with type "test" omitted +# Unsupported target "test_derive_input" with type "test" omitted +# Unsupported target "test_expr" with type "test" omitted +# Unsupported target "test_generics" with type "test" omitted +# Unsupported target "test_grouping" with type "test" omitted +# Unsupported target "test_ident" with type "test" omitted +# Unsupported target "test_iterators" with type "test" omitted +# Unsupported target "test_lit" with type "test" omitted +# Unsupported target "test_meta" with type "test" omitted +# Unsupported target "test_parse_buffer" with type "test" omitted +# Unsupported target "test_pat" with type "test" omitted +# Unsupported target "test_path" with type "test" omitted +# Unsupported target "test_precedence" with type "test" omitted +# Unsupported target "test_receiver" with type "test" omitted +# Unsupported target "test_round_trip" with type "test" omitted +# Unsupported target "test_should_parse" with type "test" omitted +# Unsupported target "test_size" with type "test" omitted +# Unsupported target "test_stmt" with type "test" omitted +# Unsupported target "test_token_trees" with type "test" omitted +# Unsupported target "test_ty" with type "test" omitted +# Unsupported target "test_visibility" with type "test" omitted +# Unsupported target "zzz_stable" with type "test" omitted diff --git a/proto/prostgen/raze/remote/syn-mid-0.5.0.BUILD b/proto/prostgen/raze/remote/syn-mid-0.5.0.BUILD new file mode 100644 index 0000000000..df53c5ad1c --- /dev/null +++ b/proto/prostgen/raze/remote/syn-mid-0.5.0.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "syn_mid", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tempfile-3.1.0.BUILD b/proto/prostgen/raze/remote/tempfile-3.1.0.BUILD new file mode 100644 index 0000000000..02a7463673 --- /dev/null +++ b/proto/prostgen/raze/remote/tempfile-3.1.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "namedtempfile" with type "test" omitted +# Unsupported target "spooled" with type "test" omitted +# Unsupported target "tempdir" with type "test" omitted + +rust_library( + name = "tempfile", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__libc__0_2_77//:libc", + "@raze__rand__0_7_3//:rand", + "@raze__remove_dir_all__0_5_3//:remove_dir_all", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.1.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "tempfile" with type "test" omitted diff --git a/proto/prostgen/raze/remote/textwrap-0.11.0.BUILD b/proto/prostgen/raze/remote/textwrap-0.11.0.BUILD new file mode 100644 index 0000000000..dd3d15e7dd --- /dev/null +++ b/proto/prostgen/raze/remote/textwrap-0.11.0.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "layout" with type "example" omitted +# Unsupported target "linear" with type "bench" omitted +# Unsupported target "termwidth" with type "example" omitted + +rust_library( + name = "textwrap", + crate_type = "lib", + deps = [ + "@raze__unicode_width__0_1_8//:unicode_width", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.11.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + +# Unsupported target "version-numbers" with type "test" omitted diff --git a/proto/prostgen/raze/remote/thiserror-1.0.18.BUILD b/proto/prostgen/raze/remote/thiserror-1.0.18.BUILD new file mode 100644 index 0000000000..ba1744cdcf --- /dev/null +++ b/proto/prostgen/raze/remote/thiserror-1.0.18.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "test_deprecated" with type "test" omitted +# Unsupported target "test_display" with type "test" omitted +# Unsupported target "test_error" with type "test" omitted +# Unsupported target "test_expr" with type "test" omitted +# Unsupported target "test_from" with type "test" omitted +# Unsupported target "test_option" with type "test" omitted +# Unsupported target "test_path" with type "test" omitted +# Unsupported target "test_source" with type "test" omitted +# Unsupported target "test_transparent" with type "test" omitted + +rust_library( + name = "thiserror", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__thiserror_impl__1_0_18//:thiserror_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.18", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/thiserror-impl-1.0.18.BUILD b/proto/prostgen/raze/remote/thiserror-impl-1.0.18.BUILD new file mode 100644 index 0000000000..d785676a97 --- /dev/null +++ b/proto/prostgen/raze/remote/thiserror-impl-1.0.18.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "thiserror_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.18", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/time-0.1.44.BUILD b/proto/prostgen/raze/remote/time-0.1.44.BUILD new file mode 100644 index 0000000000..dea63ab14c --- /dev/null +++ b/proto/prostgen/raze/remote/time-0.1.44.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "time", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.44", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tokio-0.2.22.BUILD b/proto/prostgen/raze/remote/tokio-0.2.22.BUILD new file mode 100644 index 0000000000..b76ebd2225 --- /dev/null +++ b/proto/prostgen/raze/remote/tokio-0.2.22.BUILD @@ -0,0 +1,166 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "_require_full" with type "test" omitted +# Unsupported target "async_send_sync" with type "test" omitted +# Unsupported target "buffered" with type "test" omitted +# Unsupported target "fs" with type "test" omitted +# Unsupported target "fs_copy" with type "test" omitted +# Unsupported target "fs_dir" with type "test" omitted +# Unsupported target "fs_file" with type "test" omitted +# Unsupported target "fs_file_mocked" with type "test" omitted +# Unsupported target "fs_link" with type "test" omitted +# Unsupported target "io_async_read" with type "test" omitted +# Unsupported target "io_chain" with type "test" omitted +# Unsupported target "io_copy" with type "test" omitted +# Unsupported target "io_driver" with type "test" omitted +# Unsupported target "io_driver_drop" with type "test" omitted +# Unsupported target "io_lines" with type "test" omitted +# Unsupported target "io_read" with type "test" omitted +# Unsupported target "io_read_exact" with type "test" omitted +# Unsupported target "io_read_line" with type "test" omitted +# Unsupported target "io_read_to_end" with type "test" omitted +# Unsupported target "io_read_to_string" with type "test" omitted +# Unsupported target "io_read_until" with type "test" omitted +# Unsupported target "io_split" with type "test" omitted +# Unsupported target "io_take" with type "test" omitted +# Unsupported target "io_write" with type "test" omitted +# Unsupported target "io_write_all" with type "test" omitted +# Unsupported target "io_write_int" with type "test" omitted +# Unsupported target "macros_join" with type "test" omitted +# Unsupported target "macros_pin" with type "test" omitted +# Unsupported target "macros_select" with type "test" omitted +# Unsupported target "macros_test" with type "test" omitted +# Unsupported target "macros_try_join" with type "test" omitted +# Unsupported target "net_bind_resource" with type "test" omitted +# Unsupported target "net_lookup_host" with type "test" omitted +# Unsupported target "no_rt" with type "test" omitted +# Unsupported target "process_issue_2174" with type "test" omitted +# Unsupported target "process_issue_42" with type "test" omitted +# Unsupported target "process_kill_on_drop" with type "test" omitted +# Unsupported target "process_smoke" with type "test" omitted +# Unsupported target "read_to_string" with type "test" omitted +# Unsupported target "rt_basic" with type "test" omitted +# Unsupported target "rt_common" with type "test" omitted +# Unsupported target "rt_threaded" with type "test" omitted +# Unsupported target "signal_ctrl_c" with type "test" omitted +# Unsupported target "signal_drop_recv" with type "test" omitted +# Unsupported target "signal_drop_rt" with type "test" omitted +# Unsupported target "signal_drop_signal" with type "test" omitted +# Unsupported target "signal_multi_rt" with type "test" omitted +# Unsupported target "signal_no_rt" with type "test" omitted +# Unsupported target "signal_notify_both" with type "test" omitted +# Unsupported target "signal_twice" with type "test" omitted +# Unsupported target "signal_usr1" with type "test" omitted +# Unsupported target "stream_chain" with type "test" omitted +# Unsupported target "stream_collect" with type "test" omitted +# Unsupported target "stream_empty" with type "test" omitted +# Unsupported target "stream_fuse" with type "test" omitted +# Unsupported target "stream_iter" with type "test" omitted +# Unsupported target "stream_merge" with type "test" omitted +# Unsupported target "stream_once" with type "test" omitted +# Unsupported target "stream_pending" with type "test" omitted +# Unsupported target "stream_reader" with type "test" omitted +# Unsupported target "stream_stream_map" with type "test" omitted +# Unsupported target "stream_timeout" with type "test" omitted +# Unsupported target "sync_barrier" with type "test" omitted +# Unsupported target "sync_broadcast" with type "test" omitted +# Unsupported target "sync_cancellation_token" with type "test" omitted +# Unsupported target "sync_errors" with type "test" omitted +# Unsupported target "sync_mpsc" with type "test" omitted +# Unsupported target "sync_mutex" with type "test" omitted +# Unsupported target "sync_mutex_owned" with type "test" omitted +# Unsupported target "sync_notify" with type "test" omitted +# Unsupported target "sync_oneshot" with type "test" omitted +# Unsupported target "sync_rwlock" with type "test" omitted +# Unsupported target "sync_semaphore" with type "test" omitted +# Unsupported target "sync_semaphore_owned" with type "test" omitted +# Unsupported target "sync_watch" with type "test" omitted +# Unsupported target "task_blocking" with type "test" omitted +# Unsupported target "task_local" with type "test" omitted +# Unsupported target "task_local_set" with type "test" omitted +# Unsupported target "tcp_accept" with type "test" omitted +# Unsupported target "tcp_connect" with type "test" omitted +# Unsupported target "tcp_echo" with type "test" omitted +# Unsupported target "tcp_into_split" with type "test" omitted +# Unsupported target "tcp_peek" with type "test" omitted +# Unsupported target "tcp_shutdown" with type "test" omitted +# Unsupported target "tcp_split" with type "test" omitted +# Unsupported target "test_clock" with type "test" omitted +# Unsupported target "time_delay" with type "test" omitted +# Unsupported target "time_delay_queue" with type "test" omitted +# Unsupported target "time_interval" with type "test" omitted +# Unsupported target "time_rt" with type "test" omitted +# Unsupported target "time_throttle" with type "test" omitted +# Unsupported target "time_timeout" with type "test" omitted + +rust_library( + name = "tokio", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__futures_core__0_3_5//:futures_core", + "@raze__iovec__0_1_4//:iovec", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__memchr__2_3_3//:memchr", + "@raze__mio__0_6_22//:mio", + "@raze__pin_project_lite__0_1_7//:pin_project_lite", + "@raze__slab__0_4_2//:slab", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.22", + tags = ["cargo-raze"], + crate_features = [ + "blocking", + "default", + "fnv", + "futures-core", + "io-driver", + "io-util", + "iovec", + "lazy_static", + "memchr", + "mio", + "rt-core", + "slab", + "stream", + "sync", + "tcp", + "time", + ], +) + +# Unsupported target "udp" with type "test" omitted +# Unsupported target "uds_cred" with type "test" omitted +# Unsupported target "uds_datagram" with type "test" omitted +# Unsupported target "uds_split" with type "test" omitted +# Unsupported target "uds_stream" with type "test" omitted diff --git a/proto/prostgen/raze/remote/tokio-rustls-0.14.1.BUILD b/proto/prostgen/raze/remote/tokio-rustls-0.14.1.BUILD new file mode 100644 index 0000000000..5f1a247b40 --- /dev/null +++ b/proto/prostgen/raze/remote/tokio-rustls-0.14.1.BUILD @@ -0,0 +1,51 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "badssl" with type "test" omitted +# Unsupported target "early-data" with type "test" omitted +# Unsupported target "test" with type "test" omitted + +rust_library( + name = "tokio_rustls", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__rustls__0_18_1//:rustls", + "@raze__tokio__0_2_22//:tokio", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.14.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tokio-util-0.3.1.BUILD b/proto/prostgen/raze/remote/tokio-util-0.3.1.BUILD new file mode 100644 index 0000000000..98926b64a7 --- /dev/null +++ b/proto/prostgen/raze/remote/tokio-util-0.3.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# 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 +# Unsupported target "length_delimited" with type "test" omitted + +rust_library( + name = "tokio_util", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_sink__0_3_5//:futures_sink", + "@raze__log__0_4_11//:log", + "@raze__pin_project_lite__0_1_7//:pin_project_lite", + "@raze__tokio__0_2_22//:tokio", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + "codec", + "default", + ], +) + +# Unsupported target "udp" with type "test" omitted diff --git a/proto/prostgen/raze/remote/tonic-0.3.0.BUILD b/proto/prostgen/raze/remote/tonic-0.3.0.BUILD new file mode 100644 index 0000000000..b2ca64e872 --- /dev/null +++ b/proto/prostgen/raze/remote/tonic-0.3.0.BUILD @@ -0,0 +1,91 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "decode" with type "bench" omitted + +rust_library( + name = "tonic", + crate_type = "lib", + deps = [ + "@raze__async_stream__0_2_1//:async_stream", + "@raze__base64__0_12_3//:base64", + "@raze__bytes__0_5_6//:bytes", + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__http__0_2_1//:http", + "@raze__http_body__0_3_1//:http_body", + "@raze__hyper__0_13_6//:hyper", + "@raze__percent_encoding__2_1_0//:percent_encoding", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__prost__0_6_1//:prost", + "@raze__rustls_native_certs__0_4_0//:rustls_native_certs", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_rustls__0_14_1//:tokio_rustls", + "@raze__tokio_util__0_3_1//:tokio_util", + "@raze__tower__0_3_1//:tower", + "@raze__tower_balance__0_3_0//:tower_balance", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_make__0_3_0//:tower_make", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_19//:tracing", + "@raze__tracing_futures__0_2_4//:tracing_futures", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__async_trait__0_1_40//:async_trait", + "@raze__prost_derive__0_6_1//:prost_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + "async-trait", + "codegen", + "default", + "hyper", + "prost", + "prost-derive", + "prost1", + "rustls-native-certs", + "tls", + "tls-roots", + "tokio", + "tokio-rustls", + "tower", + "tower-balance", + "tower-load", + "tracing-futures", + "transport", + ], + aliases = { + "@raze__prost__0_6_1//:prost": "prost1", + }, +) + diff --git a/proto/prostgen/raze/remote/tonic-build-0.3.0.BUILD b/proto/prostgen/raze/remote/tonic-build-0.3.0.BUILD new file mode 100644 index 0000000000..11a57d46a6 --- /dev/null +++ b/proto/prostgen/raze/remote/tonic-build-0.3.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tonic_build", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__prost_build__0_6_1//:prost_build", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + "default", + "prost", + "prost-build", + "rustfmt", + "transport", + ], +) + diff --git a/proto/prostgen/raze/remote/tower-0.3.1.BUILD b/proto/prostgen/raze/remote/tower-0.3.1.BUILD new file mode 100644 index 0000000000..f5e754f44d --- /dev/null +++ b/proto/prostgen/raze/remote/tower-0.3.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "builder" with type "test" omitted + +rust_library( + name = "tower", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__tower_buffer__0_3_0//:tower_buffer", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_limit__0_3_1//:tower_limit", + "@raze__tower_load_shed__0_3_0//:tower_load_shed", + "@raze__tower_retry__0_3_0//:tower_retry", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tower_timeout__0_3_0//:tower_timeout", + "@raze__tower_util__0_3_1//:tower_util", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + "default", + "full", + "log", + ], +) + diff --git a/proto/prostgen/raze/remote/tower-balance-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-balance-0.3.0.BUILD new file mode 100644 index 0000000000..fcaba3514d --- /dev/null +++ b/proto/prostgen/raze/remote/tower-balance-0.3.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "demo" with type "example" omitted + +rust_library( + name = "tower_balance", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__indexmap__1_6_0//:indexmap", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__rand__0_7_3//:rand", + "@raze__slab__0_4_2//:slab", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_make__0_3_0//:tower_make", + "@raze__tower_ready_cache__0_3_1//:tower_ready_cache", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_19//:tracing", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + "default", + "log", + ], +) + diff --git a/proto/prostgen/raze/remote/tower-buffer-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-buffer-0.3.0.BUILD new file mode 100644 index 0000000000..df566b89a1 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-buffer-0.3.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "buffer" with type "test" omitted + +rust_library( + name = "tower_buffer", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_19//:tracing", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + "log", + ], +) + diff --git a/proto/prostgen/raze/remote/tower-discover-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-discover-0.3.0.BUILD new file mode 100644 index 0000000000..159808a189 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-discover-0.3.0.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_discover", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-layer-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-layer-0.3.0.BUILD new file mode 100644 index 0000000000..f6a208aecb --- /dev/null +++ b/proto/prostgen/raze/remote/tower-layer-0.3.0.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_layer", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-limit-0.3.1.BUILD b/proto/prostgen/raze/remote/tower-limit-0.3.1.BUILD new file mode 100644 index 0000000000..9295b1cd15 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-limit-0.3.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "concurrency" with type "test" omitted +# Unsupported target "rate" with type "test" omitted + +rust_library( + name = "tower_limit", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-load-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-load-0.3.0.BUILD new file mode 100644 index 0000000000..072781b497 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-load-0.3.0.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_load", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__log__0_4_11//:log", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-load-shed-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-load-shed-0.3.0.BUILD new file mode 100644 index 0000000000..1f1ebc87e3 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-load-shed-0.3.0.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "load-shed" with type "test" omitted + +rust_library( + name = "tower_load_shed", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-make-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-make-0.3.0.BUILD new file mode 100644 index 0000000000..caa850ae0f --- /dev/null +++ b/proto/prostgen/raze/remote/tower-make-0.3.0.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_make", + crate_type = "lib", + deps = [ + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + "connect", + "tokio", + ], +) + diff --git a/proto/prostgen/raze/remote/tower-ready-cache-0.3.1.BUILD b/proto/prostgen/raze/remote/tower-ready-cache-0.3.1.BUILD new file mode 100644 index 0000000000..66714d74ad --- /dev/null +++ b/proto/prostgen/raze/remote/tower-ready-cache-0.3.1.BUILD @@ -0,0 +1,51 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "ready_cache" with type "test" omitted + +rust_library( + name = "tower_ready_cache", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__indexmap__1_6_0//:indexmap", + "@raze__log__0_4_11//:log", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-retry-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-retry-0.3.0.BUILD new file mode 100644 index 0000000000..40a802a3db --- /dev/null +++ b/proto/prostgen/raze/remote/tower-retry-0.3.0.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "retry" with type "test" omitted + +rust_library( + name = "tower_retry", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-service-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-service-0.3.0.BUILD new file mode 100644 index 0000000000..93cff60048 --- /dev/null +++ b/proto/prostgen/raze/remote/tower-service-0.3.0.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_service", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-timeout-0.3.0.BUILD b/proto/prostgen/raze/remote/tower-timeout-0.3.0.BUILD new file mode 100644 index 0000000000..da2f6613bb --- /dev/null +++ b/proto/prostgen/raze/remote/tower-timeout-0.3.0.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_timeout", + crate_type = "lib", + deps = [ + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tower-util-0.3.1.BUILD b/proto/prostgen/raze/remote/tower-util-0.3.1.BUILD new file mode 100644 index 0000000000..c7adcdbadd --- /dev/null +++ b/proto/prostgen/raze/remote/tower-util-0.3.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "call_all" with type "test" omitted +# Unsupported target "service_fn" with type "test" omitted + +rust_library( + name = "tower_util", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_5//:futures_core", + "@raze__futures_util__0_3_5//:futures_util", + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tower_service__0_3_0//:tower_service", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = ["cargo-raze"], + crate_features = [ + "call-all", + "default", + "futures-util", + ], +) + diff --git a/proto/prostgen/raze/remote/tracing-0.1.19.BUILD b/proto/prostgen/raze/remote/tracing-0.1.19.BUILD new file mode 100644 index 0000000000..ecc1f5abc4 --- /dev/null +++ b/proto/prostgen/raze/remote/tracing-0.1.19.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "event" with type "test" omitted +# Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted +# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted +# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted +# Unsupported target "macro_imports" with type "test" omitted +# Unsupported target "macros" with type "test" omitted +# Unsupported target "max_level_hint" with type "test" omitted +# Unsupported target "multiple_max_level_hints" with type "test" omitted +# Unsupported target "no_subscriber" with type "bench" omitted +# Unsupported target "span" with type "test" omitted +# Unsupported target "subscriber" with type "bench" omitted +# Unsupported target "subscriber" with type "test" omitted + +rust_library( + name = "tracing", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__log__0_4_11//:log", + "@raze__tracing_core__0_1_16//:tracing_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__tracing_attributes__0_1_11//:tracing_attributes", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.19", + tags = ["cargo-raze"], + crate_features = [ + "attributes", + "default", + "log", + "std", + "tracing-attributes", + ], +) + diff --git a/proto/prostgen/raze/remote/tracing-attributes-0.1.11.BUILD b/proto/prostgen/raze/remote/tracing-attributes-0.1.11.BUILD new file mode 100644 index 0000000000..b1835ca772 --- /dev/null +++ b/proto/prostgen/raze/remote/tracing-attributes-0.1.11.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "async_fn" with type "test" omitted +# Unsupported target "destructuring" with type "test" omitted +# Unsupported target "err" with type "test" omitted +# Unsupported target "fields" with type "test" omitted +# Unsupported target "instrument" with type "test" omitted +# Unsupported target "levels" with type "test" omitted +# Unsupported target "names" with type "test" omitted +# Unsupported target "support" with type "test" omitted +# Unsupported target "targets" with type "test" omitted + +rust_library( + name = "tracing_attributes", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.11", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/tracing-core-0.1.16.BUILD b/proto/prostgen/raze/remote/tracing-core-0.1.16.BUILD new file mode 100644 index 0000000000..8186294feb --- /dev/null +++ b/proto/prostgen/raze/remote/tracing-core-0.1.16.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "dispatch" with type "test" omitted +# Unsupported target "global_dispatch" with type "test" omitted +# Unsupported target "macros" with type "test" omitted + +rust_library( + name = "tracing_core", + crate_type = "lib", + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.16", + tags = ["cargo-raze"], + crate_features = [ + "lazy_static", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/tracing-futures-0.2.4.BUILD b/proto/prostgen/raze/remote/tracing-futures-0.2.4.BUILD new file mode 100644 index 0000000000..d9cccc169f --- /dev/null +++ b/proto/prostgen/raze/remote/tracing-futures-0.2.4.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "std_future" with type "test" omitted +# Unsupported target "support" with type "test" omitted + +rust_library( + name = "tracing_futures", + crate_type = "lib", + deps = [ + "@raze__pin_project__0_4_23//:pin_project", + "@raze__tracing__0_1_19//:tracing", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.4", + tags = ["cargo-raze"], + crate_features = [ + "default", + "pin-project", + "std", + "std-future", + ], +) + diff --git a/proto/prostgen/raze/remote/try-lock-0.2.3.BUILD b/proto/prostgen/raze/remote/try-lock-0.2.3.BUILD new file mode 100644 index 0000000000..0601535a97 --- /dev/null +++ b/proto/prostgen/raze/remote/try-lock-0.2.3.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "try_lock", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.3", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/unicode-segmentation-1.6.0.BUILD b/proto/prostgen/raze/remote/unicode-segmentation-1.6.0.BUILD new file mode 100644 index 0000000000..900f08ca20 --- /dev/null +++ b/proto/prostgen/raze/remote/unicode-segmentation-1.6.0.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "unicode_segmentation", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/unicode-width-0.1.8.BUILD b/proto/prostgen/raze/remote/unicode-width-0.1.8.BUILD new file mode 100644 index 0000000000..4401f13acd --- /dev/null +++ b/proto/prostgen/raze/remote/unicode-width-0.1.8.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "unicode_width", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.8", + tags = ["cargo-raze"], + crate_features = [ + "default", + ], +) + diff --git a/proto/prostgen/raze/remote/unicode-xid-0.2.1.BUILD b/proto/prostgen/raze/remote/unicode-xid-0.2.1.BUILD new file mode 100644 index 0000000000..1e6f9f2ce5 --- /dev/null +++ b/proto/prostgen/raze/remote/unicode-xid-0.2.1.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "exhaustive_tests" with type "test" omitted + +rust_library( + name = "unicode_xid", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = ["cargo-raze"], + crate_features = [ + "default", + ], +) + diff --git a/proto/prostgen/raze/remote/untrusted-0.7.1.BUILD b/proto/prostgen/raze/remote/untrusted-0.7.1.BUILD new file mode 100644 index 0000000000..183545b1e9 --- /dev/null +++ b/proto/prostgen/raze/remote/untrusted-0.7.1.BUILD @@ -0,0 +1,45 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # ISC from expression "ISC" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "tests" with type "test" omitted + +rust_library( + name = "untrusted", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/untrusted.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/version_check-0.9.2.BUILD b/proto/prostgen/raze/remote/version_check-0.9.2.BUILD new file mode 100644 index 0000000000..d3187a398c --- /dev/null +++ b/proto/prostgen/raze/remote/version_check-0.9.2.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "version_check", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.2", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/want-0.3.0.BUILD b/proto/prostgen/raze/remote/want-0.3.0.BUILD new file mode 100644 index 0000000000..052fa9c05d --- /dev/null +++ b/proto/prostgen/raze/remote/want-0.3.0.BUILD @@ -0,0 +1,47 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "throughput" with type "bench" omitted + +rust_library( + name = "want", + crate_type = "lib", + deps = [ + "@raze__log__0_4_11//:log", + "@raze__try_lock__0_2_3//:try_lock", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD b/proto/prostgen/raze/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD new file mode 100644 index 0000000000..2e16645620 --- /dev/null +++ b/proto/prostgen/raze/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.0+wasi-snapshot-preview1", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD b/proto/prostgen/raze/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD new file mode 100644 index 0000000000..452d35fc44 --- /dev/null +++ b/proto/prostgen/raze/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.0+wasi-snapshot-preview1", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/wasm-bindgen-0.2.68.BUILD b/proto/prostgen/raze/remote/wasm-bindgen-0.2.68.BUILD new file mode 100644 index 0000000000..422c7bd5eb --- /dev/null +++ b/proto/prostgen/raze/remote/wasm-bindgen-0.2.68.BUILD @@ -0,0 +1,85 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "wasm_bindgen_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "spans", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.2.68", + visibility = ["//visibility:private"], +) + +# Unsupported target "headless" with type "test" omitted +# Unsupported target "must_use" with type "test" omitted +# Unsupported target "non_wasm" with type "test" omitted +# Unsupported target "std-crate-no-std-dep" with type "test" omitted +# Unsupported target "unwrap_throw" with type "test" omitted +# Unsupported target "wasm" with type "test" omitted + +rust_library( + name = "wasm_bindgen", + crate_type = "lib", + deps = [ + ":wasm_bindgen_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__wasm_bindgen_macro__0_2_68//:wasm_bindgen_macro", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = ["cargo-raze"], + crate_features = [ + "default", + "spans", + "std", + ], +) + diff --git a/proto/prostgen/raze/remote/wasm-bindgen-backend-0.2.68.BUILD b/proto/prostgen/raze/remote/wasm-bindgen-backend-0.2.68.BUILD new file mode 100644 index 0000000000..116991e125 --- /dev/null +++ b/proto/prostgen/raze/remote/wasm-bindgen-backend-0.2.68.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasm_bindgen_backend", + crate_type = "lib", + deps = [ + "@raze__bumpalo__3_4_0//:bumpalo", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__log__0_4_11//:log", + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + "@raze__wasm_bindgen_shared__0_2_68//:wasm_bindgen_shared", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = ["cargo-raze"], + crate_features = [ + "spans", + ], +) + diff --git a/proto/prostgen/raze/remote/wasm-bindgen-macro-0.2.68.BUILD b/proto/prostgen/raze/remote/wasm-bindgen-macro-0.2.68.BUILD new file mode 100644 index 0000000000..9a5008e077 --- /dev/null +++ b/proto/prostgen/raze/remote/wasm-bindgen-macro-0.2.68.BUILD @@ -0,0 +1,48 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "ui" with type "test" omitted + +rust_library( + name = "wasm_bindgen_macro", + crate_type = "proc-macro", + deps = [ + "@raze__quote__1_0_7//:quote", + "@raze__wasm_bindgen_macro_support__0_2_68//:wasm_bindgen_macro_support", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = ["cargo-raze"], + crate_features = [ + "spans", + ], +) + diff --git a/proto/prostgen/raze/remote/wasm-bindgen-macro-support-0.2.68.BUILD b/proto/prostgen/raze/remote/wasm-bindgen-macro-support-0.2.68.BUILD new file mode 100644 index 0000000000..96c02605a4 --- /dev/null +++ b/proto/prostgen/raze/remote/wasm-bindgen-macro-support-0.2.68.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasm_bindgen_macro_support", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_18//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_31//:syn", + "@raze__wasm_bindgen_backend__0_2_68//:wasm_bindgen_backend", + "@raze__wasm_bindgen_shared__0_2_68//:wasm_bindgen_shared", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = ["cargo-raze"], + crate_features = [ + "spans", + ], +) + diff --git a/proto/prostgen/raze/remote/wasm-bindgen-shared-0.2.68.BUILD b/proto/prostgen/raze/remote/wasm-bindgen-shared-0.2.68.BUILD new file mode 100644 index 0000000000..c51d5fadbf --- /dev/null +++ b/proto/prostgen/raze/remote/wasm-bindgen-shared-0.2.68.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "wasm_bindgen_shared_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.2.68", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "wasm_bindgen_shared", + crate_type = "lib", + deps = [ + ":wasm_bindgen_shared_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/web-sys-0.3.45.BUILD b/proto/prostgen/raze/remote/web-sys-0.3.45.BUILD new file mode 100644 index 0000000000..85144fe0be --- /dev/null +++ b/proto/prostgen/raze/remote/web-sys-0.3.45.BUILD @@ -0,0 +1,50 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "wasm" with type "test" omitted + +rust_library( + name = "web_sys", + crate_type = "lib", + deps = [ + "@raze__js_sys__0_3_45//:js_sys", + "@raze__wasm_bindgen__0_2_68//:wasm_bindgen", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.45", + tags = ["cargo-raze"], + crate_features = [ + "Crypto", + "EventTarget", + "Window", + ], +) + diff --git a/proto/prostgen/raze/remote/webpki-0.21.3.BUILD b/proto/prostgen/raze/remote/webpki-0.21.3.BUILD new file mode 100644 index 0000000000..72f54854a3 --- /dev/null +++ b/proto/prostgen/raze/remote/webpki-0.21.3.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "restricted", # no license +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "dns_name_tests" with type "test" omitted +# Unsupported target "integration" with type "test" omitted + +rust_library( + name = "webpki", + crate_type = "lib", + deps = [ + "@raze__ring__0_16_15//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/webpki.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["**/src/data/*"]), + version = "0.21.3", + tags = ["cargo-raze"], + crate_features = [ + "default", + "std", + "trust_anchor_util", + ], +) + diff --git a/proto/prostgen/raze/remote/which-3.1.1.BUILD b/proto/prostgen/raze/remote/which-3.1.1.BUILD new file mode 100644 index 0000000000..cafbb3b2a3 --- /dev/null +++ b/proto/prostgen/raze/remote/which-3.1.1.BUILD @@ -0,0 +1,46 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "basic" with type "test" omitted + +rust_library( + name = "which", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.1.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/winapi-0.2.8.BUILD b/proto/prostgen/raze/remote/winapi-0.2.8.BUILD new file mode 100644 index 0000000000..a9e06e5d67 --- /dev/null +++ b/proto/prostgen/raze/remote/winapi-0.2.8.BUILD @@ -0,0 +1,44 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "winapi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.8", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/winapi-0.3.9.BUILD b/proto/prostgen/raze/remote/winapi-0.3.9.BUILD new file mode 100644 index 0000000000..1591175fb5 --- /dev/null +++ b/proto/prostgen/raze/remote/winapi-0.3.9.BUILD @@ -0,0 +1,117 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "winapi_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "errhandlingapi", + "fileapi", + "handleapi", + "lmcons", + "minschannel", + "minwinbase", + "minwindef", + "ntdef", + "ntsecapi", + "profileapi", + "schannel", + "securitybaseapi", + "sspi", + "std", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincrypt", + "winerror", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + "wtypesbase", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.3.9", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "winapi", + crate_type = "lib", + deps = [ + ":winapi_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.9", + tags = ["cargo-raze"], + crate_features = [ + "errhandlingapi", + "fileapi", + "handleapi", + "lmcons", + "minschannel", + "minwinbase", + "minwindef", + "ntdef", + "ntsecapi", + "profileapi", + "schannel", + "securitybaseapi", + "sspi", + "std", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincrypt", + "winerror", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + "wtypesbase", + ], +) + diff --git a/proto/prostgen/raze/remote/winapi-build-0.1.1.BUILD b/proto/prostgen/raze/remote/winapi-build-0.1.1.BUILD new file mode 100644 index 0000000000..45374fa8f0 --- /dev/null +++ b/proto/prostgen/raze/remote/winapi-build-0.1.1.BUILD @@ -0,0 +1,49 @@ +""" +@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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +alias( + name = "winapi_build", + actual = ":build", + tags = ["cargo-raze"], +) + +rust_library( + name = "build", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.1", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD b/proto/prostgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD new file mode 100644 index 0000000000..d324fb0274 --- /dev/null +++ b/proto/prostgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "winapi_i686_pc_windows_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.4.0", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "winapi_i686_pc_windows_gnu", + crate_type = "lib", + deps = [ + ":winapi_i686_pc_windows_gnu_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD b/proto/prostgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD new file mode 100644 index 0000000000..ef21205f72 --- /dev/null +++ b/proto/prostgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "winapi_x86_64_pc_windows_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.4.0", + visibility = ["//visibility:private"], +) + + +rust_library( + name = "winapi_x86_64_pc_windows_gnu", + crate_type = "lib", + deps = [ + ":winapi_x86_64_pc_windows_gnu_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = ["cargo-raze"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/raze/remote/ws2_32-sys-0.2.1.BUILD b/proto/prostgen/raze/remote/ws2_32-sys-0.2.1.BUILD new file mode 100644 index 0000000000..8562e00ace --- /dev/null +++ b/proto/prostgen/raze/remote/ws2_32-sys-0.2.1.BUILD @@ -0,0 +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/prostgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "ws2_32_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__winapi_build__0_1_1//:winapi_build", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = ["cargo-raze"], + version = "0.2.1", + visibility = ["//visibility:private"], +) + +alias( + name = "ws2_32_sys", + actual = ":ws2_32", + tags = ["cargo-raze"], +) + +rust_library( + name = "ws2_32", + crate_type = "lib", + deps = [ + ":ws2_32_sys_build_script", + "@raze__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"], + crate_features = [ + ], +) + diff --git a/proto/prostgen/rules.bzl b/proto/prostgen/rules.bzl new file mode 100644 index 0000000000..2cb312208e --- /dev/null +++ b/proto/prostgen/rules.bzl @@ -0,0 +1,325 @@ +""" +A set of rules and macros for generating prost-based rust protobuf code. +""" + +load("@rules_proto//proto:defs.bzl", "ProtoInfo") +load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") + +_PROST_COMPILE_DEPS = [ + "//proto/prostgen/raze:prost", + "//proto/prostgen/raze:prost_types", +] + +_PROST_COMPILE_PROC_MACRO_DEPS = [ + "//proto/prostgen/raze:prost_derive", +] + +_TONIC_COMPILE_DEPS = [ + "//proto/prostgen/raze:tonic", +] + +ProstGenInfo = provider( + fields = { + "crate": "name of the crate that is used by the rust_library", + "descriptor_set": "the file descriptor set for the target's sources", + "transitive_proto_path": "depset containing all of the include paths " + + "that need to be passed to protoc", + "transitive_sources": "depset containing all of the proto files that " + + "must be accessed by protoc", + "transitive_externs": "depset containing all of the extern targets " + + "that are passed to prostgen", + }, +) + +def _external_flag(f): + return ["--external=%s,%s" % ( + f[ProstGenInfo].crate, + f[ProstGenInfo].descriptor_set.path, + )] + +def _prost_generator_impl(ctx): + output_dir = ctx.actions.declare_directory(ctx.label.name) + lib_rs = ctx.actions.declare_file("%s/lib.rs" % ctx.label.name) + args = ctx.actions.args() + + direct_sources = depset(transitive = [ + depset(f[ProtoInfo].direct_sources) + for f in ctx.attr.deps + ]) + + transitive_sources = depset(transitive = [ + f[ProstGenInfo].transitive_sources + for f in ctx.attr.extern + ] + [ + depset(f[ProtoInfo].transitive_sources) + for f in ctx.attr.deps + ]) + + transitive_externs = depset(transitive = [depset(ctx.attr.extern)] + [ + f[ProstGenInfo].transitive_externs + for f in ctx.attr.extern + ]) + + extern_descriptors = depset([ + f[ProstGenInfo].descriptor_set + for f in transitive_externs.to_list() + ]) + + transitive_proto_path = depset( + transitive = [ + f[ProstGenInfo].transitive_proto_path + for f in ctx.attr.extern + ] + [ + f[ProtoInfo].transitive_proto_path + for f in ctx.attr.deps + ], + ) + + args.add_all(direct_sources) + args.add("--output=" + output_dir.path) + if ctx.attr.grpc: + args.add("--grpc") + args.add_all( + transitive_externs, + map_each = _external_flag, + ) + args.add_all(transitive_proto_path, format_each = "-I%s") + + rustfmt = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"].rustfmt + ctx.actions.run( + inputs = depset( + transitive = [transitive_sources, extern_descriptors], + ), + env = { + # We've patched rustfmt to expect that it can resolve the path to + # protoc at runtime via this environment variable, rather than + # expecting that this path was available at build time. + "PROTOC": ctx.executable._protoc.path, + # Since tonic_build has logic to run rustfmt, and does so by default + # for that matter, inject rustfmt into PATH, so that + # std::process::Command can find it. This seemed to be more clear + # than setting up a separate bazel run action, and removes another + # generated file. A run action can't have the same input and + # output file. This is also compatible with prostgen currently + # creating a lib.rs in the output directory, rather than taking in + # an output directory and an output file. The idea with only taking + # in an output directory was to try and leave open the possibility + # of using include! macros pointing towards the generated files. + # This might make things a little easier to read, rather than being + # extremely nested by package name. + # + # May not be perfect either, as the files are formatted before they + # get indented to match their module nesting. + "PATH": rustfmt.dirname, + }, + outputs = [output_dir, lib_rs], + tools = [ctx.executable._generator, ctx.executable._protoc, rustfmt], + progress_message = "Generating Rust protobuf stubs", + mnemonic = "ProstSourceGeneration", + executable = ctx.executable._generator, + arguments = [args], + ) + + # Now go ahead and generate a file descriptor set. prost_build already does + # this, but, alas, it does not expose the requisite functionality to be able + # to use this. + # + # See: + # * https://github.com/danburkert/prost/pull/155 + # * https://github.com/danburkert/prost/pull/313 + # + # This will let us pass along this full file descriptor set with the + # associated source info with this generated target. We use this for the + # extern field. In the future, if prost exposes this functionality we could + # use this file directly. And if bazel generated the source info with + # proto_library (b/156677638), then we wouldn't need to invoke protoc at + # all. + file_descriptor_set = ctx.actions.declare_file( + "%s-descriptor-set.proto.bin" % ctx.label.name, + ) + protoc_args = ctx.actions.args() + protoc_args.add("--include_source_info") + protoc_args.add_all(direct_sources) + protoc_args.add("-o") + protoc_args.add(file_descriptor_set.path) + protoc_args.add_all(transitive_proto_path, format_each = "-I%s") + + ctx.actions.run( + inputs = depset( + transitive = [transitive_sources], + ), + outputs = [file_descriptor_set], + tools = [ctx.executable._protoc], + progress_message = "Generating the prost file descriptor set", + mnemonic = "ProstFileDescriptorSet", + executable = ctx.executable._protoc, + arguments = [protoc_args], + ) + + prostgen_info = ProstGenInfo( + crate = ctx.attr.crate, + descriptor_set = file_descriptor_set, + transitive_proto_path = transitive_proto_path, + transitive_sources = transitive_sources, + transitive_externs = transitive_externs, + ) + + return [prostgen_info, DefaultInfo(files = depset([lib_rs]))] + +_prost_generator = rule( + _prost_generator_impl, + attrs = { + "deps": attr.label_list( + doc = "List of proto_library dependencies that will be built.", + mandatory = True, + providers = [ProtoInfo], + ), + "grpc": attr.bool( + doc = "Enables tonic service stub code generation", + ), + "extern": attr.label_list( + doc = "", + ), + "crate": attr.string( + mandatory = True, + ), + "_generator": attr.label( + executable = True, + cfg = "host", + default = Label( + "//proto/prostgen", + ), + ), + "_protoc": attr.label( + doc = "The location of the `protoc` binary. It should be an executable target.", + executable = True, + cfg = "host", + default = "@com_google_protobuf//:protoc", + ), + }, + toolchains = [ + "@io_bazel_rules_rust//rust:toolchain", + ], + doc = """ +Provides a wrapper around the generation of rust files. The specification of +this as a rule allow the inspection of transitive descriptor sets of +proto_library. This rule forms a wrapper around //proto/prostgen. It generates +a single lib.rs file meant to be passed to a rust_library rule. +""", +) + +def _prost_tonic_library(name, deps, grpc, extern = None, **kwargs): + """A backing macro for tonic_library and prost_library. + + This allows for the selective enabling and disabling of grpc service + generation since the prost_library and tonic_library macros share the same + underlying prostgen binary + """ + + # Conslidating extern into deps would be ideal, however, it doesn't appear + # that there would be a way to separate deps into things that should be + # given to either prost_generator or rust_library. It is possible to use an + # aspect on _prost_generator's deps attr to change everything into a + # ProstGenInfo provider, so if we were implementing this inside of rules + # rust, or using rules_rust internals, then we could get rid of the need of + # to separate them out, as we would just be using rustc_compile_action + # instead. See b/157488134 for more details. + if not extern: + extern = [] + generation_name = "%s_generated" % name + generated_extern = ["%s_generated" % f for f in extern] + dependencies = _PROST_COMPILE_DEPS + if grpc: + dependencies = dependencies + _TONIC_COMPILE_DEPS + _prost_generator( + name = generation_name, + deps = deps, + grpc = grpc, + extern = generated_extern, + # allow users to specify the crate name for the rust library. This is + # the default behavior of rules_rust. The crate name is the library + # name unless otherwise specified. + crate = name if "crate" not in kwargs else kwargs["crate"], + # The visibility of the two targets needs to match. + visibility = kwargs.get("visibility"), + ) + rust_library( + name = name, + srcs = [ + generation_name, + ], + deps = dependencies + extern, + proc_macro_deps = _PROST_COMPILE_PROC_MACRO_DEPS, + edition = "2018", + **kwargs + ) + +def prost_library(**kwargs): + """Create a rust protobuf library using prost as the backing library. + + This an alternative to the rust_proto_library. It uses the //proto/prostgen + executable to create a single lib.rs file from all proto_library targets + passed in as dependencies. + + Since this is a macro, this will generate two targets: a rust_library, and a + private _prost_generator rule target. The rust_library will be given the + name passed into this macro. The generated file target will have + "_generated" append to name. + + Keyword arguments: + name -- The name given to the rust library on which you can depend + deps -- A list of proto_library rules to uses as dependencies. + extern -- A list of prost_library or tonic_library targets to depend on for + their generated code. Useful if a proto_library in deps depends + on a proto_library that has a prost_library, so that definitions + are shared. + + All other keyword arguments are passed to the generated rust_library. + + Example: + + proto_library( + name = "foo_proto", + src = ["foo.proto"], + ) + prost_library( + name = "foo_prost", + deps = [":foo_proto"], + ) + """ + _prost_tonic_library(grpc = False, **kwargs) + +def tonic_library(**kwargs): + """Create a rust gRPC library using prost and tonic. + + This an alternative to the rust_grpc_library. It uses the //proto/prostgen + executable to create a single lib.rs file from all proto_library targets + passed in as dependencies. + + Since this is a macro, this will generate two targets: a rust_library, and a + private _prost_generator rule target. The rust_library will be given the + name passed into this macro. The generated file target will have + "_generated" append to name. + + Keyword arguments: + name -- The name given to the rust library on which you can depend + deps -- A list of proto_library rules to uses as dependencies. + extern -- A list of prost_library or tonic_library targets to depend on for + their generated code. Useful if a proto_library in deps depends + on a proto_library that has a prost_library, so that definitions + are shared. + + All other keyword arguments are passed to the generated rust_library. + + Example: + + proto_library( + name = "foo_proto", + src = ["foo.proto"], + ) + tonic_library( + name = "foo_prost", + deps = [":foo_proto"], + ) + """ + _prost_tonic_library(grpc = True, **kwargs) diff --git a/proto/prostgen/test/BUILD b/proto/prostgen/test/BUILD new file mode 100644 index 0000000000..8ee178492f --- /dev/null +++ b/proto/prostgen/test/BUILD @@ -0,0 +1,200 @@ +# Testing the prost_library macro usability + +load("//rust:rust.bzl", "rust_doc_test", "rust_library", "rust_test") +load("@rules_proto//proto:defs.bzl", "proto_library") +load("//proto/prostgen:rules.bzl", "prost_library", "tonic_library") + +package(default_visibility = ["//visibility:private"]) + +proto_library( + name = "echo_proto", + srcs = ["echo.proto"], + visibility = ["//visibility:public"], +) + +prost_library( + name = "echo_prost", + visibility = ["//visibility:public"], + deps = [ + ":echo_proto", + ], +) + +tonic_library( + name = "echo_tonic", + visibility = ["//visibility:public"], + deps = [ + ":echo_proto", + ], +) + +rust_library( + name = "echo_impl", + testonly = True, + srcs = [ + "echo_impl.rs", + ], + visibility = ["//visibility:public"], + deps = [ + ":echo_tonic", + "//proto/prostgen/raze:tonic", + ], +) + +rust_test( + name = "prostgen_proto_usage_test", + srcs = ["echo_usage_test.rs"], + deps = [":echo_prost"], +) + +rust_test( + name = "tonic_usage_test", + srcs = ["echo_service_test.rs"], + deps = [ + ":echo_tonic", + "//proto/prostgen/raze:tonic", + ], +) + +proto_library( + name = "a_proto", + srcs = ["a.proto"], +) + +proto_library( + name = "b_proto", + srcs = ["b.proto"], +) + +proto_library( + name = "x_proto", + srcs = ["x.proto"], + deps = [ + ":a_proto", + ":b_proto", + ], +) + +proto_library( + name = "y_proto", + srcs = ["y.proto"], + deps = [ + ":a_proto", + ":b_proto", + ], +) + +prost_library( + name = "a_prost", + deps = [":a_proto"], +) + +prost_library( + name = "b_prost", + deps = [":b_proto"], +) + +prost_library( + name = "x_prost", + extern = [ + ":a_prost", + ":b_prost", + ], + deps = [":x_proto"], +) + +prost_library( + name = "y_prost", + extern = [ + ":a_prost", + ":b_prost", + ], + deps = [":y_proto"], +) + +rust_test( + name = "extern_path_test", + srcs = ["extern_path_test.rs"], + deps = [ + ":a_prost", + ":b_prost", + ":x_prost", + ":y_prost", + ], +) + +# Demonstrate include directories for folders which are not in this one +proto_library( + name = "use_external_proto", + srcs = ["use_external.proto"], + deps = [ + "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +prost_library( + name = "use_directly_prost", + deps = [ + ":use_external_proto", + "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +# prost_library( +# name = "status_prost", +# extern = [ +# "//proto/googleapis:code_prost", +# ], +# deps = [ +# "@com_google_googleapis//google/rpc:status_proto", +# ], +# ) +# +# prost_library( +# name = "use_indirectly_prost", +# extern = [ +# "//proto/protobuf:any_prost", +# "//proto/protobuf:timestamp_prost", +# ], +# deps = [ +# ":use_external_proto", +# ], +# ) + +proto_library( + name = "depends_on_use_external_proto", + srcs = ["depends_on_use_external.proto"], + deps = [ + ":use_external_proto", + ], +) + +# prost_library( +# name = "depends_on_use_external_prost", +# extern = [ +# ":use_indirectly_prost", +# ], +# deps = [ +# ":depends_on_use_external_proto", +# ], +# ) + +proto_library( + name = "shared_imports_proto", + srcs = ["shared_imports.proto"], + deps = [ + "@com_google_googleapis//google/rpc:status_proto", + "@com_google_protobuf//:any_proto", + ], +) + +# prost_library( +# name = "shared_imports_prost", +# extern = [ +# "//proto/protobuf:any_prost", +# "//proto/googleapis:status_prost", +# ], +# deps = ["shared_imports_proto"], +# ) diff --git a/proto/prostgen/test/a.proto b/proto/prostgen/test/a.proto new file mode 100644 index 0000000000..14f2c9d945 --- /dev/null +++ b/proto/prostgen/test/a.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package prostgen.test; + +message A { + int32 value = 1; +} diff --git a/proto/prostgen/test/b.proto b/proto/prostgen/test/b.proto new file mode 100644 index 0000000000..8126660d7c --- /dev/null +++ b/proto/prostgen/test/b.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package prostgen.test; + +message B { + int32 value = 1; +} diff --git a/proto/prostgen/test/depends_on_use_external.proto b/proto/prostgen/test/depends_on_use_external.proto new file mode 100644 index 0000000000..c76f49176e --- /dev/null +++ b/proto/prostgen/test/depends_on_use_external.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +package prostgen.test; + +import "proto/prostgen/test/use_external.proto"; + +message DependsOnUseExternal { + prostgen.test.UseExternal embeded = 1; +} diff --git a/proto/prostgen/test/echo.proto b/proto/prostgen/test/echo.proto new file mode 100644 index 0000000000..9aa2640315 --- /dev/null +++ b/proto/prostgen/test/echo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package verily.surgical.echo; + +service Echo { + // Returns the request unmodified. + rpc Echo(EchoRequest) returns (EchoResponse) {} +} + +message EchoRequest { + // A string that will be sent to, and returned by the server + string payload = 1; +} + +message EchoResponse { + // The response, returned from the server that should be identical to the + // payload sent. This is mostly a test comment for codegen. + string payload = 1; +} diff --git a/proto/prostgen/test/echo_impl.rs b/proto/prostgen/test/echo_impl.rs new file mode 100644 index 0000000000..f90d73fbf2 --- /dev/null +++ b/proto/prostgen/test/echo_impl.rs @@ -0,0 +1,24 @@ +use echo_tonic::verily::surgical::echo::{echo_server::Echo, EchoRequest, EchoResponse}; +use tonic::{Request, Response, Status}; + +#[derive(Default)] +pub struct EchoImpl {} + +#[tonic::async_trait] +impl Echo for EchoImpl { + async fn echo( + &self, + mut request: Request, + ) -> Result, Status> { + println!("Got a request from {:?}", request.remote_addr()); + + let reply = EchoResponse { + payload: format!("Hello {}!", request.get_ref().payload), + }; + + // Echo the metadata as well. + let mut response = Response::new(reply); + std::mem::swap(response.metadata_mut(), request.metadata_mut()); + Ok(response) + } +} diff --git a/proto/prostgen/test/echo_service_test.rs b/proto/prostgen/test/echo_service_test.rs new file mode 100644 index 0000000000..3896288184 --- /dev/null +++ b/proto/prostgen/test/echo_service_test.rs @@ -0,0 +1,25 @@ +use tonic::{transport::Server, Request, Response, Status}; + +use echo_tonic::verily::surgical::echo::echo_server::{Echo, EchoServer}; +use echo_tonic::verily::surgical::echo::{EchoRequest, EchoResponse}; + +#[derive(Default)] +pub struct EchoImpl {} + +#[tonic::async_trait] +impl Echo for EchoImpl { + async fn echo(&self, request: Request) -> Result, Status> { + println!("Got a request from {:?}", request.remote_addr()); + + let reply = EchoResponse { + payload: format!("Hello {}!", request.into_inner().payload), + }; + Ok(Response::new(reply)) + } +} + +#[cfg(test)] +#[test] +fn structs_are_usable() { + Server::builder().add_service(EchoServer::new(EchoImpl::default())); +} diff --git a/proto/prostgen/test/echo_usage_test.rs b/proto/prostgen/test/echo_usage_test.rs new file mode 100644 index 0000000000..85f534fbbb --- /dev/null +++ b/proto/prostgen/test/echo_usage_test.rs @@ -0,0 +1,14 @@ +use echo_prost::verily::surgical::echo::{EchoRequest, EchoResponse}; + +#[cfg(test)] +#[test] +fn structs_are_usable() { + let request = EchoRequest { + payload: "hello".to_owned(), + }; + let response = EchoResponse { + payload: "hello".to_owned(), + }; + + assert_eq!(request.payload, response.payload); +} diff --git a/proto/prostgen/test/extern_path_test.rs b/proto/prostgen/test/extern_path_test.rs new file mode 100644 index 0000000000..5e04f92de3 --- /dev/null +++ b/proto/prostgen/test/extern_path_test.rs @@ -0,0 +1,20 @@ +use a_prost::prostgen::test::A; +use b_prost::prostgen::test::B; +use x_prost::prostgen::test::X; +use y_prost::prostgen::test::Y; + +#[cfg(test)] +#[test] +fn structs_are_usable() { + let x = X { + a: Some(A { value: 1 }), + b: Some(B { value: 2 }), + }; + let y = Y { + a: Some(A { value: 1 }), + b: Some(B { value: 2 }), + }; + + assert_eq!(x.a, y.a); + assert_eq!(x.b, y.b); +} diff --git a/proto/prostgen/test/shared_imports.proto b/proto/prostgen/test/shared_imports.proto new file mode 100644 index 0000000000..61e70f6203 --- /dev/null +++ b/proto/prostgen/test/shared_imports.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package verily.surgical.test; + +import "google/protobuf/any.proto"; +import "google/rpc/status.proto"; + +message SharedImports { + google.protobuf.Any data = 1; + google.rpc.Status status = 2; +} diff --git a/proto/prostgen/test/use_external.proto b/proto/prostgen/test/use_external.proto new file mode 100644 index 0000000000..73d309cf4b --- /dev/null +++ b/proto/prostgen/test/use_external.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package prostgen.test; + +import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; + +message UseExternal { + google.protobuf.Timestamp timestamp = 1; + google.protobuf.Any msg = 2; +} diff --git a/proto/prostgen/test/x.proto b/proto/prostgen/test/x.proto new file mode 100644 index 0000000000..2b071e9f40 --- /dev/null +++ b/proto/prostgen/test/x.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package prostgen.test; + +import "proto/prostgen/test/a.proto"; +import "proto/prostgen/test/b.proto"; + +message X { + A a = 1; + B b = 2; +} diff --git a/proto/prostgen/test/y.proto b/proto/prostgen/test/y.proto new file mode 100644 index 0000000000..7c93a0a63a --- /dev/null +++ b/proto/prostgen/test/y.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package prostgen.test; + +import "proto/prostgen/test/a.proto"; +import "proto/prostgen/test/b.proto"; + +message Y { + A a = 1; + B b = 2; +} diff --git a/proto/prostgen/test_port.rs b/proto/prostgen/test_port.rs new file mode 100644 index 0000000000..f8f90e3cf1 --- /dev/null +++ b/proto/prostgen/test_port.rs @@ -0,0 +1,90 @@ +use hyper::server::{ + accept::Accept, + conn::{AddrIncoming, AddrStream}, +}; +use std::{ + pin::Pin, + task::{Context, Poll}, +}; + +/// A wrapper for `hyper::server::conn::AddrIncoming` that implements `future::stream::Stream` to be +/// used in tests with tonic servers. +pub struct TcpIncoming { + inner: AddrIncoming, +} + +impl TcpIncoming { + /// Creates a new TcpIncoming by binding to localhost on port zero, which allow the OS to assign + /// an open port. + pub fn bind() -> hyper::Result { + let addr = "127.0.0.1:0".parse().unwrap(); + let inner = AddrIncoming::bind(&addr)?; + Ok(TcpIncoming { inner }) + } + + /// Get the uri a client should target to connect to the bound address + pub fn uri(&self) -> tonic::transport::Uri { + let addr = self.local_addr(); + // unwrap ok as valid port, and thus, uri is guaranteed by successful bind for construction. + format!("http://{}:{}", addr.ip(), addr.port()) + .parse() + .unwrap() + } + + /// Get the local address bound to this listener. + #[allow(dead_code)] + pub fn local_addr(&self) -> std::net::SocketAddr { + self.inner.local_addr() + } + + /// Sets if keepalive should be enabled, and if so, for how long + /// https://docs.rs/hyper/0.13.6/hyper/server/conn/struct.AddrIncoming.html#method.set_keepalive + #[allow(dead_code)] + pub fn set_keepalive(&mut self, keepalive: Option) -> &mut Self { + self.inner.set_keepalive(keepalive); + self + } + + /// Sets if nodelay should be enabled for the AddrIncoming or not. + /// https://docs.rs/hyper/0.13.6/hyper/server/conn/struct.AddrIncoming.html#method.set_nodelay + #[allow(dead_code)] + pub fn set_nodelay(&mut self, enabled: bool) -> &mut Self { + self.inner.set_nodelay(enabled); + self + } +} + +impl futures::stream::Stream for TcpIncoming { + type Item = Result; + + fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { + Pin::new(&mut self.inner).poll_accept(cx) + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[tokio::test] + async fn non_zero_port() { + let mut incoming = TcpIncoming::bind().expect("bind failed"); + incoming.set_keepalive(None); + incoming.set_nodelay(false); + + assert!(incoming.local_addr().is_ipv4()); + assert_eq!( + incoming.local_addr().ip(), + "127.0.0.1".parse::().unwrap() + ); + // We don't want this to be zero, because a new port should be assigned. + assert_ne!(incoming.local_addr().port(), 0); + + assert_eq!(incoming.uri().scheme_str().unwrap(), "http"); + assert_eq!(incoming.uri().host().unwrap(), "127.0.0.1"); + assert_eq!( + incoming.uri().port_u16().unwrap(), + incoming.local_addr().port() + ); + } +} diff --git a/proto/raze/Cargo.lock b/proto/raze/Cargo.lock index 2c6b3d0a1c..a0426a4d52 100644 --- a/proto/raze/Cargo.lock +++ b/proto/raze/Cargo.lock @@ -2,781 +2,780 @@ # It is not intended for manual editing. [[package]] name = "autocfg" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "base64" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" dependencies = [ - "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", + "safemem", ] [[package]] name = "bitflags" version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "byteorder" version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" [[package]] name = "bytes" version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" dependencies = [ - "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", + "iovec", ] [[package]] name = "cfg-if" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cloudabi" version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", ] [[package]] name = "crossbeam-deque" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ - "crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-epoch", + "crossbeam-utils", + "maybe-uninit", ] [[package]] name = "crossbeam-epoch" version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ - "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", - "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg", + "cfg-if", + "crossbeam-utils", + "lazy_static", + "maybe-uninit", + "memoffset", + "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "crossbeam-utils", + "maybe-uninit", ] [[package]] name = "crossbeam-utils" version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" dependencies = [ - "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg", + "cfg-if", + "lazy_static", ] [[package]] name = "fake_lib" version = "0.0.1" dependencies = [ - "grpc 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "grpc-compiler 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", + "grpc", + "grpc-compiler", + "log 0.4.6", + "protobuf", + "protobuf-codegen", + "tls-api", + "tls-api-stub", ] [[package]] name = "fnv" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fuchsia-zircon" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", + "fuchsia-zircon-sys", ] [[package]] name = "fuchsia-zircon-sys" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "futures" version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" [[package]] name = "futures-cpupool" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures", + "num_cpus", ] [[package]] name = "grpc" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d" dependencies = [ - "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "httpbis 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", + "base64", + "bytes", + "futures", + "futures-cpupool", + "httpbis", + "log 0.4.6", + "protobuf", + "tls-api", + "tls-api-stub", + "tokio-core", + "tokio-io", + "tokio-tls-api", ] [[package]] name = "grpc-compiler" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1" dependencies = [ - "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf", + "protobuf-codegen", ] [[package]] name = "hermit-abi" -version = "0.1.11" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" dependencies = [ - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "httpbis" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-uds 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "unix_socket 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "futures-cpupool", + "log 0.4.6", + "net2", + "tls-api", + "tls-api-stub", + "tokio-core", + "tokio-io", + "tokio-timer 0.1.2", + "tokio-tls-api", + "tokio-uds 0.1.7", + "unix_socket", + "void", ] [[package]] name = "iovec" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" dependencies = [ - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "kernel32-sys" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8", + "winapi-build", ] [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.69" +version = "0.2.77" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235" [[package]] name = "lock_api" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" dependencies = [ - "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scopeguard", ] [[package]] name = "log" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" dependencies = [ - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6", ] [[package]] name = "log" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", ] [[package]] name = "maybe-uninit" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memoffset" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f" dependencies = [ - "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg", ] [[package]] name = "mio" -version = "0.6.21" +version = "0.6.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "fuchsia-zircon", + "fuchsia-zircon-sys", + "iovec", + "kernel32-sys", + "libc", + "log 0.4.6", + "miow", + "net2", + "slab 0.4.2", + "winapi 0.2.8", ] [[package]] name = "mio-uds" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", + "iovec", + "libc", + "mio", ] [[package]] name = "miow" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" dependencies = [ - "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys", + "net2", + "winapi 0.2.8", + "ws2_32-sys", ] [[package]] name = "net2" -version = "0.2.33" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "winapi 0.3.9", ] [[package]] name = "num_cpus" version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" dependencies = [ - "hermit-abi 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", + "hermit-abi", + "libc", ] [[package]] name = "parking_lot" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" dependencies = [ - "lock_api 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "lock_api", + "parking_lot_core", + "rustc_version", ] [[package]] name = "parking_lot_core" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "cloudabi", + "libc", + "redox_syscall", + "rustc_version", + "smallvec", + "winapi 0.3.9", ] [[package]] name = "protobuf" version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", ] [[package]] name = "protobuf-codegen" version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795" dependencies = [ - "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf", ] [[package]] name = "redox_syscall" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "rustc_version" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" dependencies = [ - "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "semver", ] [[package]] name = "safemem" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" [[package]] name = "scoped-tls" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28" [[package]] name = "scopeguard" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "semver" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "semver-parser", ] [[package]] name = "semver-parser" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "slab" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23" [[package]] name = "slab" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" [[package]] name = "smallvec" version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" dependencies = [ - "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "maybe-uninit", ] [[package]] name = "tls-api" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1" dependencies = [ - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6", ] [[package]] name = "tls-api-stub" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e" dependencies = [ - "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "tls-api", + "void", ] [[package]] name = "tokio" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "mio", + "num_cpus", + "tokio-codec", + "tokio-current-thread", + "tokio-executor", + "tokio-fs", + "tokio-io", + "tokio-reactor", + "tokio-sync", + "tokio-tcp", + "tokio-threadpool", + "tokio-timer 0.2.13", + "tokio-udp", + "tokio-uds 0.2.7", ] [[package]] name = "tokio-codec" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "tokio-io", ] [[package]] name = "tokio-core" version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "iovec", + "log 0.4.6", + "mio", + "scoped-tls", + "tokio", + "tokio-executor", + "tokio-io", + "tokio-reactor", + "tokio-timer 0.2.13", ] [[package]] name = "tokio-current-thread" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "futures", + "tokio-executor", ] [[package]] name = "tokio-executor" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils", + "futures", ] [[package]] name = "tokio-fs" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", + "futures", + "tokio-io", + "tokio-threadpool", ] [[package]] name = "tokio-io" version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "log 0.4.6", ] [[package]] name = "tokio-reactor" version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils", + "futures", + "lazy_static", + "log 0.4.6", + "mio", + "num_cpus", + "parking_lot", + "slab 0.4.2", + "tokio-executor", + "tokio-io", + "tokio-sync", ] [[package]] name = "tokio-sync" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" dependencies = [ - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv", + "futures", ] [[package]] name = "tokio-tcp" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "iovec", + "mio", + "tokio-io", + "tokio-reactor", ] [[package]] name = "tokio-threadpool" version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ - "crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-deque", + "crossbeam-queue", + "crossbeam-utils", + "futures", + "lazy_static", + "log 0.4.6", + "num_cpus", + "slab 0.4.2", + "tokio-executor", ] [[package]] name = "tokio-timer" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures", + "slab 0.3.0", ] [[package]] name = "tokio-timer" version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ - "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils", + "futures", + "slab 0.4.2", + "tokio-executor", ] [[package]] name = "tokio-tls-api" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "futures", + "tls-api", + "tokio-io", ] [[package]] name = "tokio-udp" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "log 0.4.6", + "mio", + "tokio-codec", + "tokio-io", + "tokio-reactor", ] [[package]] name = "tokio-uds" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "iovec", + "libc", + "log 0.3.9", + "mio", + "mio-uds", + "tokio-core", + "tokio-io", ] [[package]] name = "tokio-uds" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes", + "futures", + "iovec", + "libc", + "log 0.4.6", + "mio", + "mio-uds", + "tokio-codec", + "tokio-io", + "tokio-reactor", ] [[package]] name = "unix_socket" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", ] [[package]] name = "void" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "winapi" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" [[package]] name = "winapi" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", ] [[package]] name = "winapi-build" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "ws2_32-sys" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[metadata] -"checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" -"checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" -"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -"checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" -"checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" -"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" -"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -"checksum crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" -"checksum crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" -"checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" -"checksum crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" -"checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" -"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -"checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" -"checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" -"checksum grpc 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d" -"checksum grpc-compiler 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1" -"checksum hermit-abi 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15" -"checksum httpbis 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614" -"checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -"checksum libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)" = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" -"checksum lock_api 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" -"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" -"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" -"checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" -"checksum memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8" -"checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" -"checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" -"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" -"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" -"checksum num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" -"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" -"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" -"checksum protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571" -"checksum protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795" -"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" -"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -"checksum safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" -"checksum scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28" -"checksum scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" -"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -"checksum slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23" -"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" -"checksum smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" -"checksum tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1" -"checksum tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e" -"checksum tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" -"checksum tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" -"checksum tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71" -"checksum tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" -"checksum tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" -"checksum tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" -"checksum tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" -"checksum tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" -"checksum tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" -"checksum tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" -"checksum tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" -"checksum tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc" -"checksum tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" -"checksum tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9" -"checksum tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" -"checksum tokio-uds 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9" -"checksum tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798" -"checksum unix_socket 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564" -"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" -"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" -"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" -"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -"checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" + "winapi 0.2.8", + "winapi-build", +] diff --git a/proto/raze/crates.bzl b/proto/raze/crates.bzl index 7dba5db077..4f4b15bc4d 100644 --- a/proto/raze/crates.bzl +++ b/proto/raze/crates.bzl @@ -13,12 +13,12 @@ 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", + name = "rules_rust_proto__autocfg__1_0_1", + url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download", type = "tar.gz", - sha256 = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d", - strip_prefix = "autocfg-1.0.0", - build_file = Label("//proto/raze/remote:autocfg-1.0.0.BUILD"), + sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a", + strip_prefix = "autocfg-1.0.1", + build_file = Label("//proto/raze/remote:autocfg-1.0.1.BUILD"), ) maybe( @@ -103,12 +103,12 @@ def rules_rust_proto_fetch_remote_crates(): 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", + name = "rules_rust_proto__crossbeam_queue__0_2_3", + url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.3/download", type = "tar.gz", - sha256 = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db", - strip_prefix = "crossbeam-queue-0.2.1", - build_file = Label("//proto/raze/remote:crossbeam-queue-0.2.1.BUILD"), + sha256 = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570", + strip_prefix = "crossbeam-queue-0.2.3", + build_file = Label("//proto/raze/remote:crossbeam-queue-0.2.3.BUILD"), ) maybe( @@ -123,12 +123,12 @@ def rules_rust_proto_fetch_remote_crates(): maybe( http_archive, - name = "rules_rust_proto__fnv__1_0_6", - url = "https://crates.io/api/v1/crates/fnv/1.0.6/download", + name = "rules_rust_proto__fnv__1_0_7", + url = "https://crates.io/api/v1/crates/fnv/1.0.7/download", type = "tar.gz", - sha256 = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3", - strip_prefix = "fnv-1.0.6", - build_file = Label("//proto/raze/remote:fnv-1.0.6.BUILD"), + sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", + strip_prefix = "fnv-1.0.7", + build_file = Label("//proto/raze/remote:fnv-1.0.7.BUILD"), ) maybe( @@ -193,12 +193,12 @@ def rules_rust_proto_fetch_remote_crates(): 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", + name = "rules_rust_proto__hermit_abi__0_1_15", + url = "https://crates.io/api/v1/crates/hermit-abi/0.1.15/download", type = "tar.gz", - sha256 = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15", - strip_prefix = "hermit-abi-0.1.11", - build_file = Label("//proto/raze/remote:hermit-abi-0.1.11.BUILD"), + sha256 = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9", + strip_prefix = "hermit-abi-0.1.15", + build_file = Label("//proto/raze/remote:hermit-abi-0.1.15.BUILD"), ) maybe( @@ -243,12 +243,12 @@ def rules_rust_proto_fetch_remote_crates(): maybe( http_archive, - name = "rules_rust_proto__libc__0_2_69", - url = "https://crates.io/api/v1/crates/libc/0.2.69/download", + name = "rules_rust_proto__libc__0_2_77", + url = "https://crates.io/api/v1/crates/libc/0.2.77/download", type = "tar.gz", - sha256 = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005", - strip_prefix = "libc-0.2.69", - build_file = Label("//proto/raze/remote:libc-0.2.69.BUILD"), + sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235", + strip_prefix = "libc-0.2.77", + build_file = Label("//proto/raze/remote:libc-0.2.77.BUILD"), ) maybe( @@ -293,32 +293,32 @@ def rules_rust_proto_fetch_remote_crates(): maybe( http_archive, - name = "rules_rust_proto__memoffset__0_5_4", - url = "https://crates.io/api/v1/crates/memoffset/0.5.4/download", + name = "rules_rust_proto__memoffset__0_5_5", + url = "https://crates.io/api/v1/crates/memoffset/0.5.5/download", type = "tar.gz", - sha256 = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8", - strip_prefix = "memoffset-0.5.4", - build_file = Label("//proto/raze/remote:memoffset-0.5.4.BUILD"), + sha256 = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f", + strip_prefix = "memoffset-0.5.5", + build_file = Label("//proto/raze/remote:memoffset-0.5.5.BUILD"), ) maybe( http_archive, - name = "rules_rust_proto__mio__0_6_21", - url = "https://crates.io/api/v1/crates/mio/0.6.21/download", + name = "rules_rust_proto__mio__0_6_22", + url = "https://crates.io/api/v1/crates/mio/0.6.22/download", type = "tar.gz", - sha256 = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f", - strip_prefix = "mio-0.6.21", - build_file = Label("//proto/raze/remote:mio-0.6.21.BUILD"), + sha256 = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430", + strip_prefix = "mio-0.6.22", + build_file = Label("//proto/raze/remote:mio-0.6.22.BUILD"), ) 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", + name = "rules_rust_proto__mio_uds__0_6_8", + url = "https://crates.io/api/v1/crates/mio-uds/0.6.8/download", type = "tar.gz", - sha256 = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125", - strip_prefix = "mio-uds-0.6.7", - build_file = Label("//proto/raze/remote:mio-uds-0.6.7.BUILD"), + sha256 = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0", + strip_prefix = "mio-uds-0.6.8", + build_file = Label("//proto/raze/remote:mio-uds-0.6.8.BUILD"), ) maybe( @@ -333,12 +333,12 @@ def rules_rust_proto_fetch_remote_crates(): maybe( http_archive, - name = "rules_rust_proto__net2__0_2_33", - url = "https://crates.io/api/v1/crates/net2/0.2.33/download", + name = "rules_rust_proto__net2__0_2_35", + url = "https://crates.io/api/v1/crates/net2/0.2.35/download", type = "tar.gz", - sha256 = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88", - strip_prefix = "net2-0.2.33", - build_file = Label("//proto/raze/remote:net2-0.2.33.BUILD"), + sha256 = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853", + strip_prefix = "net2-0.2.35", + build_file = Label("//proto/raze/remote:net2-0.2.35.BUILD"), ) maybe( @@ -399,12 +399,12 @@ def rules_rust_proto_fetch_remote_crates(): 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", + name = "rules_rust_proto__redox_syscall__0_1_57", + url = "https://crates.io/api/v1/crates/redox_syscall/0.1.57/download", type = "tar.gz", - sha256 = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84", - strip_prefix = "redox_syscall-0.1.56", - build_file = Label("//proto/raze/remote:redox_syscall-0.1.56.BUILD"), + sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", + strip_prefix = "redox_syscall-0.1.57", + build_file = Label("//proto/raze/remote:redox_syscall-0.1.57.BUILD"), ) maybe( @@ -679,12 +679,12 @@ def rules_rust_proto_fetch_remote_crates(): 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", + name = "rules_rust_proto__tokio_uds__0_2_7", + url = "https://crates.io/api/v1/crates/tokio-uds/0.2.7/download", type = "tar.gz", - sha256 = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798", - strip_prefix = "tokio-uds-0.2.6", - build_file = Label("//proto/raze/remote:tokio-uds-0.2.6.BUILD"), + sha256 = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0", + strip_prefix = "tokio-uds-0.2.7", + build_file = Label("//proto/raze/remote:tokio-uds-0.2.7.BUILD"), ) maybe( @@ -719,12 +719,12 @@ def rules_rust_proto_fetch_remote_crates(): maybe( http_archive, - name = "rules_rust_proto__winapi__0_3_8", - url = "https://crates.io/api/v1/crates/winapi/0.3.8/download", + name = "rules_rust_proto__winapi__0_3_9", + url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", type = "tar.gz", - sha256 = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6", - strip_prefix = "winapi-0.3.8", - build_file = Label("//proto/raze/remote:winapi-0.3.8.BUILD"), + sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + strip_prefix = "winapi-0.3.9", + build_file = Label("//proto/raze/remote:winapi-0.3.9.BUILD"), ) maybe(