]> git.puffer.fish Git - matthieu/nova.git/commitdiff
add gateway, tar output, and many projects
authorMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Sat, 7 Aug 2021 07:47:38 +0000 (11:47 +0400)
committerMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Sat, 7 Aug 2021 07:47:38 +0000 (11:47 +0400)
349 files changed:
.github/workflows/bazel-build.yml
.vscode/settings.json
.vscode/tasks.json [deleted file]
BUILD
WORKSPACE
common/BUILD [new file with mode: 0644]
common/discord/types/payloads/gateway/BUILD.bazel [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/BUILD.bazel [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/heartbeat.go [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/identify.go [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/request-guild-members.go [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/resume.go [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/update-status.go [new file with mode: 0644]
common/discord/types/payloads/gateway/commands/update-voice-state.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/BUILD.bazel [new file with mode: 0644]
common/discord/types/payloads/gateway/events/channel-create.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/channel-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/channel-pins-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/channel-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-ban-add.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-ban-remove.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-create.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-emojis-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-integrations-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-member-add.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-member-remove.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-member-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-members-chunk.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-role-create.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-role-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-role-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/guild-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/hello.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/invalid-session.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/invite-create.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/invite-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-bulk-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-create.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-delete.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-reaction-add.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-reaction-remove-all.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-reaction-remove-emoji.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-reaction-remove.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/message-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/presence-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/ready.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/reconnect.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/resumed.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/typing-start.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/user-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/voice-server-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/voice-state-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/events/webhook-update.go [new file with mode: 0644]
common/discord/types/payloads/gateway/gateway-payload.go [new file with mode: 0644]
common/discord/types/structures/BUILD.bazel [new file with mode: 0644]
common/discord/types/structures/activity-assets.go [new file with mode: 0644]
common/discord/types/structures/activity-emoji.go [new file with mode: 0644]
common/discord/types/structures/activity-party.go [new file with mode: 0644]
common/discord/types/structures/activity-secrets.go [new file with mode: 0644]
common/discord/types/structures/activity-timestamps.go [new file with mode: 0644]
common/discord/types/structures/activity.go [new file with mode: 0644]
common/discord/types/structures/application.go [new file with mode: 0644]
common/discord/types/structures/attachment.go [new file with mode: 0644]
common/discord/types/structures/channel-mention.go [new file with mode: 0644]
common/discord/types/structures/channel.go [new file with mode: 0644]
common/discord/types/structures/client-status.go [new file with mode: 0644]
common/discord/types/structures/embed-author.go [new file with mode: 0644]
common/discord/types/structures/embed-field.go [new file with mode: 0644]
common/discord/types/structures/embed-footer.go [new file with mode: 0644]
common/discord/types/structures/embed-image.go [new file with mode: 0644]
common/discord/types/structures/embed-provider.go [new file with mode: 0644]
common/discord/types/structures/embed-thumbnail.go [new file with mode: 0644]
common/discord/types/structures/embed-video.go [new file with mode: 0644]
common/discord/types/structures/embed.go [new file with mode: 0644]
common/discord/types/structures/emoji.go [new file with mode: 0644]
common/discord/types/structures/guild-member.go [new file with mode: 0644]
common/discord/types/structures/guild.go [new file with mode: 0644]
common/discord/types/structures/identify-connection-properties.go [new file with mode: 0644]
common/discord/types/structures/invite.go [new file with mode: 0644]
common/discord/types/structures/message-activity.go [new file with mode: 0644]
common/discord/types/structures/message-application.go [new file with mode: 0644]
common/discord/types/structures/message-reference.go [new file with mode: 0644]
common/discord/types/structures/message.go [new file with mode: 0644]
common/discord/types/structures/overwrite.go [new file with mode: 0644]
common/discord/types/structures/presence.go [new file with mode: 0644]
common/discord/types/structures/reaction.go [new file with mode: 0644]
common/discord/types/structures/role-tags.go [new file with mode: 0644]
common/discord/types/structures/role.go [new file with mode: 0644]
common/discord/types/structures/sticker.go [new file with mode: 0644]
common/discord/types/structures/team-member.go [new file with mode: 0644]
common/discord/types/structures/team.go [new file with mode: 0644]
common/discord/types/structures/user.go [new file with mode: 0644]
common/discord/types/structures/voice-state.go [new file with mode: 0644]
common/discord/types/structures/welcome-screen-channel.go [new file with mode: 0644]
common/discord/types/structures/welcome-screen.go [new file with mode: 0644]
common/discord/types/types/BUILD.bazel [new file with mode: 0644]
common/discord/types/types/activity-flags.go [new file with mode: 0644]
common/discord/types/types/activity-types.go [new file with mode: 0644]
common/discord/types/types/channel-types.go [new file with mode: 0644]
common/discord/types/types/client-statuses.go [new file with mode: 0644]
common/discord/types/types/default-message-notification-levels.go [new file with mode: 0644]
common/discord/types/types/embed-types.go [new file with mode: 0644]
common/discord/types/types/explicit-content-filter-levels.go [new file with mode: 0644]
common/discord/types/types/gateway-close-event-codes.go [new file with mode: 0644]
common/discord/types/types/gateway-intents.go [new file with mode: 0644]
common/discord/types/types/gateway-op-codes.go [new file with mode: 0644]
common/discord/types/types/guild-features.go [new file with mode: 0644]
common/discord/types/types/membership-states.go [new file with mode: 0644]
common/discord/types/types/message-activity-types.go [new file with mode: 0644]
common/discord/types/types/message-flags.go [new file with mode: 0644]
common/discord/types/types/message-types.go [new file with mode: 0644]
common/discord/types/types/mfa-levels.go [new file with mode: 0644]
common/discord/types/types/premium-tiers.go [new file with mode: 0644]
common/discord/types/types/premium-types.go [new file with mode: 0644]
common/discord/types/types/statuses.go [new file with mode: 0644]
common/discord/types/types/sticker-types.go [new file with mode: 0644]
common/discord/types/types/system-channel-flags.go [new file with mode: 0644]
common/discord/types/types/target-user-types.go [new file with mode: 0644]
common/discord/types/types/update-status-statuses.go [new file with mode: 0644]
common/discord/types/types/user-flags.go [new file with mode: 0644]
common/discord/types/types/verification-levels.go [new file with mode: 0644]
common/discord/types/types/voice-gateway-close-event-codes.go [new file with mode: 0644]
common/discord/types/types/voice-gateway-op-codes.go [new file with mode: 0644]
common/gateway/BUILD.bazel [new file with mode: 0644]
common/gateway/compressor.go [new file with mode: 0644]
common/gateway/event-names.go [new file with mode: 0644]
common/gateway/transporter.go [new file with mode: 0644]
common/go.mod [new file with mode: 0644]
deps.bzl
gateway/BUILD [new file with mode: 0644]
gateway/BUILD.bazel [deleted file]
gateway/README.md [new file with mode: 0644]
gateway/go.mod
gateway/go.sum [new file with mode: 0644]
gateway/lib/BUILD.bazel [new file with mode: 0644]
gateway/lib/gateway/BUILD.bazel [new file with mode: 0644]
gateway/lib/gateway/compression/BUILD.bazel [new file with mode: 0644]
gateway/lib/gateway/compression/json-zlib.go [new file with mode: 0644]
gateway/lib/gateway/gateway.go [new file with mode: 0644]
gateway/lib/gateway/options.go [new file with mode: 0644]
gateway/lib/gateway/transporters/BUILD.bazel [new file with mode: 0644]
gateway/lib/gateway/transporters/rabbitmq.go [new file with mode: 0644]
gateway/lib/logger.go [new file with mode: 0644]
gateway/lib/prometheus.go [new file with mode: 0644]
gateway/main.go
novactl/BUILD.bazel
novactl/README.md [new file with mode: 0644]
novactl/main.go
novalet/BUILD.bazel [new file with mode: 0644]
novalet/go.mod [new file with mode: 0644]
novalet/main.go [new file with mode: 0644]
ratelimiter/BUILD [new file with mode: 0644]
ratelimiter/Cargo.toml [new file with mode: 0644]
ratelimiter/README.md [new file with mode: 0644]
ratelimiter/build.rs [new file with mode: 0644]
ratelimiter/cargo/BUILD.bazel [new file with mode: 0644]
ratelimiter/cargo/Cargo.raze.lock [new file with mode: 0644]
ratelimiter/cargo/crates.bzl [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel [new file with mode: 0644]
ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel [new file with mode: 0644]
ratelimiter/lib/lib.rs [new file with mode: 0644]
ratelimiter/proto/BUILD.bazel [new file with mode: 0644]
ratelimiter/proto/nova.ratelimit.v1.proto [new file with mode: 0644]
ratelimiter/src/main.rs [new file with mode: 0644]
rest-ratelimiter/BUILD [deleted file]
rest-ratelimiter/Cargo.toml [deleted file]
rest-ratelimiter/build.rs [deleted file]
rest-ratelimiter/cargo/BUILD.bazel [deleted file]
rest-ratelimiter/cargo/Cargo.raze.lock [deleted file]
rest-ratelimiter/cargo/crates.bzl [deleted file]
rest-ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel [deleted file]
rest-ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel [deleted file]
rest-ratelimiter/proto/BUILD.bazel [deleted file]
rest-ratelimiter/proto/nova.ratelimit.v1.proto [deleted file]
rest-ratelimiter/src/main.rs [deleted file]
webhook/BUILD.bazel [new file with mode: 0644]
webhook/go.mod [new file with mode: 0644]
webhook/main.go [new file with mode: 0644]

index 37f9202732cfc474ac5393bb112d797f23e8bd1a..95c7c1d683515d967ffe0aa44033f8214f1da092 100644 (file)
@@ -42,9 +42,10 @@ jobs:
       - name: Execute build script\r
         run: |\r
            sudo apt-get install build-essential -y\r
-           bazel build //...\r
+           bazel build //:package\r
+\r
       - name: Bazel artifacts\r
         uses: actions/upload-artifact@v2\r
         with:\r
-          name: bazel-artifacts\r
-          path: bazel-bin/\r
+          name: Executables\r
+          path: bazel-bin/package.tar.Gz\r
index ebd1bbc4a4f079a4d9141bcac976e1ce6495df24..e7940f33c6123459ff3a51a50f23982bb9bee839 100644 (file)
@@ -5,6 +5,6 @@
         "**/.hg": true,\r
         "**/CVS": true,\r
         "**/.DS_Store": true,\r
-        "**/bazel-*": true\r
+        "**/bazel-*": false\r
     }\r
 }
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
deleted file mode 100644 (file)
index ed04ad5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-{\r
-    "version": "2.0.0",\r
-    "tasks": [\r
-        {\r
-            "label": "Build",\r
-            "isBackground": true,\r
-            "command": [\r
-                "bash"\r
-            ],\r
-            "args": [\r
-                "-c",\r
-                "bazel build ..."\r
-            ]\r
-        },\r
-        {\r
-            "label": "Test",\r
-            "isBackground": true,\r
-            "command": [\r
-                "bash"\r
-            ],\r
-            "args": [\r
-                "-c",\r
-                "bazel -- test ..."\r
-            ],\r
-            "problemMatcher": []\r
-        }\r
-    ]\r
-}
\ No newline at end of file
diff --git a/BUILD b/BUILD
index 1d0f4ed053e97cbef082bc452c742b2b43c32838..410f10e039292e6e2046e5fb53e222693dc76bb3 100644 (file)
--- a/BUILD
+++ b/BUILD
@@ -1,4 +1,15 @@
 load("@bazel_gazelle//:def.bzl", "gazelle")
+load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
 
 # gazelle:prefix github.com/discordnova/nova
 gazelle(name = "gazelle")
+
+pkg_tar(
+    name = "package",
+    extension = "tar.gz",
+    deps = [
+        "//gateway:gateway_pkg",
+        "//novactl:novactl_pkg",
+        "//ratelimiter:ratelimiter_pkg",
+    ],
+)
index 887413218f57ca019325576088036ec31608aa47..921c27665397156d446f43ae64919d250b5c0555 100644 (file)
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,5 +1,6 @@
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
+# Used to compile go files
 http_archive(
     name = "io_bazel_rules_go",
     sha256 = "8e968b5fcea1d2d64071872b12737bbb5514524ee5f0a4f54f5920266c261acb",
@@ -9,6 +10,7 @@ http_archive(
     ],
 )
 
+# Used to generate the go dependencies & build files
 http_archive(
     name = "bazel_gazelle",
     sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f",
@@ -18,6 +20,7 @@ http_archive(
     ],
 )
 
+# Used to compile Rust code
 http_archive(
     name = "rules_rust",
     sha256 = "accb5a89cbe63d55dcdae85938e56ff3aa56f21eb847ed826a28a83db8500ae6",
@@ -28,6 +31,7 @@ http_archive(
     ],
 )
 
+# Used to generate rust BUILD files
 http_archive(
     name = "cargo_raze",
     sha256 = "c664e258ea79e7e4ec2f2b57bca8b1c37f11c8d5748e02b8224810da969eb681",
@@ -35,6 +39,7 @@ http_archive(
     url = "https://github.com/google/cargo-raze/archive/v0.11.0.tar.gz",
 )
 
+# Used to generate the protobuf files for go
 http_archive(
     name = "com_google_protobuf",
     sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
@@ -63,8 +68,8 @@ go_repository(
     name = "org_golang_google_grpc",
     build_file_proto_mode = "disable",
     importpath = "google.golang.org/grpc",
-    sum = "h1:/9BgsAsa5nWe26HqOlvlgJnqBuktYOLCgjCPqsa56W0=",
-    version = "v1.38.0",
+    sum = "h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg=",
+    version = "v1.26.0",
 )
 
 load("//:deps.bzl", "go_dependencies")
@@ -84,6 +89,7 @@ load("@rules_rust//rust:repositories.bzl", "rust_repositories")
 
 rust_repositories()
 
-load("//rest-ratelimiter/cargo:crates.bzl", "raze_fetch_remote_crates")
+# load for the project
+load("//ratelimiter/cargo:crates.bzl", "raze_fetch_remote_crates")
 
 raze_fetch_remote_crates()
diff --git a/common/BUILD b/common/BUILD
new file mode 100644 (file)
index 0000000..b33e8ed
--- /dev/null
@@ -0,0 +1,4 @@
+package_group(
+    "common",
+    ["//common/..."],
+)
diff --git a/common/discord/types/payloads/gateway/BUILD.bazel b/common/discord/types/payloads/gateway/BUILD.bazel
new file mode 100644 (file)
index 0000000..ce76e4a
--- /dev/null
@@ -0,0 +1,9 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "gateway",
+    srcs = ["gateway-payload.go"],
+    importpath = "github.com/discordnova/nova/common/discord/types/payloads/gateway",
+    visibility = ["//visibility:public"],
+    deps = ["//common/discord/types/types"],
+)
diff --git a/common/discord/types/payloads/gateway/commands/BUILD.bazel b/common/discord/types/payloads/gateway/commands/BUILD.bazel
new file mode 100644 (file)
index 0000000..51dfe32
--- /dev/null
@@ -0,0 +1,19 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "commands",
+    srcs = [
+        "heartbeat.go",
+        "identify.go",
+        "request-guild-members.go",
+        "resume.go",
+        "update-status.go",
+        "update-voice-state.go",
+    ],
+    importpath = "github.com/discordnova/nova/common/discord/types/payloads/gateway/commands",
+    visibility = ["//visibility:public"],
+    deps = [
+        "//common/discord/types/structures",
+        "//common/discord/types/types",
+    ],
+)
diff --git a/common/discord/types/payloads/gateway/commands/heartbeat.go b/common/discord/types/payloads/gateway/commands/heartbeat.go
new file mode 100644 (file)
index 0000000..ab6d810
--- /dev/null
@@ -0,0 +1,6 @@
+package commands
+
+// GatewayCommandHeartbeat is used  to maintain an active gateway connection.
+// Must be sent every heartbeat_interval milliseconds after the Opcode 10 Hello payload is received.
+// The inner d key is the last sequence number—s—received by the client. If you have not yet received one, send null.
+type GatewayCommandHeartbeat int
diff --git a/common/discord/types/payloads/gateway/commands/identify.go b/common/discord/types/payloads/gateway/commands/identify.go
new file mode 100644 (file)
index 0000000..b5cee3e
--- /dev/null
@@ -0,0 +1,30 @@
+package commands
+
+import (
+       "github.com/discordnova/nova/common/discord/types/structures"
+       "github.com/discordnova/nova/common/discord/types/types"
+)
+
+// GatewayCommandIdentifyPayload is used to trigger the initial handshake with the gateway.
+type GatewayCommandIdentifyPayload struct {
+       // authentication token
+       Token string `json:"token"`
+       // connection properties
+       Properties structures.IdentifyConnectionProperties `json:"properties"`
+       // whether this connection supports compression of packets
+       // Default to false
+       Compress bool `json:"compress,omitempty"`
+       // value between 50 and 250, total number of members where the gateway will stop sending offline members in the
+       // guild member list
+       // Default to 50
+       LargeThreshold int `json:"large_threshold,omitempty"`
+       // used for Guild Sharding. array of two integers (shard_id, num_shards)
+       Shard []int `json:"shard,omitempty"`
+       // presence structure for initial presence information
+       Presence GatewayCommandUpdateStatusPayload `json:"presence,omitempty"`
+       // enables dispatching of guild subscription events (presence and typing events)
+       // Default to true
+       GuildSubscriptions bool `json:"guild_subscriptions,omitempty"`
+       // the Gateway Intents you wish to receive
+       Intents types.GatewayIntents `json:"intents"`
+}
diff --git a/common/discord/types/payloads/gateway/commands/request-guild-members.go b/common/discord/types/payloads/gateway/commands/request-guild-members.go
new file mode 100644 (file)
index 0000000..5ede0d9
--- /dev/null
@@ -0,0 +1,35 @@
+package commands
+
+// GatewayCommandRequestGuildMembersPayload is used o request all members for a guild or a list of guilds.
+// When initially connecting,the gateway will only send offline members if a guild has less than the large_threshold
+// members (value in the Gateway Identify).
+// If a client wishes to receive additional members, they need to explicitly request them via this operation.
+// The server will send Guild Members Chunk events in response with up to 1000 members per chunk until all members
+// that match the request have been sent.
+// Due to our privacy and infrastructural concerns with this feature, there are some limitations that apply:
+// GUILD_PRESENCES intent is required to set presences = true. Otherwise, it will always be false
+// GUILD_MEMBERS intent is required to request the entire member list—(query=‘’, limit=0<=n)
+// You will be limited to requesting 1 guild_id per request
+// Requesting a prefix (query parameter) will return a maximum of 100 members
+// Requesting user_ids will continue to be limited to returning 100 members
+type GatewayCommandRequestGuildMembersPayload struct {
+       // id of the guild to get members for
+       // Required: true
+       GuildID string `json:"guild_id"`
+       // string that username starts with, or an empty string to return all members
+       // Required: one of query or user_ids
+       Query string `json:"query,omitempty"`
+       // maximum number of members to send matching the query; a limit of 0 can be used with an empty string query to return
+       // all members
+       // Required: true when specifying query
+       Limit int `json:"limit,omitempty"`
+       // used to specify if we want the presences of the matched members
+       // Required: false
+       Presences bool `json:"presences,omitempty"`
+       // used to specify which users you wish to fetch
+       // Required: one of query or user_ids
+       UserIDs string `json:"user_ids,omitempty"`
+       //      nonce to identify the Guild Members Chunk response
+       // Required: false
+       Nonce string `json:"nonce,omitempty"`
+}
diff --git a/common/discord/types/payloads/gateway/commands/resume.go b/common/discord/types/payloads/gateway/commands/resume.go
new file mode 100644 (file)
index 0000000..54abbff
--- /dev/null
@@ -0,0 +1,11 @@
+package commands
+
+// GatewayCommandResumePayload is used to replay missed events when a disconnected client resumes
+type GatewayCommandResumePayload struct {
+       //      session token
+       Token string `json:"token"`
+       //      session id
+       SessionID string `json:"session_id"`
+       // last sequence number received
+       Seq int64 `json:"seq"`
+}
diff --git a/common/discord/types/payloads/gateway/commands/update-status.go b/common/discord/types/payloads/gateway/commands/update-status.go
new file mode 100644 (file)
index 0000000..1343243
--- /dev/null
@@ -0,0 +1,18 @@
+package commands
+
+import (
+       "github.com/discordnova/nova/common/discord/types/structures"
+       "github.com/discordnova/nova/common/discord/types/types"
+)
+
+// GatewayCommandUpdateStatusPayload is sent by the client to indicate a presence or status update.
+type GatewayCommandUpdateStatusPayload struct {
+       //      unix time (in milliseconds) of when the client went idle, or null if the client is not idle
+       Since int `json:"since,omitempty"`
+       // null, or the user's activities
+       Activities []structures.Activity `json:"activities,omitempty"`
+       // the user's new status
+       Status types.UpdateStatusStatuses `json:"status"`
+       // whether or not the client is afk
+       AFK bool `json:"afk"`
+}
diff --git a/common/discord/types/payloads/gateway/commands/update-voice-state.go b/common/discord/types/payloads/gateway/commands/update-voice-state.go
new file mode 100644 (file)
index 0000000..7becbcf
--- /dev/null
@@ -0,0 +1,13 @@
+package commands
+
+// GatewayCommandUpdateVoiceStatePayload is sent when a client wants to join, move, or disconnect from a voice channel.
+type GatewayCommandUpdateVoiceStatePayload struct {
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // id of the voice channel client wants to join (null if disconnecting)
+       ChannelID string `json:"channel_id,omitempty"`
+       // is the client muted
+       SelfMute bool `json:"self_mute"`
+       // is the client deafened
+       SelfDeaf bool `json:"self_deaf"`
+}
diff --git a/common/discord/types/payloads/gateway/events/BUILD.bazel b/common/discord/types/payloads/gateway/events/BUILD.bazel
new file mode 100644 (file)
index 0000000..839dc6a
--- /dev/null
@@ -0,0 +1,52 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "events",
+    srcs = [
+        "channel-create.go",
+        "channel-delete.go",
+        "channel-pins-update.go",
+        "channel-update.go",
+        "guild-ban-add.go",
+        "guild-ban-remove.go",
+        "guild-create.go",
+        "guild-delete.go",
+        "guild-emojis-update.go",
+        "guild-integrations-update.go",
+        "guild-member-add.go",
+        "guild-member-remove.go",
+        "guild-member-update.go",
+        "guild-members-chunk.go",
+        "guild-role-create.go",
+        "guild-role-delete.go",
+        "guild-role-update.go",
+        "guild-update.go",
+        "hello.go",
+        "invalid-session.go",
+        "invite-create.go",
+        "invite-delete.go",
+        "message-bulk-delete.go",
+        "message-create.go",
+        "message-delete.go",
+        "message-reaction-add.go",
+        "message-reaction-remove.go",
+        "message-reaction-remove-all.go",
+        "message-reaction-remove-emoji.go",
+        "message-update.go",
+        "presence-update.go",
+        "ready.go",
+        "reconnect.go",
+        "resumed.go",
+        "typing-start.go",
+        "user-update.go",
+        "voice-server-update.go",
+        "voice-state-update.go",
+        "webhook-update.go",
+    ],
+    importpath = "github.com/discordnova/nova/common/discord/types/payloads/gateway/events",
+    visibility = ["//visibility:public"],
+    deps = [
+        "//common/discord/types/structures",
+        "//common/discord/types/types",
+    ],
+)
diff --git a/common/discord/types/payloads/gateway/events/channel-create.go b/common/discord/types/payloads/gateway/events/channel-create.go
new file mode 100644 (file)
index 0000000..f32ff3a
--- /dev/null
@@ -0,0 +1,7 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventChannelCreatePayload is sent when a new guild channel is created, relevant to the current user.
+// The inner payload is a channel object.
+type GatewayEventChannelCreatePayload structures.Channel
diff --git a/common/discord/types/payloads/gateway/events/channel-delete.go b/common/discord/types/payloads/gateway/events/channel-delete.go
new file mode 100644 (file)
index 0000000..cecd1a8
--- /dev/null
@@ -0,0 +1,7 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventChannelDeletePayload is sent when a channel relevant to the current user is deleted.
+// The inner payload is a channel object.
+type GatewayEventChannelDeletePayload structures.Channel
diff --git a/common/discord/types/payloads/gateway/events/channel-pins-update.go b/common/discord/types/payloads/gateway/events/channel-pins-update.go
new file mode 100644 (file)
index 0000000..451130b
--- /dev/null
@@ -0,0 +1,12 @@
+package events
+
+// GatewayEventChannelPinsUpdatePayload is sent when a message is pinned or unpinned in a text channel.
+// This is not sent when a pinned message is deleted.
+type GatewayEventChannelPinsUpdatePayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the time at which the most recent pinned message was pinned
+       LastPinTimestamp string `json:"last_pin_timestamp,omitempty"`
+}
diff --git a/common/discord/types/payloads/gateway/events/channel-update.go b/common/discord/types/payloads/gateway/events/channel-update.go
new file mode 100644 (file)
index 0000000..28dd65c
--- /dev/null
@@ -0,0 +1,8 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventChannelUpdatePayload is sent when a channel is updated. The inner payload is a channel object.
+// This is not sent when the field last_message_id is altered.
+// To keep track of the last_message_id changes, we should listen for Message Create events.
+type GatewayEventChannelUpdatePayload structures.Channel
diff --git a/common/discord/types/payloads/gateway/events/guild-ban-add.go b/common/discord/types/payloads/gateway/events/guild-ban-add.go
new file mode 100644 (file)
index 0000000..14625e9
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildBanAddPayload is sent when a user is banned from a guild.
+type GatewayEventGuildBanAddPayload struct {
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // the banned user
+       User structures.User `json:"user"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-ban-remove.go b/common/discord/types/payloads/gateway/events/guild-ban-remove.go
new file mode 100644 (file)
index 0000000..c58029a
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildBanRemovePayload is sent when a user is unbanned from a guild.
+type GatewayEventGuildBanRemovePayload struct {
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // the unbanned user
+       User structures.User `json:"user"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-create.go b/common/discord/types/payloads/gateway/events/guild-create.go
new file mode 100644 (file)
index 0000000..1a365ac
--- /dev/null
@@ -0,0 +1,12 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildCreatePayload can be sent in three different scenarios:
+// When a user is initially connecting,
+// to lazily load and back fill information for all unavailable guilds sent in the Ready event.
+// Guilds that are unavailable due to an outage will send a Guild Delete event.
+// When a Guild becomes available again to the client.
+// When the current user joins a new Guild.
+// The inner payload is a guild object, with all the extra fields specified. (Nothing on the doc)
+type GatewayEventGuildCreatePayload structures.Guild
diff --git a/common/discord/types/payloads/gateway/events/guild-delete.go b/common/discord/types/payloads/gateway/events/guild-delete.go
new file mode 100644 (file)
index 0000000..678d68c
--- /dev/null
@@ -0,0 +1,9 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildDeletePayload is sent when a guild becomes or was already unavailable due to an outage,
+// or when the user leaves or is removed from a guild.
+// The inner payload is an unavailable guild object.
+// If the unavailable field is not set, the user was removed from the guild.
+type GatewayEventGuildDeletePayload structures.Guild
diff --git a/common/discord/types/payloads/gateway/events/guild-emojis-update.go b/common/discord/types/payloads/gateway/events/guild-emojis-update.go
new file mode 100644 (file)
index 0000000..9b07ab6
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildEmojisUpdatePayload is sent when when a guild's emojis have been updated.
+type GatewayEventGuildEmojisUpdatePayload struct {
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // array of emojis
+       Emojis []structures.Emoji `json:"emojis"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-integrations-update.go b/common/discord/types/payloads/gateway/events/guild-integrations-update.go
new file mode 100644 (file)
index 0000000..a92417a
--- /dev/null
@@ -0,0 +1,7 @@
+package events
+
+// GatewayEventGuildIntegrationsUpdatePayload is sent when a guild integration is updated.
+type GatewayEventGuildIntegrationsUpdatePayload struct {
+       // id of the guild whose integrations were updated
+       GuildID string `json:"guild_id"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-member-add.go b/common/discord/types/payloads/gateway/events/guild-member-add.go
new file mode 100644 (file)
index 0000000..e27ba84
--- /dev/null
@@ -0,0 +1,12 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildMemberAddPayload is sent when a new user joins a guild.
+// The inner payload is a guild member object with an extra guild_id key
+// If using Gateway Intents, the GUILD_MEMBERS intent will be required to receive this event.
+type GatewayEventGuildMemberAddPayload struct {
+       structures.GuildMember
+       // id of the guild
+       GuildID string `json:"guild_id"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-member-remove.go b/common/discord/types/payloads/gateway/events/guild-member-remove.go
new file mode 100644 (file)
index 0000000..fae20dc
--- /dev/null
@@ -0,0 +1,12 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildMemberRemovePayload is sent when a user is removed from a guild (leave/kick/ban).
+// If using Gateway Intents, the GUILD_MEMBERS intent will be required to receive this event.
+type GatewayEventGuildMemberRemovePayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+       // the user who was removed
+       User structures.User `json:"user"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-member-update.go b/common/discord/types/payloads/gateway/events/guild-member-update.go
new file mode 100644 (file)
index 0000000..35b949a
--- /dev/null
@@ -0,0 +1,23 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildMemberUpdatePayload is sent when a guild member is updated.
+// This will also fire when the user object of a guild member changes.
+// If using Gateway Intents, the GUILD_MEMBERS intent will be required to receive this event.
+type GatewayEventGuildMemberUpdatePayload struct {
+       //      the id of the guild
+       GuildID string `json:"guild_id"`
+       // user role ids
+       Roles []string `json:"roles"`
+       // the user
+       User structures.User `json:"user"`
+       // nickname of the user in the guild
+       Nick string `json:"nick,omitempty"`
+       // when the user joined the guild
+       JoinedAt string `json:"joined_at"`
+       // when the user starting boosting the guild
+       PremiumSince string `json:"premium_since,omitempty"`
+       // whether the user has not yet passed the guild's Membership Screening requirements
+       Pending bool `json:"pending"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-members-chunk.go b/common/discord/types/payloads/gateway/events/guild-members-chunk.go
new file mode 100644 (file)
index 0000000..be2f7f1
--- /dev/null
@@ -0,0 +1,22 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildMembersChunkPayload is sent in response to Guild Request Members.
+// You can use the chunk_index and chunk_count to calculate how many chunks are left for your request.
+type GatewayEventGuildMembersChunkPayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+       // set of guild members
+       Members []structures.GuildMember `json:"members"`
+       // the chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count)
+       ChunkIndex int `json:"chunk_index"`
+       // the total number of expected chunks for this response
+       ChunkCount int `json:"chunk_count"`
+       // if passing an invalid id to REQUEST_GUILD_MEMBERS, it will be returned here
+       NotFound []string `json:"not_found,omitempty"`
+       // if passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be here
+       Presences []structures.Presence `json:"presences"`
+       //      the nonce used in the Guild Members Request
+       Nonce string `json:"nonce"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-role-create.go b/common/discord/types/payloads/gateway/events/guild-role-create.go
new file mode 100644 (file)
index 0000000..6ae8a48
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildRoleCreatePayload is sent when a guild role is created.
+type GatewayEventGuildRoleCreatePayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+       // the role created
+       Role structures.Role `json:"role"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-role-delete.go b/common/discord/types/payloads/gateway/events/guild-role-delete.go
new file mode 100644 (file)
index 0000000..9eb144a
--- /dev/null
@@ -0,0 +1,9 @@
+package events
+
+// GatewayEventGuildRoleDeletePayload is sent when a guild role is updated.
+type GatewayEventGuildRoleDeletePayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+       // id of the role
+       RoleID string `json:"role_id"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-role-update.go b/common/discord/types/payloads/gateway/events/guild-role-update.go
new file mode 100644 (file)
index 0000000..21bb25a
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildRoleUpdatePayload is sent when a guild role is updated.
+type GatewayEventGuildRoleUpdatePayload struct {
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+       // the role updated
+       Role structures.Role `json:"role"`
+}
diff --git a/common/discord/types/payloads/gateway/events/guild-update.go b/common/discord/types/payloads/gateway/events/guild-update.go
new file mode 100644 (file)
index 0000000..cc127ba
--- /dev/null
@@ -0,0 +1,6 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventGuildUpdatePayload is sent when a guild is updated. The inner payload is a guild object.
+type GatewayEventGuildUpdatePayload structures.Guild
diff --git a/common/discord/types/payloads/gateway/events/hello.go b/common/discord/types/payloads/gateway/events/hello.go
new file mode 100644 (file)
index 0000000..e30ae0e
--- /dev/null
@@ -0,0 +1,9 @@
+package events
+
+// GatewayEventHelloPayload is sent on connection to the websocket.
+// Defines the heartbeat interval that the client should heartbeat to.
+type GatewayEventHelloPayload struct {
+       // HeartbeatInterval is the interval (in milliseconds)
+       // the client should heartbeat with
+       HeartbeatInterval int `json:"heartbeat_interval"`
+}
diff --git a/common/discord/types/payloads/gateway/events/invalid-session.go b/common/discord/types/payloads/gateway/events/invalid-session.go
new file mode 100644 (file)
index 0000000..fd11f03
--- /dev/null
@@ -0,0 +1,8 @@
+package events
+
+// GatewayEventInvalidSessionPayload is sent to indicate one of at least three different situations:the gateway could
+// not initialize a session after receiving an Opcode 2 Identify the gateway could not resume un anterior session
+// after receiving an Opcode 6 Resume the gateway has invalidated an active session and is requesting client
+// actionThe inner d key is a boolean that indicates whether the session may be resumable.
+// See Connecting and Resuming for more information.
+type GatewayEventInvalidSessionPayload bool
diff --git a/common/discord/types/payloads/gateway/events/invite-create.go b/common/discord/types/payloads/gateway/events/invite-create.go
new file mode 100644 (file)
index 0000000..be14458
--- /dev/null
@@ -0,0 +1,32 @@
+package events
+
+import (
+       "github.com/discordnova/nova/common/discord/types/structures"
+       "github.com/discordnova/nova/common/discord/types/types"
+)
+
+// GatewayEventInviteCreatePayload is sent when a new invite to a channel is created.
+type GatewayEventInviteCreatePayload struct {
+       // the channel the invite is for
+       ChannelID string `json:"channel_id"`
+       // the unique invite code
+       Code string `json:"code"`
+       // the time at which the invite was created
+       CreatedAt string `json:"created_at"`
+       // the guild of the invite
+       GuildID string `json:"guild_id,omitempty"`
+       // the user that created the invite
+       Inviter structures.User `json:"inviter,omitempty"`
+       // how long the invite is valid for (in seconds)
+       MaxAge int `json:"max_age"`
+       // the maximum number of times the invite can be used
+       MaxUses int `json:"max_uses"`
+       // the target user for this invite
+       TargetUser structures.User `json:"target_user,omitempty"`
+       // the type of user target for this invite
+       TargetUserType types.TargetUserTypes `json:"target_user_type"`
+       // whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)
+       Temporary bool `json:"temporary"`
+       // how many times the invite has been used (always will be 0)
+       Uses int `json:"uses"`
+}
diff --git a/common/discord/types/payloads/gateway/events/invite-delete.go b/common/discord/types/payloads/gateway/events/invite-delete.go
new file mode 100644 (file)
index 0000000..a4ff655
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+// GatewayEventInviteDeletePayload is sent when an invite is deleted.
+type GatewayEventInviteDeletePayload struct {
+       // the channel of the invite
+       ChannelID string `json:"channel_id"`
+       // the guild of the invite
+       GuildID string `json:"guild_id"`
+       // the unique invite code
+       Code string `json:"code"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-bulk-delete.go b/common/discord/types/payloads/gateway/events/message-bulk-delete.go
new file mode 100644 (file)
index 0000000..87ef5a6
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+// GatewayEventMessageBulkDeletePayload is sent when multiple messages are deleted at once.
+type GatewayEventMessageBulkDeletePayload struct {
+       //      the ids of the messages
+       IDs []string `json:"ids"`
+       //      the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-create.go b/common/discord/types/payloads/gateway/events/message-create.go
new file mode 100644 (file)
index 0000000..d97952c
--- /dev/null
@@ -0,0 +1,6 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventMessageCreatePayload is sent when a message is created. The inner payload is a message object.
+type GatewayEventMessageCreatePayload structures.Message
diff --git a/common/discord/types/payloads/gateway/events/message-delete.go b/common/discord/types/payloads/gateway/events/message-delete.go
new file mode 100644 (file)
index 0000000..9d13a7d
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+// GatewayEventMessageDeletePayload is sent when a message is deleted.
+type GatewayEventMessageDeletePayload struct {
+       // the id of the message
+       ID string `json:"id"`
+       //      the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-reaction-add.go b/common/discord/types/payloads/gateway/events/message-reaction-add.go
new file mode 100644 (file)
index 0000000..682a74a
--- /dev/null
@@ -0,0 +1,19 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventMessageReactionAdd is sent when a user adds a reaction to a message.
+type GatewayEventMessageReactionAdd struct {
+       // the id of the user
+       UserID string `json:"user_id"`
+       // the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the message
+       MessageID string `json:"message_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // the member who reacted if this happened in a guild
+       Member structures.GuildMember `json:"member"`
+       // the emoji used to react
+       Emoji structures.Emoji `json:"emoji"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-reaction-remove-all.go b/common/discord/types/payloads/gateway/events/message-reaction-remove-all.go
new file mode 100644 (file)
index 0000000..551a253
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+// GatewayEventMessageReactionRemoveAll is sent when a user explicitly removes all reactions from a message.
+type GatewayEventMessageReactionRemoveAll struct {
+       // the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the message
+       MessageID string `json:"message_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-reaction-remove-emoji.go b/common/discord/types/payloads/gateway/events/message-reaction-remove-emoji.go
new file mode 100644 (file)
index 0000000..b720326
--- /dev/null
@@ -0,0 +1,16 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventMessageReactionRemoveEmojiPayload is sent when a bot removes all instances of a given emoji from the
+// reactions of a message.
+type GatewayEventMessageReactionRemoveEmojiPayload struct {
+       // the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // the id of the message
+       MessageID string `json:"message_id"`
+       // the emoji that was removed
+       Emoji structures.Emoji `json:"emoji"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-reaction-remove.go b/common/discord/types/payloads/gateway/events/message-reaction-remove.go
new file mode 100644 (file)
index 0000000..51e6034
--- /dev/null
@@ -0,0 +1,17 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventMessageReactionRemove is sent when a user removes a reaction from a message.
+type GatewayEventMessageReactionRemove struct {
+       // the id of the user
+       UserID string `json:"user_id"`
+       // the id of the channel
+       ChannelID string `json:"channel_id"`
+       // the id of the message
+       MessageID string `json:"message_id"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // the emoji used to react
+       Emoji structures.Emoji `json:"emoji"`
+}
diff --git a/common/discord/types/payloads/gateway/events/message-update.go b/common/discord/types/payloads/gateway/events/message-update.go
new file mode 100644 (file)
index 0000000..4ae3cee
--- /dev/null
@@ -0,0 +1,8 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventMessageUpdatePayload is sent when a message is updated. The inner payload is a message object.
+// Unlike creates, message updates may contain only a subset of the full message object payload
+// (but will always contain an id and channel_id).
+type GatewayEventMessageUpdatePayload structures.Message
diff --git a/common/discord/types/payloads/gateway/events/presence-update.go b/common/discord/types/payloads/gateway/events/presence-update.go
new file mode 100644 (file)
index 0000000..96d9e01
--- /dev/null
@@ -0,0 +1,26 @@
+package events
+
+import (
+       "github.com/discordnova/nova/common/discord/types/structures"
+       "github.com/discordnova/nova/common/discord/types/types"
+)
+
+// GatewayEventPresenceUpdatePayload is sent when a user's presence or info, such as name or avatar, is updated.
+// If you are using Gateway Intents, you must specify the GUILD_PRESENCES intent in order to receive
+// Presence Update events
+// The user object within this event can be partial, the only field which must be sent is the id field,
+// everything else is optional. Along with this limitation, no fields are required,
+// and the types of the fields are not validated.
+// Your client should expect any combination of fields and types within this event.
+type GatewayEventPresenceUpdatePayload struct {
+       // the user presence is being updated for
+       User structures.User `json:"user"`
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // either "idle", "dnd", "online", or "offline"
+       Status types.Statuses `json:"status"`
+       // user's current activities
+       Activities []structures.Activity `json:"activities"`
+       // user's platform-dependent status
+       ClientStatus types.ClientStatuses `json:"client_status"`
+}
diff --git a/common/discord/types/payloads/gateway/events/ready.go b/common/discord/types/payloads/gateway/events/ready.go
new file mode 100644 (file)
index 0000000..34b7bc0
--- /dev/null
@@ -0,0 +1,27 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventReadyPayload is the ready event is dispatched when a client has
+// completed the initial handshake with the gateway (for new sessions).
+// The ready event can be the largest and most complex event the gateway
+// will send, as it contains all the state required for a client
+// to begin interacting with the rest of the platform.
+type GatewayEventReadyPayload struct {
+       // V is the gateway version
+       V int `json:"v"`
+       // User is information about the user including email
+       User structures.User `json:"user"`
+       // PrivateChannels is an empty array
+       PrivateChannels []string `json:"private_channels"`
+       // Guilds are the guilds the user is in
+       // Note: they are only sent as unavailable guilds
+       Guilds []structures.Guild `json:"guilds"`
+       // SessionID is used for resuming connections
+       SessionID string `json:"session_id"`
+       // Shard is the shard information associated with the session, if sent
+       // when identifying. This is an array of two integers (shard_id, num_shards)
+       Shard []int `json:"shard,omitempty"`
+       // contains id and flags
+       Application structures.Application `json:"application"`
+}
diff --git a/common/discord/types/payloads/gateway/events/reconnect.go b/common/discord/types/payloads/gateway/events/reconnect.go
new file mode 100644 (file)
index 0000000..03e36b4
--- /dev/null
@@ -0,0 +1,5 @@
+package events
+
+// GatewayEventReconnectPayload is the payload sent when receiving a Reconnect event
+// There is nothing...
+type GatewayEventReconnectPayload struct{}
diff --git a/common/discord/types/payloads/gateway/events/resumed.go b/common/discord/types/payloads/gateway/events/resumed.go
new file mode 100644 (file)
index 0000000..ad9018f
--- /dev/null
@@ -0,0 +1,5 @@
+package events
+
+// GatewayEventResumedPayload is the payload sent when receiving a Resumed event
+// There is nothing...
+type GatewayEventResumedPayload struct{}
diff --git a/common/discord/types/payloads/gateway/events/typing-start.go b/common/discord/types/payloads/gateway/events/typing-start.go
new file mode 100644 (file)
index 0000000..a892071
--- /dev/null
@@ -0,0 +1,17 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventTypingStartPayload is sent when a user starts typing in a channel.
+type GatewayEventTypingStartPayload struct {
+       // id of the channel
+       ChannelID string `json:"channel_id"`
+       // id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // id of the user
+       UserID string `json:"user_id"`
+       // unix time (in seconds) of when the user started typing
+       Timestamp int `json:"timestamp"`
+       // the member who started typing if this happened in a guild
+       Member structures.GuildMember `json:"member,omitempty"`
+}
diff --git a/common/discord/types/payloads/gateway/events/user-update.go b/common/discord/types/payloads/gateway/events/user-update.go
new file mode 100644 (file)
index 0000000..554c4a9
--- /dev/null
@@ -0,0 +1,6 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventUserUpdatePayload is sent when properties about the user change.
+type GatewayEventUserUpdatePayload structures.User
diff --git a/common/discord/types/payloads/gateway/events/voice-server-update.go b/common/discord/types/payloads/gateway/events/voice-server-update.go
new file mode 100644 (file)
index 0000000..8de2000
--- /dev/null
@@ -0,0 +1,11 @@
+package events
+
+// GatewayEventVoiceServerUpdate is sent when a guild's voice server is updated.
+type GatewayEventVoiceServerUpdate struct {
+       // voice connection token
+       Token string `json:"token"`
+       // the guild this voice server update is for
+       GuildID string `json:"guild_id"`
+       // the voice server host
+       Endpoint string `json:"endpoint"`
+}
diff --git a/common/discord/types/payloads/gateway/events/voice-state-update.go b/common/discord/types/payloads/gateway/events/voice-state-update.go
new file mode 100644 (file)
index 0000000..afa2dac
--- /dev/null
@@ -0,0 +1,6 @@
+package events
+
+import "github.com/discordnova/nova/common/discord/types/structures"
+
+// GatewayEventVoiceStateUpdatePayload is sent when someone joins/leaves/moves voice channels
+type GatewayEventVoiceStateUpdatePayload structures.VoiceState
diff --git a/common/discord/types/payloads/gateway/events/webhook-update.go b/common/discord/types/payloads/gateway/events/webhook-update.go
new file mode 100644 (file)
index 0000000..4dc8866
--- /dev/null
@@ -0,0 +1,9 @@
+package events
+
+// GatewayEventWebhookUpdatePayload is sent when a guild channel's webhook is created, updated, or deleted.
+type GatewayEventWebhookUpdatePayload struct {
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // id of the channel
+       ChannelID string `json:"channel_id"`
+}
diff --git a/common/discord/types/payloads/gateway/gateway-payload.go b/common/discord/types/payloads/gateway/gateway-payload.go
new file mode 100644 (file)
index 0000000..07a9edc
--- /dev/null
@@ -0,0 +1,20 @@
+package gateway
+
+import (
+       "encoding/json"
+
+       "github.com/discordnova/nova/common/discord/types/types"
+)
+
+// Payload is the base of each payload sent to the Gateway, everything
+// else is in the d property.
+type Payload struct {
+       // Op is the opcode for the payload
+       Op types.GatewayOpCodes `json:"op"`
+       // D is the event data
+       D json.RawMessage `json:"d"`
+       // S is a sequence number used for resuming sessions and heartbeats
+       S int64 `json:"s"`
+       // T is the event name for this payload
+       T string `json:"t"`
+}
diff --git a/common/discord/types/structures/BUILD.bazel b/common/discord/types/structures/BUILD.bazel
new file mode 100644 (file)
index 0000000..63e4e11
--- /dev/null
@@ -0,0 +1,50 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "structures",
+    srcs = [
+        "activity.go",
+        "activity-assets.go",
+        "activity-emoji.go",
+        "activity-party.go",
+        "activity-secrets.go",
+        "activity-timestamps.go",
+        "application.go",
+        "attachment.go",
+        "channel.go",
+        "channel-mention.go",
+        "client-status.go",
+        "embed.go",
+        "embed-author.go",
+        "embed-field.go",
+        "embed-footer.go",
+        "embed-image.go",
+        "embed-provider.go",
+        "embed-thumbnail.go",
+        "embed-video.go",
+        "emoji.go",
+        "guild.go",
+        "guild-member.go",
+        "identify-connection-properties.go",
+        "invite.go",
+        "message.go",
+        "message-activity.go",
+        "message-application.go",
+        "message-reference.go",
+        "overwrite.go",
+        "presence.go",
+        "reaction.go",
+        "role.go",
+        "role-tags.go",
+        "sticker.go",
+        "team.go",
+        "team-member.go",
+        "user.go",
+        "voice-state.go",
+        "welcome-screen.go",
+        "welcome-screen-channel.go",
+    ],
+    importpath = "github.com/discordnova/nova/common/discord/types/structures",
+    visibility = ["//visibility:public"],
+    deps = ["//common/discord/types/types"],
+)
diff --git a/common/discord/types/structures/activity-assets.go b/common/discord/types/structures/activity-assets.go
new file mode 100644 (file)
index 0000000..220af2b
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// ActivityAssets is a representation of the assets object sent in an Activity
+type ActivityAssets struct {
+       // the id for a large asset of the activity, usually a snowflake
+       LargeImage string `json:"large_image,omitempty"`
+       // text displayed when hovering over the large image of the activity
+       LargeText string `json:"large_text,omitempty"`
+       // the id for a small asset of the activity, usually a snowflake
+       SmallImage string `json:"small_image,omitempty"`
+       // text displayed when hovering over the small image of the activity
+       SmallText string `json:"small_text,omitempty"`
+}
diff --git a/common/discord/types/structures/activity-emoji.go b/common/discord/types/structures/activity-emoji.go
new file mode 100644 (file)
index 0000000..8f44399
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// ActivityEmoji is the representation of an Emoji object sent for Activities
+type ActivityEmoji struct {
+       // the name of the emoji
+       Name string `json:"name"`
+       // the id of the emoji
+       ID string `json:"id,omitempty"`
+       // whether this emoji is animated
+       Animated bool `json:"animated,omitempty"`
+}
diff --git a/common/discord/types/structures/activity-party.go b/common/discord/types/structures/activity-party.go
new file mode 100644 (file)
index 0000000..9342f9c
--- /dev/null
@@ -0,0 +1,10 @@
+package structures
+
+// ActivityParty is a representation of a party sent in an Activity
+type ActivityParty struct {
+       // the id of the party
+       ID string `json:"id,omitempty"`
+       // used to show the party's current and maximum size
+       // This is an array of two integers (current_size, max_size)
+       Size []int `json:"size,omitempty"`
+}
diff --git a/common/discord/types/structures/activity-secrets.go b/common/discord/types/structures/activity-secrets.go
new file mode 100644 (file)
index 0000000..1899fd7
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// ActivitySecrets is a representation of the secrets object sent in an Activity
+type ActivitySecrets struct {
+       // the secret for joining a party
+       Join string `json:"join,omitempty"`
+       // the secret for spectating a game
+       Spectate string `json:"spectate,omitempty"`
+       // the secret for a specific instanced match
+       Match string `json:"match,omitempty"`
+}
diff --git a/common/discord/types/structures/activity-timestamps.go b/common/discord/types/structures/activity-timestamps.go
new file mode 100644 (file)
index 0000000..69922d2
--- /dev/null
@@ -0,0 +1,9 @@
+package structures
+
+// ActivityTimestamps are the timestamps of an activity
+type ActivityTimestamps struct {
+       // unix time (in milliseconds) of when the activity started
+       Start int `json:"start,omitempty"`
+       // unix time (in milliseconds) of when the activity ends
+       End int `json:"end,omitempty"`
+}
diff --git a/common/discord/types/structures/activity.go b/common/discord/types/structures/activity.go
new file mode 100644 (file)
index 0000000..903d108
--- /dev/null
@@ -0,0 +1,36 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Activity represents a presence's activity
+// Bots are only able to send name, type, and optionally url.
+type Activity struct {
+       // the activity's name
+       Name string `json:"name"`
+       //      activity type
+       Type int `json:"type"`
+       // stream url, is validated when type is 1
+       URL string `json:"url,omitempty"`
+       // unix timestamp of when the activity was added to the user's session
+       CreatedAt int `json:"created_at"`
+       // unix timestamps for start and/or end of the game
+       Timestamps ActivityTimestamps `json:"timestamps,omitempty"`
+       // application id for the game
+       ApplicationID string `json:"application_id,omitempty"`
+       // what the player is currently doing
+       Details string `json:"details,omitempty"`
+       // the user's current party status
+       State string `json:"state,omitempty"`
+       // the emoji used for a custom status
+       Emoji ActivityEmoji `json:"emoji,omitempty"`
+       // information for the current party of the player
+       Party ActivityParty `json:"party,omitempty"`
+       // images for the presence and their hover texts
+       Assets ActivityAssets `json:"assets,omitempty"`
+       // secrets for Rich Presence joining and spectating
+       Secrets ActivitySecrets `json:"secrets,omitempty"`
+       // whether or not the activity is an instanced game session
+       Instance bool `json:"instance,omitempty"`
+       // activity flags ORd together, describes what the payload includes
+       Flags types.ActivityFlags `json:"flags,omitempty"`
+}
diff --git a/common/discord/types/structures/application.go b/common/discord/types/structures/application.go
new file mode 100644 (file)
index 0000000..80e3458
--- /dev/null
@@ -0,0 +1,38 @@
+package structures
+
+// Application represents a Discord Application
+type Application struct {
+       // the id of the app
+       ID string `json:"id"`
+       // the name of the app
+       Name string `json:"name"`
+       // the icon hash of the app
+       Icon string `json:"icon,omitempty"`
+       // the description of the app
+       Description string `json:"description"`
+       // an array of rpc origin urls, if rpc is enabled
+       RPCOrigins []string `json:"rpc_origins,omitempty"`
+       // when false only app owner can join the app's bot to guilds
+       BotPublic bool `json:"bot_public"`
+       // when true the app's bot will only join upon completion of the full oauth2 code grant flow
+       BotRequireCodeGrant bool `json:"bot_require_code_grant"`
+       // partial user object containing info on the owner of the application
+       Owner User `json:"owner"`
+       // if this application is a game sold on Discord, this field will be the summary field for the store page of its sku
+       Summary string `json:"summary"`
+       // the base64 encoded key for the GameSDK's GetTicket
+       VerifyKey string `json:"verify_key"`
+       // if the application belongs to a team, this will be a list of the members of that team
+       Team Team `json:"team"`
+       // if this application is a game sold on Discord, this field will be the guild to which it has been linked
+       GuildID string `json:"guild_id,omitempty"`
+       // if this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created,
+       // if exists
+       PrimarySKUID string `json:"primary_sku_id,omitempty"`
+       // if this application is a game sold on Discord, this field will be the URL slug that links to the store page
+       Slug string `json:"slug,omitempty"`
+       // if this application is a game sold on Discord, this field will be the hash of the image on store embeds
+       CoverImage string `json:"cover_image,omitempty"`
+       // the application's public flags
+       Flags int `json:"flags"`
+}
diff --git a/common/discord/types/structures/attachment.go b/common/discord/types/structures/attachment.go
new file mode 100644 (file)
index 0000000..e28016f
--- /dev/null
@@ -0,0 +1,19 @@
+package structures
+
+// Attachment is the representation of a message attachment
+type Attachment struct {
+       // attachment id
+       ID string `json:"id"`
+       // name of file attached
+       Filename string `json:"filename"`
+       // size of file in bytes
+       Size int `json:"size"`
+       // source url of file
+       URL string `json:"url"`
+       // a proxied url of file
+       ProxyURL string `json:"proxy_url"`
+       // height of file (if image)
+       Height int `json:"height,omitempty"`
+       // width of file (if image)
+       Width int `json:"width,omitempty"`
+}
diff --git a/common/discord/types/structures/channel-mention.go b/common/discord/types/structures/channel-mention.go
new file mode 100644 (file)
index 0000000..72634f9
--- /dev/null
@@ -0,0 +1,15 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// ChannelMention is a representation of a Channel mention
+type ChannelMention struct {
+       // id of the channel
+       ID string `json:"id"`
+       // id of the guild containing the channel
+       GuildID string `json:"guild_id"`
+       // the type of channel
+       Type types.ChannelTypes `json:"type"`
+       // the name of the channel
+       Name string `json:"name"`
+}
diff --git a/common/discord/types/structures/channel.go b/common/discord/types/structures/channel.go
new file mode 100644 (file)
index 0000000..5c052a9
--- /dev/null
@@ -0,0 +1,45 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Channel represents a guild or DM channel
+type Channel struct {
+       // the id of this channel
+       ID string `json:"id"`
+       // the type of channel
+       Type types.ChannelTypes `json:"type"`
+       // the id of the guild
+       GuildID string `json:"guild_id,omitempty"`
+       // sorting position of the channel
+       Position int `json:"position,omitempty"`
+       // explicit permission overwrites for members and roles
+       PermissionOverwrites []Overwrite `json:"permission_overwrites,omitempty"`
+       // the name of the channel (2-100 characters)
+       Name string `json:"name,omitempty"`
+       // the channel topic (0-1024 characters)
+       Topic string `json:"topic,omitempty"`
+       // whether the channel is nsfw
+       NSFW bool `json:"nsfw,omitempty"`
+       // the id of the last message sent in this channel (may not point to an existing or valid message)
+       LastMessageID string `json:"last_message_id,omitempty"`
+       // the bitrate (in bits) of the voice channel
+       Bitrate int `json:"bitrate,omitempty"`
+       // the user limit of the voice channel
+       UserLimit int `json:"user_limit,omitempty"`
+       // amount of seconds a user has to wait before sending another message (0-21600);
+       // bots, as well as users with the permission manage_messages or manage_channel, are unaffected
+       RateLimitPerUser int `json:"rate_limit_per_user,omitempty"`
+       // the recipients of the DM
+       Recipients []User `json:"recipients,omitempty"`
+       // icon hash
+       Icon string `json:"icon,omitempty"`
+       // id of the DM creator
+       OwnerID string `json:"owner_id,omitempty"`
+       // application id of the group DM creator if it is bot-created
+       ApplicationID string `json:"application_id,omitempty"`
+       // id of the parent category for a channel (each parent category can contain up to 50 channels)
+       ParentID string `json:"parent_id,omitempty"`
+       // when the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a
+       // message is not pinned.
+       LastPinTimestamp string `json:"last_pin_timestamp,omitempty"`
+}
diff --git a/common/discord/types/structures/client-status.go b/common/discord/types/structures/client-status.go
new file mode 100644 (file)
index 0000000..d9bd4ad
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// ClientStatus is the representation of a Client Status, for sessions indication
+type ClientStatus struct {
+       // the user's status set for an active desktop (Windows, Linux, Mac) application session
+       Desktop types.ClientStatuses `json:"desktop,omitempty"`
+       // the user's status set for an active mobile (iOS, Android) application session
+       Mobile types.ClientStatuses `json:"mobile,omitempty"`
+       // the user's status set for an active web (browser, bot account) application session
+       Web types.ClientStatuses `json:"web,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-author.go b/common/discord/types/structures/embed-author.go
new file mode 100644 (file)
index 0000000..d1bfe60
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// EmbedAuthor represents the author object of an embed
+type EmbedAuthor struct {
+       // name of author
+       Name string `json:"name,omitempty"`
+       // url of author
+       URL string `json:"url,omitempty"`
+       // url of author icon (only supports http(s) and attachments)
+       IconURL string `json:"icon_url,omitempty"`
+       // a proxied url of author icon
+       ProxyIconURL string `json:"proxy_icon_url,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-field.go b/common/discord/types/structures/embed-field.go
new file mode 100644 (file)
index 0000000..09746a6
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// EmbedField is the representation of a field in an embed
+type EmbedField struct {
+       // name of the field
+       Name string `json:"name"`
+       // value of the field
+       Value string `json:"value"`
+       // whether or not this field should display inline
+       Inline bool `json:"inline,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-footer.go b/common/discord/types/structures/embed-footer.go
new file mode 100644 (file)
index 0000000..d58341c
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// EmbedFooter represents the footer of an embed
+type EmbedFooter struct {
+       // footer text
+       Text string `json:"text"`
+       // url of footer icon (only supports http(s) and attachments)
+       IconURL string `json:"icon_url,omitempty"`
+       //      a proxied url of footer icon
+       ProxyIconURL string `json:"proxy_icon_url,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-image.go b/common/discord/types/structures/embed-image.go
new file mode 100644 (file)
index 0000000..1208cbe
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// EmbedImage represents the image object of an embed
+type EmbedImage struct {
+       // source url of image (only supports http(s) and attachments)
+       URL string `json:"url,omitempty"`
+       // a proxied url of the image
+       ProxyURL string `json:"proxy_url,omitempty"`
+       // height of image
+       Height int `json:"height,omitempty"`
+       // width of image
+       Width int `json:"width,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-provider.go b/common/discord/types/structures/embed-provider.go
new file mode 100644 (file)
index 0000000..8e35598
--- /dev/null
@@ -0,0 +1,9 @@
+package structures
+
+// EmbedProvider represents the provider object of an embed
+type EmbedProvider struct {
+       // name of provider
+       Name string `json:"name,omitempty"`
+       // url of provider
+       URL string `json:"url,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-thumbnail.go b/common/discord/types/structures/embed-thumbnail.go
new file mode 100644 (file)
index 0000000..a6c6d1d
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// EmbedThumbnail represents the thumbnail object of an embed
+type EmbedThumbnail struct {
+       // source url of thumbnail (only supports http(s) and attachments)
+       URL string `json:"url,omitempty"`
+       // a proxied url of the thumbnail
+       ProxyURL string `json:"proxy_url,omitempty"`
+       // height of thumbnail
+       Height int `json:"height,omitempty"`
+       // width of thumbnail
+       Width int `json:"width,omitempty"`
+}
diff --git a/common/discord/types/structures/embed-video.go b/common/discord/types/structures/embed-video.go
new file mode 100644 (file)
index 0000000..2c6ef18
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// EmbedVideo represents the video object of an embed
+type EmbedVideo struct {
+       // source url of video
+       URL string `json:"url,omitempty"`
+       // a proxied url of the video
+       ProxyURL string `json:"proxy_url,omitempty"`
+       // height of video
+       Height int `json:"height,omitempty"`
+       // width of video
+       Width int `json:"width,omitempty"`
+}
diff --git a/common/discord/types/structures/embed.go b/common/discord/types/structures/embed.go
new file mode 100644 (file)
index 0000000..c7bafe5
--- /dev/null
@@ -0,0 +1,33 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Embed is the representation of an Embed
+type Embed struct {
+       // title of embed
+       Title string `json:"title,omitempty"`
+       // type of embed (always "rich" for webhook embeds)
+       Type types.EmbedTypes `json:"type,omitempty"`
+       // description of embed
+       Description string `json:"description,omitempty"`
+       // url of embed
+       URL string `json:"url,omitempty"`
+       // timestamp of embed content
+       Timestamp string `json:"timestamp,omitempty"`
+       // color code of the embed
+       Color int `json:"color,omitempty"`
+       // footer information
+       Footer EmbedFooter `json:"footer,omitempty"`
+       // image information
+       Image EmbedImage `json:"image,omitempty"`
+       // thumbnail information
+       Thumbnail EmbedThumbnail `json:"thumbnail,omitempty"`
+       // video information
+       Video EmbedVideo `json:"video,omitempty"`
+       // provider information
+       Provider EmbedProvider `json:"provider,omitempty"`
+       // author information
+       Author EmbedAuthor `json:"author,omitempty"`
+       // fields information
+       Fields []EmbedField `json:"fields,omitempty"`
+}
diff --git a/common/discord/types/structures/emoji.go b/common/discord/types/structures/emoji.go
new file mode 100644 (file)
index 0000000..1c21670
--- /dev/null
@@ -0,0 +1,21 @@
+package structures
+
+// Emoji is a representation of a Discord Emoji
+type Emoji struct {
+       // ID is the emoji id and can be null for default Discord emojis
+       ID string `json:"id,omitempty"`
+       // Name is the emoji name and can only be nil in Reaction Emoji objects
+       Name string `json:"name,omitempty"`
+       //      roles this emoji is whitelisted to
+       Roles string `json:"roles,omitempty"`
+       // user that created this emoji
+       User User `json:"user,omitempty"`
+       // whether this emoji must be wrapped in colons
+       RequireColons bool `json:"require_colons,omitempty"`
+       // whether this emoji is managed
+       Managed bool `json:"managed,omitempty"`
+       // whether this emoji is animated
+       Animated bool `json:"animated,omitempty"`
+       // whether this emoji can be used, may be false due to loss of Server Boosts
+       Available bool `json:"available,omitempty"`
+}
diff --git a/common/discord/types/structures/guild-member.go b/common/discord/types/structures/guild-member.go
new file mode 100644 (file)
index 0000000..4e47f98
--- /dev/null
@@ -0,0 +1,27 @@
+package structures
+
+// GuildMember is the representation of a Guild member
+type GuildMember struct {
+       // the user this guild member represents
+       // The field user won't be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway
+       // events.
+       User User `json:"user,omitempty"`
+       // this users guild nickname
+       Nick string `json:"nick"`
+       // array of role object ids
+       Roles []string `json:"roles"`
+       // when the user joined the guild
+       JoinedAt string `json:"joined_at"`
+       // when the user started boosting the guild
+       PremiumSince string `json:"premium_since,omitempty"`
+       // whether the user is deafened in voice channels
+       Deaf bool `json:"deaf"`
+       // whether the user is muted in voice channels
+       Mute bool `json:"mute"`
+       // whether the user has not yet passed the guild's Membership Screening requirements
+       // In GUILD_ events, pending will always be included as true or false. In non GUILD_ events which can only be
+       // triggered by non-pending users, pending will not be included.
+       Pending bool `json:"pending,omitempty"`
+       // total permissions of the member in the channel, including overrides, returned when in the interaction object
+       Permissions string `json:"permissions,omitempty"`
+}
diff --git a/common/discord/types/structures/guild.go b/common/discord/types/structures/guild.go
new file mode 100644 (file)
index 0000000..cad943c
--- /dev/null
@@ -0,0 +1,117 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Guild is the representation of a Discord Guild, AKA server
+type Guild struct {
+       // ID is the guild id
+       ID string `json:"id"`
+       // Name is the guild name (2-100 characters, excluding trailing and
+       // leading whitespace)
+       Name string `json:"name"`
+       // Icon is the icon hash
+       Icon string `json:"icon,omitempty"`
+       // IconHash is the icon hash, returned when in the template object
+       IconHash string `json:"icon_hash,omitempty"`
+       // Splash is the splash hash
+       Splash string `json:"splash,omitempty"`
+       // DiscoverySplash is   discovery splash hash; only present for
+       // guilds with the "DISCOVERABLE" feature
+       DiscoverySplash string `json:"discovery_splash,omitempty"`
+       // Owner is true if the user is the owner of the guild.
+       // It is only sent when using the GET Current User Guilds endpoint
+       // and is relative to the requested user
+       Owner bool `json:"owner,omitempty"`
+       // OwnerID is the id of owner
+       OwnerID string `json:"owner_id,omitempty"`
+       // Permissions are the total permissions for the user in the guild
+       // (excludes overrides)
+       // It is only sent when using the GET Current User Guilds endpoint
+       // and is relative to the requested user
+       Permissions string `json:"permissions,omitempty"`
+       // Region is the voice region id for the guild
+       Region string `json:"region"`
+       // AFKChannelID is the id of the afk channel
+       AFKChannelID string `json:"afk_channel_id,omitempty"`
+       // AFKTimeout is the afk timeout in seconds
+       AFKTimeout int `json:"afk_timeout"`
+       // true if the server widget is enabled
+       WidgetEnabled bool `json:"widget_enabled,omitempty"`
+       // the channel id that the widget will generate an invite to, or null if set to no invite
+       WidgetChannelID string `json:"widget_channel_id,omitempty"`
+       // verification level required for the guild
+       VerificationLevel types.VerificationLevels `json:"verification_level"`
+       // default message notifications level
+       DefaultMessageNotifications types.DefaultMessageNotificationLevels `json:"default_message_notifications"`
+       // explicit content filter level
+       ExplicitContentFilter types.ExplicitContentFilterLevels `json:"explicit_content_filter"`
+       // roles in the guild
+       Roles []Role `json:"roles"`
+       // custom guild emojis
+       Emojis []Emoji `json:"emojis"`
+       // enabled guild features
+       Features []types.GuildFeatures `json:"features"`
+       // required MFA level for the guild
+       MFALevel types.MFALevels `json:"mfa_level"`
+       // application id of the guild creator if it is bot-created
+       ApplicationID string `json:"application_id,omitempty"`
+       // the id of the channel where guild notices such as welcome messages and boost events are posted
+       SystemChannelID string `json:"system_channel_id,omitempty"`
+       // system channel flags
+       SystemChannelFlags types.SystemChannelFlags `json:"system_channel_flags,omitempty"`
+       //      the id of the channel where Community guilds can display rules and/or guidelines
+       RulesChannelID string `json:"rules_channel_id,omitempty"`
+       // when this guild was joined at
+       // This field is only sent within the GUILD_CREATE event
+       JoinedAt string `json:"joined_at,omitempty"`
+       // true if this is considered a large guild
+       // This field is only sent within the GUILD_CREATE event
+       Large bool `json:"large,omitempty"`
+       // true if this guild is unavailable due to an outage
+       // This field is only sent within the GUILD_CREATE event
+       Unavailable bool `json:"unavailable,omitempty"`
+       // total number of members in this guild
+       // This field is only sent within the GUILD_CREATE event
+       MemberCount int `json:"member_count,omitempty"`
+       // states of members currently in voice channels; lacks the guild_id key
+       // This field is only sent within the GUILD_CREATE event
+       VoiceStates []VoiceState `json:"voice_states,omitempty"`
+       // users in the guild
+       // This field is only sent within the GUILD_CREATE event
+       Members []GuildMember `json:"members,omitempty"`
+       // channels in the guild
+       // This field is only sent within the GUILD_CREATE event
+       Channels []Channel `json:"channels,omitempty"`
+       // presences of the members in the guild, will only include non-offline members if the size is greater than
+       // large threshold
+       // This field is only sent within the GUILD_CREATE event
+       Presences []Presence `json:"presences,omitempty"`
+       // the maximum number of presences for the guild (the default value, currently 25000,
+       // is in effect when null is returned)
+       MaxPresences int `json:"max_presences,omitempty"`
+       // the maximum number of members for the guild
+       MaxMembers int `json:"max_members,omitempty"`
+       // the vanity url code for the guild
+       VanityURLCode string `json:"vanity_url_code,omitempty"`
+       // the description for the guild, if the guild is discoverable
+       Description string `json:"description,omitempty"`
+       // banner hash
+       Banner string `json:"banner,omitempty"`
+       // premium tier (Server Boost level)
+       PremiumTier types.PremiumTiers `json:"premium_tier"`
+       // the number of boosts this guild currently has
+       PremiumSubscriptionCount int `json:"premium_subscription_count,omitempty"`
+       // the preferred locale of a Community guild; used in server discovery and notices from Discord; defaults to "en-US"
+       PreferredLocale string `json:"preferred_locale"`
+       // the id of the channel where admins and moderators of Community guilds receive notices from Discord
+       PublicUpdatesChannelID string `json:"public_updates_channel_id,omitempty"`
+       // the maximum amount of users in a video channel
+       MaxVideoChannelUsers int `json:"max_video_channel_users,omitempty"`
+       // approximate number of members in this guild, returned from the GET /guilds/<id> endpoint when with_counts is true
+       ApproximateMemberCount int `json:"approximate_member_count,omitempty"`
+       // approximate number of non-offline members in this guild, returned from the GET /guilds/<id> endpoint when
+       // with_counts is true
+       ApproximatePresenceCount int `json:"approximate_presence_count,omitempty"`
+       // the welcome screen of a Community guild, shown to new members, returned when in the invite object
+       WelcomeScreen WelcomeScreen `json:"welcome_screen,omitempty"`
+}
diff --git a/common/discord/types/structures/identify-connection-properties.go b/common/discord/types/structures/identify-connection-properties.go
new file mode 100644 (file)
index 0000000..0c725ec
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// IdentifyConnectionProperties is the identify connection properties object of an identify command
+type IdentifyConnectionProperties struct {
+       // your operating system
+       OS string `json:"$os"`
+       // your library name
+       Browser string `json:"$browser"`
+       //      your library name
+       Device string `json:"$device"`
+}
diff --git a/common/discord/types/structures/invite.go b/common/discord/types/structures/invite.go
new file mode 100644 (file)
index 0000000..e75f52f
--- /dev/null
@@ -0,0 +1,23 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Invite is the representation of a Discord Invite
+type Invite struct {
+       // the invite code (unique ID)
+       Code string `json:"code"`
+       // the guild this invite is for
+       Guild Guild `json:"guild,omitempty"`
+       // the channel this invite is for
+       Channel Channel `json:"channel"`
+       // the user who created the invite
+       Inviter User `json:"inviter,omitempty"`
+       // the target user for this invite
+       TargetUser User `json:"target_user,omitempty"`
+       // the type of user target for this invite
+       TargetUserType types.TargetUserTypes `json:"target_user_type,omitempty"`
+       // approximate count of online members (only present when target_user is set)
+       ApproximatePresenceCount int `json:"approximate_presence_count,omitempty"`
+       // approximate count of total members
+       ApproximateMemberCount int `json:"approximate_member_count"`
+}
diff --git a/common/discord/types/structures/message-activity.go b/common/discord/types/structures/message-activity.go
new file mode 100644 (file)
index 0000000..4c8b4b1
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// MessageActivity is the message activity
+type MessageActivity struct {
+       // type of message activity
+       Type types.MessageActivityTypes `json:"type"`
+       // party_id from a Rich Presence event
+       PartyID string `json:"party_id"`
+}
diff --git a/common/discord/types/structures/message-application.go b/common/discord/types/structures/message-application.go
new file mode 100644 (file)
index 0000000..1b7b28e
--- /dev/null
@@ -0,0 +1,15 @@
+package structures
+
+// MessageApplication is the application object of a message
+type MessageApplication struct {
+       // id of the application
+       ID string `json:"id"`
+       // id of the embed's image asset
+       CoverImage string `json:"cover_image,omitempty"`
+       // application's description
+       Description string `json:"description"`
+       // id of the application's icon
+       Icon string `json:"icon,omitempty"`
+       // name of the application
+       Name string `json:"name"`
+}
diff --git a/common/discord/types/structures/message-reference.go b/common/discord/types/structures/message-reference.go
new file mode 100644 (file)
index 0000000..acec965
--- /dev/null
@@ -0,0 +1,16 @@
+package structures
+
+// MessageReference is the reference object of a message
+type MessageReference struct {
+       // id of the originating message
+       MessageID string `json:"message_id,omitempty"`
+       // id of the originating message's channel
+       // channel_id is optional when creating a reply, but will always be present when receiving an event/response
+       // that includes this data model.
+       ChannelID string `json:"channel_id,omitempty"`
+       // id of the originating message's guild
+       GuildID string `json:"guild_id,omitempty"`
+       // when sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply)
+       // message, default true
+       FailIfNotExists bool `json:"fail_if_not_exists,omitempty"`
+}
diff --git a/common/discord/types/structures/message.go b/common/discord/types/structures/message.go
new file mode 100644 (file)
index 0000000..b1e2931
--- /dev/null
@@ -0,0 +1,71 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Message is the representation of a Discord Message
+type Message struct {
+       // id of the message
+       ID string `json:"id"`
+       // id of the channel the message was sent in
+       ChannelID string `json:"channel_id"`
+       // id of the guild the message was sent in
+       GuildID string `json:"guild_id,omitempty"`
+       // the author of this message (not guaranteed to be a valid user, see below)
+       // The author object follows the structure of the user object,
+       // but is only a valid user in the case where the message is generated by a user or bot user.
+       // If the message is generated by a webhook, the author object corresponds to the webhook's id, username, and avatar.
+       // ou can tell if a message is generated by a webhook by checking for the webhook_id on the message object.
+       Author User `json:"author"`
+       // member properties for this message's author
+       // The member object exists in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels.
+       // This allows bots to obtain real-time member data without requiring bots to store member state in memory.
+       Member GuildMember `json:"member,omitempty"`
+       // contents of the message
+       Content string `json:"content"`
+       // when this message was sent
+       Timestamp string `json:"timestamp"`
+       // when this message was edited (or null if never)
+       EditedTimestamp string `json:"edited_timestamp,omitempty"`
+       // whether this was a TTS message
+       TTS bool `json:"tts"`
+       // whether this message mentions everyone
+       MentionEveryone bool `json:"mention_everyone"`
+       // users specifically mentioned in the message
+       // The user objects in the mentions array will only have the partial member field present in MESSAGE_CREATE and
+       // MESSAGE_UPDATE events from text-based guild channels.
+       Mentions []User `json:"mentions"`
+       // roles specifically mentioned in this message
+       MentionRoles []string `json:"mention_roles"`
+       // channels specifically mentioned in this message
+       MentionChannels []ChannelMention `json:"mention_channels"`
+       // any attached files
+       Attachments []Attachment `json:"attachments"`
+       // any embedded content
+       Embeds []Embed `json:"embeds"`
+       // reactions to the message
+       Reactions []Reaction `json:"reactions,omitempty"`
+       // used for validating a message was sent
+       Nonce string `json:"nonce,omitempty"`
+       // whether this message is pinned
+       Pinned bool `json:"pinned"`
+       // if the message is generated by a webhook, this is the webhook's id
+       WebhookID string `json:"webhook_id,omitempty"`
+       // type of message
+       Type types.MessageTypes `json:"type"`
+       //      sent with Rich Presence-related chat embeds
+       Activity MessageActivity `json:"activity,omitempty"`
+       // sent with Rich Presence-related chat embeds
+       Application MessageApplication `json:"application,omitempty"`
+       // reference data sent with cross posted messages and replies
+       MessageReference MessageReference `json:"message_reference,omitempty"`
+       // message flags combined as a bitfield
+       Flags types.MessageFlags `json:"flags,omitempty"`
+       //      the stickers sent with the message (bots currently can only receive messages with stickers, not send)
+       Stickers []Sticker `json:"stickers"`
+       // the message associated with the message_reference
+       // This field is only returned for messages with a type of 19 (REPLY).
+       // If the message is a reply but the referenced_message field is not present, the backend did not attempt to fetch
+       // the message that was being replied to, so its state is unknown.
+       // If the field exists but is null, the referenced message was deleted.
+       ReferencedMessage *Message `json:"referenced_message,omitempty"`
+}
diff --git a/common/discord/types/structures/overwrite.go b/common/discord/types/structures/overwrite.go
new file mode 100644 (file)
index 0000000..de5085d
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// Overwrite is a representation of Overwrite in Discord permissions system
+type Overwrite struct {
+       // role or user id
+       ID string `json:"id"`
+       // either 0 (role) or 1 (member)
+       Type int `json:"type"`
+       // permission bit set
+       Allow string `json:"allow"`
+       // permission bit set
+       Deny string `json:"deny"`
+}
diff --git a/common/discord/types/structures/presence.go b/common/discord/types/structures/presence.go
new file mode 100644 (file)
index 0000000..9b99322
--- /dev/null
@@ -0,0 +1,17 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Presence is the representation of a user's presence on a guild.
+type Presence struct {
+       // the user presence is being updated for
+       User User `json:"user"`
+       // id of the guild
+       GuildID string `json:"guild_id"`
+       // either "idle", "dnd", "online", or "offline"
+       Status types.Statuses `json:"status"`
+       // user's current activities
+       Activities []Activity `json:"activities"`
+       // user's platform-dependent status
+       ClientStatus ClientStatus `json:"client_status"`
+}
diff --git a/common/discord/types/structures/reaction.go b/common/discord/types/structures/reaction.go
new file mode 100644 (file)
index 0000000..801ee25
--- /dev/null
@@ -0,0 +1,11 @@
+package structures
+
+// Reaction represents a message reaction
+type Reaction struct {
+       //      times this emoji has been used to react
+       Count int `json:"count"`
+       // whether the current user reacted using this emoji
+       Me bool `json:"me"`
+       // emoji information
+       Emoji Emoji `json:"emoji"`
+}
diff --git a/common/discord/types/structures/role-tags.go b/common/discord/types/structures/role-tags.go
new file mode 100644 (file)
index 0000000..37cad5d
--- /dev/null
@@ -0,0 +1,9 @@
+package structures
+
+// RoleTags is the tag a role has
+type RoleTags struct {
+       BotID         string `json:"bot_id,omitempty"`
+       IntegrationID string `json:"integration_id,omitempty"`
+       // ALWAYS NULL YET
+       PremiumSubscriber struct{} `json:"premium_subscriber"`
+}
diff --git a/common/discord/types/structures/role.go b/common/discord/types/structures/role.go
new file mode 100644 (file)
index 0000000..ffdae85
--- /dev/null
@@ -0,0 +1,14 @@
+package structures
+
+// Role is a Discord Role
+type Role struct {
+       ID          string   `json:"id"`
+       Name        string   `json:"name"`
+       Color       int      `json:"color"`
+       Hoist       bool     `json:"hoist"`
+       Position    int      `json:"position"`
+       Permissions string   `json:"permissions"`
+       Managed     bool     `json:"managed"`
+       Mentionable bool     `json:"mentionable"`
+       Tags        RoleTags `json:"tags,omitempty"`
+}
diff --git a/common/discord/types/structures/sticker.go b/common/discord/types/structures/sticker.go
new file mode 100644 (file)
index 0000000..7679800
--- /dev/null
@@ -0,0 +1,23 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// Sticker represents a Discord message sticker
+type Sticker struct {
+       //      id of the sticker
+       ID string `json:"id"`
+       // id of the pack the sticker is from
+       PackID string `json:"pack_id"`
+       // name of the sticker
+       Name string `json:"name"`
+       // description of the sticker
+       Description string `json:"description"`
+       // a comma-separated list of tags for the sticker
+       Tags string `json:"tags,omitempty"`
+       // sticker asset hash
+       Asset string `json:"asset"`
+       // sticker preview asset hash
+       PreviewAsset string `json:"preview_asset,omitempty"`
+       // type of sticker format
+       FormatType types.StickerTypes `json:"format_type"`
+}
diff --git a/common/discord/types/structures/team-member.go b/common/discord/types/structures/team-member.go
new file mode 100644 (file)
index 0000000..c7d10bb
--- /dev/null
@@ -0,0 +1,15 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// TeamMember represents a member of a Discord Team
+type TeamMember struct {
+       // the user's membership state on the team
+       MembershipState types.MembershipStates `json:"membership_state"`
+       // will always be ["*"]
+       Permissions []string `json:"permissions"`
+       // the id of the parent team of which they are a member
+       TeamID string `json:"team_id"`
+       // the avatar, discriminator, id, and username of the user
+       User User `json:"user"`
+}
diff --git a/common/discord/types/structures/team.go b/common/discord/types/structures/team.go
new file mode 100644 (file)
index 0000000..fd4ff24
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// Team represents a Discord Team
+type Team struct {
+       // a hash of the image of the team's icon
+       Icon string `json:"icon,omitempty"`
+       // the unique id of the team
+       ID string `json:"id"`
+       //      the members of the team
+       Members []TeamMember `json:"members"`
+       // the user id of the current team owner
+       OwnerUserID string `json:"owner_user_id"`
+}
diff --git a/common/discord/types/structures/user.go b/common/discord/types/structures/user.go
new file mode 100644 (file)
index 0000000..bd423a6
--- /dev/null
@@ -0,0 +1,20 @@
+package structures
+
+import "github.com/discordnova/nova/common/discord/types/types"
+
+// User represents the User Structure sent by the Discord API
+type User struct {
+       ID            string             `json:"id"`
+       Username      string             `json:"username"`
+       Discriminator string             `json:"discriminator"`
+       Avatar        string             `json:"avatar,omitempty"`
+       Bot           bool               `json:"bot,omitempty"`
+       System        bool               `json:"system,omitempty"`
+       MFAEnabled    bool               `json:"mfa_enabled,omitempty"`
+       Locale        string             `json:"locale,omitempty"`
+       Verified      bool               `json:"verified,omitempty"`
+       Email         string             `json:"email,omitempty"`
+       Flags         types.UserFlags    `json:"flags,omitempty"`
+       PremiumType   types.PremiumTypes `json:"premium_type,omitempty"`
+       PublicFlags   types.UserFlags    `json:"public_flags,omitempty"`
+}
diff --git a/common/discord/types/structures/voice-state.go b/common/discord/types/structures/voice-state.go
new file mode 100644 (file)
index 0000000..bbc1897
--- /dev/null
@@ -0,0 +1,29 @@
+package structures
+
+// VoiceState is a representation of a user's voice connection status
+type VoiceState struct {
+       // the guild id this voice state is for
+       GuildID string `json:"guild_id,omitempty"`
+       // the channel id this user is connected to
+       ChannelID string `json:"channel_id,omitempty"`
+       // the user id this voice state is for
+       UserID string `json:"user_id,omitempty"`
+       // the guild member this voice state is for
+       Member GuildMember `json:"member,omitempty"`
+       // the session id for this voice state
+       SessionID string `json:"session_id"`
+       // whether this user is deafened by the server
+       Deaf bool `json:"deaf"`
+       // whether this user is muted by the server
+       Mute bool `json:"mute"`
+       // whether this user is locally deafened
+       SelfDeaf bool `json:"self_deaf"`
+       // whether this user is locally muted
+       SelfMute bool `json:"self_mute"`
+       // whether this user is streaming using "Go Live"
+       SelfStream bool `json:"self_stream,omitempty"`
+       // whether this user's camera is enabled
+       SelfVideo bool `json:"self_video"`
+       // whether this user is muted by the current user
+       Suppress bool `json:"suppress"`
+}
diff --git a/common/discord/types/structures/welcome-screen-channel.go b/common/discord/types/structures/welcome-screen-channel.go
new file mode 100644 (file)
index 0000000..5358aa3
--- /dev/null
@@ -0,0 +1,13 @@
+package structures
+
+// WelcomeScreenChannel is a representation of a channel in a welcome screen
+type WelcomeScreenChannel struct {
+       // the channel's id
+       ChannelID string `json:"channel_id"`
+       // the description shown for the channel
+       Description string `json:"description"`
+       // the emoji id, if the emoji is custom
+       EmojiID string `json:"emoji_id,omitempty"`
+       // the emoji name if custom, the unicode character if standard, or null if no emoji is set
+       EmojiName string `json:"emoji_name,omitempty"`
+}
diff --git a/common/discord/types/structures/welcome-screen.go b/common/discord/types/structures/welcome-screen.go
new file mode 100644 (file)
index 0000000..528b634
--- /dev/null
@@ -0,0 +1,9 @@
+package structures
+
+// WelcomeScreen is a representation of a Guild welcome screen
+type WelcomeScreen struct {
+       // the server description shown in the welcome screen
+       Description string `json:"description,omitempty"`
+       // the channels shown in the welcome screen, up to 5
+       WelcomeChannels []WelcomeScreenChannel `json:"welcome_channels"`
+}
diff --git a/common/discord/types/types/BUILD.bazel b/common/discord/types/types/BUILD.bazel
new file mode 100644 (file)
index 0000000..f4f23a3
--- /dev/null
@@ -0,0 +1,36 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "types",
+    srcs = [
+        "activity-flags.go",
+        "activity-types.go",
+        "channel-types.go",
+        "client-statuses.go",
+        "default-message-notification-levels.go",
+        "embed-types.go",
+        "explicit-content-filter-levels.go",
+        "gateway-close-event-codes.go",
+        "gateway-intents.go",
+        "gateway-op-codes.go",
+        "guild-features.go",
+        "membership-states.go",
+        "message-activity-types.go",
+        "message-flags.go",
+        "message-types.go",
+        "mfa-levels.go",
+        "premium-tiers.go",
+        "premium-types.go",
+        "statuses.go",
+        "sticker-types.go",
+        "system-channel-flags.go",
+        "target-user-types.go",
+        "update-status-statuses.go",
+        "user-flags.go",
+        "verification-levels.go",
+        "voice-gateway-close-event-codes.go",
+        "voice-gateway-op-codes.go",
+    ],
+    importpath = "github.com/discordnova/nova/common/discord/types/types",
+    visibility = ["//visibility:public"],
+)
diff --git a/common/discord/types/types/activity-flags.go b/common/discord/types/types/activity-flags.go
new file mode 100644 (file)
index 0000000..7e00ce0
--- /dev/null
@@ -0,0 +1,19 @@
+package types
+
+// ActivityFlags are the flags of an activity
+type ActivityFlags int
+
+const (
+       // ActivityFlagInstance is the flag for instanced activities
+       ActivityFlagInstance ActivityFlags = 1 << 0
+       // ActivityFlagJoin is the flag for activities we can join
+       ActivityFlagJoin = 1 << 1
+       // ActivityFlagSpectate is the flag for activities we can spectate
+       ActivityFlagSpectate = 1 << 2
+       // ActivityFlagJoinRequest is the flag for activities we can request to join
+       ActivityFlagJoinRequest = 1 << 3
+       // ActivityFlagSync is the flag for sync activities
+       ActivityFlagSync = 1 << 4
+       // ActivityFlagPlay is the flag for playable activities
+       ActivityFlagPlay = 1 << 5
+)
diff --git a/common/discord/types/types/activity-types.go b/common/discord/types/types/activity-types.go
new file mode 100644 (file)
index 0000000..0768b5c
--- /dev/null
@@ -0,0 +1,22 @@
+package types
+
+// ActivityTypes are the different types for an activity
+type ActivityTypes int
+
+const (
+       // ActivityTypeGame is the "Playing {name}" activity
+       ActivityTypeGame ActivityTypes = 0
+       // ActivityTypeStreaming is the "Streaming {details}" activity
+       // The streaming type currently only supports Twitch and YouTube.
+       // Only https://twitch.tv/ and https://youtube.com/ urls will work.
+       ActivityTypeStreaming = 1
+       // ActivityTypeListening is the "Listening to {name}" activity
+       ActivityTypeListening = 2
+
+       /* yes, there is no 3 */
+
+       // ActivityTypeCustom is the "{emoji} {name}" activity
+       ActivityTypeCustom = 4
+       // ActivityTypeCompeting is the "Competing in {name}" activity
+       ActivityTypeCompeting = 5
+)
diff --git a/common/discord/types/types/channel-types.go b/common/discord/types/types/channel-types.go
new file mode 100644 (file)
index 0000000..071b122
--- /dev/null
@@ -0,0 +1,21 @@
+package types
+
+// ChannelTypes are the different types of channel
+type ChannelTypes int
+
+const (
+       // ChannelTypeGuildText is a text channel within a server
+       ChannelTypeGuildText ChannelTypes = 0
+       // ChannelTypeDM is a direct message between users
+       ChannelTypeDM = 1
+       // ChannelTypeGuildVoice is a voice channel within a server
+       ChannelTypeGuildVoice = 2
+       // ChannelTypeGroupDM is a direct message between multiple users
+       ChannelTypeGroupDM = 3
+       // ChannelTypeGuildCategory is an organizational category that contains up to 50 channels
+       ChannelTypeGuildCategory = 4
+       // ChannelTypeGuildNews is a channel that users can follow and cross post into their own server
+       ChannelTypeGuildNews = 5
+       // ChannelTypeGuildStore is a channel in which game developers can sell their game on Discord
+       ChannelTypeGuildStore = 6
+)
diff --git a/common/discord/types/types/client-statuses.go b/common/discord/types/types/client-statuses.go
new file mode 100644 (file)
index 0000000..b94c0f8
--- /dev/null
@@ -0,0 +1,14 @@
+package types
+
+// ClientStatuses are the different client status for active sessions
+type ClientStatuses string
+
+const (
+       // ClientStatusOnline is the status for online users
+       ClientStatusOnline ClientStatuses = "online"
+       // ClientStatusIdle is the status for idle sessions
+       ClientStatusIdle ClientStatuses = "idle"
+       // ClientStatusDnD is the status for do not disturb sessions
+       ClientStatusDnD ClientStatuses = "dnd"
+       /* There is no offline: https://discord.com/developers/docs/topics/gateway#client-status-object */
+)
diff --git a/common/discord/types/types/default-message-notification-levels.go b/common/discord/types/types/default-message-notification-levels.go
new file mode 100644 (file)
index 0000000..c90713b
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// DefaultMessageNotificationLevels is the notification level for a guild
+type DefaultMessageNotificationLevels int
+
+const (
+       // DefaultMessageNotificationLevelAllMessages notify on every message
+       DefaultMessageNotificationLevelAllMessages DefaultMessageNotificationLevels = 0
+       // DefaultMessageNotificationLevelOnlyMentions notify only on mentions
+       DefaultMessageNotificationLevelOnlyMentions = 1
+)
diff --git a/common/discord/types/types/embed-types.go b/common/discord/types/types/embed-types.go
new file mode 100644 (file)
index 0000000..8632f03
--- /dev/null
@@ -0,0 +1,19 @@
+package types
+
+// EmbedTypes are the different types of a Embed
+type EmbedTypes string
+
+const (
+       // EmbedTypeRich is a generic embed rendered from embed attributes
+       EmbedTypeRich EmbedTypes = "rich"
+       // EmbedTypeImage is an image embed
+       EmbedTypeImage = "image"
+       // EmbedTypeVideo is a video embed
+       EmbedTypeVideo = "video"
+       // EmbedTypeGIFV is an animated gif image embed rendered as a video embed
+       EmbedTypeGIFV = "gifv"
+       // EmbedTypeArticle is an article embed
+       EmbedTypeArticle = "article"
+       // EmbedTypeLink is a link embed
+       EmbedTypeLink = "link"
+)
diff --git a/common/discord/types/types/explicit-content-filter-levels.go b/common/discord/types/types/explicit-content-filter-levels.go
new file mode 100644 (file)
index 0000000..8586408
--- /dev/null
@@ -0,0 +1,13 @@
+package types
+
+// ExplicitContentFilterLevels is the level for the Explicit Content
+type ExplicitContentFilterLevels int
+
+const (
+       // ExplicitContentFilterLevelDisabled disables the scan
+       ExplicitContentFilterLevelDisabled = 0
+       // ExplicitContentFilterLevelMembersWithoutRoles scans for members without roles
+       ExplicitContentFilterLevelMembersWithoutRoles = 1
+       // ExplicitContentFilterLevelAllMembers scans for anyone
+       ExplicitContentFilterLevelAllMembers = 2
+)
diff --git a/common/discord/types/types/gateway-close-event-codes.go b/common/discord/types/types/gateway-close-event-codes.go
new file mode 100644 (file)
index 0000000..86798bf
--- /dev/null
@@ -0,0 +1,52 @@
+package types
+
+// GatewayCloseEventCodes is a code explaining the reason
+// the gateway connection closed
+type GatewayCloseEventCodes int
+
+// GatewayCloseEventCodes values
+const (
+       // GatewayCloseEventCodeUnknownError is corresponding to a
+       // Discord internal error
+       GatewayCloseEventCodeUnknownError GatewayCloseEventCodes = 4000
+       // GatewayCloseEventCodeUnknownOpCode is used when an
+       // invalid payload for a  payload or opcode was sent
+       GatewayCloseEventCodeUnknownOpCode = 4001
+       // GatewayCloseEventCodeDecodeError is used when an invalid payload was sent
+       GatewayCloseEventCodeDecodeError = 4002
+       // GatewayCloseEventCodeNotAuthenticated is used when a payload was
+       // sent prior to the Identify payload
+       GatewayCloseEventCodeNotAuthenticated = 4003
+       // GatewayCloseEventCodeAuthenticationFailed is used when the account token
+       // in the Identify payload is incorrect
+       GatewayCloseEventCodeAuthenticationFailed = 4004
+       // GatewayCloseEventCodeAlreadyAuthenticated is used when more than one
+       // Identify payload was sent
+       GatewayCloseEventCodeAlreadyAuthenticated = 4005
+
+       /* There is no 4006... */
+
+       // GatewayCloseEventCodeInvalidSeq is used when the sequence of a
+       // resuming payload is invalid. Need tro reconnect and start a new session
+       GatewayCloseEventCodeInvalidSeq = 4007
+       // GatewayCloseEventCodeRateLimited is used when a rate limit applied.
+       GatewayCloseEventCodeRateLimited = 4008
+       // GatewayCloseEventCodeSessionTimedOut is used when a session expired.
+       // Need to reconnect and start a new one
+       GatewayCloseEventCodeSessionTimedOut = 4009
+       // GatewayCloseEventCodeInvalidShard is used when an invalid shard was sent
+       // in the Identify payload
+       GatewayCloseEventCodeInvalidShard = 4010
+       // GatewayCloseEventCodeShardingRequired is used when a session handle too
+       // many guild. The connection needs more shards
+       GatewayCloseEventCodeShardingRequired = 4011
+       // GatewayCloseEventCodeInvalidAPIVersion is used when an invalid version
+       // of the gateway was sent
+       GatewayCloseEventCodeInvalidAPIVersion = 4012
+       // GatewayCloseEventCodeInvalidIntents is used when invalid intents were
+       // provided.
+       GatewayCloseEventCodeInvalidIntents = 4013
+       // GatewayCloseEventCodeDisallowedIntents is used when a provided intent is
+       // not enabled.
+       GatewayCloseEventCodeDisallowedIntents = 4014
+)
diff --git a/common/discord/types/types/gateway-intents.go b/common/discord/types/types/gateway-intents.go
new file mode 100644 (file)
index 0000000..1bcec9b
--- /dev/null
@@ -0,0 +1,23 @@
+package types
+
+// GatewayIntents are the Intents for the Gateway
+type GatewayIntents int
+
+//
+const (
+       GatewayIntentGuilds                 GatewayIntents = 1 << 0
+       GatewayIntentGuildMembers                          = 1 << 1
+       GatewayIntentGuildBans                             = 1 << 2
+       GatewayIntentGuildEmojis                           = 1 << 2
+       GatewayIntentGuildIntegrations                     = 1 << 4
+       GatewayIntentGuildWebhooks                         = 1 << 5
+       GatewayIntentGuildInvites                          = 1 << 6
+       GatewayIntentGuildVoiceStates                      = 1 << 7
+       GatewayIntentGuildPresences                        = 1 << 8
+       GatewayIntentGuildMessages                         = 1 << 9
+       GatewayIntentGuildMessageReactions                 = 1 << 10
+       GatewayIntentGuildMessageTyping                    = 1 << 11
+       GatewayIntentDirectMessages                        = 1 << 12
+       GatewayIntentDirectMessageReactions                = 1 << 13
+       GatewayIntentDirectMessageTyping                   = 1 << 14
+)
diff --git a/common/discord/types/types/gateway-op-codes.go b/common/discord/types/types/gateway-op-codes.go
new file mode 100644 (file)
index 0000000..1357790
--- /dev/null
@@ -0,0 +1,40 @@
+package types
+
+// GatewayOpCodes are code tagged by the Discord Gateway to type payloads
+type GatewayOpCodes int
+
+// Valid OpCode values
+const (
+       // GatewayOpCodeDispatch is when an event was dispatched.
+       GatewayOpCodeDispatch GatewayOpCodes = 0
+       // GatewayOpCodeHeartbeat is fired periodically by the client
+       // to keep the connection alive.
+       GatewayOpCodeHeartbeat = 1
+       // GatewayOpCodeIdentify starts a new session during the initial handshake.
+       GatewayOpCodeIdentify = 2
+       // GatewayOpCodePresenceUpdate updates the client's presence.
+       GatewayOpCodePresenceUpdate = 3
+       // GatewayOpCodeVoiceStateUpdate is used to join/leave or
+       // move between voice channels.
+       GatewayOpCodeVoiceStateUpdate = 4
+
+       // Yes, there is no 5
+
+       // GatewayOpCodeResume resumes a previous session that was disconnected.
+       GatewayOpCodeResume = 6
+       // GatewayOpCodeReconnect announces that you should attempt to reconnect
+       // and resume immediately.
+       GatewayOpCodeReconnect = 7
+       // GatewayOpCodeRequestGuildMembers requests information about offline guild
+       // members in a large guild.
+       GatewayOpCodeRequestGuildMembers = 8
+       // GatewayOpCodeInvalidSession announces that the session has been invalidated and
+       // you should reconnect and identify/resume accordingly.
+       GatewayOpCodeInvalidSession = 9
+       // GatewayOpCodeHello is sent immediately after connecting and contains
+       // the heartbeat_interval to use.
+       GatewayOpCodeHello = 10
+       // GatewayOpCodeHeartbeatACK is sent in response to receiving a heartbeat
+       // to acknowledge that it has been received.
+       GatewayOpCodeHeartbeatACK = 11
+)
diff --git a/common/discord/types/types/guild-features.go b/common/discord/types/types/guild-features.go
new file mode 100644 (file)
index 0000000..41e488c
--- /dev/null
@@ -0,0 +1,40 @@
+package types
+
+// GuildFeatures is the features enabled for a Guild
+type GuildFeatures string
+
+const (
+       // GuildFeatureInviteSplash is the feature where a guild can set an invite splash background
+       GuildFeatureInviteSplash GuildFeatures = "INVITE_SPLASH"
+       // GuildFeatureVIPRegions is the feature where a guild has access to set 384kbps bitrate in voice
+       //      // (previously VIP voice servers)
+       GuildFeatureVIPRegions = "VIP_REGIONS"
+       // GuildFeatureVanityURL is the feature where a guild has access to set a vanity URL
+       GuildFeatureVanityURL = "VANITY_URL"
+       // GuildFeatureVerified is the feature where a guild is verified
+       GuildFeatureVerified = "VERIFIED"
+       // GuildFeaturePartnered is the feature where a guild is partnered
+       GuildFeaturePartnered = "PARTNERED"
+       // GuildFeatureCommunity is the feature where a guild can enable welcome screen, Membership Screening,
+       // and discovery, and receives community updates
+       GuildFeatureCommunity = "COMMUNITY"
+       // GuildFeatureCommerce is the feature where a guild has access to use commerce features (i.e. create store channels)
+       GuildFeatureCommerce = "COMMERCE"
+       // GuildFeatureNews is the feature where a guild has access to create news channels
+       GuildFeatureNews = "NEWS"
+       // GuildFeatureDiscoverable is the feature where a guild is able to be discovered in the directory
+       GuildFeatureDiscoverable = "DISCOVERABLE"
+       // GuildFeatureFeaturable is the feature where a guild is able to be featured in the directory
+       GuildFeatureFeaturable = "FEATURABLE"
+       // GuildFeatureAnimatedIcon is the feature where a guild has access to set an animated guild icon
+       GuildFeatureAnimatedIcon = "ANIMATED_ICON"
+       // GuildFeatureBanner is the feature where a guild has access to set a guild banner image
+       GuildFeatureBanner = "BANNER"
+       // GuildFeatureWelcomeScreenEnabled is the feature where a guild has enabled the welcome screen
+       GuildFeatureWelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED"
+       // GuildFeatureMemberMemberVerificationGateEnabled is the feature where a guild has enabled Membership Screening
+       GuildFeatureMemberMemberVerificationGateEnabled = "MEMBER_VERIFICATION_GATE_ENABLED"
+       // GuildFeaturePreviewEnabled is the feature where a guild can be previewed before joining via
+       // Membership Screening or the directory
+       GuildFeaturePreviewEnabled = "PREVIEW_ENABLED"
+)
diff --git a/common/discord/types/types/membership-states.go b/common/discord/types/types/membership-states.go
new file mode 100644 (file)
index 0000000..7d449e4
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// MembershipStates are the different state of a membership in a Team
+type MembershipStates int
+
+const (
+       // MembershipStateInvited is the state of a pending invitation
+       MembershipStateInvited MembershipStates = 1
+       // MembershipStateAccepted is the state of an accepted invitation
+       MembershipStateAccepted = 2
+)
diff --git a/common/discord/types/types/message-activity-types.go b/common/discord/types/types/message-activity-types.go
new file mode 100644 (file)
index 0000000..6dea7dd
--- /dev/null
@@ -0,0 +1,12 @@
+package types
+
+// MessageActivityTypes are the types of a message activity
+type MessageActivityTypes int
+
+//
+const (
+       MessageActivityTypeJoin        MessageActivityTypes = 1
+       MessageActivityTypeSpectate                         = 2
+       MessageActivityTypeListen                           = 3
+       MessageActivityTypeJoinRequest                      = 5
+)
diff --git a/common/discord/types/types/message-flags.go b/common/discord/types/types/message-flags.go
new file mode 100644 (file)
index 0000000..403d9dd
--- /dev/null
@@ -0,0 +1,20 @@
+package types
+
+// MessageFlags are the flags of a message
+type MessageFlags int
+
+const (
+       // MessageFlagCrossPosted is used when this message has been published to subscribed channels (
+       // via Channel Following)
+       MessageFlagCrossPosted MessageFlags = 1 << 0
+       // MessageFlagIsCrossPost is used when this message originated from a message in another channel (
+       // via Channel Following)
+       MessageFlagIsCrossPost = 1 << 1
+       // MessageFlagSuppressEmbeds is used when not include any embeds when serializing this message
+       MessageFlagSuppressEmbeds = 1 << 2
+       // MessageFlagSourceMessageDeleted is used when the source message for this cross post has been deleted (
+       // via Channel Following)
+       MessageFlagSourceMessageDeleted = 1 << 3
+       // MessageFlagUrgent is used when this message came from the urgent message system
+       MessageFlagUrgent = 1 << 4
+)
diff --git a/common/discord/types/types/message-types.go b/common/discord/types/types/message-types.go
new file mode 100644 (file)
index 0000000..a05a151
--- /dev/null
@@ -0,0 +1,25 @@
+package types
+
+// MessageTypes are the types of a message
+type MessageTypes int
+
+//
+const (
+       MessageTypeDefault                           MessageTypes = 0
+       MessageTypeRecipientAdd                                   = 1
+       MessageTypeRecipientRemove                                = 2
+       MessageTypeCall                                           = 3
+       MessageTypeChannelNameChange                              = 4
+       MessageTypeChannelIconChange                              = 5
+       MessageTypeChannelPinnedMessage                           = 6
+       MessageTypeGuildMemberJoin                                = 7
+       MessageTypeUserPremiumGuildSubscription                   = 8
+       MessageTypeUserPremiumGuildSubscriptionTier1              = 9
+       MessageTypeUserPremiumGuildSubscriptionTier2              = 10
+       MessageTypeUserPremiumGuildSubscriptionTier3              = 11
+       MessageTypeChannelFollowAdd                               = 12
+       MessageTypeGuildDiscoveryDisqualified                     = 14
+       MessageTypeGuildDiscoveryRequalified                      = 15
+       MessageTypeReply                                          = 19
+       MessageTypeApplicationCommand                             = 20
+)
diff --git a/common/discord/types/types/mfa-levels.go b/common/discord/types/types/mfa-levels.go
new file mode 100644 (file)
index 0000000..3d64810
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// MFALevels are the different level of MFA (a2f)
+type MFALevels int
+
+const (
+       // MFALevelNone is the level where MFA is not required
+       MFALevelNone MFALevels = 0
+       // MFALevelElevated is the level where MFA is required
+       MFALevelElevated = 1
+)
diff --git a/common/discord/types/types/premium-tiers.go b/common/discord/types/types/premium-tiers.go
new file mode 100644 (file)
index 0000000..c9004d4
--- /dev/null
@@ -0,0 +1,15 @@
+package types
+
+// PremiumTiers are the different tiers of a premium on a guild (aka Boosts)
+type PremiumTiers int
+
+const (
+       // PremiumTierNone is the tier with no boosts
+       PremiumTierNone PremiumTiers = 0
+       // PremiumTierTier1 is the first boosts tier
+       PremiumTierTier1 = 1
+       // PremiumTierTier2 is the second boosts tier
+       PremiumTierTier2 = 2
+       // PremiumTierTier3 is the third boosts tier
+       PremiumTierTier3 = 3
+)
diff --git a/common/discord/types/types/premium-types.go b/common/discord/types/types/premium-types.go
new file mode 100644 (file)
index 0000000..a214dd1
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// PremiumTypes is the level of premium a user has.
+type PremiumTypes int
+
+// Values for PremiumTypes
+const (
+       PremiumTypeNone         PremiumTypes = 0
+       PremiumTypeNitroClassic              = 1
+       PremiumTypeNitro                     = 2
+)
diff --git a/common/discord/types/types/statuses.go b/common/discord/types/types/statuses.go
new file mode 100644 (file)
index 0000000..1368581
--- /dev/null
@@ -0,0 +1,15 @@
+package types
+
+// Statuses is a Presence status for a user
+type Statuses string
+
+const (
+       // StatusOnline is the status for an online user
+       StatusOnline Statuses = "online"
+       // StatusIdle is the status for an idle user
+       StatusIdle = "idle"
+       // StatusDND is the status for a user in Do not Disturb
+       StatusDND = "dnd"
+       // StatusOffline is the status for an offline or invisible user
+       StatusOffline = "offline"
+)
diff --git a/common/discord/types/types/sticker-types.go b/common/discord/types/types/sticker-types.go
new file mode 100644 (file)
index 0000000..f546406
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// StickerTypes are the types of a sticker
+type StickerTypes int
+
+//
+const (
+       StickerTypePNG    StickerTypes = 1
+       StickerTypeAPNG                = 2
+       StickerTypeLottie              = 3
+)
diff --git a/common/discord/types/types/system-channel-flags.go b/common/discord/types/types/system-channel-flags.go
new file mode 100644 (file)
index 0000000..6064aba
--- /dev/null
@@ -0,0 +1,11 @@
+package types
+
+// SystemChannelFlags are the flags of a channel
+type SystemChannelFlags int
+
+const (
+       // SystemChannelFlagSuppressJoinNotifications is the flag when a channel suppresses member join notifications
+       SystemChannelFlagSuppressJoinNotifications SystemChannelFlags = 1 << 0
+       // SystemChannelFlagSuppressPremiumSubscriptions is the flag when a channel suppresses server boost notifications
+       SystemChannelFlagSuppressPremiumSubscriptions = 1 << 1
+)
diff --git a/common/discord/types/types/target-user-types.go b/common/discord/types/types/target-user-types.go
new file mode 100644 (file)
index 0000000..00243be
--- /dev/null
@@ -0,0 +1,9 @@
+package types
+
+// TargetUserTypes are the types of invite target
+type TargetUserTypes int
+
+const (
+       // TargetUserTypeStream is a stream target
+       TargetUserTypeStream TargetUserTypes = 1
+)
diff --git a/common/discord/types/types/update-status-statuses.go b/common/discord/types/types/update-status-statuses.go
new file mode 100644 (file)
index 0000000..39a06b4
--- /dev/null
@@ -0,0 +1,18 @@
+package types
+
+// UpdateStatusStatuses are the statuses used in a Update Status gateway command
+type UpdateStatusStatuses string
+
+//
+const (
+       // UpdateStatusStatusOnline is the online status
+       UpdateStatusStatusOnline UpdateStatusStatuses = "online"
+       // UpdateStatusStatusDoNotDisturb is the Do Not Disturb status
+       UpdateStatusStatusDoNotDisturb = "dnd"
+       // UpdateStatusStatusIdle is the AFK status
+       UpdateStatusStatusIdle = "idle"
+       // UpdateStatusStatusInvisible is the Invisible status, shown as offline
+       UpdateStatusStatusInvisible = "invisible"
+       // UpdateStatusStatusOffline is the offline status
+       UpdateStatusStatusOffline = "offline"
+)
diff --git a/common/discord/types/types/user-flags.go b/common/discord/types/types/user-flags.go
new file mode 100644 (file)
index 0000000..89292b9
--- /dev/null
@@ -0,0 +1,22 @@
+package types
+
+// UserFlags is the flags of a User
+type UserFlags int
+
+// Valid UserFlags
+const (
+       UserFlagNone                      UserFlags = 0
+       UserFlagDiscordEmployee                     = 1 << 0
+       UserFlagPartneredServerOwner                = 1 << 1
+       UserFlagHypeSquadEvents                     = 1 << 2
+       UserFlagBugHunterLevel1                     = 1 << 3
+       UserFlagHouseBravery                        = 1 << 6
+       UserFlagHouseBrilliance                     = 1 << 7
+       UserFlagHouseBalance                        = 1 << 8
+       UserFlagEarlySupporter                      = 1 << 9
+       UserFlagTeamUser                            = 1 << 10
+       UserFlagSystem                              = 1 << 12
+       UserFlagBugHunterLevel2                     = 1 << 14
+       UserFlagVerifiedBot                         = 1 << 16
+       UserFlagEarlyVerifiedBotDeveloper           = 1 << 17
+)
diff --git a/common/discord/types/types/verification-levels.go b/common/discord/types/types/verification-levels.go
new file mode 100644 (file)
index 0000000..874f864
--- /dev/null
@@ -0,0 +1,19 @@
+package types
+
+// VerificationLevels is the verification level of a guild
+type VerificationLevels int
+
+const (
+       // VerificationLevelNone needs nothing
+       VerificationLevelNone VerificationLevels = 0
+       // VerificationLevelLow needs members to have a verified email
+       VerificationLevelLow = 1
+       // VerificationLevelMedium needs members to be registered on Discord for
+       // longer than 5 minutes
+       VerificationLevelMedium = 2
+       // VerificationLevelHigh needs members to be a member of the server for
+       // longer than 10 minutes
+       VerificationLevelHigh = 3
+       // VerificationLevelVeryHigh needs members to have a verified phone number
+       VerificationLevelVeryHigh = 4
+)
diff --git a/common/discord/types/types/voice-gateway-close-event-codes.go b/common/discord/types/types/voice-gateway-close-event-codes.go
new file mode 100644 (file)
index 0000000..0adfb82
--- /dev/null
@@ -0,0 +1,53 @@
+package types
+
+// VoiceGatewayCloseEventCodes is a code explaining the close of a connection
+// to the Voice gateway
+type VoiceGatewayCloseEventCodes int
+
+// Valid codes
+const (
+       // VoiceGatewayCloseEventCodeUnknownOpcode is used after sending an
+       // invalid Opcode
+       VoiceGatewayCloseEventCodeUnknownOpcode VoiceGatewayCloseEventCodes = 4001
+       // VoiceGatewayCloseEventCodeFailedToDecodePayload is used after sending an
+       // invalid payload
+       VoiceGatewayCloseEventCodeFailedToDecodePayload = 4002
+       // VoiceGatewayCloseEventCodeNotAuthenticated is used after sending a payload
+       // prior to the Identifying one.
+       VoiceGatewayCloseEventCodeNotAuthenticated = 4003
+       // VoiceGatewayCloseEventCodeAuthenticationFailed is used after sending an
+       // invalid Identify payload
+       VoiceGatewayCloseEventCodeAuthenticationFailed = 4004
+       // VoiceGatewayCloseEventCodeAlreadyAuthenticated is used when sending more
+       // than ono Identify payload
+       VoiceGatewayCloseEventCodeAlreadyAuthenticated = 4005
+       // VoiceGatewayCloseEventCodeSessionNoLongerValid is used when a session is
+       // no longer valid
+       VoiceGatewayCloseEventCodeSessionNoLongerValid = 4006
+
+       /* there is no 4007 and 4008 */
+
+       // VoiceGatewayCloseEventCodeSessionTimeout is used when a session timed out
+       VoiceGatewayCloseEventCodeSessionTimeout = 4009
+
+       /* no 4010 :angry_face: */
+
+       // VoiceGatewayCloseEventCodeServerNotFound is used after asking for an
+       // invalid voice server
+       VoiceGatewayCloseEventCodeServerNotFound = 4011
+       // VoiceGatewayCloseEventCodeUnknownProtocol is used after sending an
+       // unrecognized protocol
+       VoiceGatewayCloseEventCodeUnknownProtocol = 4012
+
+       /* There is no 1043!!!! */
+
+       // VoiceGatewayCloseEventCodeDisconnected is used when the client has
+       // been disconnected and should not reconnect (deleted channel, kicked...)
+       VoiceGatewayCloseEventCodeDisconnected = 4014
+       // VoiceGatewayCloseEventCodeVoiceServerCrashed is used after a voice
+       // server crashed. Need to resume the connection...
+       VoiceGatewayCloseEventCodeVoiceServerCrashed = 4015
+       // VoiceGatewayCloseEventCodeUnknownEncryptionMode is used after sending a
+       // payload with an unrecognized encryption
+       VoiceGatewayCloseEventCodeUnknownEncryptionMode = 4016
+)
diff --git a/common/discord/types/types/voice-gateway-op-codes.go b/common/discord/types/types/voice-gateway-op-codes.go
new file mode 100644 (file)
index 0000000..6167a81
--- /dev/null
@@ -0,0 +1,37 @@
+package types
+
+// VoiceGatewayOpCodes are code tagged by the Discord Gateway to type payloads
+type VoiceGatewayOpCodes int
+
+// Valid OpCode values
+const (
+       // VoiceGatewayOpCodeIdentify is used to begin a voice websocket connection
+       VoiceGatewayOpCodeIdentify VoiceGatewayOpCodes = 0
+       // VoiceGatewayOpCodeSelectProtocol is used to select the voice protocol
+       VoiceGatewayOpCodeSelectProtocol = 1
+       // VoiceGatewayOpCodeReady is used to complete the websocket handshake
+       VoiceGatewayOpCodeReady = 2
+       // VoiceGatewayOpCodeHeartbeat is used to keep the connection alive
+       VoiceGatewayOpCodeHeartbeat = 3
+       // VoiceGatewayOpCodeSessionDescription is used to describe the session
+       VoiceGatewayOpCodeSessionDescription = 4
+       // VoiceGatewayOpCodeSpeaking is used to indicate which users are speaking
+       VoiceGatewayOpCodeSpeaking = 5
+       // VoiceGatewayOpCodeHeartbeatACK is used to acknowledge a
+       // received heartbeat
+       VoiceGatewayOpCodeHeartbeatACK = 6
+       // VoiceGatewayOpCodeResume is used to resume a connection
+       VoiceGatewayOpCodeResume = 7
+       // VoiceGatewayOpCodeHello is used to give the time to wait between sending
+       // heartbeats in milliseconds
+       VoiceGatewayOpCodeHello = 8
+       // VoiceGatewayOpCodeResumed is used to acknowledge a successful
+       // session resume
+       VoiceGatewayOpCodeResumed = 9
+
+       /* there is no 10, 11 and 12 :/ */
+
+       // VoiceGatewayOpCodeClientDisconnect is used to announce the client
+       // has disconnected from the voice channel
+       VoiceGatewayOpCodeClientDisconnect = 13
+)
diff --git a/common/gateway/BUILD.bazel b/common/gateway/BUILD.bazel
new file mode 100644 (file)
index 0000000..ae38896
--- /dev/null
@@ -0,0 +1,13 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "gateway",
+    srcs = [
+        "compressor.go",
+        "event-names.go",
+        "transporter.go",
+    ],
+    importpath = "github.com/discordnova/nova/common/gateway",
+    visibility = ["//visibility:public"],
+    deps = ["//common/discord/types/payloads/gateway"],
+)
diff --git a/common/gateway/compressor.go b/common/gateway/compressor.go
new file mode 100644 (file)
index 0000000..5579d96
--- /dev/null
@@ -0,0 +1,16 @@
+package gateway
+
+import "github.com/discordnova/nova/common/discord/types/payloads/gateway"
+
+// GatewayConnectionOptions is the options given to gateway when the connector is passed to it.
+type GatewayConnectionOptions struct {
+       Encoding             string
+       TransportCompression string
+}
+
+// Compression is the interface that needs to be implemented by a generic compressor.
+type Compression interface {
+       GetConnectionOptions() GatewayConnectionOptions
+       DecodeMessage(data []byte) (*gateway.Payload, error)
+       Reset() error
+}
diff --git a/common/gateway/event-names.go b/common/gateway/event-names.go
new file mode 100644 (file)
index 0000000..65dfd11
--- /dev/null
@@ -0,0 +1,52 @@
+package gateway
+
+// This is used to map the discord dispatch events
+// to internal names used by the event broker.
+
+// TODO: Update the types of events for the gateway v9
+var EventNames = map[string]string{
+       "READY":     "gateway.ready",
+       "RESUMED":   "gateway.resumed",
+       "RECONNECT": "gateway.reconnect",
+
+       "CHANNEL_CREATE": "channel.create",
+       "CHANNEL_UPDATE": "channel.update",
+       "CHANNEL_DELETE": "channel.delete",
+
+       "GUILD_CREATE": "guild.create",
+       "GUILD_UPDATE": "guild.update",
+       "GUILD_DELETE": "guild.delete",
+
+       "GUILD_BAN_ADD":    "guild.ban.add",
+       "GUILD_BAN_REMOVE": "guild.ban.remove",
+
+       "GUILD_EMOJIS_UPDATE":       "guild.emojis_update",
+       "GUILD_INTEGRATIONS_UPDATE": "guild.integrations_update",
+
+       "GUILD_MEMBER_ADD":     "guild.member.add",
+       "GUILD_MEMBER_REMOVE":  "guild.member.remove",
+       "GUILD_MEMBERS_UPDATE": "guild.member.update",
+
+       "GUILD_MEMBERS_CHUNK": "guild_members_chunk",
+
+       "GUILD_ROLE_CREATE": "guild.role.create",
+       "GUILD_ROLE_UPDATE": "guild.role.update",
+       "GUILD_ROLE_DELETE": "guild.role.delete",
+
+       "INVITE_CREATE": "guild.invite.create",
+       "INVITE_DELETE": "guild.invite.guild",
+
+       "MESSAGE_CREATE":                "message.create",
+       "MESSAGE_UPDATE":                "message.update",
+       "MESSAGE_DELETE_BULK":           "message.delete_bulk",
+       "MESSAGE_REACTION_ADD":          "message.reactions.add",
+       "MESSAGE_REACTION_REMOVE":       "message.reactions.remove",
+       "MESSAGE_REACTION_REMOVE_ALL":   "message.reactions.remove_all",
+       "MESSAGE_REACTION_REMOVE_EMOJI": "message.reactions.remove_emoji",
+       "PRESENCE_UPDATE":               "users.presence_update",
+       "TYPING_START":                  "message.typing_start",
+       "USER_UPDATE":                   "users.update",
+       "VOICE_STATE_UPDATE":            "voice.state_update",
+       "VOICE_SERVER_UPDATE":           "voice.server_update",
+       "WEBHOOKS_UPDATE":               "guild.webhooks.update",
+}
diff --git a/common/gateway/transporter.go b/common/gateway/transporter.go
new file mode 100644 (file)
index 0000000..44b2c4b
--- /dev/null
@@ -0,0 +1,7 @@
+package gateway
+
+// Transporter is the base interface to push events to
+type Transporter interface {
+       PushDispatchEvent(name string, data []byte) error
+       PushEventCache(name string, data []byte) error
+}
diff --git a/common/go.mod b/common/go.mod
new file mode 100644 (file)
index 0000000..da9c600
--- /dev/null
@@ -0,0 +1,3 @@
+module github.com/discordnova/nova/common
+
+go 1.16
index b8f7a22a083625c4699c7c12400d31fc4561b167..4146386eb0c6192e01a38395953b30300161ac20 100644 (file)
--- a/deps.bzl
+++ b/deps.bzl
@@ -4,8 +4,26 @@ def go_dependencies():
     go_repository(
         name = "co_honnef_go_tools",
         importpath = "honnef.co/go/tools",
-        sum = "h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=",
-        version = "v0.0.1-2020.1.4",
+        sum = "h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=",
+        version = "v0.0.1-2019.2.3",
+    )
+    go_repository(
+        name = "com_github_afex_hystrix_go",
+        importpath = "github.com/afex/hystrix-go",
+        sum = "h1:rFw4nCn9iMW+Vajsk51NtYIcwSTkXr+JGrMd36kTDJw=",
+        version = "v0.0.0-20180502004556-fa1af6a1f4f5",
+    )
+    go_repository(
+        name = "com_github_alecthomas_template",
+        importpath = "github.com/alecthomas/template",
+        sum = "h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=",
+        version = "v0.0.0-20190718012654-fb15b899a751",
+    )
+    go_repository(
+        name = "com_github_alecthomas_units",
+        importpath = "github.com/alecthomas/units",
+        sum = "h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=",
+        version = "v0.0.0-20190924025748-f65c72e2690d",
     )
 
     go_repository(
@@ -20,6 +38,13 @@ def go_dependencies():
         sum = "h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg=",
         version = "v1.0.0",
     )
+    go_repository(
+        name = "com_github_apache_thrift",
+        importpath = "github.com/apache/thrift",
+        sum = "h1:5hryIiq9gtn+MiLVn0wP37kb/uTeRZgN08WoCsAhIhI=",
+        version = "v0.13.0",
+    )
+
     go_repository(
         name = "com_github_armon_circbuf",
         importpath = "github.com/armon/circbuf",
@@ -38,6 +63,37 @@ def go_dependencies():
         sum = "h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to=",
         version = "v0.0.0-20180808171621-7fddfc383310",
     )
+    go_repository(
+        name = "com_github_aryann_difflib",
+        importpath = "github.com/aryann/difflib",
+        sum = "h1:pv34s756C4pEXnjgPfGYgdhg/ZdajGhyOvzx8k+23nw=",
+        version = "v0.0.0-20170710044230-e206f873d14a",
+    )
+    go_repository(
+        name = "com_github_aws_aws_lambda_go",
+        importpath = "github.com/aws/aws-lambda-go",
+        sum = "h1:SuCy7H3NLyp+1Mrfp+m80jcbi9KYWAs9/BXwppwRDzY=",
+        version = "v1.13.3",
+    )
+    go_repository(
+        name = "com_github_aws_aws_sdk_go",
+        importpath = "github.com/aws/aws-sdk-go",
+        sum = "h1:0xphMHGMLBrPMfxR2AmVjZKcMEESEgWF8Kru94BNByk=",
+        version = "v1.27.0",
+    )
+    go_repository(
+        name = "com_github_aws_aws_sdk_go_v2",
+        importpath = "github.com/aws/aws-sdk-go-v2",
+        sum = "h1:qZ+woO4SamnH/eEbjM2IDLhRNwIwND/RQyVlBLp3Jqg=",
+        version = "v0.18.0",
+    )
+    go_repository(
+        name = "com_github_beorn7_perks",
+        importpath = "github.com/beorn7/perks",
+        sum = "h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=",
+        version = "v1.0.1",
+    )
+
     go_repository(
         name = "com_github_bgentry_speakeasy",
         importpath = "github.com/bgentry/speakeasy",
@@ -50,6 +106,13 @@ def go_dependencies():
         sum = "h1:w/jqZtC9YD4DS/Vp9GhWfWcCpuAL58oTnLoI8vE9YHU=",
         version = "v0.0.4",
     )
+    go_repository(
+        name = "com_github_boz_go_throttle",
+        importpath = "github.com/boz/go-throttle",
+        sum = "h1:1fx+RA5lk1ZkzPAUP7DEgZnVHYxEcHO77vQO/V8z/2Q=",
+        version = "v0.0.0-20160922054636-fdc4eab740c1",
+    )
+
     go_repository(
         name = "com_github_burntsushi_toml",
         importpath = "github.com/BurntSushi/toml",
@@ -62,12 +125,32 @@ def go_dependencies():
         sum = "h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=",
         version = "v0.0.0-20160522181843-27f122750802",
     )
+    go_repository(
+        name = "com_github_casbin_casbin_v2",
+        importpath = "github.com/casbin/casbin/v2",
+        sum = "h1:bTwon/ECRx9dwBy2ewRVr5OiqjeXSGiTUY74sDPQi/g=",
+        version = "v2.1.2",
+    )
+    go_repository(
+        name = "com_github_cenkalti_backoff",
+        importpath = "github.com/cenkalti/backoff",
+        sum = "h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=",
+        version = "v2.2.1+incompatible",
+    )
+
     go_repository(
         name = "com_github_census_instrumentation_opencensus_proto",
         importpath = "github.com/census-instrumentation/opencensus-proto",
         sum = "h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk=",
         version = "v0.2.1",
     )
+    go_repository(
+        name = "com_github_cespare_xxhash_v2",
+        importpath = "github.com/cespare/xxhash/v2",
+        sum = "h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=",
+        version = "v2.1.1",
+    )
+
     go_repository(
         name = "com_github_chzyer_logex",
         importpath = "github.com/chzyer/logex",
@@ -86,6 +169,13 @@ def go_dependencies():
         sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=",
         version = "v0.0.0-20180213035817-a1ea475d72b1",
     )
+    go_repository(
+        name = "com_github_clbanning_x2j",
+        importpath = "github.com/clbanning/x2j",
+        sum = "h1:EdRZT3IeKQmfCSrgo8SZ8V3MEnskuJP0wCYNpe+aiXo=",
+        version = "v0.0.0-20191024224557-825249438eec",
+    )
+
     go_repository(
         name = "com_github_client9_misspell",
         importpath = "github.com/client9/misspell",
@@ -98,35 +188,106 @@ def go_dependencies():
         sum = "h1:cqQfy1jclcSy/FwLjemeg3SR1yaINm74aQyupQ0Bl8M=",
         version = "v0.0.0-20201120205902-5459f2c99403",
     )
+    go_repository(
+        name = "com_github_cockroachdb_datadriven",
+        importpath = "github.com/cockroachdb/datadriven",
+        sum = "h1:OaNxuTZr7kxeODyLWsRMC+OD03aFUH+mW6r2d+MWa5Y=",
+        version = "v0.0.0-20190809214429-80d97fb3cbaa",
+    )
+    go_repository(
+        name = "com_github_codahale_hdrhistogram",
+        importpath = "github.com/codahale/hdrhistogram",
+        sum = "h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w=",
+        version = "v0.0.0-20161010025455-3a0bb77429bd",
+    )
+
     go_repository(
         name = "com_github_coreos_go_semver",
         importpath = "github.com/coreos/go-semver",
-        sum = "h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=",
-        version = "v0.3.0",
+        sum = "h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY=",
+        version = "v0.2.0",
     )
+    go_repository(
+        name = "com_github_coreos_go_systemd",
+        importpath = "github.com/coreos/go-systemd",
+        sum = "h1:u9SHYsPQNyt5tgDm3YN7+9dYrpK96E5wFilTFWIDZOM=",
+        version = "v0.0.0-20180511133405-39ca1b05acc7",
+    )
+
     go_repository(
         name = "com_github_coreos_go_systemd_v22",
         importpath = "github.com/coreos/go-systemd/v22",
         sum = "h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=",
         version = "v22.3.2",
     )
+    go_repository(
+        name = "com_github_coreos_pkg",
+        importpath = "github.com/coreos/pkg",
+        sum = "h1:CAKfRE2YtTUIjjh1bkBtyYFaUT/WmOqsJjgtihT0vMI=",
+        version = "v0.0.0-20160727233714-3ac0863d7acf",
+    )
+
     go_repository(
         name = "com_github_cpuguy83_go_md2man_v2",
         importpath = "github.com/cpuguy83/go-md2man/v2",
-        sum = "h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=",
-        version = "v2.0.0",
+        sum = "h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=",
+        version = "v2.0.0-20190314233015-f79a8a8ca69d",
     )
+    go_repository(
+        name = "com_github_creack_pty",
+        importpath = "github.com/creack/pty",
+        sum = "h1:6pwm8kMQKCmgUg0ZHTm5+/YvRK0s3THD/28+T6/kk4A=",
+        version = "v1.1.7",
+    )
+
     go_repository(
         name = "com_github_davecgh_go_spew",
         importpath = "github.com/davecgh/go-spew",
         sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=",
         version = "v1.1.1",
     )
+    go_repository(
+        name = "com_github_dgrijalva_jwt_go",
+        importpath = "github.com/dgrijalva/jwt-go",
+        sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=",
+        version = "v3.2.0+incompatible",
+    )
+    go_repository(
+        name = "com_github_dustin_go_humanize",
+        importpath = "github.com/dustin/go-humanize",
+        sum = "h1:qk/FSDDxo05wdJH28W+p5yivv7LuLYLRXPPD8KQCtZs=",
+        version = "v0.0.0-20171111073723-bb3d318650d4",
+    )
+    go_repository(
+        name = "com_github_eapache_go_resiliency",
+        importpath = "github.com/eapache/go-resiliency",
+        sum = "h1:1NtRmCAqadE2FN4ZcN6g90TP3uk8cg9rn9eNK2197aU=",
+        version = "v1.1.0",
+    )
+    go_repository(
+        name = "com_github_eapache_go_xerial_snappy",
+        importpath = "github.com/eapache/go-xerial-snappy",
+        sum = "h1:YEetp8/yCZMuEPMUDHG0CW/brkkEp8mzqk2+ODEitlw=",
+        version = "v0.0.0-20180814174437-776d5712da21",
+    )
+    go_repository(
+        name = "com_github_eapache_queue",
+        importpath = "github.com/eapache/queue",
+        sum = "h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=",
+        version = "v1.1.0",
+    )
+    go_repository(
+        name = "com_github_edsrzf_mmap_go",
+        importpath = "github.com/edsrzf/mmap-go",
+        sum = "h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw=",
+        version = "v1.0.0",
+    )
+
     go_repository(
         name = "com_github_envoyproxy_go_control_plane",
         importpath = "github.com/envoyproxy/go-control-plane",
-        sum = "h1:QyzYnTnPE15SQyUeqU6qLbWxMkwyAyu+vGksa0b7j00=",
-        version = "v0.9.9-0.20210217033140-668b12f5399d",
+        sum = "h1:4cmBvAEBNJaGARUEs3/suWRyfyBfhf7I60WBZq+bv2w=",
+        version = "v0.9.1-0.20191026205805-5f8ba28d4473",
     )
     go_repository(
         name = "com_github_envoyproxy_protoc_gen_validate",
@@ -140,11 +301,24 @@ def go_dependencies():
         sum = "h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=",
         version = "v1.7.0",
     )
+    go_repository(
+        name = "com_github_franela_goblin",
+        importpath = "github.com/franela/goblin",
+        sum = "h1:gb2Z18BhTPJPpLQWj4T+rfKHYCHxRHCtRxhKKjRidVw=",
+        version = "v0.0.0-20200105215937-c9ffbefa60db",
+    )
+    go_repository(
+        name = "com_github_franela_goreq",
+        importpath = "github.com/franela/goreq",
+        sum = "h1:a9ENSRDFBUPkJ5lCgVZh26+ZbGyoVJG7yb5SSzF5H54=",
+        version = "v0.0.0-20171204163338-bcd34c9993f8",
+    )
+
     go_repository(
         name = "com_github_fsnotify_fsnotify",
         importpath = "github.com/fsnotify/fsnotify",
-        sum = "h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=",
-        version = "v1.4.9",
+        sum = "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=",
+        version = "v1.4.7",
     )
     go_repository(
         name = "com_github_ghodss_yaml",
@@ -164,6 +338,31 @@ def go_dependencies():
         sum = "h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I=",
         version = "v0.0.0-20200222043503-6f7a984d4dc4",
     )
+    go_repository(
+        name = "com_github_go_kit_kit",
+        importpath = "github.com/go-kit/kit",
+        sum = "h1:dXFJfIHVvUcpSgDOV+Ne6t7jXri8Tfv2uOLHUZ2XNuo=",
+        version = "v0.10.0",
+    )
+    go_repository(
+        name = "com_github_go_logfmt_logfmt",
+        importpath = "github.com/go-logfmt/logfmt",
+        sum = "h1:TrB8swr/68K7m9CcGut2g3UOihhbcbiMAYiuTXdEih4=",
+        version = "v0.5.0",
+    )
+    go_repository(
+        name = "com_github_go_sql_driver_mysql",
+        importpath = "github.com/go-sql-driver/mysql",
+        sum = "h1:7LxgVwFb2hIQtMm87NdgAVfXjnt4OePseqT1tKx+opk=",
+        version = "v1.4.0",
+    )
+    go_repository(
+        name = "com_github_go_stack_stack",
+        importpath = "github.com/go-stack/stack",
+        sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=",
+        version = "v1.8.0",
+    )
+
     go_repository(
         name = "com_github_godbus_dbus_v5",
         importpath = "github.com/godbus/dbus/v5",
@@ -177,11 +376,18 @@ def go_dependencies():
         sum = "h1:Bly40vAh4qofpCoVYGLYC0TS9lNGNA1OVSPuzhIK7Q8=",
         version = "v2.16.0",
     )
+    go_repository(
+        name = "com_github_gogo_googleapis",
+        importpath = "github.com/gogo/googleapis",
+        sum = "h1:kFkMAZBNAn4j7K0GiZr8cRYzejq68VbheufiV3YuyFI=",
+        version = "v1.1.0",
+    )
+
     go_repository(
         name = "com_github_gogo_protobuf",
         importpath = "github.com/gogo/protobuf",
-        sum = "h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=",
-        version = "v1.3.2",
+        sum = "h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=",
+        version = "v1.2.1",
     )
     go_repository(
         name = "com_github_golang_glog",
@@ -192,27 +398,27 @@ def go_dependencies():
     go_repository(
         name = "com_github_golang_groupcache",
         importpath = "github.com/golang/groupcache",
-        sum = "h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=",
-        version = "v0.0.0-20200121045136-8c9f03a8e57e",
+        sum = "h1:ZgQEtGgCBiWRM39fZuwSd1LwSqqSW0hOdXCYYDX0R3I=",
+        version = "v0.0.0-20190702054246-869f871628b6",
     )
     go_repository(
         name = "com_github_golang_mock",
         importpath = "github.com/golang/mock",
-        sum = "h1:jlYHihg//f7RRwuPfptm04yp4s7O6Kw8EZiVYIGcH0g=",
-        version = "v1.5.0",
+        sum = "h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8=",
+        version = "v1.1.1",
     )
     go_repository(
         name = "com_github_golang_protobuf",
         importpath = "github.com/golang/protobuf",
-        sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=",
-        version = "v1.5.2",
+        sum = "h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM=",
+        version = "v1.4.3",
     )
 
     go_repository(
         name = "com_github_golang_snappy",
         importpath = "github.com/golang/snappy",
-        sum = "h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA=",
-        version = "v0.0.3",
+        sum = "h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=",
+        version = "v0.0.0-20180518054509-2e65f85255db",
     )
     go_repository(
         name = "com_github_google_btree",
@@ -223,8 +429,8 @@ def go_dependencies():
     go_repository(
         name = "com_github_google_go_cmp",
         importpath = "github.com/google/go-cmp",
-        sum = "h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=",
-        version = "v0.5.5",
+        sum = "h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=",
+        version = "v0.4.0",
     )
     go_repository(
         name = "com_github_google_gofuzz",
@@ -259,8 +465,8 @@ def go_dependencies():
     go_repository(
         name = "com_github_google_uuid",
         importpath = "github.com/google/uuid",
-        sum = "h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y=",
-        version = "v1.1.2",
+        sum = "h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=",
+        version = "v1.0.0",
     )
     go_repository(
         name = "com_github_googleapis_gax_go_v2",
@@ -274,23 +480,54 @@ def go_dependencies():
         sum = "h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=",
         version = "v0.0.0-20181017120253-0766667cb4d1",
     )
+    go_repository(
+        name = "com_github_gorilla_context",
+        importpath = "github.com/gorilla/context",
+        sum = "h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8=",
+        version = "v1.1.1",
+    )
+    go_repository(
+        name = "com_github_gorilla_mux",
+        importpath = "github.com/gorilla/mux",
+        sum = "h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw=",
+        version = "v1.7.3",
+    )
+    go_repository(
+        name = "com_github_gorilla_websocket",
+        importpath = "github.com/gorilla/websocket",
+        sum = "h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=",
+        version = "v1.4.2",
+    )
+    go_repository(
+        name = "com_github_grpc_ecosystem_go_grpc_middleware",
+        importpath = "github.com/grpc-ecosystem/go-grpc-middleware",
+        sum = "h1:z53tR0945TRRQO/fLEVPI6SMv7ZflF0TEaTAoU7tOzg=",
+        version = "v1.0.1-0.20190118093823-f849b5445de4",
+    )
+    go_repository(
+        name = "com_github_grpc_ecosystem_go_grpc_prometheus",
+        importpath = "github.com/grpc-ecosystem/go-grpc-prometheus",
+        sum = "h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=",
+        version = "v1.2.0",
+    )
+
     go_repository(
         name = "com_github_grpc_ecosystem_grpc_gateway",
         importpath = "github.com/grpc-ecosystem/grpc-gateway",
-        sum = "h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=",
-        version = "v1.16.0",
+        sum = "h1:UImYN5qQ8tuGpGE16ZmjvcTtTw24zw1QAp/SlnNrZhI=",
+        version = "v1.9.5",
     )
     go_repository(
         name = "com_github_hashicorp_consul_api",
         importpath = "github.com/hashicorp/consul/api",
-        sum = "h1:BNQPM9ytxj6jbjjdRPioQ94T6YXriSopn0i8COv6SRA=",
-        version = "v1.1.0",
+        sum = "h1:HXNYlRkkM/t+Y/Yhxtwcy02dlYwIaoxzvxPnS+cqy78=",
+        version = "v1.3.0",
     )
     go_repository(
         name = "com_github_hashicorp_consul_sdk",
         importpath = "github.com/hashicorp/consul/sdk",
-        sum = "h1:LnuDWGNsoajlhGyHJvuWW6FVqRl8JOTPqS6CPTsYjhY=",
-        version = "v0.1.1",
+        sum = "h1:UOxjlb4xVNF93jak1mzzoBatyFju9nrkxpVwIp/QqxQ=",
+        version = "v0.3.0",
     )
     go_repository(
         name = "com_github_hashicorp_errwrap",
@@ -352,6 +589,13 @@ def go_dependencies():
         sum = "h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE=",
         version = "v1.0.1",
     )
+    go_repository(
+        name = "com_github_hashicorp_go_version",
+        importpath = "github.com/hashicorp/go-version",
+        sum = "h1:3vNe/fWF5CBgRIguda1meWhsZHy3m8gCJ5wx+dIzX/E=",
+        version = "v1.2.0",
+    )
+
     go_repository(
         name = "com_github_hashicorp_golang_lru",
         importpath = "github.com/hashicorp/golang-lru",
@@ -388,6 +632,19 @@ def go_dependencies():
         sum = "h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0=",
         version = "v0.8.2",
     )
+    go_repository(
+        name = "com_github_hpcloud_tail",
+        importpath = "github.com/hpcloud/tail",
+        sum = "h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=",
+        version = "v1.0.0",
+    )
+    go_repository(
+        name = "com_github_hudl_fargo",
+        importpath = "github.com/hudl/fargo",
+        sum = "h1:0U6+BtN6LhaYuTnIJq4Wyq5cpn6O2kWrxAtcqBmYY6w=",
+        version = "v1.3.0",
+    )
+
     go_repository(
         name = "com_github_ianlancetaylor_demangle",
         importpath = "github.com/ianlancetaylor/demangle",
@@ -400,11 +657,36 @@ def go_dependencies():
         sum = "h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=",
         version = "v1.0.0",
     )
+    go_repository(
+        name = "com_github_influxdata_influxdb1_client",
+        importpath = "github.com/influxdata/influxdb1-client",
+        sum = "h1:/WZQPMZNsjZ7IlCpsLGdQBINg5bxKQ1K1sh6awxLtkA=",
+        version = "v0.0.0-20191209144304-8bf82d3c094d",
+    )
+    go_repository(
+        name = "com_github_jmespath_go_jmespath",
+        importpath = "github.com/jmespath/go-jmespath",
+        sum = "h1:pmfjZENx5imkbgOkpRUYLnmbU7UEFbjtDA2hxJ1ichM=",
+        version = "v0.0.0-20180206201540-c2b33e8439af",
+    )
+    go_repository(
+        name = "com_github_jonboulle_clockwork",
+        importpath = "github.com/jonboulle/clockwork",
+        sum = "h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo=",
+        version = "v0.1.0",
+    )
+    go_repository(
+        name = "com_github_jpillora_backoff",
+        importpath = "github.com/jpillora/backoff",
+        sum = "h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=",
+        version = "v1.0.0",
+    )
+
     go_repository(
         name = "com_github_json_iterator_go",
         importpath = "github.com/json-iterator/go",
-        sum = "h1:uVUAXhF2To8cbw/3xN3pxj6kk7TYKs98NIrTqPlMWAQ=",
-        version = "v1.1.11",
+        sum = "h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68=",
+        version = "v1.1.10",
     )
     go_repository(
         name = "com_github_jstemmer_go_junit_report",
@@ -418,11 +700,18 @@ def go_dependencies():
         sum = "h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=",
         version = "v4.20.0+incompatible",
     )
+    go_repository(
+        name = "com_github_julienschmidt_httprouter",
+        importpath = "github.com/julienschmidt/httprouter",
+        sum = "h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=",
+        version = "v1.3.0",
+    )
+
     go_repository(
         name = "com_github_kisielk_errcheck",
         importpath = "github.com/kisielk/errcheck",
-        sum = "h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY=",
-        version = "v1.5.0",
+        sum = "h1:ZqfnKyx9KGpRcW04j5nnPDgRgoXUeLh2YFBeFzphcA0=",
+        version = "v1.1.0",
     )
     go_repository(
         name = "com_github_kisielk_gotool",
@@ -437,12 +726,32 @@ def go_dependencies():
         sum = "h1:2KCfW3I9M7nSc5wOqXAlW2v2U6v+w6cbjvbfp+OykW8=",
         version = "v1.12.2",
     )
+    go_repository(
+        name = "com_github_knetic_govaluate",
+        importpath = "github.com/Knetic/govaluate",
+        sum = "h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw=",
+        version = "v3.0.1-0.20171022003610-9aa49832a739+incompatible",
+    )
+    go_repository(
+        name = "com_github_konsorten_go_windows_terminal_sequences",
+        importpath = "github.com/konsorten/go-windows-terminal-sequences",
+        sum = "h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8=",
+        version = "v1.0.3",
+    )
+
     go_repository(
         name = "com_github_kr_fs",
         importpath = "github.com/kr/fs",
         sum = "h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=",
         version = "v0.1.0",
     )
+    go_repository(
+        name = "com_github_kr_logfmt",
+        importpath = "github.com/kr/logfmt",
+        sum = "h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=",
+        version = "v0.0.0-20140226030751-b84e30acd515",
+    )
+
     go_repository(
         name = "com_github_kr_pretty",
         importpath = "github.com/kr/pretty",
@@ -461,6 +770,25 @@ def go_dependencies():
         sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
         version = "v0.1.0",
     )
+    go_repository(
+        name = "com_github_lightstep_lightstep_tracer_common_golang_gogo",
+        importpath = "github.com/lightstep/lightstep-tracer-common/golang/gogo",
+        sum = "h1:143Bb8f8DuGWck/xpNUOckBVYfFbBTnLevfRZ1aVVqo=",
+        version = "v0.0.0-20190605223551-bc2310a04743",
+    )
+    go_repository(
+        name = "com_github_lightstep_lightstep_tracer_go",
+        importpath = "github.com/lightstep/lightstep-tracer-go",
+        sum = "h1:vi1F1IQ8N7hNWytK9DpJsUfQhGuNSc19z330K6vl4zk=",
+        version = "v0.18.1",
+    )
+    go_repository(
+        name = "com_github_lyft_protoc_gen_validate",
+        importpath = "github.com/lyft/protoc-gen-validate",
+        sum = "h1:KNt/RhmQTOLr7Aj8PsJ7mTronaFyx80mRTT9qF261dA=",
+        version = "v0.0.13",
+    )
+
     go_repository(
         name = "com_github_magiconair_properties",
         importpath = "github.com/magiconair/properties",
@@ -476,9 +804,22 @@ def go_dependencies():
     go_repository(
         name = "com_github_mattn_go_isatty",
         importpath = "github.com/mattn/go-isatty",
-        sum = "h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=",
-        version = "v0.0.3",
+        sum = "h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs=",
+        version = "v0.0.4",
     )
+    go_repository(
+        name = "com_github_mattn_go_runewidth",
+        importpath = "github.com/mattn/go-runewidth",
+        sum = "h1:UnlwIPBGaTZfPQ6T1IGzPI0EkYAQmT9fAEJ/poFC63o=",
+        version = "v0.0.2",
+    )
+    go_repository(
+        name = "com_github_matttproud_golang_protobuf_extensions",
+        importpath = "github.com/matttproud/golang_protobuf_extensions",
+        sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=",
+        version = "v1.0.1",
+    )
+
     go_repository(
         name = "com_github_miekg_dns",
         importpath = "github.com/miekg/dns",
@@ -518,14 +859,14 @@ def go_dependencies():
     go_repository(
         name = "com_github_mitchellh_mapstructure",
         importpath = "github.com/mitchellh/mapstructure",
-        sum = "h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag=",
-        version = "v1.4.1",
+        sum = "h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=",
+        version = "v1.1.2",
     )
     go_repository(
         name = "com_github_modern_go_concurrent",
         importpath = "github.com/modern-go/concurrent",
-        sum = "h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=",
-        version = "v0.0.0-20180228061459-e0a39a4cb421",
+        sum = "h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=",
+        version = "v0.0.0-20180306012644-bacd9c7ef1dd",
     )
     go_repository(
         name = "com_github_modern_go_reflect2",
@@ -533,24 +874,160 @@ def go_dependencies():
         sum = "h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=",
         version = "v1.0.1",
     )
+    go_repository(
+        name = "com_github_mwitkow_go_conntrack",
+        importpath = "github.com/mwitkow/go-conntrack",
+        sum = "h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU=",
+        version = "v0.0.0-20190716064945-2f068394615f",
+    )
+    go_repository(
+        name = "com_github_nats_io_jwt",
+        importpath = "github.com/nats-io/jwt",
+        sum = "h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI=",
+        version = "v0.3.2",
+    )
+    go_repository(
+        name = "com_github_nats_io_nats_go",
+        importpath = "github.com/nats-io/nats.go",
+        sum = "h1:ik3HbLhZ0YABLto7iX80pZLPw/6dx3T+++MZJwLnMrQ=",
+        version = "v1.9.1",
+    )
+    go_repository(
+        name = "com_github_nats_io_nats_server_v2",
+        importpath = "github.com/nats-io/nats-server/v2",
+        sum = "h1:i2Ly0B+1+rzNZHHWtD4ZwKi+OU5l+uQo1iDHZ2PmiIc=",
+        version = "v2.1.2",
+    )
+    go_repository(
+        name = "com_github_nats_io_nkeys",
+        importpath = "github.com/nats-io/nkeys",
+        sum = "h1:6JrEfig+HzTH85yxzhSVbjHRJv9cn0p6n3IngIcM5/k=",
+        version = "v0.1.3",
+    )
+    go_repository(
+        name = "com_github_nats_io_nuid",
+        importpath = "github.com/nats-io/nuid",
+        sum = "h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=",
+        version = "v1.0.1",
+    )
+    go_repository(
+        name = "com_github_oklog_oklog",
+        importpath = "github.com/oklog/oklog",
+        sum = "h1:wVfs8F+in6nTBMkA7CbRw+zZMIB7nNM825cM1wuzoTk=",
+        version = "v0.3.2",
+    )
+    go_repository(
+        name = "com_github_oklog_run",
+        importpath = "github.com/oklog/run",
+        sum = "h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=",
+        version = "v1.0.0",
+    )
+    go_repository(
+        name = "com_github_olekukonko_tablewriter",
+        importpath = "github.com/olekukonko/tablewriter",
+        sum = "h1:58+kh9C6jJVXYjt8IE48G2eWl6BjwU5Gj0gqY84fy78=",
+        version = "v0.0.0-20170122224234-a0225b3f23b5",
+    )
+    go_repository(
+        name = "com_github_onsi_ginkgo",
+        importpath = "github.com/onsi/ginkgo",
+        sum = "h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=",
+        version = "v1.7.0",
+    )
+    go_repository(
+        name = "com_github_onsi_gomega",
+        importpath = "github.com/onsi/gomega",
+        sum = "h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=",
+        version = "v1.4.3",
+    )
+    go_repository(
+        name = "com_github_op_go_logging",
+        importpath = "github.com/op/go-logging",
+        sum = "h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88=",
+        version = "v0.0.0-20160315200505-970db520ece7",
+    )
+    go_repository(
+        name = "com_github_opentracing_basictracer_go",
+        importpath = "github.com/opentracing/basictracer-go",
+        sum = "h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo=",
+        version = "v1.0.0",
+    )
+    go_repository(
+        name = "com_github_opentracing_contrib_go_observer",
+        importpath = "github.com/opentracing-contrib/go-observer",
+        sum = "h1:lM6RxxfUMrYL/f8bWEUqdXrANWtrL7Nndbm9iFN0DlU=",
+        version = "v0.0.0-20170622124052-a52f23424492",
+    )
+    go_repository(
+        name = "com_github_opentracing_opentracing_go",
+        importpath = "github.com/opentracing/opentracing-go",
+        sum = "h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=",
+        version = "v1.1.0",
+    )
+    go_repository(
+        name = "com_github_openzipkin_contrib_zipkin_go_opentracing",
+        importpath = "github.com/openzipkin-contrib/zipkin-go-opentracing",
+        sum = "h1:ZCnq+JUrvXcDVhX/xRolRBZifmabN1HcS1wrPSvxhrU=",
+        version = "v0.4.5",
+    )
+    go_repository(
+        name = "com_github_openzipkin_zipkin_go",
+        importpath = "github.com/openzipkin/zipkin-go",
+        sum = "h1:nY8Hti+WKaP0cRsSeQ026wU03QsM762XBeCXBb9NAWI=",
+        version = "v0.2.2",
+    )
+    go_repository(
+        name = "com_github_pact_foundation_pact_go",
+        importpath = "github.com/pact-foundation/pact-go",
+        sum = "h1:OYkFijGHoZAYbOIb1LWXrwKQbMMRUv1oQ89blD2Mh2Q=",
+        version = "v1.0.4",
+    )
+
     go_repository(
         name = "com_github_pascaldekloe_goe",
         importpath = "github.com/pascaldekloe/goe",
         sum = "h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs=",
         version = "v0.0.0-20180627143212-57f6aae5913c",
     )
+    go_repository(
+        name = "com_github_pborman_uuid",
+        importpath = "github.com/pborman/uuid",
+        sum = "h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=",
+        version = "v1.2.0",
+    )
+
     go_repository(
         name = "com_github_pelletier_go_toml",
         importpath = "github.com/pelletier/go-toml",
         sum = "h1:zeC5b1GviRUyKYd6OJPvBU/mcVDVoL1OhT17FCt5dSQ=",
         version = "v1.9.3",
     )
+    go_repository(
+        name = "com_github_performancecopilot_speed",
+        importpath = "github.com/performancecopilot/speed",
+        sum = "h1:2WnRzIquHa5QxaJKShDkLM+sc0JPuwhXzK8OYOyt3Vg=",
+        version = "v3.0.0+incompatible",
+    )
+    go_repository(
+        name = "com_github_pierrec_lz4",
+        importpath = "github.com/pierrec/lz4",
+        sum = "h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I=",
+        version = "v2.0.5+incompatible",
+    )
+
     go_repository(
         name = "com_github_pkg_errors",
         importpath = "github.com/pkg/errors",
-        sum = "h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=",
-        version = "v0.8.1",
+        sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=",
+        version = "v0.9.1",
     )
+    go_repository(
+        name = "com_github_pkg_profile",
+        importpath = "github.com/pkg/profile",
+        sum = "h1:F++O52m40owAmADcojzM+9gyjmMOY/T4oYJkgFDH8RE=",
+        version = "v1.2.1",
+    )
+
     go_repository(
         name = "com_github_pkg_sftp",
         importpath = "github.com/pkg/sftp",
@@ -569,17 +1046,43 @@ def go_dependencies():
         sum = "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=",
         version = "v1.1.1",
     )
+    go_repository(
+        name = "com_github_prometheus_client_golang",
+        importpath = "github.com/prometheus/client_golang",
+        sum = "h1:Rrch9mh17XcxvEu9D9DEpb4isxjGBtcevQjKvxPRQIU=",
+        version = "v1.9.0",
+    )
+
     go_repository(
         name = "com_github_prometheus_client_model",
         importpath = "github.com/prometheus/client_model",
-        sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=",
-        version = "v0.0.0-20190812154241-14fe0d1b01d4",
+        sum = "h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=",
+        version = "v0.2.0",
+    )
+    go_repository(
+        name = "com_github_prometheus_common",
+        importpath = "github.com/prometheus/common",
+        sum = "h1:4fgOnadei3EZvgRwxJ7RMpG1k1pOZth5Pc13tyspaKM=",
+        version = "v0.15.0",
+    )
+    go_repository(
+        name = "com_github_prometheus_procfs",
+        importpath = "github.com/prometheus/procfs",
+        sum = "h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4=",
+        version = "v0.2.0",
+    )
+    go_repository(
+        name = "com_github_rcrowley_go_metrics",
+        importpath = "github.com/rcrowley/go-metrics",
+        sum = "h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ=",
+        version = "v0.0.0-20181016184325-3113b8401b8a",
     )
+
     go_repository(
         name = "com_github_rogpeppe_fastuuid",
         importpath = "github.com/rogpeppe/fastuuid",
-        sum = "h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s=",
-        version = "v1.2.0",
+        sum = "h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng=",
+        version = "v0.0.0-20150106093220-6724a57986af",
     )
     go_repository(
         name = "com_github_rogpeppe_go_internal",
@@ -587,6 +1090,19 @@ def go_dependencies():
         sum = "h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=",
         version = "v1.3.0",
     )
+    go_repository(
+        name = "com_github_rs_xid",
+        importpath = "github.com/rs/xid",
+        sum = "h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc=",
+        version = "v1.2.1",
+    )
+    go_repository(
+        name = "com_github_rs_zerolog",
+        importpath = "github.com/rs/zerolog",
+        sum = "h1:UskrK+saS9P9Y789yNNulYKdARjPZuS35B8gJF2x60g=",
+        version = "v1.23.0",
+    )
+
     go_repository(
         name = "com_github_russross_blackfriday_v2",
         importpath = "github.com/russross/blackfriday/v2",
@@ -599,18 +1115,45 @@ def go_dependencies():
         sum = "h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M=",
         version = "v0.0.0-20160712163229-9b3edd62028f",
     )
+    go_repository(
+        name = "com_github_samuel_go_zookeeper",
+        importpath = "github.com/samuel/go-zookeeper",
+        sum = "h1:p3Vo3i64TCLY7gIfzeQaUJ+kppEO5WQG3cL8iE8tGHU=",
+        version = "v0.0.0-20190923202752-2cc03de413da",
+    )
+
     go_repository(
         name = "com_github_sean_seed",
         importpath = "github.com/sean-/seed",
         sum = "h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=",
         version = "v0.0.0-20170313163322-e2103e2c3529",
     )
+    go_repository(
+        name = "com_github_shopify_sarama",
+        importpath = "github.com/Shopify/sarama",
+        sum = "h1:9oksLxC6uxVPHPVYUmq6xhr1BOF/hHobWH2UzO67z1s=",
+        version = "v1.19.0",
+    )
+    go_repository(
+        name = "com_github_shopify_toxiproxy",
+        importpath = "github.com/Shopify/toxiproxy",
+        sum = "h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc=",
+        version = "v2.1.4+incompatible",
+    )
+
     go_repository(
         name = "com_github_shurcool_sanitized_anchor_name",
         importpath = "github.com/shurcooL/sanitized_anchor_name",
         sum = "h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=",
         version = "v1.0.0",
     )
+    go_repository(
+        name = "com_github_sirupsen_logrus",
+        importpath = "github.com/sirupsen/logrus",
+        sum = "h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=",
+        version = "v1.6.0",
+    )
+
     go_repository(
         name = "com_github_smartystreets_assertions",
         importpath = "github.com/smartystreets/assertions",
@@ -623,6 +1166,19 @@ def go_dependencies():
         sum = "h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=",
         version = "v1.6.4",
     )
+    go_repository(
+        name = "com_github_soheilhy_cmux",
+        importpath = "github.com/soheilhy/cmux",
+        sum = "h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E=",
+        version = "v0.1.4",
+    )
+    go_repository(
+        name = "com_github_sony_gobreaker",
+        importpath = "github.com/sony/gobreaker",
+        sum = "h1:oMnRNZXX5j85zso6xCPRNPtmAycat+WcoKbklScLDgQ=",
+        version = "v0.4.1",
+    )
+
     go_repository(
         name = "com_github_spf13_afero",
         importpath = "github.com/spf13/afero",
@@ -638,8 +1194,8 @@ def go_dependencies():
     go_repository(
         name = "com_github_spf13_cobra",
         importpath = "github.com/spf13/cobra",
-        sum = "h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=",
-        version = "v1.2.1",
+        sum = "h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=",
+        version = "v0.0.3",
     )
     go_repository(
         name = "com_github_spf13_jwalterweatherman",
@@ -650,8 +1206,8 @@ def go_dependencies():
     go_repository(
         name = "com_github_spf13_pflag",
         importpath = "github.com/spf13/pflag",
-        sum = "h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=",
-        version = "v1.0.5",
+        sum = "h1:aCvUg6QPl3ibpQUxyLkrEkCHtPqYJL4x9AuhqVqFis4=",
+        version = "v1.0.1",
     )
     go_repository(
         name = "com_github_spf13_viper",
@@ -659,17 +1215,30 @@ def go_dependencies():
         sum = "h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44=",
         version = "v1.8.1",
     )
+    go_repository(
+        name = "com_github_streadway_amqp",
+        importpath = "github.com/streadway/amqp",
+        sum = "h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo=",
+        version = "v1.0.0",
+    )
+    go_repository(
+        name = "com_github_streadway_handy",
+        importpath = "github.com/streadway/handy",
+        sum = "h1:AhmOdSHeswKHBjhsLs/7+1voOxT+LLrSk/Nxvk35fug=",
+        version = "v0.0.0-20190108123426-d5acb3125c2a",
+    )
+
     go_repository(
         name = "com_github_stretchr_objx",
         importpath = "github.com/stretchr/objx",
-        sum = "h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=",
-        version = "v0.1.0",
+        sum = "h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=",
+        version = "v0.1.1",
     )
     go_repository(
         name = "com_github_stretchr_testify",
         importpath = "github.com/stretchr/testify",
-        sum = "h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=",
-        version = "v1.7.0",
+        sum = "h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=",
+        version = "v1.4.0",
     )
     go_repository(
         name = "com_github_subosito_gotenv",
@@ -677,6 +1246,18 @@ def go_dependencies():
         sum = "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=",
         version = "v1.2.0",
     )
+    go_repository(
+        name = "com_github_tmc_grpc_websocket_proxy",
+        importpath = "github.com/tmc/grpc-websocket-proxy",
+        sum = "h1:ndzgwNDnKIqyCvHTXaCqh9KlOWKvBry6nuXMJmonVsE=",
+        version = "v0.0.0-20170815181823-89b8d40f7ca8",
+    )
+    go_repository(
+        name = "com_github_urfave_cli",
+        importpath = "github.com/urfave/cli",
+        sum = "h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY=",
+        version = "v1.22.1",
+    )
 
     go_repository(
         name = "com_github_valyala_bytebufferpool",
@@ -696,17 +1277,30 @@ def go_dependencies():
         sum = "h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8=",
         version = "v1.0.0",
     )
+    go_repository(
+        name = "com_github_vividcortex_gohistogram",
+        importpath = "github.com/VividCortex/gohistogram",
+        sum = "h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE=",
+        version = "v1.0.0",
+    )
+    go_repository(
+        name = "com_github_xiang90_probing",
+        importpath = "github.com/xiang90/probing",
+        sum = "h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=",
+        version = "v0.0.0-20190116061207-43a291ad63a2",
+    )
+
     go_repository(
         name = "com_github_yuin_goldmark",
         importpath = "github.com/yuin/goldmark",
-        sum = "h1:dPmz1Snjq0kmkz159iL7S6WzdahUTHnHB5M56WFVifs=",
-        version = "v1.3.5",
+        sum = "h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM=",
+        version = "v1.2.1",
     )
     go_repository(
         name = "com_google_cloud_go",
         importpath = "cloud.google.com/go",
-        sum = "h1:at8Tk2zUz63cLPR0JPWm5vp77pEZmzxEQBEfRKn1VV8=",
-        version = "v0.81.0",
+        sum = "h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg=",
+        version = "v0.34.0",
     )
     go_repository(
         name = "com_google_cloud_go_bigquery",
@@ -744,29 +1338,81 @@ def go_dependencies():
         sum = "h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY=",
         version = "v0.0.0-20190408044501-666a987793e9",
     )
+    go_repository(
+        name = "com_sourcegraph_sourcegraph_appdash",
+        importpath = "sourcegraph.com/sourcegraph/appdash",
+        sum = "h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM=",
+        version = "v0.0.0-20190731080439-ebfcffb1b5c0",
+    )
+    go_repository(
+        name = "in_gopkg_alecthomas_kingpin_v2",
+        importpath = "gopkg.in/alecthomas/kingpin.v2",
+        sum = "h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=",
+        version = "v2.2.6",
+    )
+
     go_repository(
         name = "in_gopkg_check_v1",
         importpath = "gopkg.in/check.v1",
-        sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=",
-        version = "v1.0.0-20180628173108-788fd7840127",
+        sum = "h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=",
+        version = "v1.0.0-20190902080502-41f04d3bba15",
+    )
+    go_repository(
+        name = "in_gopkg_cheggaaa_pb_v1",
+        importpath = "gopkg.in/cheggaaa/pb.v1",
+        sum = "h1:Ev7yu1/f6+d+b3pi5vPdRPc6nNtP1umSfcWiEfRqv6I=",
+        version = "v1.0.25",
     )
+
     go_repository(
         name = "in_gopkg_errgo_v2",
         importpath = "gopkg.in/errgo.v2",
         sum = "h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=",
         version = "v2.1.0",
     )
+    go_repository(
+        name = "in_gopkg_fsnotify_v1",
+        importpath = "gopkg.in/fsnotify.v1",
+        sum = "h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=",
+        version = "v1.4.7",
+    )
+    go_repository(
+        name = "in_gopkg_gcfg_v1",
+        importpath = "gopkg.in/gcfg.v1",
+        sum = "h1:m8OOJ4ccYHnx2f4gQwpno8nAX5OGOh7RLaaz0pj3Ogs=",
+        version = "v1.2.3",
+    )
+
     go_repository(
         name = "in_gopkg_ini_v1",
         importpath = "gopkg.in/ini.v1",
         sum = "h1:duBzk771uxoUuOlyRLkHsygud9+5lrlGjdFBb4mSKDU=",
         version = "v1.62.0",
     )
+    go_repository(
+        name = "in_gopkg_resty_v1",
+        importpath = "gopkg.in/resty.v1",
+        sum = "h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI=",
+        version = "v1.12.0",
+    )
+    go_repository(
+        name = "in_gopkg_tomb_v1",
+        importpath = "gopkg.in/tomb.v1",
+        sum = "h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=",
+        version = "v1.0.0-20141024135613-dd632973f1e7",
+    )
+    go_repository(
+        name = "in_gopkg_warnings_v0",
+        importpath = "gopkg.in/warnings.v0",
+        sum = "h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=",
+        version = "v0.1.2",
+    )
+
     go_repository(
         name = "in_gopkg_yaml_v2",
         importpath = "gopkg.in/yaml.v2",
-        sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=",
-        version = "v2.4.0",
+        sum = "h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=",
+        version = "v2.3.0",
     )
     go_repository(
         name = "in_gopkg_yaml_v3",
@@ -774,6 +1420,19 @@ def go_dependencies():
         sum = "h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=",
         version = "v3.0.0-20210107192922-496545a6307b",
     )
+    go_repository(
+        name = "io_etcd_go_bbolt",
+        importpath = "go.etcd.io/bbolt",
+        sum = "h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk=",
+        version = "v1.3.3",
+    )
+    go_repository(
+        name = "io_etcd_go_etcd",
+        importpath = "go.etcd.io/etcd",
+        sum = "h1:VcrIfasaLFkyjk6KNlXQSzO+B0fZcnECiDrKJsfxka0=",
+        version = "v0.0.0-20191023171146-3cf2f69b5738",
+    )
+
     go_repository(
         name = "io_etcd_go_etcd_api_v3",
         importpath = "go.etcd.io/etcd/api/v3",
@@ -792,11 +1451,18 @@ def go_dependencies():
         sum = "h1:ftQ0nOOHMcbMS3KIaDQ0g5Qcd6bhaBrQT6b89DfwLTs=",
         version = "v2.305.0",
     )
+    go_repository(
+        name = "io_k8s_sigs_yaml",
+        importpath = "sigs.k8s.io/yaml",
+        sum = "h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs=",
+        version = "v1.1.0",
+    )
+
     go_repository(
         name = "io_opencensus_go",
         importpath = "go.opencensus.io",
-        sum = "h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M=",
-        version = "v0.23.0",
+        sum = "h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs=",
+        version = "v0.22.2",
     )
     go_repository(
         name = "io_rsc_binaryregexp",
@@ -819,26 +1485,26 @@ def go_dependencies():
     go_repository(
         name = "org_golang_google_api",
         importpath = "google.golang.org/api",
-        sum = "h1:URs6qR1lAxDsqWITsQXI4ZkGiYJ5dHtRNiCpfs2OeKA=",
-        version = "v0.44.0",
+        sum = "h1:oJra/lMfmtm13/rgY/8i3MzjFWYXvQIAKjQ3HqofMk8=",
+        version = "v0.3.1",
     )
     go_repository(
         name = "org_golang_google_appengine",
         importpath = "google.golang.org/appengine",
-        sum = "h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=",
-        version = "v1.6.7",
+        sum = "h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=",
+        version = "v1.4.0",
     )
     go_repository(
         name = "org_golang_google_genproto",
         importpath = "google.golang.org/genproto",
-        sum = "h1:wtujag7C+4D6KMoulW9YauvK2lgdvCMS260jsqqBXr0=",
-        version = "v0.0.0-20210602131652-f16073e35f0c",
+        sum = "h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE=",
+        version = "v0.0.0-20190819201941-24fa4b261c55",
     )
     go_repository(
         name = "org_golang_google_protobuf",
         importpath = "google.golang.org/protobuf",
-        sum = "h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=",
-        version = "v1.26.0",
+        sum = "h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM=",
+        version = "v1.23.0",
     )
 
     go_repository(
@@ -850,8 +1516,8 @@ def go_dependencies():
     go_repository(
         name = "org_golang_x_exp",
         importpath = "golang.org/x/exp",
-        sum = "h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y=",
-        version = "v0.0.0-20200224162631-6cc2880d07d6",
+        sum = "h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=",
+        version = "v0.0.0-20190121172915-509febef88a4",
     )
     go_repository(
         name = "org_golang_x_image",
@@ -862,8 +1528,8 @@ def go_dependencies():
     go_repository(
         name = "org_golang_x_lint",
         importpath = "golang.org/x/lint",
-        sum = "h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug=",
-        version = "v0.0.0-20210508222113-6edffad5e616",
+        sum = "h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=",
+        version = "v0.0.0-20190930215403-16217165b5de",
     )
     go_repository(
         name = "org_golang_x_mobile",
@@ -874,34 +1540,34 @@ def go_dependencies():
     go_repository(
         name = "org_golang_x_mod",
         importpath = "golang.org/x/mod",
-        sum = "h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=",
-        version = "v0.4.2",
+        sum = "h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=",
+        version = "v0.3.0",
     )
 
     go_repository(
         name = "org_golang_x_net",
         importpath = "golang.org/x/net",
-        sum = "h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0=",
-        version = "v0.0.0-20210405180319-a5a99cb37ef4",
+        sum = "h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=",
+        version = "v0.0.0-20201021035429-f5854403a974",
     )
     go_repository(
         name = "org_golang_x_oauth2",
         importpath = "golang.org/x/oauth2",
-        sum = "h1:0Ja1LBD+yisY6RWM/BH7TJVXWsSjs2VwBSmvSX4HdBc=",
-        version = "v0.0.0-20210402161424-2e8d93401602",
+        sum = "h1:Wo7BWFiOk0QRFMLYMqJGFMd9CgUAcGx7V+qEg/h5IBI=",
+        version = "v0.0.0-20190226205417-e64efc72b421",
     )
     go_repository(
         name = "org_golang_x_sync",
         importpath = "golang.org/x/sync",
-        sum = "h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=",
-        version = "v0.0.0-20210220032951-036812b2e83c",
+        sum = "h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=",
+        version = "v0.0.0-20201020160332-67f06af15bc9",
     )
 
     go_repository(
         name = "org_golang_x_sys",
         importpath = "golang.org/x/sys",
-        sum = "h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE=",
-        version = "v0.0.0-20210510120138-977fb7262007",
+        sum = "h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=",
+        version = "v0.0.0-20210119212857-b64e53b001e4",
     )
     go_repository(
         name = "org_golang_x_term",
@@ -912,8 +1578,8 @@ def go_dependencies():
     go_repository(
         name = "org_golang_x_text",
         importpath = "golang.org/x/text",
-        sum = "h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=",
-        version = "v0.3.5",
+        sum = "h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=",
+        version = "v0.3.3",
     )
     go_repository(
         name = "org_golang_x_time",
@@ -925,8 +1591,8 @@ def go_dependencies():
     go_repository(
         name = "org_golang_x_tools",
         importpath = "golang.org/x/tools",
-        sum = "h1:kRBLX7v7Af8W7Gdbbc908OJcdgtK8bOz9Uaj8/F1ACA=",
-        version = "v0.1.2",
+        sum = "h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=",
+        version = "v0.1.0",
     )
     go_repository(
         name = "org_golang_x_xerrors",
@@ -937,18 +1603,25 @@ def go_dependencies():
     go_repository(
         name = "org_uber_go_atomic",
         importpath = "go.uber.org/atomic",
-        sum = "h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=",
-        version = "v1.7.0",
+        sum = "h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY=",
+        version = "v1.5.0",
     )
     go_repository(
         name = "org_uber_go_multierr",
         importpath = "go.uber.org/multierr",
-        sum = "h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=",
-        version = "v1.6.0",
+        sum = "h1:sFPn2GLc3poCkfrpIXGhBD2X0CMIo4Q/zSULXrj/+uc=",
+        version = "v1.3.0",
     )
+    go_repository(
+        name = "org_uber_go_tools",
+        importpath = "go.uber.org/tools",
+        sum = "h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4=",
+        version = "v0.0.0-20190618225709-2cfd321de3ee",
+    )
+
     go_repository(
         name = "org_uber_go_zap",
         importpath = "go.uber.org/zap",
-        sum = "h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U=",
-        version = "v1.17.0",
+        sum = "h1:nR6NoDBgAf67s68NhaXbsojM+2gxp3S1hWkHDl27pVU=",
+        version = "v1.13.0",
     )
diff --git a/gateway/BUILD b/gateway/BUILD
new file mode 100644 (file)
index 0000000..201d9f7
--- /dev/null
@@ -0,0 +1,29 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
+load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
+
+go_library(
+    name = "gateway_lib",
+    srcs = ["main.go"],
+    importpath = "github.com/discordnova/nova/gateway",
+    visibility = ["//visibility:private"],
+    deps = [
+        "//gateway/lib",
+        "//gateway/lib/gateway",
+        "//gateway/lib/gateway/compression",
+        "//gateway/lib/gateway/transporters",
+        "@com_github_rs_zerolog//log",
+    ],
+)
+
+go_binary(
+    name = "gateway",
+    embed = [":gateway_lib"],
+    visibility = ["//visibility:public"],
+)
+
+pkg_tar(
+    name = "gateway_pkg",
+    srcs = [":gateway"],
+    mode = "0755",
+    visibility = ["//visibility:public"],
+)
diff --git a/gateway/BUILD.bazel b/gateway/BUILD.bazel
deleted file mode 100644 (file)
index c7b6aa5..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
-
-go_library(
-    name = "gateway_lib",
-    srcs = ["main.go"],
-    importpath = "github.com/discordnova/nova/gateway",
-    visibility = ["//visibility:private"],
-)
-
-go_binary(
-    name = "gateway",
-    embed = [":gateway_lib"],
-    visibility = ["//visibility:public"],
-)
diff --git a/gateway/README.md b/gateway/README.md
new file mode 100644 (file)
index 0000000..c8d72e8
--- /dev/null
@@ -0,0 +1,3 @@
+# Gateway
+
+The gateway component managed the connexion with the Discord event gateway using a websocket connexion.
\ No newline at end of file
index 68c6f3a4bce46a4b6d6690ffd2e59edb5eb7fec4..6c44be5d0a7369fc087b60da42426aca29743d9c 100644 (file)
@@ -1,7 +1,11 @@
-module github.com/discordnova/nova/gateway\r
-\r
-go 1.16\r
-\r
-require (\r
-       github.com/gofiber/fiber/v2 v2.16.0\r
-)
\ No newline at end of file
+module github.com/discordnova/nova/gateway
+
+go 1.15
+
+require (
+       github.com/boz/go-throttle v0.0.0-20160922054636-fdc4eab740c1
+       github.com/gorilla/websocket v1.4.2
+       github.com/prometheus/client_golang v1.9.0
+       github.com/rs/zerolog v1.23.0
+       github.com/streadway/amqp v1.0.0
+)
diff --git a/gateway/go.sum b/gateway/go.sum
new file mode 100644 (file)
index 0000000..bd42492
--- /dev/null
@@ -0,0 +1,620 @@
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0 h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw=
+github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
+github.com/Shopify/sarama v1.19.0 h1:9oksLxC6uxVPHPVYUmq6xhr1BOF/hHobWH2UzO67z1s=
+github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
+github.com/Shopify/toxiproxy v2.1.4+incompatible h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc=
+github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
+github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE=
+github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
+github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 h1:rFw4nCn9iMW+Vajsk51NtYIcwSTkXr+JGrMd36kTDJw=
+github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=
+github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=
+github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
+github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
+github.com/apache/thrift v0.13.0 h1:5hryIiq9gtn+MiLVn0wP37kb/uTeRZgN08WoCsAhIhI=
+github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da h1:8GUt8eRujhVEGZFFEjBj46YV4rDjvGrNxb0KMWYkL2I=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
+github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a h1:pv34s756C4pEXnjgPfGYgdhg/ZdajGhyOvzx8k+23nw=
+github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A=
+github.com/aws/aws-lambda-go v1.13.3 h1:SuCy7H3NLyp+1Mrfp+m80jcbi9KYWAs9/BXwppwRDzY=
+github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
+github.com/aws/aws-sdk-go v1.27.0 h1:0xphMHGMLBrPMfxR2AmVjZKcMEESEgWF8Kru94BNByk=
+github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
+github.com/aws/aws-sdk-go-v2 v0.18.0 h1:qZ+woO4SamnH/eEbjM2IDLhRNwIwND/RQyVlBLp3Jqg=
+github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
+github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
+github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=
+github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/boz/go-throttle v0.0.0-20160922054636-fdc4eab740c1 h1:1fx+RA5lk1ZkzPAUP7DEgZnVHYxEcHO77vQO/V8z/2Q=
+github.com/boz/go-throttle v0.0.0-20160922054636-fdc4eab740c1/go.mod h1:z0nyIb42Zs97wyX1V+8MbEFhHeTw1OgFQfR6q57ZuHc=
+github.com/casbin/casbin/v2 v2.1.2 h1:bTwon/ECRx9dwBy2ewRVr5OiqjeXSGiTUY74sDPQi/g=
+github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
+github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
+github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
+github.com/census-instrumentation/opencensus-proto v0.2.1 h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk=
+github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
+github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
+github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec h1:EdRZT3IeKQmfCSrgo8SZ8V3MEnskuJP0wCYNpe+aiXo=
+github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE=
+github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa h1:OaNxuTZr7kxeODyLWsRMC+OD03aFUH+mW6r2d+MWa5Y=
+github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
+github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w=
+github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
+github.com/coreos/go-semver v0.2.0 h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY=
+github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7 h1:u9SHYsPQNyt5tgDm3YN7+9dYrpK96E5wFilTFWIDZOM=
+github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=
+github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
+github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf h1:CAKfRE2YtTUIjjh1bkBtyYFaUT/WmOqsJjgtihT0vMI=
+github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
+github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
+github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/creack/pty v1.1.7 h1:6pwm8kMQKCmgUg0ZHTm5+/YvRK0s3THD/28+T6/kk4A=
+github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
+github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4 h1:qk/FSDDxo05wdJH28W+p5yivv7LuLYLRXPPD8KQCtZs=
+github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
+github.com/eapache/go-resiliency v1.1.0 h1:1NtRmCAqadE2FN4ZcN6g90TP3uk8cg9rn9eNK2197aU=
+github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs=
+github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 h1:YEetp8/yCZMuEPMUDHG0CW/brkkEp8mzqk2+ODEitlw=
+github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU=
+github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=
+github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
+github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw=
+github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
+github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g=
+github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473 h1:4cmBvAEBNJaGARUEs3/suWRyfyBfhf7I60WBZq+bv2w=
+github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/protoc-gen-validate v0.1.0 h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=
+github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
+github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db h1:gb2Z18BhTPJPpLQWj4T+rfKHYCHxRHCtRxhKKjRidVw=
+github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
+github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8 h1:a9ENSRDFBUPkJ5lCgVZh26+ZbGyoVJG7yb5SSzF5H54=
+github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=
+github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-kit/kit v0.10.0 h1:dXFJfIHVvUcpSgDOV+Ne6t7jXri8Tfv2uOLHUZ2XNuo=
+github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-logfmt/logfmt v0.5.0 h1:TrB8swr/68K7m9CcGut2g3UOihhbcbiMAYiuTXdEih4=
+github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
+github.com/go-sql-driver/mysql v1.4.0 h1:7LxgVwFb2hIQtMm87NdgAVfXjnt4OePseqT1tKx+opk=
+github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
+github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/godbus/dbus/v5 v5.0.4 h1:9349emZab16e7zQvpmsbtjc18ykshndd8y2PG3sgJbA=
+github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
+github.com/gogo/googleapis v1.1.0 h1:kFkMAZBNAn4j7K0GiZr8cRYzejq68VbheufiV3YuyFI=
+github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=
+github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 h1:ZgQEtGgCBiWRM39fZuwSd1LwSqqSW0hOdXCYYDX0R3I=
+github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1 h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
+github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
+github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
+github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
+github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
+github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM=
+github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=
+github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
+github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=
+github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8=
+github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
+github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
+github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw=
+github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
+github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
+github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
+github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4 h1:z53tR0945TRRQO/fLEVPI6SMv7ZflF0TEaTAoU7tOzg=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
+github.com/grpc-ecosystem/grpc-gateway v1.9.5 h1:UImYN5qQ8tuGpGE16ZmjvcTtTw24zw1QAp/SlnNrZhI=
+github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
+github.com/hashicorp/consul/api v1.3.0 h1:HXNYlRkkM/t+Y/Yhxtwcy02dlYwIaoxzvxPnS+cqy78=
+github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
+github.com/hashicorp/consul/sdk v0.3.0 h1:UOxjlb4xVNF93jak1mzzoBatyFju9nrkxpVwIp/QqxQ=
+github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
+github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1 h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-immutable-radix v1.0.0 h1:AKDB1HM5PWEA7i4nhcpwOrO2byshxBjXVn/J/3+z5/0=
+github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4=
+github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
+github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o=
+github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
+github.com/hashicorp/go-rootcerts v1.0.0 h1:Rqb66Oo1X/eSV1x66xbDccZjhJigjg0+e82kpwzSwCI=
+github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
+github.com/hashicorp/go-sockaddr v1.0.0 h1:GeH6tui99pF4NJgfnhp+L6+FfobzVW3Ah46sLo0ICXs=
+github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
+github.com/hashicorp/go-syslog v1.0.0 h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE=
+github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE=
+github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-version v1.2.0 h1:3vNe/fWF5CBgRIguda1meWhsZHy3m8gCJ5wx+dIzX/E=
+github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go.net v0.0.1 h1:sNCoNyDEvN1xa+X0baata4RdcpKwcMS6DH+xwfqPgjw=
+github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
+github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
+github.com/hashicorp/mdns v1.0.0 h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs=
+github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
+github.com/hashicorp/memberlist v0.1.3 h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M=
+github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
+github.com/hashicorp/serf v0.8.2 h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0=
+github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
+github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
+github.com/hudl/fargo v1.3.0 h1:0U6+BtN6LhaYuTnIJq4Wyq5cpn6O2kWrxAtcqBmYY6w=
+github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d h1:/WZQPMZNsjZ7IlCpsLGdQBINg5bxKQ1K1sh6awxLtkA=
+github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
+github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af h1:pmfjZENx5imkbgOkpRUYLnmbU7UEFbjtDA2hxJ1ichM=
+github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
+github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo=
+github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
+github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=
+github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
+github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
+github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68=
+github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
+github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
+github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
+github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
+github.com/kisielk/errcheck v1.1.0 h1:ZqfnKyx9KGpRcW04j5nnPDgRgoXUeLh2YFBeFzphcA0=
+github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
+github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8=
+github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743 h1:143Bb8f8DuGWck/xpNUOckBVYfFbBTnLevfRZ1aVVqo=
+github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
+github.com/lightstep/lightstep-tracer-go v0.18.1 h1:vi1F1IQ8N7hNWytK9DpJsUfQhGuNSc19z330K6vl4zk=
+github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
+github.com/lyft/protoc-gen-validate v0.0.13 h1:KNt/RhmQTOLr7Aj8PsJ7mTronaFyx80mRTT9qF261dA=
+github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
+github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mattn/go-isatty v0.0.4 h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs=
+github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mattn/go-runewidth v0.0.2 h1:UnlwIPBGaTZfPQ6T1IGzPI0EkYAQmT9fAEJ/poFC63o=
+github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
+github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/miekg/dns v1.0.14 h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA=
+github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
+github.com/mitchellh/cli v1.0.0 h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y=
+github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
+github.com/mitchellh/go-homedir v1.0.0 h1:vKb8ShqSby24Yrqr/yDYkuFz8d0WUjys40rvnGC8aR0=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc=
+github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
+github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=
+github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
+github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU=
+github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg=
+github.com/nats-io/jwt v0.3.2 h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI=
+github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU=
+github.com/nats-io/nats-server/v2 v2.1.2 h1:i2Ly0B+1+rzNZHHWtD4ZwKi+OU5l+uQo1iDHZ2PmiIc=
+github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k=
+github.com/nats-io/nats.go v1.9.1 h1:ik3HbLhZ0YABLto7iX80pZLPw/6dx3T+++MZJwLnMrQ=
+github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w=
+github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w=
+github.com/nats-io/nkeys v0.1.3 h1:6JrEfig+HzTH85yxzhSVbjHRJv9cn0p6n3IngIcM5/k=
+github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w=
+github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
+github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
+github.com/oklog/oklog v0.3.2 h1:wVfs8F+in6nTBMkA7CbRw+zZMIB7nNM825cM1wuzoTk=
+github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs=
+github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=
+github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
+github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5 h1:58+kh9C6jJVXYjt8IE48G2eWl6BjwU5Gj0gqY84fy78=
+github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
+github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
+github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
+github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
+github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=
+github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
+github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88=
+github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
+github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 h1:lM6RxxfUMrYL/f8bWEUqdXrANWtrL7Nndbm9iFN0DlU=
+github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis=
+github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo=
+github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
+github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
+github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
+github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
+github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5 h1:ZCnq+JUrvXcDVhX/xRolRBZifmabN1HcS1wrPSvxhrU=
+github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA=
+github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw=
+github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
+github.com/openzipkin/zipkin-go v0.2.2 h1:nY8Hti+WKaP0cRsSeQ026wU03QsM762XBeCXBb9NAWI=
+github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
+github.com/pact-foundation/pact-go v1.0.4 h1:OYkFijGHoZAYbOIb1LWXrwKQbMMRUv1oQ89blD2Mh2Q=
+github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
+github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=
+github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
+github.com/performancecopilot/speed v3.0.0+incompatible h1:2WnRzIquHa5QxaJKShDkLM+sc0JPuwhXzK8OYOyt3Vg=
+github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
+github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc=
+github.com/pierrec/lz4 v2.0.5+incompatible h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I=
+github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
+github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/profile v1.2.1 h1:F++O52m40owAmADcojzM+9gyjmMOY/T4oYJkgFDH8RE=
+github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/posener/complete v1.1.1 h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=
+github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs=
+github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
+github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og=
+github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
+github.com/prometheus/client_golang v1.9.0 h1:Rrch9mh17XcxvEu9D9DEpb4isxjGBtcevQjKvxPRQIU=
+github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
+github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA=
+github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
+github.com/prometheus/common v0.15.0 h1:4fgOnadei3EZvgRwxJ7RMpG1k1pOZth5Pc13tyspaKM=
+github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
+github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
+github.com/prometheus/procfs v0.2.0 h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4=
+github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
+github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ=
+github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
+github.com/rogpeppe/go-internal v1.3.0 h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/rs/xid v1.2.1 h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc=
+github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
+github.com/rs/zerolog v1.23.0 h1:UskrK+saS9P9Y789yNNulYKdARjPZuS35B8gJF2x60g=
+github.com/rs/zerolog v1.23.0/go.mod h1:6c7hFfxPOy7TacJc4Fcdi24/J0NKYGzjG8FWRI916Qo=
+github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da h1:p3Vo3i64TCLY7gIfzeQaUJ+kppEO5WQG3cL8iE8tGHU=
+github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
+github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
+github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
+github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
+github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=
+github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
+github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E=
+github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
+github.com/sony/gobreaker v0.4.1 h1:oMnRNZXX5j85zso6xCPRNPtmAycat+WcoKbklScLDgQ=
+github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY=
+github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
+github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
+github.com/spf13/pflag v1.0.1 h1:aCvUg6QPl3ibpQUxyLkrEkCHtPqYJL4x9AuhqVqFis4=
+github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
+github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
+github.com/streadway/amqp v1.0.0 h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo=
+github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
+github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a h1:AhmOdSHeswKHBjhsLs/7+1voOxT+LLrSk/Nxvk35fug=
+github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8 h1:ndzgwNDnKIqyCvHTXaCqh9KlOWKvBry6nuXMJmonVsE=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
+github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
+github.com/urfave/cli v1.22.1 h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY=
+github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+github.com/yuin/goldmark v1.2.1 h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk=
+go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
+go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738 h1:VcrIfasaLFkyjk6KNlXQSzO+B0fZcnECiDrKJsfxka0=
+go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=
+go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
+go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
+go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs=
+go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
+go.uber.org/atomic v1.5.0 h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY=
+go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
+go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
+go.uber.org/multierr v1.3.0 h1:sFPn2GLc3poCkfrpIXGhBD2X0CMIo4Q/zSULXrj/+uc=
+go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
+go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4=
+go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
+go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
+go.uber.org/zap v1.13.0 h1:nR6NoDBgAf67s68NhaXbsojM+2gxp3S1hWkHDl27pVU=
+go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4 h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421 h1:Wo7BWFiOk0QRFMLYMqJGFMd9CgUAcGx7V+qEg/h5IBI=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=
+golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=
+golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.3.1 h1:oJra/lMfmtm13/rgY/8i3MzjFWYXvQIAKjQ3HqofMk8=
+google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.26.0 h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg=
+google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
+google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
+google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
+google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM=
+google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/cheggaaa/pb.v1 v1.0.25 h1:Ev7yu1/f6+d+b3pi5vPdRPc6nNtP1umSfcWiEfRqv6I=
+gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
+gopkg.in/errgo.v2 v2.1.0 h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
+gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
+gopkg.in/gcfg.v1 v1.2.3 h1:m8OOJ4ccYHnx2f4gQwpno8nAX5OGOh7RLaaz0pj3Ogs=
+gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o=
+gopkg.in/resty.v1 v1.12.0 h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI=
+gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
+gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
+gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
+gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+sigs.k8s.io/yaml v1.1.0 h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs=
+sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
+sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM=
+sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
diff --git a/gateway/lib/BUILD.bazel b/gateway/lib/BUILD.bazel
new file mode 100644 (file)
index 0000000..ee3e303
--- /dev/null
@@ -0,0 +1,16 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "lib",
+    srcs = [
+        "logger.go",
+        "prometheus.go",
+    ],
+    importpath = "github.com/discordnova/nova/gateway/lib",
+    visibility = ["//visibility:public"],
+    deps = [
+        "@com_github_prometheus_client_golang//prometheus/promhttp",
+        "@com_github_rs_zerolog//:zerolog",
+        "@com_github_rs_zerolog//log",
+    ],
+)
diff --git a/gateway/lib/gateway/BUILD.bazel b/gateway/lib/gateway/BUILD.bazel
new file mode 100644 (file)
index 0000000..14d2bac
--- /dev/null
@@ -0,0 +1,24 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "gateway",
+    srcs = [
+        "gateway.go",
+        "options.go",
+    ],
+    importpath = "github.com/discordnova/nova/gateway/lib/gateway",
+    visibility = ["//gateway:__subpackages__"],
+    deps = [
+        "//common/discord/types/payloads/gateway",
+        "//common/discord/types/payloads/gateway/commands",
+        "//common/discord/types/payloads/gateway/events",
+        "//common/discord/types/structures",
+        "//common/discord/types/types",
+        "//common/gateway",
+        "@com_github_boz_go_throttle//:go-throttle",
+        "@com_github_gorilla_websocket//:websocket",
+        "@com_github_prometheus_client_golang//prometheus",
+        "@com_github_prometheus_client_golang//prometheus/promauto",
+        "@com_github_rs_zerolog//log",
+    ],
+)
diff --git a/gateway/lib/gateway/compression/BUILD.bazel b/gateway/lib/gateway/compression/BUILD.bazel
new file mode 100644 (file)
index 0000000..1977322
--- /dev/null
@@ -0,0 +1,13 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "compression",
+    srcs = ["json-zlib.go"],
+    importpath = "github.com/discordnova/nova/gateway/lib/gateway/compression",
+    visibility = ["//gateway:__subpackages__"],
+    deps = [
+        "//common/discord/types/payloads/gateway",
+        "//common/gateway",
+        "@com_github_rs_zerolog//log",
+    ],
+)
diff --git a/gateway/lib/gateway/compression/json-zlib.go b/gateway/lib/gateway/compression/json-zlib.go
new file mode 100644 (file)
index 0000000..7f64bbf
--- /dev/null
@@ -0,0 +1,81 @@
+package compression
+
+import (
+       "bytes"
+       "compress/zlib"
+       "encoding/json"
+       "fmt"
+       "io"
+
+       "github.com/rs/zerolog/log"
+       gatewayTypes "github.com/discordnova/nova/common/discord/types/payloads/gateway"
+       "github.com/discordnova/nova/common/gateway"
+)
+
+// JsonZlibCompressor is the default compression interface.
+type JsonZlibCompressor struct {
+       buffer *bytes.Buffer
+       reader io.ReadCloser
+}
+
+// NewJsonZlibCompressor creates an instance of JsonZlibCompressor
+func NewJsonZlibCompressor() gateway.Compression {
+       return &JsonZlibCompressor{
+               buffer: bytes.NewBuffer([]byte{}),
+       }
+}
+
+func (compressor *JsonZlibCompressor) Reset() error {
+       compressor.buffer.Reset()
+       if compressor.reader == nil {
+               return nil
+       }
+       err := compressor.reader.Close()
+       if err != nil {
+               return err
+       }
+       compressor.reader = nil
+       return nil
+}
+
+// GetConnectionOptions gets the required options for the gateway.
+func (compressor JsonZlibCompressor) GetConnectionOptions() gateway.GatewayConnectionOptions {
+       // Gateway options for the discord gateway.
+       return gateway.GatewayConnectionOptions{
+               Encoding:             "json",
+               TransportCompression: "zlib-stream",
+       }
+}
+
+// DecodeMessage decodes messages using the compressor.
+func (compressor *JsonZlibCompressor) DecodeMessage(data []byte) (*gatewayTypes.Payload, error) {
+
+       // check if the message have the zlib suffix to avoid ruining our zlib context :'(
+       if !bytes.HasSuffix(data, []byte{0x00, 0x00, 0xff, 0xff}) {
+               return nil, fmt.Errorf("the gateway failed to verify the message validity due to invalid suffix")
+       }
+
+       // add the data to the buffer for the decompression.
+       compressor.buffer.Write(data)
+
+       // we can't create the reader without data, so we initialize on the first decompression.
+       if compressor.reader == nil {
+               reader, err := zlib.NewReader(compressor.buffer)
+               if err != nil {
+                       log.Err(err).Msgf("Failed to initialize zlib reader")
+               }
+               compressor.reader = reader
+       }
+
+       // we unmarshal the reader as json
+       inter := gatewayTypes.Payload{}
+       decoder := json.NewDecoder(compressor.reader)
+       err := decoder.Decode(&inter)
+
+       if err != nil {
+               // the unmarshalling failed
+               return nil, err
+       }
+
+       return &inter, nil
+}
diff --git a/gateway/lib/gateway/gateway.go b/gateway/lib/gateway/gateway.go
new file mode 100644 (file)
index 0000000..6f1abc3
--- /dev/null
@@ -0,0 +1,371 @@
+package gateway
+
+import (
+       "encoding/json"
+       "fmt"
+       "os"
+       "runtime"
+       "time"
+
+       "github.com/boz/go-throttle"
+       "github.com/discordnova/nova/common/discord/types/payloads/gateway/commands"
+       "github.com/discordnova/nova/common/discord/types/payloads/gateway/events"
+       "github.com/discordnova/nova/common/discord/types/structures"
+       "github.com/discordnova/nova/common/discord/types/types"
+       gatewayTypes "github.com/discordnova/nova/common/discord/types/payloads/gateway"
+       "github.com/discordnova/nova/common/gateway"
+       "github.com/gorilla/websocket"
+       "github.com/prometheus/client_golang/prometheus"
+       "github.com/prometheus/client_golang/prometheus/promauto"
+       "github.com/rs/zerolog/log"
+)
+
+// connectionState is a struct representing a connection state
+type connectionState struct {
+       HeartbeatInterval uint16
+       Latency           int64
+}
+
+var (
+       messagesCounter = promauto.NewCounter(prometheus.CounterOpts{
+               Name: "nova_gateway_messages_processed",
+               Help: "The total number of processed messages",
+       })
+
+       heartbeatCounter = promauto.NewCounter(prometheus.CounterOpts{
+               Name: "nova_gateway_heartbeat_sent",
+               Help: "The total number of heartbeat sent",
+       })
+
+       latencyGauge = promauto.NewGauge(prometheus.GaugeOpts{
+               Name: "nova_gateway_latency",
+               Help: "The round trip latency of the gateway",
+       })
+
+       reconnectionsCounter = promauto.NewCounter(prometheus.CounterOpts{
+               Name: "nova_gateway_reconnections",
+               Help: "the number of reconnections of the gateway",
+       })
+
+       eventsCounter = promauto.NewCounter(prometheus.CounterOpts{
+               Name: "nova_gateway_events",
+               Help: "The various events received by Nova.",
+       })
+)
+
+// GatewayConnector represents a connection to the discord gateway for a shard
+type GatewayConnector struct {
+       // Public State
+       SessionState GatewayConnectorOptionsResume // The state of the session
+
+       // Private state
+       connectionState connectionState         // The internal state of the gateway connection.
+       options         GatewayConnectorOptions // The connection options.
+       connection      *websocket.Conn         // The current websocket connection.
+       heartbeat       chan struct{}           // Channel for reacting to heartbeat acks
+       terminate       chan string             // Called when a gateway disconnect is requested
+       updateThrottle  throttle.ThrottleDriver
+}
+
+// NewGateway creates a connector instance based on the given options.
+func NewGateway(options GatewayConnectorOptions) *GatewayConnector {
+       return &GatewayConnector{
+               options:      options,
+               SessionState: options.ResumeSession,
+       }
+}
+
+// Start is used to start or reset a connection to the gateway.
+func (discord *GatewayConnector) Start() {
+       shouldStart := true
+       for shouldStart {
+               reconnectionsCounter.Inc()
+               discord.connectionState = connectionState{}
+               _ = discord.start()
+               err := discord.options.Compressor.Reset()
+               if err != nil {
+                       log.Fatal().Msgf("failed to reset the compressor")
+               }
+               shouldStart = *discord.options.Restart
+               if shouldStart {
+                       log.Info().Msg("waiting 10s before gateway reconnection")
+                       time.Sleep(time.Second * 10)
+               }
+       }
+}
+
+// start is the internal routine for starting the gateway
+func (discord *GatewayConnector) start() error {
+       // we throttle the update function to limit the amount of session state
+       // presisted to the session persistence interface
+       discord.updateThrottle = throttle.ThrottleFunc(time.Second*5, false, func() {
+               if discord.options.OnSessionStateUpdated != nil {
+                       _ = discord.options.OnSessionStateUpdated(discord.SessionState)
+               }
+       })
+
+       // initialize the message channels
+       discord.heartbeat = make(chan struct{})
+       discord.terminate = make(chan string)
+
+       // since a Compressor is given to the gateway when created, we use the Connector to get
+       // the compression and encoding options.
+       comOptions := discord.options.Compressor.GetConnectionOptions()
+       websocketURL := fmt.Sprintf("wss://gateway.discord.gg/?v=%d&encoding=%s&compress=%s", 6, comOptions.Encoding, comOptions.TransportCompression)
+
+       log.Info().Msgf("connecting to the gateway at url %s", websocketURL)
+       // we start the connection to discord.
+       connection, _, err := websocket.DefaultDialer.Dial(websocketURL, nil)
+       if err != nil {
+               log.Err(err).Msgf("an error occurred while connecting to the gateway")
+               return err
+       }
+       discord.connection = connection
+       defer discord.connection.Close()
+
+       // start listening to messages on the socket.
+       go discord.listen()
+
+       msg := <-discord.terminate
+       log.Info().Msgf("terminating the gateway: %s", msg)
+
+       return nil
+}
+
+// ticker starts the loop for the heartbeat checks
+func (discord *GatewayConnector) ticker(interval int) {
+       // sends a message to heartbeat.C every time we need to send a heartbeat
+       heartbeat := time.NewTicker(time.Duration(interval) * time.Millisecond)
+       // stores if the last heartbeat succeeded
+       doneLastAck := true
+
+       // executes the given code when heartbeat.C is triggered
+       for range heartbeat.C {
+               // if the server did not send the last heartbeat
+               if !doneLastAck {
+                       // we need to terminate the connection
+                       discord.terminate <- "server missed an ack and must be disconnected"
+                       return
+               }
+
+               log.Debug().Msg("Sending a heartbeat.")
+
+               index, _ := json.Marshal(discord.SessionState.Index)
+               err := discord.connection.WriteJSON(gatewayTypes.Payload{
+                       Op: types.GatewayOpCodeHeartbeat,
+                       D:  index,
+               })
+
+               if err != nil {
+                       discord.terminate <- fmt.Sprintf("failed to send a heartbeat: %s", err.Error())
+                       return
+               }
+
+               heartbeatCounter.Inc()
+               // wait for the ack asynchronously
+               go func() {
+                       start := time.Now()
+                       doneLastAck = false
+                       <-discord.heartbeat
+                       doneLastAck = true
+
+                       discord.connectionState.Latency = time.Since(start).Milliseconds()
+                       latencyGauge.Set(float64(discord.connectionState.Latency))
+
+                       log.Info().Msgf("heartbeat completed, latency: %dms", discord.connectionState.Latency)
+               }()
+
+       }
+}
+
+// listen listens to the messages on the gateway
+func (discord *GatewayConnector) listen() {
+       for {
+               _, message, err := discord.connection.ReadMessage()
+
+               if err != nil {
+                       discord.terminate <- fmt.Sprintf("the connection was closed by the gateway: %s", err.Error())
+                       return
+               }
+
+               messagesCounter.Inc()
+               data, err := discord.options.Compressor.DecodeMessage(message)
+
+               if err != nil || data == nil {
+                       log.Print(err.Error())
+                       continue
+               }
+
+               if data.S != 0 {
+                       discord.SessionState.Index = data.S
+                       discord.updateState(data.S, "")
+               }
+
+               discord.handleMessage(data)
+       }
+}
+
+func (discord *GatewayConnector) updateState(newIndex int64, sessionId string) {
+       discord.SessionState.Index = newIndex
+       if sessionId != "" {
+               discord.SessionState.Session = sessionId
+       }
+       discord.updateThrottle.Trigger()
+}
+
+func (discord *GatewayConnector) handleMessage(message *gatewayTypes.Payload) {
+       switch message.Op {
+       // call the startup function
+       case types.GatewayOpCodeHello:
+               discord.hello(message)
+       // notify the heartbeat goroutine that a heartbeat ack was received
+       case types.GatewayOpCodeHeartbeatACK:
+               discord.heartbeat <- struct{}{}
+       // handles a dispatch from the gateway
+       case types.GatewayOpCodeDispatch:
+               discord.dispatch(message)
+       // when the session resume fails
+       case types.GatewayOpCodeInvalidSession:
+               log.Print("failed to resume the session, reconnecting")
+               discord.updateState(0, "")
+               discord.doLogin()
+       // when the gateway requests a reconnect
+       case types.GatewayOpCodeReconnect:
+               log.Print("the gateway requested a reconnect")
+               if string(message.D) != "true" {
+                       // we may delete the session state
+                       discord.SessionState.Index = 0
+                       discord.updateState(0, "")
+               }
+               discord.terminate <- "the gateway requested a reconnect"
+       }
+}
+
+func (discord *GatewayConnector) doLogin() {
+       var payload gatewayTypes.Payload
+       // if we do not have to resume a session
+       if discord.SessionState.Session == "" {
+               log.Info().Msg("using identify for authentification")
+               data, err := json.Marshal(commands.GatewayCommandIdentifyPayload{
+                       Token: *discord.options.Token,
+                       Properties: structures.IdentifyConnectionProperties{
+                               OS:      runtime.GOOS,
+                               Device:  "Nova Discord Client",
+                               Browser: "Nova Discord Client",
+                       },
+                       Compress:       true,
+                       LargeThreshold: 1000,
+                       Shard: []int{
+                               *discord.options.SelfShard,
+                               *discord.options.TotalShard,
+                       },
+                       Presence:           commands.GatewayCommandUpdateStatusPayload{},
+                       GuildSubscriptions: *discord.options.GuildSubs,
+                       Intents:            discord.options.Intend,
+               })
+
+               if err != nil {
+                       return
+               }
+
+               payload = gatewayTypes.Payload{
+                       Op: types.GatewayOpCodeIdentify,
+                       D:  data,
+               }
+       } else {
+               log.Info().Msg("resuming session")
+               data, err := json.Marshal(commands.GatewayCommandResumePayload{
+                       Token:     *discord.options.Token,
+                       SessionID: discord.SessionState.Session,
+                       Seq:       discord.SessionState.Index,
+               })
+
+               if err != nil {
+                       return
+               }
+               payload = gatewayTypes.Payload{
+                       Op: types.GatewayOpCodeResume,
+                       D:  data,
+               }
+       }
+
+       err := discord.connection.WriteJSON(payload)
+       if err != nil {
+               log.Err(err).Msgf("failed send the identify payload")
+       }
+}
+
+func (discord *GatewayConnector) hello(message *gatewayTypes.Payload) {
+
+       data := &events.GatewayEventHelloPayload{}
+       err := json.Unmarshal(message.D, &data)
+       if err != nil {
+               discord.terminate <- fmt.Sprintf("invalid payload: %s", err.Error())
+       }
+
+       // start the heartbeat goroutine
+       log.Debug().Msgf("hello recevied, heartbeating every %d ms", data.HeartbeatInterval)
+       go discord.ticker(data.HeartbeatInterval)
+
+       // login
+       discord.doLogin()
+}
+
+type NovaMessage struct {
+       Data    json.RawMessage `json:"data"`
+       Tracing struct {
+               NodeName string `json:"node_name"`
+       } `json:"tracing"`
+}
+
+func (discord *GatewayConnector) dispatch(message *gatewayTypes.Payload) {
+       // since this is juste a event gateway, we do not care about the content of the events
+       // except the ready, resumed, reconnect event we use to update the session_id, the other events are forwarded to the transporter
+       if message.T == "READY" {
+               event := events.GatewayEventReadyPayload{}
+               err := json.Unmarshal(message.D, &event)
+
+               log.Info().Msgf("logged in as %s", event.User.Username)
+
+               if err != nil {
+                       discord.terminate <- "invalid ready event"
+                       return
+               }
+
+               discord.updateState(discord.SessionState.Index, event.SessionID)
+               return
+       }
+
+       newName := gateway.EventNames[message.T]
+
+       if newName == "" {
+               log.Error().Msgf("unknown event name: %s", newName)
+               return
+       }
+
+       name, err := os.Hostname()
+
+       if err != nil {
+               log.Err(err).Msgf("failed to get the hostname")
+               return
+       }
+
+       data, err := json.Marshal(NovaMessage{
+               Data: message.D,
+               Tracing: struct {
+                       NodeName string `json:"node_name"`
+               }{
+                       NodeName: name,
+               },
+       })
+
+       if err != nil {
+               log.Err(err).Msg("failed to serialize the outgoing nova message")
+       }
+
+       err = discord.options.Transporter.PushDispatchEvent(newName, data)
+
+       if err != nil {
+               log.Err(err).Msg("failed to send the event to the nova event broker")
+       }
+}
diff --git a/gateway/lib/gateway/options.go b/gateway/lib/gateway/options.go
new file mode 100644 (file)
index 0000000..3ca90a6
--- /dev/null
@@ -0,0 +1,34 @@
+package gateway
+
+import (
+       "github.com/discordnova/nova/common/discord/types/types"
+       "github.com/discordnova/nova/common/gateway"
+)
+
+// GatewayConnectorOptionsResume represents the options for reconnecting the gateway.
+type GatewayConnectorOptionsResume struct {
+       Session string `json:"session_id"` // The session id of the older session we want to resume.
+       Index   int64  `json:"index"`      // The index of the last packet recevied by the older session.
+}
+
+// GatewayConnectorOptionsSharding represents the options for sharding the gateway.
+type GatewayConnectorOptionsSharding struct {
+       TotalShards  int `json:"total_shards"`  // The total amount of shards
+       CurrentShard int `json:"current_shard"` // The shard we want to connect to.
+}
+
+// GatewayConnectorOptions is the options given to the GatewayConnector when creating it.
+type GatewayConnectorOptions struct {
+       Token         *string                       // The token of the bot
+       SelfShard     *int                          // The shard of the current connector
+       TotalShard    *int                          // The total count of shards
+       Intend        types.GatewayIntents          // The bitflags for the indents.
+       GuildSubs     *bool                         // Should the guild_subscriptions be enabled
+       ResumeSession GatewayConnectorOptionsResume // Is specified, the gateway will try to resume a connection.
+       Compressor    gateway.Compression           // The compressor given to the gateway that determine the connection method and compression used.
+       Transporter   gateway.Transporter           // The interface where we send the data.
+       Restart       *bool                         // Should the gateway restart upon failure.
+
+       OnSessionStateUpdated  func(state GatewayConnectorOptionsResume) error // When the session state is called, we call this function
+       SessionUpdateFrequency *int
+}
diff --git a/gateway/lib/gateway/transporters/BUILD.bazel b/gateway/lib/gateway/transporters/BUILD.bazel
new file mode 100644 (file)
index 0000000..c5fcb2f
--- /dev/null
@@ -0,0 +1,13 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "transporters",
+    srcs = ["rabbitmq.go"],
+    importpath = "github.com/discordnova/nova/gateway/lib/gateway/transporters",
+    visibility = ["//gateway:__subpackages__"],
+    deps = [
+        "//common/gateway",
+        "@com_github_rs_zerolog//log",
+        "@com_github_streadway_amqp//:amqp",
+    ],
+)
diff --git a/gateway/lib/gateway/transporters/rabbitmq.go b/gateway/lib/gateway/transporters/rabbitmq.go
new file mode 100644 (file)
index 0000000..96c3738
--- /dev/null
@@ -0,0 +1,70 @@
+package transporters
+
+import (
+       "time"
+
+       "github.com/rs/zerolog/log"
+       "github.com/streadway/amqp"
+       "github.com/discordnova/nova/common/gateway"
+)
+
+type RabbitMqTransporter struct {
+       connection  *amqp.Connection
+       sendChannel *amqp.Channel
+}
+
+// NewRabbitMqTransporter creates a rabbitmq transporter using a given url
+func NewRabbitMqTransporter(url string) (gateway.Transporter, error) {
+       log.Info().Msg("connecting to the transporter using rabbitmq...")
+       conn, err := amqp.Dial(url)
+
+       if err != nil {
+               return &RabbitMqTransporter{}, err
+       }
+
+       send, err := conn.Channel()
+
+       if err != nil {
+               return &RabbitMqTransporter{}, err
+       }
+
+       err = send.ExchangeDeclare(
+               "nova_gateway_dispatch",
+               "topic",
+               true,
+               false,
+               false,
+               true,
+               nil,
+       )
+
+       if err != nil {
+               return &RabbitMqTransporter{}, err
+       }
+
+       return RabbitMqTransporter{
+               connection:  conn,
+               sendChannel: send,
+       }, nil
+}
+
+// PushDispatchEvent dispatches a general event to all the bot workers.
+func (transporter RabbitMqTransporter) PushDispatchEvent(t string, data []byte) error {
+       return transporter.sendChannel.Publish(
+               "nova_gateway_dispatch",
+               t,
+               false,
+               false,
+               amqp.Publishing{
+                       Priority:  1,
+                       Timestamp: time.Now(),
+                       Type:      t,
+                       Body:      data,
+               },
+       )
+}
+
+// PushEventCache dispatches a cache specific events to all the cache workers.
+func (transporter RabbitMqTransporter) PushEventCache(t string, data []byte) error {
+       return nil
+}
diff --git a/gateway/lib/logger.go b/gateway/lib/logger.go
new file mode 100644 (file)
index 0000000..1220805
--- /dev/null
@@ -0,0 +1,25 @@
+package lib
+
+import (
+       "flag"
+       "os"
+
+       "github.com/rs/zerolog"
+       "github.com/rs/zerolog/log"
+)
+
+var (
+       debug  *bool = flag.Bool("debug", false, "enables the debug mode")
+       pretty *bool = flag.Bool("pretty", false, "enables the pretty log messages")
+)
+
+func SetupLogger() {
+       if *pretty {
+               log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
+       }
+       zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
+       zerolog.SetGlobalLevel(zerolog.InfoLevel)
+       if *debug {
+               zerolog.SetGlobalLevel(zerolog.DebugLevel)
+       }
+}
diff --git a/gateway/lib/prometheus.go b/gateway/lib/prometheus.go
new file mode 100644 (file)
index 0000000..98d7371
--- /dev/null
@@ -0,0 +1,20 @@
+package lib
+
+import (
+       "fmt"
+       "net/http"
+
+       "github.com/prometheus/client_golang/prometheus/promhttp"
+       "github.com/rs/zerolog/log"
+)
+
+// CreatePrometheus creates a webserver instance that returns the metrics of the
+// current program reported using promauto.
+func CreatePrometheus(port int) {
+       http.Handle("/metrics", promhttp.Handler())
+       err := http.ListenAndServe(fmt.Sprintf(":%d", port), nil)
+
+       if err != nil {
+               log.Err(err).Msgf("failed to start the prometheus reporting on the port :%d", port)
+       }
+}
index 39512941550dcc26f2605194658f1c48ab1ef435..6f10dd34fca345741521109c2096775577a24c9d 100644 (file)
@@ -1,7 +1,68 @@
-package main\r
-\r
-import "fmt"\r
-\r
-func main()  {\r
-       fmt.Println("Salut!")\r
-}
\ No newline at end of file
+package main
+
+import (
+       "flag"
+
+       "github.com/discordnova/nova/gateway/lib"
+       "github.com/discordnova/nova/gateway/lib/gateway"
+       "github.com/discordnova/nova/gateway/lib/gateway/compression"
+       "github.com/discordnova/nova/gateway/lib/gateway/transporters"
+       "github.com/rs/zerolog/log"
+)
+
+var (
+       settings = gateway.GatewayConnectorOptions{
+               Token:                  flag.String("token", "", "the discord token for the websocket connection"),
+               Restart:                flag.Bool("restart", true, "should the gateway be restarted if an error occurs"),
+               GuildSubs:              flag.Bool("guild-subscriptions", true, "should the guild subscription gateway flag set to true"),
+               SelfShard:              flag.Int("shard", 0, "the shard id of this instance"),
+               TotalShard:             flag.Int("shard-count", 1, "the total amount of shard"),
+               SessionUpdateFrequency: flag.Int("session-persist-frequence", 10, "the frequency of session persistence"),
+       }
+
+       compressor  = flag.String("compressor", "json-zlib", "the compressor used to connect")
+       transporter = flag.String("transporter", "rabbitmq", "the compressor used to connect")
+       monitoring  = flag.Int("prometheus-port", 9000, "is this flag is set, a prometheus metrics endpoint will be exposed")
+       url         = flag.String("transporter-url", "", "the url needed for rabbitmq to function")
+)
+
+func validate(settings *gateway.GatewayConnectorOptions) {
+       if *settings.SelfShard > *settings.TotalShard {
+               log.Fatal().Msg("invalid config: the shard id must be inferior than the total shard value")
+       } else if *settings.SessionUpdateFrequency == 0 {
+               log.Fatal().Msg("invalid config: the session update frequency muse be greater than 0")
+       } else if *settings.Token == "" {
+               log.Fatal().Msg("invalid config: invalid token provided")
+       } else if *settings.TotalShard == 0 {
+               log.Fatal().Msg("invalid config: the total number of shards muse be greater than 0")
+       }
+}
+
+func main() {
+       flag.Parse()
+       lib.SetupLogger()
+
+       if monitoring != nil {
+               go lib.CreatePrometheus(*monitoring)
+               log.Debug().Msg("prometheus server called")
+       }
+
+       if *compressor == "json-zlib" {
+               settings.Compressor = compression.NewJsonZlibCompressor()
+       } else {
+               log.Fatal().Msgf("unknown compressor specified: %s", *compressor)
+       }
+
+       if *transporter == "rabbitmq" {
+               trns, err := transporters.NewRabbitMqTransporter(*url)
+               if err != nil {
+                       log.Fatal().Msgf("failed to initialize the transporter: %s", err.Error())
+               }
+               settings.Transporter = trns
+       }
+
+       validate(&settings)
+
+       gateway := gateway.NewGateway(settings)
+       gateway.Start()
+}
index 459a6afe4f4112e3f7ef79e1af9a1c92317087ee..ad6191e3d0df5ea6d753d332d8670e61c5ef17ea 100644 (file)
@@ -1,11 +1,11 @@
 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
+load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
 
 go_library(
     name = "novactl_lib",
     srcs = ["main.go"],
     importpath = "github.com/discordnova/nova/novactl",
     visibility = ["//visibility:private"],
-    deps = ["@com_github_spf13_cobra//:cobra"],
 )
 
 go_binary(
@@ -13,3 +13,10 @@ go_binary(
     embed = [":novactl_lib"],
     visibility = ["//visibility:public"],
 )
+
+pkg_tar(
+    name = "novactl_pkg",
+    srcs = [":novactl"],
+    mode = "0755",
+    visibility = ["//visibility:public"],
+)
diff --git a/novactl/README.md b/novactl/README.md
new file mode 100644 (file)
index 0000000..a0fe3d5
--- /dev/null
@@ -0,0 +1,3 @@
+# Novactl
+
+Novactl is a simple command-line utility used to interact with your nova projects, and the nova infrastructure.
\ No newline at end of file
index 7acd56e84890f273fa9606eb40ac230c40e3be5a..5f97c89974f33c4c8b4db3c4b7ba53366be571bc 100644 (file)
@@ -1,9 +1,9 @@
 package main\r
 \r
 import (\r
-       _ "github.com/spf13/cobra"\r
+       "fmt"\r
 )\r
 \r
 func main() {\r
-\r
+       fmt.Println("Welcome to nova! The cli is being developed.")\r
 }\r
diff --git a/novalet/BUILD.bazel b/novalet/BUILD.bazel
new file mode 100644 (file)
index 0000000..f922655
--- /dev/null
@@ -0,0 +1,21 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
+
+go_library(
+    name = "novalet_lib",
+    srcs = ["main.go"],
+    importpath = "github.com/discordnova/nova/novalet",
+    visibility = ["//visibility:private"],
+)
+
+go_binary(
+    name = "novalet",
+    embed = [":novalet_lib"],
+    visibility = ["//visibility:public"],
+)
+
+pkg_tar(
+    name = "novalet_pkg",
+    srcs = [":novalet"],
+    mode = "0755",
+    visibility = ["//visibility:public"],
+)
\ No newline at end of file
diff --git a/novalet/go.mod b/novalet/go.mod
new file mode 100644 (file)
index 0000000..ad4a8f0
--- /dev/null
@@ -0,0 +1,3 @@
+module github.com/discordnova/nova/novalet
+
+go 1.16
diff --git a/novalet/main.go b/novalet/main.go
new file mode 100644 (file)
index 0000000..dbdc0ab
--- /dev/null
@@ -0,0 +1,8 @@
+package main\r
+\r
+import "fmt"\r
+\r
+func main() {\r
+       fmt.Println("Hello world!")\r
+       fmt.Println("In the future, this binary will be used to spin up a lightweight nova instance in one binary")\r
+}\r
diff --git a/ratelimiter/BUILD b/ratelimiter/BUILD
new file mode 100644 (file)
index 0000000..287e00d
--- /dev/null
@@ -0,0 +1,25 @@
+load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
+load("@rules_rust//rust:rust.bzl", "rust_binary")
+load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
+
+cargo_build_script(
+    name = "build_script",
+    srcs = ["build.rs"],
+    deps = [
+        "//ratelimiter/cargo:tonic_build",
+    ],
+)
+
+rust_binary(
+    name = "ratelimiter",
+    srcs = ["src/main.rs"],
+)
+
+# TODO: Add testing, and the shared library.
+
+pkg_tar(
+    name = "ratelimiter_pkg",
+    srcs = [":ratelimiter"],
+    mode = "0755",
+    visibility = ["//visibility:public"],
+)
diff --git a/ratelimiter/Cargo.toml b/ratelimiter/Cargo.toml
new file mode 100644 (file)
index 0000000..5050c0b
--- /dev/null
@@ -0,0 +1,22 @@
+[package]
+name = "rest-ratelimiter"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+tonic = "0.5"
+prost = "0.8"
+tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
+
+[[bin]]
+name = "rest-ratelimiter"
+path = "src/main.rs"
+
+[dev-dependencies]
+tonic-build = "0.5"
+
+[package.metadata.raze]
+workspace_path = "//ratelimiter/cargo"
+genmode = "Remote"
+default_gen_buildrs = true
+package_aliases_dir = "cargo"
diff --git a/ratelimiter/README.md b/ratelimiter/README.md
new file mode 100644 (file)
index 0000000..fcc86f2
--- /dev/null
@@ -0,0 +1,5 @@
+# Ratelimiter
+
+This is an implementation of the ratelimiting service described in the `proto/nova.ratelimit.v1.proto`.
+The library is divied in two part, a Rust library, built as a static library, and a rust executable that implements
+the rate limiting algorithm. A  FFI interface is exposed by the Rust static library for use in the nova-lite component.
\ No newline at end of file
diff --git a/ratelimiter/build.rs b/ratelimiter/build.rs
new file mode 100644 (file)
index 0000000..a1cee90
--- /dev/null
@@ -0,0 +1,4 @@
+fn main() -> Result<(), Box<dyn std::error::Error>> {
+    tonic_build::compile_protos("proto/nova.ratelimit.v1.proto").unwrap();
+    Ok(())
+}
\ No newline at end of file
diff --git a/ratelimiter/cargo/BUILD.bazel b/ratelimiter/cargo/BUILD.bazel
new file mode 100644 (file)
index 0000000..8ee6ef6
--- /dev/null
@@ -0,0 +1,57 @@
+"""
+@generated
+cargo-raze generated Bazel file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+package(default_visibility = ["//visibility:public"])
+
+licenses([
+    "notice",  # See individual crates for specific licenses
+])
+
+# Aliased targets
+alias(
+    name = "prost",
+    actual = "@raze__prost__0_8_0//:prost",
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+)
+
+alias(
+    name = "tokio",
+    actual = "@raze__tokio__1_9_0//:tokio",
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+)
+
+alias(
+    name = "tonic",
+    actual = "@raze__tonic__0_5_0//:tonic",
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+)
+
+alias(
+    name = "tonic_build",
+    actual = "@raze__tonic_build__0_5_1//:tonic_build",
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+)
+
+# Export file for Stardoc support
+exports_files(
+    [
+        "crates.bzl",
+    ],
+    visibility = ["//visibility:public"],
+)
diff --git a/ratelimiter/cargo/Cargo.raze.lock b/ratelimiter/cargo/Cargo.raze.lock
new file mode 100644 (file)
index 0000000..a9162d7
--- /dev/null
@@ -0,0 +1,830 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "anyhow"
+version = "1.0.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486"
+
+[[package]]
+name = "async-stream"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625"
+dependencies = [
+ "async-stream-impl",
+ "futures-core",
+]
+
+[[package]]
+name = "async-stream-impl"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "async-trait"
+version = "0.1.51"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e"
+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.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+
+[[package]]
+name = "bitflags"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+[[package]]
+name = "bytes"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[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 = "futures-channel"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99"
+
+[[package]]
+name = "futures-sink"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53"
+
+[[package]]
+name = "futures-task"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2"
+
+[[package]]
+name = "futures-util"
+version = "0.3.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78"
+dependencies = [
+ "autocfg",
+ "futures-core",
+ "futures-task",
+ "pin-project-lite",
+ "pin-utils",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "h2"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726"
+dependencies = [
+ "bytes",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "futures-util",
+ "http",
+ "indexmap",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tracing",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
+
+[[package]]
+name = "heck"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
+dependencies = [
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "http"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11"
+dependencies = [
+ "bytes",
+ "fnv",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9"
+dependencies = [
+ "bytes",
+ "http",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68"
+
+[[package]]
+name = "httpdate"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440"
+
+[[package]]
+name = "hyper"
+version = "0.14.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "h2",
+ "http",
+ "http-body",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+ "want",
+]
+
+[[package]]
+name = "hyper-timeout"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
+dependencies = [
+ "hyper",
+ "pin-project-lite",
+ "tokio",
+ "tokio-io-timeout",
+]
+
+[[package]]
+name = "indexmap"
+version = "1.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
+
+[[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.98"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
+
+[[package]]
+name = "log"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "memchr"
+version = "2.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
+
+[[package]]
+name = "mio"
+version = "0.7.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16"
+dependencies = [
+ "libc",
+ "log",
+ "miow",
+ "ntapi",
+ "winapi",
+]
+
+[[package]]
+name = "miow"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "multimap"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+
+[[package]]
+name = "ntapi"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "num_cpus"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "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 = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08"
+dependencies = [
+ "pin-project-internal",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
+
+[[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.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612"
+dependencies = [
+ "unicode-xid",
+]
+
+[[package]]
+name = "prost"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020"
+dependencies = [
+ "bytes",
+ "prost-derive",
+]
+
+[[package]]
+name = "prost-build"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603"
+dependencies = [
+ "bytes",
+ "heck",
+ "itertools",
+ "log",
+ "multimap",
+ "petgraph",
+ "prost",
+ "prost-types",
+ "tempfile",
+ "which",
+]
+
+[[package]]
+name = "prost-derive"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba"
+dependencies = [
+ "anyhow",
+ "itertools",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "prost-types"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b"
+dependencies = [
+ "bytes",
+ "prost",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
+dependencies = [
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "remove_dir_all"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "rest-ratelimiter"
+version = "0.1.0"
+dependencies = [
+ "prost",
+ "tokio",
+ "tonic",
+ "tonic-build",
+]
+
+[[package]]
+name = "slab"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590"
+
+[[package]]
+name = "socket2"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "syn"
+version = "1.0.74"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "rand",
+ "redox_syscall",
+ "remove_dir_all",
+ "winapi",
+]
+
+[[package]]
+name = "tokio"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c"
+dependencies = [
+ "autocfg",
+ "bytes",
+ "libc",
+ "memchr",
+ "mio",
+ "num_cpus",
+ "pin-project-lite",
+ "tokio-macros",
+ "winapi",
+]
+
+[[package]]
+name = "tokio-io-timeout"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9"
+dependencies = [
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tokio-stream"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f"
+dependencies = [
+ "futures-core",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-util"
+version = "0.6.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "log",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tonic"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b584f064fdfc50017ec39162d5aebce49912f1eb16fd128e04b7f4ce4907c7e5"
+dependencies = [
+ "async-stream",
+ "async-trait",
+ "base64",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "h2",
+ "http",
+ "http-body",
+ "hyper",
+ "hyper-timeout",
+ "percent-encoding",
+ "pin-project",
+ "prost",
+ "prost-derive",
+ "tokio",
+ "tokio-stream",
+ "tokio-util",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+ "tracing-futures",
+]
+
+[[package]]
+name = "tonic-build"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d12faebbe071b06f486be82cc9318350814fdd07fcb28f3690840cd770599283"
+dependencies = [
+ "proc-macro2",
+ "prost-build",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tower"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f60422bc7fefa2f3ec70359b8ff1caff59d785877eb70595904605bcc412470f"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "indexmap",
+ "pin-project",
+ "rand",
+ "slab",
+ "tokio",
+ "tokio-stream",
+ "tokio-util",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62"
+
+[[package]]
+name = "tower-service"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
+
+[[package]]
+name = "tracing"
+version = "0.1.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d"
+dependencies = [
+ "cfg-if",
+ "log",
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "tracing-futures"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
+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.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
+
+[[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.10.2+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
+
+[[package]]
+name = "which"
+version = "4.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9"
+dependencies = [
+ "either",
+ "lazy_static",
+ "libc",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/ratelimiter/cargo/crates.bzl b/ratelimiter/cargo/crates.bzl
new file mode 100644 (file)
index 0000000..39d19c1
--- /dev/null
@@ -0,0 +1,872 @@
+"""
+@generated
+cargo-raze generated Bazel file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")  # buildifier: disable=load
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")  # buildifier: disable=load
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")  # buildifier: disable=load
+
+def raze_fetch_remote_crates():
+    """This function defines a collection of repos and should be called in a WORKSPACE file"""
+    maybe(
+        http_archive,
+        name = "raze__anyhow__1_0_42",
+        url = "https://crates.io/api/v1/crates/anyhow/1.0.42/download",
+        type = "tar.gz",
+        sha256 = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486",
+        strip_prefix = "anyhow-1.0.42",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.anyhow-1.0.42.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__async_stream__0_3_2",
+        url = "https://crates.io/api/v1/crates/async-stream/0.3.2/download",
+        type = "tar.gz",
+        sha256 = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625",
+        strip_prefix = "async-stream-0.3.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.async-stream-0.3.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__async_stream_impl__0_3_2",
+        url = "https://crates.io/api/v1/crates/async-stream-impl/0.3.2/download",
+        type = "tar.gz",
+        sha256 = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308",
+        strip_prefix = "async-stream-impl-0.3.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.async-stream-impl-0.3.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__async_trait__0_1_51",
+        url = "https://crates.io/api/v1/crates/async-trait/0.1.51/download",
+        type = "tar.gz",
+        sha256 = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e",
+        strip_prefix = "async-trait-0.1.51",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.async-trait-0.1.51.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__autocfg__1_0_1",
+        url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
+        type = "tar.gz",
+        sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
+        strip_prefix = "autocfg-1.0.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__base64__0_13_0",
+        url = "https://crates.io/api/v1/crates/base64/0.13.0/download",
+        type = "tar.gz",
+        sha256 = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd",
+        strip_prefix = "base64-0.13.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.base64-0.13.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__bitflags__1_2_1",
+        url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
+        type = "tar.gz",
+        sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693",
+        strip_prefix = "bitflags-1.2.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__bytes__1_0_1",
+        url = "https://crates.io/api/v1/crates/bytes/1.0.1/download",
+        type = "tar.gz",
+        sha256 = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040",
+        strip_prefix = "bytes-1.0.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.bytes-1.0.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__cfg_if__1_0_0",
+        url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
+        type = "tar.gz",
+        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
+        strip_prefix = "cfg-if-1.0.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__either__1_6_1",
+        url = "https://crates.io/api/v1/crates/either/1.6.1/download",
+        type = "tar.gz",
+        sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457",
+        strip_prefix = "either-1.6.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.either-1.6.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__fixedbitset__0_2_0",
+        url = "https://crates.io/api/v1/crates/fixedbitset/0.2.0/download",
+        type = "tar.gz",
+        sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d",
+        strip_prefix = "fixedbitset-0.2.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.fixedbitset-0.2.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__fnv__1_0_7",
+        url = "https://crates.io/api/v1/crates/fnv/1.0.7/download",
+        type = "tar.gz",
+        sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1",
+        strip_prefix = "fnv-1.0.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.fnv-1.0.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__futures_channel__0_3_16",
+        url = "https://crates.io/api/v1/crates/futures-channel/0.3.16/download",
+        type = "tar.gz",
+        sha256 = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9",
+        strip_prefix = "futures-channel-0.3.16",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.futures-channel-0.3.16.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__futures_core__0_3_16",
+        url = "https://crates.io/api/v1/crates/futures-core/0.3.16/download",
+        type = "tar.gz",
+        sha256 = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99",
+        strip_prefix = "futures-core-0.3.16",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.futures-core-0.3.16.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__futures_sink__0_3_16",
+        url = "https://crates.io/api/v1/crates/futures-sink/0.3.16/download",
+        type = "tar.gz",
+        sha256 = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53",
+        strip_prefix = "futures-sink-0.3.16",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.futures-sink-0.3.16.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__futures_task__0_3_16",
+        url = "https://crates.io/api/v1/crates/futures-task/0.3.16/download",
+        type = "tar.gz",
+        sha256 = "bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2",
+        strip_prefix = "futures-task-0.3.16",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.futures-task-0.3.16.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__futures_util__0_3_16",
+        url = "https://crates.io/api/v1/crates/futures-util/0.3.16/download",
+        type = "tar.gz",
+        sha256 = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78",
+        strip_prefix = "futures-util-0.3.16",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.futures-util-0.3.16.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__getrandom__0_2_3",
+        url = "https://crates.io/api/v1/crates/getrandom/0.2.3/download",
+        type = "tar.gz",
+        sha256 = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753",
+        strip_prefix = "getrandom-0.2.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.getrandom-0.2.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__h2__0_3_3",
+        url = "https://crates.io/api/v1/crates/h2/0.3.3/download",
+        type = "tar.gz",
+        sha256 = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726",
+        strip_prefix = "h2-0.3.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.h2-0.3.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__hashbrown__0_11_2",
+        url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download",
+        type = "tar.gz",
+        sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e",
+        strip_prefix = "hashbrown-0.11.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.hashbrown-0.11.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__heck__0_3_3",
+        url = "https://crates.io/api/v1/crates/heck/0.3.3/download",
+        type = "tar.gz",
+        sha256 = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c",
+        strip_prefix = "heck-0.3.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.heck-0.3.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__hermit_abi__0_1_19",
+        url = "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download",
+        type = "tar.gz",
+        sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
+        strip_prefix = "hermit-abi-0.1.19",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.hermit-abi-0.1.19.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__http__0_2_4",
+        url = "https://crates.io/api/v1/crates/http/0.2.4/download",
+        type = "tar.gz",
+        sha256 = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11",
+        strip_prefix = "http-0.2.4",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.http-0.2.4.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__http_body__0_4_2",
+        url = "https://crates.io/api/v1/crates/http-body/0.4.2/download",
+        type = "tar.gz",
+        sha256 = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9",
+        strip_prefix = "http-body-0.4.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.http-body-0.4.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__httparse__1_4_1",
+        url = "https://crates.io/api/v1/crates/httparse/1.4.1/download",
+        type = "tar.gz",
+        sha256 = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68",
+        strip_prefix = "httparse-1.4.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.httparse-1.4.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__httpdate__1_0_1",
+        url = "https://crates.io/api/v1/crates/httpdate/1.0.1/download",
+        type = "tar.gz",
+        sha256 = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440",
+        strip_prefix = "httpdate-1.0.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.httpdate-1.0.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__hyper__0_14_11",
+        url = "https://crates.io/api/v1/crates/hyper/0.14.11/download",
+        type = "tar.gz",
+        sha256 = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11",
+        strip_prefix = "hyper-0.14.11",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.hyper-0.14.11.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__hyper_timeout__0_4_1",
+        url = "https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download",
+        type = "tar.gz",
+        sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1",
+        strip_prefix = "hyper-timeout-0.4.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.hyper-timeout-0.4.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__indexmap__1_7_0",
+        url = "https://crates.io/api/v1/crates/indexmap/1.7.0/download",
+        type = "tar.gz",
+        sha256 = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5",
+        strip_prefix = "indexmap-1.7.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.indexmap-1.7.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__itertools__0_10_1",
+        url = "https://crates.io/api/v1/crates/itertools/0.10.1/download",
+        type = "tar.gz",
+        sha256 = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf",
+        strip_prefix = "itertools-0.10.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.itertools-0.10.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__itoa__0_4_7",
+        url = "https://crates.io/api/v1/crates/itoa/0.4.7/download",
+        type = "tar.gz",
+        sha256 = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736",
+        strip_prefix = "itoa-0.4.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.itoa-0.4.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__lazy_static__1_4_0",
+        url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
+        type = "tar.gz",
+        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
+        strip_prefix = "lazy_static-1.4.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.lazy_static-1.4.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__libc__0_2_98",
+        url = "https://crates.io/api/v1/crates/libc/0.2.98/download",
+        type = "tar.gz",
+        sha256 = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790",
+        strip_prefix = "libc-0.2.98",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.libc-0.2.98.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__log__0_4_14",
+        url = "https://crates.io/api/v1/crates/log/0.4.14/download",
+        type = "tar.gz",
+        sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
+        strip_prefix = "log-0.4.14",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.log-0.4.14.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__memchr__2_4_0",
+        url = "https://crates.io/api/v1/crates/memchr/2.4.0/download",
+        type = "tar.gz",
+        sha256 = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc",
+        strip_prefix = "memchr-2.4.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.memchr-2.4.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__mio__0_7_13",
+        url = "https://crates.io/api/v1/crates/mio/0.7.13/download",
+        type = "tar.gz",
+        sha256 = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16",
+        strip_prefix = "mio-0.7.13",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.mio-0.7.13.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__miow__0_3_7",
+        url = "https://crates.io/api/v1/crates/miow/0.3.7/download",
+        type = "tar.gz",
+        sha256 = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21",
+        strip_prefix = "miow-0.3.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.miow-0.3.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__multimap__0_8_3",
+        url = "https://crates.io/api/v1/crates/multimap/0.8.3/download",
+        type = "tar.gz",
+        sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a",
+        strip_prefix = "multimap-0.8.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.multimap-0.8.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__ntapi__0_3_6",
+        url = "https://crates.io/api/v1/crates/ntapi/0.3.6/download",
+        type = "tar.gz",
+        sha256 = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44",
+        strip_prefix = "ntapi-0.3.6",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.ntapi-0.3.6.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__num_cpus__1_13_0",
+        url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download",
+        type = "tar.gz",
+        sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3",
+        strip_prefix = "num_cpus-1.13.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.num_cpus-1.13.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__percent_encoding__2_1_0",
+        url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download",
+        type = "tar.gz",
+        sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e",
+        strip_prefix = "percent-encoding-2.1.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.percent-encoding-2.1.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__petgraph__0_5_1",
+        url = "https://crates.io/api/v1/crates/petgraph/0.5.1/download",
+        type = "tar.gz",
+        sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7",
+        strip_prefix = "petgraph-0.5.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.petgraph-0.5.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__pin_project__1_0_8",
+        url = "https://crates.io/api/v1/crates/pin-project/1.0.8/download",
+        type = "tar.gz",
+        sha256 = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08",
+        strip_prefix = "pin-project-1.0.8",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.pin-project-1.0.8.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__pin_project_internal__1_0_8",
+        url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.8/download",
+        type = "tar.gz",
+        sha256 = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389",
+        strip_prefix = "pin-project-internal-1.0.8",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.pin-project-internal-1.0.8.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__pin_project_lite__0_2_7",
+        url = "https://crates.io/api/v1/crates/pin-project-lite/0.2.7/download",
+        type = "tar.gz",
+        sha256 = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443",
+        strip_prefix = "pin-project-lite-0.2.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.pin-project-lite-0.2.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__pin_utils__0_1_0",
+        url = "https://crates.io/api/v1/crates/pin-utils/0.1.0/download",
+        type = "tar.gz",
+        sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184",
+        strip_prefix = "pin-utils-0.1.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.pin-utils-0.1.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__ppv_lite86__0_2_10",
+        url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download",
+        type = "tar.gz",
+        sha256 = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857",
+        strip_prefix = "ppv-lite86-0.2.10",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__proc_macro2__1_0_28",
+        url = "https://crates.io/api/v1/crates/proc-macro2/1.0.28/download",
+        type = "tar.gz",
+        sha256 = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612",
+        strip_prefix = "proc-macro2-1.0.28",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.proc-macro2-1.0.28.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__prost__0_8_0",
+        url = "https://crates.io/api/v1/crates/prost/0.8.0/download",
+        type = "tar.gz",
+        sha256 = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020",
+        strip_prefix = "prost-0.8.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.prost-0.8.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__prost_build__0_8_0",
+        url = "https://crates.io/api/v1/crates/prost-build/0.8.0/download",
+        type = "tar.gz",
+        sha256 = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603",
+        strip_prefix = "prost-build-0.8.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.prost-build-0.8.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__prost_derive__0_8_0",
+        url = "https://crates.io/api/v1/crates/prost-derive/0.8.0/download",
+        type = "tar.gz",
+        sha256 = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba",
+        strip_prefix = "prost-derive-0.8.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.prost-derive-0.8.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__prost_types__0_8_0",
+        url = "https://crates.io/api/v1/crates/prost-types/0.8.0/download",
+        type = "tar.gz",
+        sha256 = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b",
+        strip_prefix = "prost-types-0.8.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.prost-types-0.8.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__quote__1_0_9",
+        url = "https://crates.io/api/v1/crates/quote/1.0.9/download",
+        type = "tar.gz",
+        sha256 = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7",
+        strip_prefix = "quote-1.0.9",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.quote-1.0.9.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__rand__0_8_4",
+        url = "https://crates.io/api/v1/crates/rand/0.8.4/download",
+        type = "tar.gz",
+        sha256 = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8",
+        strip_prefix = "rand-0.8.4",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.rand-0.8.4.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__rand_chacha__0_3_1",
+        url = "https://crates.io/api/v1/crates/rand_chacha/0.3.1/download",
+        type = "tar.gz",
+        sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88",
+        strip_prefix = "rand_chacha-0.3.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.rand_chacha-0.3.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__rand_core__0_6_3",
+        url = "https://crates.io/api/v1/crates/rand_core/0.6.3/download",
+        type = "tar.gz",
+        sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7",
+        strip_prefix = "rand_core-0.6.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.rand_core-0.6.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__rand_hc__0_3_1",
+        url = "https://crates.io/api/v1/crates/rand_hc/0.3.1/download",
+        type = "tar.gz",
+        sha256 = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7",
+        strip_prefix = "rand_hc-0.3.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.rand_hc-0.3.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__redox_syscall__0_2_10",
+        url = "https://crates.io/api/v1/crates/redox_syscall/0.2.10/download",
+        type = "tar.gz",
+        sha256 = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff",
+        strip_prefix = "redox_syscall-0.2.10",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.redox_syscall-0.2.10.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__remove_dir_all__0_5_3",
+        url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download",
+        type = "tar.gz",
+        sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7",
+        strip_prefix = "remove_dir_all-0.5.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.remove_dir_all-0.5.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__slab__0_4_4",
+        url = "https://crates.io/api/v1/crates/slab/0.4.4/download",
+        type = "tar.gz",
+        sha256 = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590",
+        strip_prefix = "slab-0.4.4",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.slab-0.4.4.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__socket2__0_4_1",
+        url = "https://crates.io/api/v1/crates/socket2/0.4.1/download",
+        type = "tar.gz",
+        sha256 = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad",
+        strip_prefix = "socket2-0.4.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.socket2-0.4.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__syn__1_0_74",
+        url = "https://crates.io/api/v1/crates/syn/1.0.74/download",
+        type = "tar.gz",
+        sha256 = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c",
+        strip_prefix = "syn-1.0.74",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.syn-1.0.74.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tempfile__3_2_0",
+        url = "https://crates.io/api/v1/crates/tempfile/3.2.0/download",
+        type = "tar.gz",
+        sha256 = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22",
+        strip_prefix = "tempfile-3.2.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tempfile-3.2.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tokio__1_9_0",
+        url = "https://crates.io/api/v1/crates/tokio/1.9.0/download",
+        type = "tar.gz",
+        sha256 = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c",
+        strip_prefix = "tokio-1.9.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tokio-1.9.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tokio_io_timeout__1_1_1",
+        url = "https://crates.io/api/v1/crates/tokio-io-timeout/1.1.1/download",
+        type = "tar.gz",
+        sha256 = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9",
+        strip_prefix = "tokio-io-timeout-1.1.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tokio-io-timeout-1.1.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tokio_macros__1_3_0",
+        url = "https://crates.io/api/v1/crates/tokio-macros/1.3.0/download",
+        type = "tar.gz",
+        sha256 = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110",
+        strip_prefix = "tokio-macros-1.3.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tokio-macros-1.3.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tokio_stream__0_1_7",
+        url = "https://crates.io/api/v1/crates/tokio-stream/0.1.7/download",
+        type = "tar.gz",
+        sha256 = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f",
+        strip_prefix = "tokio-stream-0.1.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tokio-stream-0.1.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tokio_util__0_6_7",
+        url = "https://crates.io/api/v1/crates/tokio-util/0.6.7/download",
+        type = "tar.gz",
+        sha256 = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592",
+        strip_prefix = "tokio-util-0.6.7",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tokio-util-0.6.7.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tonic__0_5_0",
+        url = "https://crates.io/api/v1/crates/tonic/0.5.0/download",
+        type = "tar.gz",
+        sha256 = "b584f064fdfc50017ec39162d5aebce49912f1eb16fd128e04b7f4ce4907c7e5",
+        strip_prefix = "tonic-0.5.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tonic-0.5.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tonic_build__0_5_1",
+        url = "https://crates.io/api/v1/crates/tonic-build/0.5.1/download",
+        type = "tar.gz",
+        sha256 = "d12faebbe071b06f486be82cc9318350814fdd07fcb28f3690840cd770599283",
+        strip_prefix = "tonic-build-0.5.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tonic-build-0.5.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tower__0_4_8",
+        url = "https://crates.io/api/v1/crates/tower/0.4.8/download",
+        type = "tar.gz",
+        sha256 = "f60422bc7fefa2f3ec70359b8ff1caff59d785877eb70595904605bcc412470f",
+        strip_prefix = "tower-0.4.8",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tower-0.4.8.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tower_layer__0_3_1",
+        url = "https://crates.io/api/v1/crates/tower-layer/0.3.1/download",
+        type = "tar.gz",
+        sha256 = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62",
+        strip_prefix = "tower-layer-0.3.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tower-layer-0.3.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tower_service__0_3_1",
+        url = "https://crates.io/api/v1/crates/tower-service/0.3.1/download",
+        type = "tar.gz",
+        sha256 = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6",
+        strip_prefix = "tower-service-0.3.1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tower-service-0.3.1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tracing__0_1_26",
+        url = "https://crates.io/api/v1/crates/tracing/0.1.26/download",
+        type = "tar.gz",
+        sha256 = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d",
+        strip_prefix = "tracing-0.1.26",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tracing-0.1.26.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tracing_attributes__0_1_15",
+        url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.15/download",
+        type = "tar.gz",
+        sha256 = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2",
+        strip_prefix = "tracing-attributes-0.1.15",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tracing-attributes-0.1.15.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tracing_core__0_1_18",
+        url = "https://crates.io/api/v1/crates/tracing-core/0.1.18/download",
+        type = "tar.gz",
+        sha256 = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052",
+        strip_prefix = "tracing-core-0.1.18",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tracing-core-0.1.18.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__tracing_futures__0_2_5",
+        url = "https://crates.io/api/v1/crates/tracing-futures/0.2.5/download",
+        type = "tar.gz",
+        sha256 = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2",
+        strip_prefix = "tracing-futures-0.2.5",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.tracing-futures-0.2.5.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__try_lock__0_2_3",
+        url = "https://crates.io/api/v1/crates/try-lock/0.2.3/download",
+        type = "tar.gz",
+        sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642",
+        strip_prefix = "try-lock-0.2.3",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.try-lock-0.2.3.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__unicode_segmentation__1_8_0",
+        url = "https://crates.io/api/v1/crates/unicode-segmentation/1.8.0/download",
+        type = "tar.gz",
+        sha256 = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b",
+        strip_prefix = "unicode-segmentation-1.8.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.unicode-segmentation-1.8.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__unicode_xid__0_2_2",
+        url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
+        type = "tar.gz",
+        sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
+        strip_prefix = "unicode-xid-0.2.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.unicode-xid-0.2.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__want__0_3_0",
+        url = "https://crates.io/api/v1/crates/want/0.3.0/download",
+        type = "tar.gz",
+        sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0",
+        strip_prefix = "want-0.3.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.want-0.3.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__wasi__0_10_2_wasi_snapshot_preview1",
+        url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download",
+        type = "tar.gz",
+        sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6",
+        strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__which__4_2_2",
+        url = "https://crates.io/api/v1/crates/which/4.2.2/download",
+        type = "tar.gz",
+        sha256 = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9",
+        strip_prefix = "which-4.2.2",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.which-4.2.2.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__winapi__0_3_9",
+        url = "https://crates.io/api/v1/crates/winapi/0.3.9/download",
+        type = "tar.gz",
+        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
+        strip_prefix = "winapi-0.3.9",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.winapi-0.3.9.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__winapi_i686_pc_windows_gnu__0_4_0",
+        url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download",
+        type = "tar.gz",
+        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
+        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+    )
+
+    maybe(
+        http_archive,
+        name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0",
+        url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download",
+        type = "tar.gz",
+        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
+        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
+        build_file = Label("//ratelimiter/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+    )
diff --git a/ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel b/ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel
new file mode 100644 (file)
index 0000000..44213d9
--- /dev/null
@@ -0,0 +1,113 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "anyhow_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.42",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "anyhow",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.42",
+    # buildifier: leave-alone
+    deps = [
+        ":anyhow_build_script",
+    ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "test_autotrait" with type "test" omitted
+
+# Unsupported target "test_backtrace" with type "test" omitted
+
+# Unsupported target "test_boxed" with type "test" omitted
+
+# Unsupported target "test_chain" with type "test" omitted
+
+# Unsupported target "test_context" with type "test" omitted
+
+# Unsupported target "test_convert" with type "test" omitted
+
+# Unsupported target "test_downcast" with type "test" omitted
+
+# Unsupported target "test_ffi" with type "test" omitted
+
+# Unsupported target "test_fmt" with type "test" omitted
+
+# Unsupported target "test_macros" with type "test" omitted
+
+# Unsupported target "test_repr" with type "test" omitted
+
+# Unsupported target "test_source" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel b/ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel
new file mode 100644 (file)
index 0000000..7ee01d1
--- /dev/null
@@ -0,0 +1,65 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "tcp_accept" with type "example" omitted
+
+rust_library(
+    name = "async_stream",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__async_stream_impl__0_3_2//:async_stream_impl",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.2",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__futures_core__0_3_16//:futures_core",
+    ],
+)
+
+# Unsupported target "for_await" with type "test" omitted
+
+# Unsupported target "stream" with type "test" omitted
+
+# Unsupported target "try_stream" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel b/ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel
new file mode 100644 (file)
index 0000000..e8023d3
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "async_stream_impl",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.2",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel b/ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel
new file mode 100644 (file)
index 0000000..6e70425
--- /dev/null
@@ -0,0 +1,90 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "async_trait_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.51",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "async_trait",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.51",
+    # buildifier: leave-alone
+    deps = [
+        ":async_trait_build_script",
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel b/ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel
new file mode 100644 (file)
index 0000000..08c749f
--- /dev/null
@@ -0,0 +1,63 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "integers" with type "example" omitted
+
+# Unsupported target "paths" with type "example" omitted
+
+# Unsupported target "traits" with type "example" omitted
+
+# Unsupported target "versions" with type "example" omitted
+
+rust_library(
+    name = "autocfg",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "rustflags" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel b/ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel
new file mode 100644 (file)
index 0000000..12f2331
--- /dev/null
@@ -0,0 +1,69 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "benchmarks" with type "bench" omitted
+
+# Unsupported target "base64" with type "example" omitted
+
+# Unsupported target "make_tables" with type "example" omitted
+
+rust_library(
+    name = "base64",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.13.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "decode" with type "test" omitted
+
+# Unsupported target "encode" with type "test" omitted
+
+# Unsupported target "helpers" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.bazel b/ratelimiter/cargo/remote/BUILD.bazel
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel b/ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel
new file mode 100644 (file)
index 0000000..3864b8f
--- /dev/null
@@ -0,0 +1,85 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "bitflags_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.2.1",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "bitflags",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.2.1",
+    # buildifier: leave-alone
+    deps = [
+        ":bitflags_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel b/ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel
new file mode 100644 (file)
index 0000000..769c982
--- /dev/null
@@ -0,0 +1,83 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "buf" with type "bench" omitted
+
+# Unsupported target "bytes" with type "bench" omitted
+
+# Unsupported target "bytes_mut" with type "bench" omitted
+
+rust_library(
+    name = "bytes",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "test_buf" with type "test" omitted
+
+# Unsupported target "test_buf_mut" with type "test" omitted
+
+# Unsupported target "test_bytes" with type "test" omitted
+
+# Unsupported target "test_bytes_odd_alloc" with type "test" omitted
+
+# Unsupported target "test_bytes_vec_alloc" with type "test" omitted
+
+# Unsupported target "test_chain" with type "test" omitted
+
+# Unsupported target "test_debug" with type "test" omitted
+
+# Unsupported target "test_iter" with type "test" omitted
+
+# Unsupported target "test_reader" with type "test" omitted
+
+# Unsupported target "test_serde" with type "test" omitted
+
+# Unsupported target "test_take" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel
new file mode 100644 (file)
index 0000000..64b30f5
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "cfg_if",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "xcrate" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel b/ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel
new file mode 100644 (file)
index 0000000..a62f1bf
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "either",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "use_std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.6.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel b/ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel
new file mode 100644 (file)
index 0000000..8bd7afc
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "benches" with type "bench" omitted
+
+rust_library(
+    name = "fixedbitset",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel b/ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel
new file mode 100644 (file)
index 0000000..8701e25
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "fnv",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.7",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel b/ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel
new file mode 100644 (file)
index 0000000..2dbc03c
--- /dev/null
@@ -0,0 +1,100 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "futures_channel_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "alloc",
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+# Unsupported target "sync_mpsc" with type "bench" omitted
+
+rust_library(
+    name = "futures_channel",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    # buildifier: leave-alone
+    deps = [
+        ":futures_channel_build_script",
+        "@raze__futures_core__0_3_16//:futures_core",
+    ],
+)
+
+# Unsupported target "channel" with type "test" omitted
+
+# Unsupported target "mpsc" with type "test" omitted
+
+# Unsupported target "mpsc-close" with type "test" omitted
+
+# Unsupported target "oneshot" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel b/ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel
new file mode 100644 (file)
index 0000000..0604b9f
--- /dev/null
@@ -0,0 +1,89 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "futures_core_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "alloc",
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "futures_core",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    # buildifier: leave-alone
+    deps = [
+        ":futures_core_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel b/ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel
new file mode 100644 (file)
index 0000000..6d9b102
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "futures_sink",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel b/ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel
new file mode 100644 (file)
index 0000000..3b68682
--- /dev/null
@@ -0,0 +1,85 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "futures_task_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "alloc",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "futures_task",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    # buildifier: leave-alone
+    deps = [
+        ":futures_task_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel b/ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel
new file mode 100644 (file)
index 0000000..56e3ed4
--- /dev/null
@@ -0,0 +1,92 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "futures_util_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "alloc",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    visibility = ["//visibility:private"],
+    deps = [
+        "@raze__autocfg__1_0_1//:autocfg",
+    ],
+)
+
+# Unsupported target "futures_unordered" with type "bench" omitted
+
+rust_library(
+    name = "futures_util",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.16",
+    # buildifier: leave-alone
+    deps = [
+        ":futures_util_build_script",
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_task__0_3_16//:futures_task",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__pin_utils__0_1_0//:pin_utils",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel b/ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel
new file mode 100644 (file)
index 0000000..7f20c88
--- /dev/null
@@ -0,0 +1,103 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "mod" with type "bench" omitted
+
+rust_library(
+    name = "getrandom",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.3",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__cfg_if__1_0_0//:cfg_if",
+    ] + selects.with_or({
+        # cfg(all(target_arch = "wasm32", target_os = "unknown"))
+        (
+            "@rules_rust//rust/platform:wasm32-unknown-unknown",
+        ): [
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(target_os = "wasi")
+        (
+            "@rules_rust//rust/platform:wasm32-wasi",
+        ): [
+            "@raze__wasi__0_10_2_wasi_snapshot_preview1//:wasi",
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "custom" with type "test" omitted
+
+# Unsupported target "normal" with type "test" omitted
+
+# Unsupported target "rdrand" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel b/ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel
new file mode 100644 (file)
index 0000000..1789d39
--- /dev/null
@@ -0,0 +1,70 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "akamai" with type "example" omitted
+
+# Unsupported target "client" with type "example" omitted
+
+# Unsupported target "server" with type "example" omitted
+
+rust_library(
+    name = "h2",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.3",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__fnv__1_0_7//:fnv",
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_sink__0_3_16//:futures_sink",
+        "@raze__futures_util__0_3_16//:futures_util",
+        "@raze__http__0_2_4//:http",
+        "@raze__indexmap__1_7_0//:indexmap",
+        "@raze__slab__0_4_4//:slab",
+        "@raze__tokio__1_9_0//:tokio",
+        "@raze__tokio_util__0_6_7//:tokio_util",
+        "@raze__tracing__0_1_26//:tracing",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel b/ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel
new file mode 100644 (file)
index 0000000..757f51a
--- /dev/null
@@ -0,0 +1,64 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+    name = "hashbrown",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "raw",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.11.2",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "hasher" with type "test" omitted
+
+# Unsupported target "rayon" with type "test" omitted
+
+# Unsupported target "serde" with type "test" omitted
+
+# Unsupported target "set" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel b/ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel
new file mode 100644 (file)
index 0000000..2bcfebc
--- /dev/null
@@ -0,0 +1,54 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "heck",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.3",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__unicode_segmentation__1_8_0//:unicode_segmentation",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel b/ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel
new file mode 100644 (file)
index 0000000..4f44c88
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "hermit_abi",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.19",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__libc__0_2_98//:libc",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel b/ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel
new file mode 100644 (file)
index 0000000..a5494c5
--- /dev/null
@@ -0,0 +1,72 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "header_map" with type "bench" omitted
+
+# Unsupported target "header_name" with type "bench" omitted
+
+# Unsupported target "header_value" with type "bench" omitted
+
+# Unsupported target "method" with type "bench" omitted
+
+# Unsupported target "uri" with type "bench" omitted
+
+rust_library(
+    name = "http",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.4",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__fnv__1_0_7//:fnv",
+        "@raze__itoa__0_4_7//:itoa",
+    ],
+)
+
+# Unsupported target "header_map" with type "test" omitted
+
+# Unsupported target "header_map_fuzz" with type "test" omitted
+
+# Unsupported target "status_code" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel b/ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel
new file mode 100644 (file)
index 0000000..8c21693
--- /dev/null
@@ -0,0 +1,58 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "http_body",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.2",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__http__0_2_4//:http",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+    ],
+)
+
+# Unsupported target "is_end_stream" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel b/ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel
new file mode 100644 (file)
index 0000000..b50bcc7
--- /dev/null
@@ -0,0 +1,91 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "httparse_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.4.1",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+# Unsupported target "parse" with type "bench" omitted
+
+rust_library(
+    name = "httparse",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.4.1",
+    # buildifier: leave-alone
+    deps = [
+        ":httparse_build_script",
+    ],
+)
+
+# Unsupported target "uri" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel b/ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel
new file mode 100644 (file)
index 0000000..78c4eff
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "httpdate",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel b/ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel
new file mode 100644 (file)
index 0000000..bbbc129
--- /dev/null
@@ -0,0 +1,149 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "body" with type "bench" omitted
+
+# Unsupported target "connect" with type "bench" omitted
+
+# Unsupported target "end_to_end" with type "bench" omitted
+
+# Unsupported target "pipeline" with type "bench" omitted
+
+# Unsupported target "server" with type "bench" omitted
+
+# Unsupported target "hyper" with type "cdylib" omitted
+
+# Unsupported target "client" with type "example" omitted
+
+# Unsupported target "client_json" with type "example" omitted
+
+# Unsupported target "echo" with type "example" omitted
+
+# Unsupported target "gateway" with type "example" omitted
+
+# Unsupported target "hello" with type "example" omitted
+
+# Unsupported target "http_proxy" with type "example" omitted
+
+# Unsupported target "multi_server" with type "example" omitted
+
+# Unsupported target "params" with type "example" omitted
+
+# Unsupported target "send_file" with type "example" omitted
+
+# Unsupported target "service_struct_impl" with type "example" omitted
+
+# Unsupported target "single_threaded" with type "example" omitted
+
+# Unsupported target "state" with type "example" omitted
+
+# Unsupported target "tower_client" with type "example" omitted
+
+# Unsupported target "tower_server" with type "example" omitted
+
+# Unsupported target "upgrades" with type "example" omitted
+
+# Unsupported target "web_api" with type "example" omitted
+
+rust_library(
+    name = "hyper",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "client",
+        "default",
+        "full",
+        "h2",
+        "http1",
+        "http2",
+        "runtime",
+        "server",
+        "socket2",
+        "stream",
+        "tcp",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.14.11",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__futures_channel__0_3_16//:futures_channel",
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_util__0_3_16//:futures_util",
+        "@raze__h2__0_3_3//:h2",
+        "@raze__http__0_2_4//:http",
+        "@raze__http_body__0_4_2//:http_body",
+        "@raze__httparse__1_4_1//:httparse",
+        "@raze__httpdate__1_0_1//:httpdate",
+        "@raze__itoa__0_4_7//:itoa",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__socket2__0_4_1//:socket2",
+        "@raze__tokio__1_9_0//:tokio",
+        "@raze__tower_service__0_3_1//:tower_service",
+        "@raze__tracing__0_1_26//:tracing",
+        "@raze__want__0_3_0//:want",
+    ] + selects.with_or({
+        # cfg(any(target_os = "linux", target_os = "macos"))
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "hyper" with type "staticlib" omitted
+
+# Unsupported target "client" with type "test" omitted
+
+# Unsupported target "integration" with type "test" omitted
+
+# Unsupported target "server" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel b/ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel
new file mode 100644 (file)
index 0000000..b8f221c
--- /dev/null
@@ -0,0 +1,59 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "client" with type "example" omitted
+
+rust_library(
+    name = "hyper_timeout",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__hyper__0_14_11//:hyper",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__tokio__1_9_0//:tokio",
+        "@raze__tokio_io_timeout__1_1_1//:tokio_io_timeout",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel b/ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel
new file mode 100644 (file)
index 0000000..1b221c3
--- /dev/null
@@ -0,0 +1,99 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "indexmap_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.7.0",
+    visibility = ["//visibility:private"],
+    deps = [
+        "@raze__autocfg__1_0_1//:autocfg",
+    ],
+)
+
+# Unsupported target "bench" with type "bench" omitted
+
+# Unsupported target "faststring" with type "bench" omitted
+
+rust_library(
+    name = "indexmap",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.7.0",
+    # buildifier: leave-alone
+    deps = [
+        ":indexmap_build_script",
+        "@raze__hashbrown__0_11_2//:hashbrown",
+    ],
+)
+
+# Unsupported target "equivalent_trait" with type "test" omitted
+
+# Unsupported target "macros_full_path" with type "test" omitted
+
+# Unsupported target "quick" with type "test" omitted
+
+# Unsupported target "tests" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel b/ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel
new file mode 100644 (file)
index 0000000..b873c00
--- /dev/null
@@ -0,0 +1,99 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench1" with type "bench" omitted
+
+# Unsupported target "combinations" with type "bench" omitted
+
+# Unsupported target "combinations_with_replacement" with type "bench" omitted
+
+# Unsupported target "fold_specialization" with type "bench" omitted
+
+# Unsupported target "powerset" with type "bench" omitted
+
+# Unsupported target "tree_fold1" with type "bench" omitted
+
+# Unsupported target "tuple_combinations" with type "bench" omitted
+
+# Unsupported target "tuples" with type "bench" omitted
+
+# Unsupported target "iris" with type "example" omitted
+
+rust_library(
+    name = "itertools",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "use_alloc",
+        "use_std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.10.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__either__1_6_1//:either",
+    ],
+)
+
+# Unsupported target "adaptors_no_collect" with type "test" omitted
+
+# Unsupported target "flatten_ok" with type "test" omitted
+
+# Unsupported target "fold_specialization" with type "test" omitted
+
+# Unsupported target "macros_hygiene" with type "test" omitted
+
+# Unsupported target "merge_join" with type "test" omitted
+
+# Unsupported target "peeking_take_while" with type "test" omitted
+
+# Unsupported target "quick" with type "test" omitted
+
+# Unsupported target "specializations" with type "test" omitted
+
+# Unsupported target "test_core" with type "test" omitted
+
+# Unsupported target "test_std" with type "test" omitted
+
+# Unsupported target "tuples" with type "test" omitted
+
+# Unsupported target "zip" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel b/ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel
new file mode 100644 (file)
index 0000000..0d435c9
--- /dev/null
@@ -0,0 +1,59 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "bench" with type "bench" omitted
+
+rust_library(
+    name = "itoa",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.7",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "test" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel
new file mode 100644 (file)
index 0000000..36800bb
--- /dev/null
@@ -0,0 +1,57 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "lazy_static",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.4.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "no_std" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel b/ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel
new file mode 100644 (file)
index 0000000..46485fc
--- /dev/null
@@ -0,0 +1,89 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "libc_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.98",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "libc",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.98",
+    # buildifier: leave-alone
+    deps = [
+        ":libc_build_script",
+    ],
+)
+
+# Unsupported target "const_fn" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel b/ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel
new file mode 100644 (file)
index 0000000..5630e25
--- /dev/null
@@ -0,0 +1,90 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "log_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.14",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+# Unsupported target "value" with type "bench" omitted
+
+rust_library(
+    name = "log",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.14",
+    # buildifier: leave-alone
+    deps = [
+        ":log_build_script",
+        "@raze__cfg_if__1_0_0//:cfg_if",
+    ],
+)
+
+# Unsupported target "filters" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel b/ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel
new file mode 100644 (file)
index 0000000..b9029d1
--- /dev/null
@@ -0,0 +1,87 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "unencumbered",  # Unlicense from expression "Unlicense OR MIT"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "memchr_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "2.4.0",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "memchr",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "2.4.0",
+    # buildifier: leave-alone
+    deps = [
+        ":memchr_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel b/ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel
new file mode 100644 (file)
index 0000000..dcbdab7
--- /dev/null
@@ -0,0 +1,102 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "tcp_server" with type "example" omitted
+
+# Unsupported target "udp_server" with type "example" omitted
+
+rust_library(
+    name = "mio",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "default",
+        "net",
+        "os-ext",
+        "os-poll",
+        "os-util",
+        "tcp",
+        "udp",
+        "uds",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.7.13",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__log__0_4_14//:log",
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__miow__0_3_7//:miow",
+            "@raze__ntapi__0_3_6//:ntapi",
+            "@raze__winapi__0_3_9//:winapi",
+        ],
+        "//conditions:default": [],
+    }),
+)
diff --git a/ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel b/ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel
new file mode 100644 (file)
index 0000000..c40d56c
--- /dev/null
@@ -0,0 +1,54 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "miow",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.7",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__winapi__0_3_9//:winapi",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel b/ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel
new file mode 100644 (file)
index 0000000..bb9dd4a
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "multimap",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.3",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel b/ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel
new file mode 100644 (file)
index 0000000..d14fa66
--- /dev/null
@@ -0,0 +1,88 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "ntapi_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "user",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.6",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "ntapi",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "user",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.6",
+    # buildifier: leave-alone
+    deps = [
+        ":ntapi_build_script",
+        "@raze__winapi__0_3_9//:winapi",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel b/ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel
new file mode 100644 (file)
index 0000000..a8b1877
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "values" with type "example" omitted
+
+rust_library(
+    name = "num_cpus",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.13.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__libc__0_2_98//:libc",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel b/ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel
new file mode 100644 (file)
index 0000000..8590f7f
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "percent_encoding",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "2.1.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel b/ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel
new file mode 100644 (file)
index 0000000..9a87d2d
--- /dev/null
@@ -0,0 +1,79 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "dijkstra" with type "bench" omitted
+
+# Unsupported target "iso" with type "bench" omitted
+
+# Unsupported target "matrix_graph" with type "bench" omitted
+
+# Unsupported target "ograph" with type "bench" omitted
+
+# Unsupported target "stable_graph" with type "bench" omitted
+
+# Unsupported target "unionfind" with type "bench" omitted
+
+rust_library(
+    name = "petgraph",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.5.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__fixedbitset__0_2_0//:fixedbitset",
+        "@raze__indexmap__1_7_0//:indexmap",
+    ],
+)
+
+# Unsupported target "graph" with type "test" omitted
+
+# Unsupported target "graphmap" with type "test" omitted
+
+# Unsupported target "iso" with type "test" omitted
+
+# Unsupported target "quickcheck" with type "test" omitted
+
+# Unsupported target "stable_graph" with type "test" omitted
+
+# Unsupported target "unionfind" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel b/ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel
new file mode 100644 (file)
index 0000000..d7a04f7
--- /dev/null
@@ -0,0 +1,100 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "enum-default" with type "example" omitted
+
+# Unsupported target "enum-default-expanded" with type "example" omitted
+
+# Unsupported target "not_unpin" with type "example" omitted
+
+# Unsupported target "not_unpin-expanded" with type "example" omitted
+
+# Unsupported target "pinned_drop" with type "example" omitted
+
+# Unsupported target "pinned_drop-expanded" with type "example" omitted
+
+# Unsupported target "project_replace" with type "example" omitted
+
+# Unsupported target "project_replace-expanded" with type "example" omitted
+
+# Unsupported target "struct-default" with type "example" omitted
+
+# Unsupported target "struct-default-expanded" with type "example" omitted
+
+# Unsupported target "unsafe_unpin" with type "example" omitted
+
+# Unsupported target "unsafe_unpin-expanded" with type "example" omitted
+
+rust_library(
+    name = "pin_project",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__pin_project_internal__1_0_8//:pin_project_internal",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.8",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "cfg" with type "test" omitted
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "drop_order" with type "test" omitted
+
+# Unsupported target "expandtest" with type "test" omitted
+
+# Unsupported target "lint" with type "test" omitted
+
+# Unsupported target "pin_project" with type "test" omitted
+
+# Unsupported target "pinned_drop" with type "test" omitted
+
+# Unsupported target "proper_unpin" with type "test" omitted
+
+# Unsupported target "repr_packed" with type "test" omitted
+
+# Unsupported target "unsafe_unpin" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel b/ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel
new file mode 100644 (file)
index 0000000..f58e889
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "pin_project_internal",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.8",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel b/ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel
new file mode 100644 (file)
index 0000000..2be2f37
--- /dev/null
@@ -0,0 +1,65 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "pin_project_lite",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.7",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "drop_order" with type "test" omitted
+
+# Unsupported target "expandtest" with type "test" omitted
+
+# Unsupported target "lint" with type "test" omitted
+
+# Unsupported target "proper_unpin" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel b/ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel
new file mode 100644 (file)
index 0000000..be0d7d2
--- /dev/null
@@ -0,0 +1,57 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "pin_utils",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "projection" with type "test" omitted
+
+# Unsupported target "stack_pin" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel b/ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel
new file mode 100644 (file)
index 0000000..e86f4d4
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "ppv_lite86",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "simd",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.10",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel b/ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel
new file mode 100644 (file)
index 0000000..aa67d4c
--- /dev/null
@@ -0,0 +1,98 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "proc_macro2_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "default",
+        "proc-macro",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.28",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "proc_macro2",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "proc-macro",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.28",
+    # buildifier: leave-alone
+    deps = [
+        ":proc_macro2_build_script",
+        "@raze__unicode_xid__0_2_2//:unicode_xid",
+    ],
+)
+
+# Unsupported target "comments" with type "test" omitted
+
+# Unsupported target "features" with type "test" omitted
+
+# Unsupported target "marker" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
+
+# Unsupported target "test_fmt" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel b/ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel
new file mode 100644 (file)
index 0000000..8fef5a6
--- /dev/null
@@ -0,0 +1,62 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "varint" with type "bench" omitted
+
+rust_library(
+    name = "prost",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "prost-derive",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__prost_derive__0_8_0//:prost_derive",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel b/ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel
new file mode 100644 (file)
index 0000000..13030d4
--- /dev/null
@@ -0,0 +1,93 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "prost_build_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.0",
+    visibility = ["//visibility:private"],
+    deps = [
+        "@raze__which__4_2_2//:which",
+    ],
+)
+
+rust_library(
+    name = "prost_build",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.0",
+    # buildifier: leave-alone
+    deps = [
+        ":prost_build_build_script",
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__heck__0_3_3//:heck",
+        "@raze__itertools__0_10_1//:itertools",
+        "@raze__log__0_4_14//:log",
+        "@raze__multimap__0_8_3//:multimap",
+        "@raze__petgraph__0_5_1//:petgraph",
+        "@raze__prost__0_8_0//:prost",
+        "@raze__prost_types__0_8_0//:prost_types",
+        "@raze__tempfile__3_2_0//:tempfile",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel b/ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel
new file mode 100644 (file)
index 0000000..c716cd5
--- /dev/null
@@ -0,0 +1,58 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "prost_derive",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__anyhow__1_0_42//:anyhow",
+        "@raze__itertools__0_10_1//:itertools",
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel b/ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel
new file mode 100644 (file)
index 0000000..125311c
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "prost_types",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__prost__0_8_0//:prost",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel b/ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel
new file mode 100644 (file)
index 0000000..6f26555
--- /dev/null
@@ -0,0 +1,60 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "quote",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "proc-macro",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.9",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+    ],
+)
+
+# Unsupported target "compiletest" with type "test" omitted
+
+# Unsupported target "test" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel b/ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel
new file mode 100644 (file)
index 0000000..2bde5c0
--- /dev/null
@@ -0,0 +1,89 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "rand",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "alloc",
+        "default",
+        "getrandom",
+        "libc",
+        "rand_chacha",
+        "rand_hc",
+        "small_rng",
+        "std",
+        "std_rng",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.8.4",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__rand_chacha__0_3_1//:rand_chacha",
+        "@raze__rand_core__0_6_3//:rand_core",
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }),
+)
diff --git a/ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel b/ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel
new file mode 100644 (file)
index 0000000..0334e7c
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "rand_chacha",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__ppv_lite86__0_2_10//:ppv_lite86",
+        "@raze__rand_core__0_6_3//:rand_core",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel b/ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel
new file mode 100644 (file)
index 0000000..36457aa
--- /dev/null
@@ -0,0 +1,57 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "rand_core",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "alloc",
+        "getrandom",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.6.3",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__getrandom__0_2_3//:getrandom",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel b/ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel
new file mode 100644 (file)
index 0000000..fca28c0
--- /dev/null
@@ -0,0 +1,54 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "rand_hc",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__rand_core__0_6_3//:rand_core",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel b/ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel
new file mode 100644 (file)
index 0000000..094ddf9
--- /dev/null
@@ -0,0 +1,63 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+alias(
+    name = "redox_syscall",
+    actual = ":syscall",
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+)
+
+rust_library(
+    name = "syscall",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.10",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bitflags__1_2_1//:bitflags",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel b/ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel
new file mode 100644 (file)
index 0000000..3bf03e6
--- /dev/null
@@ -0,0 +1,64 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "remove_dir_all",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.5.3",
+    # buildifier: leave-alone
+    deps = [
+    ] + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__winapi__0_3_9//:winapi",
+        ],
+        "//conditions:default": [],
+    }),
+)
diff --git a/ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel b/ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel
new file mode 100644 (file)
index 0000000..8f2b4e1
--- /dev/null
@@ -0,0 +1,59 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "slab",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.4",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "serde" with type "test" omitted
+
+# Unsupported target "slab" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel b/ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel
new file mode 100644 (file)
index 0000000..bf725df
--- /dev/null
@@ -0,0 +1,87 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "socket2",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.1",
+    # buildifier: leave-alone
+    deps = [
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__winapi__0_3_9//:winapi",
+        ],
+        "//conditions:default": [],
+    }),
+)
diff --git a/ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel b/ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel
new file mode 100644 (file)
index 0000000..4464362
--- /dev/null
@@ -0,0 +1,164 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "syn_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "clone-impls",
+        "default",
+        "derive",
+        "extra-traits",
+        "full",
+        "parsing",
+        "printing",
+        "proc-macro",
+        "quote",
+        "visit",
+        "visit-mut",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.74",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+# Unsupported target "file" with type "bench" omitted
+
+# Unsupported target "rust" with type "bench" omitted
+
+rust_library(
+    name = "syn",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "clone-impls",
+        "default",
+        "derive",
+        "extra-traits",
+        "full",
+        "parsing",
+        "printing",
+        "proc-macro",
+        "quote",
+        "visit",
+        "visit-mut",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.0.74",
+    # buildifier: leave-alone
+    deps = [
+        ":syn_build_script",
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__unicode_xid__0_2_2//:unicode_xid",
+    ],
+)
+
+# Unsupported target "test_asyncness" with type "test" omitted
+
+# Unsupported target "test_attribute" with type "test" omitted
+
+# Unsupported target "test_derive_input" with type "test" omitted
+
+# Unsupported target "test_expr" with type "test" omitted
+
+# Unsupported target "test_generics" with type "test" omitted
+
+# Unsupported target "test_grouping" with type "test" omitted
+
+# Unsupported target "test_ident" with type "test" omitted
+
+# Unsupported target "test_item" with type "test" omitted
+
+# Unsupported target "test_iterators" with type "test" omitted
+
+# Unsupported target "test_lit" with type "test" omitted
+
+# Unsupported target "test_meta" with type "test" omitted
+
+# Unsupported target "test_parse_buffer" with type "test" omitted
+
+# Unsupported target "test_parse_stream" with type "test" omitted
+
+# Unsupported target "test_pat" with type "test" omitted
+
+# Unsupported target "test_path" with type "test" omitted
+
+# Unsupported target "test_precedence" with type "test" omitted
+
+# Unsupported target "test_receiver" with type "test" omitted
+
+# Unsupported target "test_round_trip" with type "test" omitted
+
+# Unsupported target "test_shebang" with type "test" omitted
+
+# Unsupported target "test_should_parse" with type "test" omitted
+
+# Unsupported target "test_size" with type "test" omitted
+
+# Unsupported target "test_stmt" with type "test" omitted
+
+# Unsupported target "test_token_trees" with type "test" omitted
+
+# Unsupported target "test_ty" with type "test" omitted
+
+# Unsupported target "test_visibility" with type "test" omitted
+
+# Unsupported target "zzz_stable" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel b/ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel
new file mode 100644 (file)
index 0000000..6a4e0d3
--- /dev/null
@@ -0,0 +1,98 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tempfile",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "3.2.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__cfg_if__1_0_0//:cfg_if",
+        "@raze__rand__0_8_4//:rand",
+        "@raze__remove_dir_all__0_5_3//:remove_dir_all",
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__winapi__0_3_9//:winapi",
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "namedtempfile" with type "test" omitted
+
+# Unsupported target "spooled" with type "test" omitted
+
+# Unsupported target "tempdir" with type "test" omitted
+
+# Unsupported target "tempfile" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel b/ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel
new file mode 100644 (file)
index 0000000..b5e9bb5
--- /dev/null
@@ -0,0 +1,386 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "tokio_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "bytes",
+        "default",
+        "io-std",
+        "io-util",
+        "libc",
+        "macros",
+        "memchr",
+        "mio",
+        "net",
+        "num_cpus",
+        "rt",
+        "rt-multi-thread",
+        "sync",
+        "time",
+        "tokio-macros",
+        "winapi",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.9.0",
+    visibility = ["//visibility:private"],
+    deps = [
+        "@raze__autocfg__1_0_1//:autocfg",
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+rust_library(
+    name = "tokio",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "bytes",
+        "default",
+        "io-std",
+        "io-util",
+        "libc",
+        "macros",
+        "memchr",
+        "mio",
+        "net",
+        "num_cpus",
+        "rt",
+        "rt-multi-thread",
+        "sync",
+        "time",
+        "tokio-macros",
+        "winapi",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__tokio_macros__1_3_0//:tokio_macros",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.9.0",
+    # buildifier: leave-alone
+    deps = [
+        ":tokio_build_script",
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__memchr__2_4_0//:memchr",
+        "@raze__mio__0_7_13//:mio",
+        "@raze__num_cpus__1_13_0//:num_cpus",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+    ] + selects.with_or({
+        # cfg(unix)
+        (
+            "@rules_rust//rust/platform:aarch64-apple-darwin",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-apple-darwin",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-darwin",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+        ): [
+            "@raze__libc__0_2_98//:libc",
+        ],
+        "//conditions:default": [],
+    }) + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__winapi__0_3_9//:winapi",
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "_require_full" with type "test" omitted
+
+# Unsupported target "async_send_sync" with type "test" omitted
+
+# Unsupported target "buffered" with type "test" omitted
+
+# Unsupported target "fs" with type "test" omitted
+
+# Unsupported target "fs_copy" with type "test" omitted
+
+# Unsupported target "fs_dir" with type "test" omitted
+
+# Unsupported target "fs_file" with type "test" omitted
+
+# Unsupported target "fs_file_mocked" with type "test" omitted
+
+# Unsupported target "fs_link" with type "test" omitted
+
+# Unsupported target "io_async_fd" with type "test" omitted
+
+# Unsupported target "io_async_read" with type "test" omitted
+
+# Unsupported target "io_buf_reader" with type "test" omitted
+
+# Unsupported target "io_buf_writer" with type "test" omitted
+
+# Unsupported target "io_chain" with type "test" omitted
+
+# Unsupported target "io_copy" with type "test" omitted
+
+# Unsupported target "io_copy_bidirectional" with type "test" omitted
+
+# Unsupported target "io_driver" with type "test" omitted
+
+# Unsupported target "io_driver_drop" with type "test" omitted
+
+# Unsupported target "io_lines" with type "test" omitted
+
+# Unsupported target "io_mem_stream" with type "test" omitted
+
+# Unsupported target "io_read" with type "test" omitted
+
+# Unsupported target "io_read_buf" with type "test" omitted
+
+# Unsupported target "io_read_exact" with type "test" omitted
+
+# Unsupported target "io_read_line" with type "test" omitted
+
+# Unsupported target "io_read_to_end" with type "test" omitted
+
+# Unsupported target "io_read_to_string" with type "test" omitted
+
+# Unsupported target "io_read_until" with type "test" omitted
+
+# Unsupported target "io_split" with type "test" omitted
+
+# Unsupported target "io_take" with type "test" omitted
+
+# Unsupported target "io_write" with type "test" omitted
+
+# Unsupported target "io_write_all" with type "test" omitted
+
+# Unsupported target "io_write_all_buf" with type "test" omitted
+
+# Unsupported target "io_write_buf" with type "test" omitted
+
+# Unsupported target "io_write_int" with type "test" omitted
+
+# Unsupported target "macros_join" with type "test" omitted
+
+# Unsupported target "macros_pin" with type "test" omitted
+
+# Unsupported target "macros_select" with type "test" omitted
+
+# Unsupported target "macros_test" with type "test" omitted
+
+# Unsupported target "macros_try_join" with type "test" omitted
+
+# Unsupported target "named_pipe" with type "test" omitted
+
+# Unsupported target "net_bind_resource" with type "test" omitted
+
+# Unsupported target "net_lookup_host" with type "test" omitted
+
+# Unsupported target "no_rt" with type "test" omitted
+
+# Unsupported target "process_issue_2174" with type "test" omitted
+
+# Unsupported target "process_issue_42" with type "test" omitted
+
+# Unsupported target "process_kill_on_drop" with type "test" omitted
+
+# Unsupported target "process_smoke" with type "test" omitted
+
+# Unsupported target "rt_basic" with type "test" omitted
+
+# Unsupported target "rt_common" with type "test" omitted
+
+# Unsupported target "rt_handle_block_on" with type "test" omitted
+
+# Unsupported target "rt_threaded" with type "test" omitted
+
+# Unsupported target "signal_ctrl_c" with type "test" omitted
+
+# Unsupported target "signal_drop_recv" with type "test" omitted
+
+# Unsupported target "signal_drop_rt" with type "test" omitted
+
+# Unsupported target "signal_drop_signal" with type "test" omitted
+
+# Unsupported target "signal_multi_rt" with type "test" omitted
+
+# Unsupported target "signal_no_rt" with type "test" omitted
+
+# Unsupported target "signal_notify_both" with type "test" omitted
+
+# Unsupported target "signal_twice" with type "test" omitted
+
+# Unsupported target "signal_usr1" with type "test" omitted
+
+# Unsupported target "sync_barrier" with type "test" omitted
+
+# Unsupported target "sync_broadcast" with type "test" omitted
+
+# Unsupported target "sync_errors" with type "test" omitted
+
+# Unsupported target "sync_mpsc" with type "test" omitted
+
+# Unsupported target "sync_mutex" with type "test" omitted
+
+# Unsupported target "sync_mutex_owned" with type "test" omitted
+
+# Unsupported target "sync_notify" with type "test" omitted
+
+# Unsupported target "sync_once_cell" with type "test" omitted
+
+# Unsupported target "sync_oneshot" with type "test" omitted
+
+# Unsupported target "sync_rwlock" with type "test" omitted
+
+# Unsupported target "sync_semaphore" with type "test" omitted
+
+# Unsupported target "sync_semaphore_owned" with type "test" omitted
+
+# Unsupported target "sync_watch" with type "test" omitted
+
+# Unsupported target "task_abort" with type "test" omitted
+
+# Unsupported target "task_blocking" with type "test" omitted
+
+# Unsupported target "task_builder" with type "test" omitted
+
+# Unsupported target "task_local" with type "test" omitted
+
+# Unsupported target "task_local_set" with type "test" omitted
+
+# Unsupported target "tcp_accept" with type "test" omitted
+
+# Unsupported target "tcp_connect" with type "test" omitted
+
+# Unsupported target "tcp_echo" with type "test" omitted
+
+# Unsupported target "tcp_into_split" with type "test" omitted
+
+# Unsupported target "tcp_into_std" with type "test" omitted
+
+# Unsupported target "tcp_peek" with type "test" omitted
+
+# Unsupported target "tcp_shutdown" with type "test" omitted
+
+# Unsupported target "tcp_socket" with type "test" omitted
+
+# Unsupported target "tcp_split" with type "test" omitted
+
+# Unsupported target "tcp_stream" with type "test" omitted
+
+# Unsupported target "test_clock" with type "test" omitted
+
+# Unsupported target "time_interval" with type "test" omitted
+
+# Unsupported target "time_pause" with type "test" omitted
+
+# Unsupported target "time_rt" with type "test" omitted
+
+# Unsupported target "time_sleep" with type "test" omitted
+
+# Unsupported target "time_timeout" with type "test" omitted
+
+# Unsupported target "udp" with type "test" omitted
+
+# Unsupported target "uds_cred" with type "test" omitted
+
+# Unsupported target "uds_datagram" with type "test" omitted
+
+# Unsupported target "uds_split" with type "test" omitted
+
+# Unsupported target "uds_stream" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel b/ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel
new file mode 100644 (file)
index 0000000..f3e77dd
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tokio_io_timeout",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.1.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__tokio__1_9_0//:tokio",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel b/ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel
new file mode 100644 (file)
index 0000000..e7509e9
--- /dev/null
@@ -0,0 +1,56 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tokio_macros",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.3.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel b/ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel
new file mode 100644 (file)
index 0000000..dff33ef
--- /dev/null
@@ -0,0 +1,84 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tokio_stream",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "time",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.7",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__tokio__1_9_0//:tokio",
+    ],
+)
+
+# Unsupported target "async_send_sync" with type "test" omitted
+
+# Unsupported target "stream_chain" with type "test" omitted
+
+# Unsupported target "stream_collect" with type "test" omitted
+
+# Unsupported target "stream_empty" with type "test" omitted
+
+# Unsupported target "stream_fuse" with type "test" omitted
+
+# Unsupported target "stream_iter" with type "test" omitted
+
+# Unsupported target "stream_merge" with type "test" omitted
+
+# Unsupported target "stream_once" with type "test" omitted
+
+# Unsupported target "stream_pending" with type "test" omitted
+
+# Unsupported target "stream_stream_map" with type "test" omitted
+
+# Unsupported target "stream_timeout" with type "test" omitted
+
+# Unsupported target "time_throttle" with type "test" omitted
+
+# Unsupported target "watch" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel b/ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel
new file mode 100644 (file)
index 0000000..51fc849
--- /dev/null
@@ -0,0 +1,91 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tokio_util",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "codec",
+        "default",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.6.7",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_sink__0_3_16//:futures_sink",
+        "@raze__log__0_4_14//:log",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__tokio__1_9_0//:tokio",
+    ],
+)
+
+# Unsupported target "_require_full" with type "test" omitted
+
+# Unsupported target "codecs" with type "test" omitted
+
+# Unsupported target "context" with type "test" omitted
+
+# Unsupported target "framed" with type "test" omitted
+
+# Unsupported target "framed_read" with type "test" omitted
+
+# Unsupported target "framed_write" with type "test" omitted
+
+# Unsupported target "io_reader_stream" with type "test" omitted
+
+# Unsupported target "io_stream_reader" with type "test" omitted
+
+# Unsupported target "length_delimited" with type "test" omitted
+
+# Unsupported target "mpsc" with type "test" omitted
+
+# Unsupported target "poll_semaphore" with type "test" omitted
+
+# Unsupported target "reusable_box" with type "test" omitted
+
+# Unsupported target "sync_cancellation_token" with type "test" omitted
+
+# Unsupported target "time_delay_queue" with type "test" omitted
+
+# Unsupported target "udp" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel b/ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel
new file mode 100644 (file)
index 0000000..e710603
--- /dev/null
@@ -0,0 +1,96 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "decode" with type "bench" omitted
+
+rust_library(
+    name = "tonic",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+        "@raze__prost__0_8_0//:prost": "prost1",
+    },
+    crate_features = [
+        "async-trait",
+        "codegen",
+        "default",
+        "h2",
+        "hyper",
+        "hyper-timeout",
+        "prost",
+        "prost-derive",
+        "prost1",
+        "tokio",
+        "tower",
+        "tracing-futures",
+        "transport",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__async_trait__0_1_51//:async_trait",
+        "@raze__prost_derive__0_8_0//:prost_derive",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.5.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__async_stream__0_3_2//:async_stream",
+        "@raze__base64__0_13_0//:base64",
+        "@raze__bytes__1_0_1//:bytes",
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_util__0_3_16//:futures_util",
+        "@raze__h2__0_3_3//:h2",
+        "@raze__http__0_2_4//:http",
+        "@raze__http_body__0_4_2//:http_body",
+        "@raze__hyper__0_14_11//:hyper",
+        "@raze__hyper_timeout__0_4_1//:hyper_timeout",
+        "@raze__percent_encoding__2_1_0//:percent_encoding",
+        "@raze__pin_project__1_0_8//:pin_project",
+        "@raze__prost__0_8_0//:prost",
+        "@raze__tokio__1_9_0//:tokio",
+        "@raze__tokio_stream__0_1_7//:tokio_stream",
+        "@raze__tokio_util__0_6_7//:tokio_util",
+        "@raze__tower__0_4_8//:tower",
+        "@raze__tower_layer__0_3_1//:tower_layer",
+        "@raze__tower_service__0_3_1//:tower_service",
+        "@raze__tracing__0_1_26//:tracing",
+        "@raze__tracing_futures__0_2_5//:tracing_futures",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel b/ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel
new file mode 100644 (file)
index 0000000..d0b3fe2
--- /dev/null
@@ -0,0 +1,62 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tonic_build",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "prost",
+        "prost-build",
+        "rustfmt",
+        "transport",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.5.1",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__prost_build__0_8_0//:prost_build",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel b/ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel
new file mode 100644 (file)
index 0000000..9ce8c4d
--- /dev/null
@@ -0,0 +1,110 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "tower-balance" with type "example" omitted
+
+rust_library(
+    name = "tower",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "balance",
+        "buffer",
+        "default",
+        "discover",
+        "futures-util",
+        "indexmap",
+        "limit",
+        "load",
+        "log",
+        "make",
+        "rand",
+        "ready-cache",
+        "slab",
+        "timeout",
+        "tokio",
+        "tokio-stream",
+        "tokio-util",
+        "tracing",
+        "util",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.8",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__futures_core__0_3_16//:futures_core",
+        "@raze__futures_util__0_3_16//:futures_util",
+        "@raze__indexmap__1_7_0//:indexmap",
+        "@raze__pin_project__1_0_8//:pin_project",
+        "@raze__rand__0_8_4//:rand",
+        "@raze__slab__0_4_4//:slab",
+        "@raze__tokio__1_9_0//:tokio",
+        "@raze__tokio_stream__0_1_7//:tokio_stream",
+        "@raze__tokio_util__0_6_7//:tokio_util",
+        "@raze__tower_layer__0_3_1//:tower_layer",
+        "@raze__tower_service__0_3_1//:tower_service",
+        "@raze__tracing__0_1_26//:tracing",
+    ],
+)
+
+# Unsupported target "balance" with type "test" omitted
+
+# Unsupported target "buffer" with type "test" omitted
+
+# Unsupported target "builder" with type "test" omitted
+
+# Unsupported target "hedge" with type "test" omitted
+
+# Unsupported target "limit" with type "test" omitted
+
+# Unsupported target "load_shed" with type "test" omitted
+
+# Unsupported target "ready_cache" with type "test" omitted
+
+# Unsupported target "retry" with type "test" omitted
+
+# Unsupported target "spawn_ready" with type "test" omitted
+
+# Unsupported target "steer" with type "test" omitted
+
+# Unsupported target "support" with type "test" omitted
+
+# Unsupported target "util" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel b/ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel
new file mode 100644 (file)
index 0000000..de3d62f
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tower_layer",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel b/ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel
new file mode 100644 (file)
index 0000000..d1b1ffe
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tower_service",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel b/ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel
new file mode 100644 (file)
index 0000000..a67afef
--- /dev/null
@@ -0,0 +1,101 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "no_subscriber" with type "bench" omitted
+
+# Unsupported target "subscriber" with type "bench" omitted
+
+rust_library(
+    name = "tracing",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "attributes",
+        "default",
+        "log",
+        "std",
+        "tracing-attributes",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    proc_macro_deps = [
+        "@raze__tracing_attributes__0_1_15//:tracing_attributes",
+    ],
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.26",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__cfg_if__1_0_0//:cfg_if",
+        "@raze__log__0_4_14//:log",
+        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
+        "@raze__tracing_core__0_1_18//:tracing_core",
+    ] + selects.with_or({
+        # cfg(target_arch = "wasm32")
+        (
+            "@rules_rust//rust/platform:wasm32-unknown-unknown",
+            "@rules_rust//rust/platform:wasm32-wasi",
+        ): [
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "event" with type "test" omitted
+
+# Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted
+
+# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted
+
+# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted
+
+# Unsupported target "filters_dont_leak" with type "test" omitted
+
+# Unsupported target "macro_imports" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
+
+# Unsupported target "max_level_hint" with type "test" omitted
+
+# Unsupported target "multiple_max_level_hints" with type "test" omitted
+
+# Unsupported target "span" with type "test" omitted
+
+# Unsupported target "subscriber" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel b/ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel
new file mode 100644 (file)
index 0000000..a976d6a
--- /dev/null
@@ -0,0 +1,74 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tracing_attributes",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "proc-macro",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.15",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__proc_macro2__1_0_28//:proc_macro2",
+        "@raze__quote__1_0_9//:quote",
+        "@raze__syn__1_0_74//:syn",
+    ],
+)
+
+# Unsupported target "async_fn" with type "test" omitted
+
+# Unsupported target "destructuring" with type "test" omitted
+
+# Unsupported target "err" with type "test" omitted
+
+# Unsupported target "fields" with type "test" omitted
+
+# Unsupported target "instrument" with type "test" omitted
+
+# Unsupported target "levels" with type "test" omitted
+
+# Unsupported target "names" with type "test" omitted
+
+# Unsupported target "support" with type "test" omitted
+
+# Unsupported target "targets" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel b/ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel
new file mode 100644 (file)
index 0000000..8dae2d2
--- /dev/null
@@ -0,0 +1,62 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tracing_core",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "lazy_static",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.1.18",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__lazy_static__1_4_0//:lazy_static",
+    ],
+)
+
+# Unsupported target "dispatch" with type "test" omitted
+
+# Unsupported target "global_dispatch" with type "test" omitted
+
+# Unsupported target "macros" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel b/ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel
new file mode 100644 (file)
index 0000000..7355bfe
--- /dev/null
@@ -0,0 +1,63 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "tracing_futures",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "pin-project",
+        "std",
+        "std-future",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.5",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__pin_project__1_0_8//:pin_project",
+        "@raze__tracing__0_1_26//:tracing",
+    ],
+)
+
+# Unsupported target "std_future" with type "test" omitted
+
+# Unsupported target "support" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel b/ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel
new file mode 100644 (file)
index 0000000..172b35e
--- /dev/null
@@ -0,0 +1,53 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "try_lock",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.3",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel b/ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel
new file mode 100644 (file)
index 0000000..0f8541d
--- /dev/null
@@ -0,0 +1,59 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "graphemes" with type "bench" omitted
+
+# Unsupported target "unicode_words" with type "bench" omitted
+
+# Unsupported target "word_bounds" with type "bench" omitted
+
+rust_library(
+    name = "unicode_segmentation",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "1.8.0",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel b/ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel
new file mode 100644 (file)
index 0000000..b9c0947
--- /dev/null
@@ -0,0 +1,58 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "xid" with type "bench" omitted
+
+rust_library(
+    name = "unicode_xid",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.2.2",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
+
+# Unsupported target "exhaustive_tests" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel b/ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel
new file mode 100644 (file)
index 0000000..ff6fbb0
--- /dev/null
@@ -0,0 +1,57 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+# Unsupported target "throughput" with type "bench" omitted
+
+rust_library(
+    name = "want",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.0",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__log__0_4_14//:log",
+        "@raze__try_lock__0_2_3//:try_lock",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel b/ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel
new file mode 100644 (file)
index 0000000..9a65311
--- /dev/null
@@ -0,0 +1,55 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "wasi",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "std",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.10.2+wasi-snapshot-preview1",
+    # buildifier: leave-alone
+    deps = [
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel b/ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel
new file mode 100644 (file)
index 0000000..e3408aa
--- /dev/null
@@ -0,0 +1,68 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT"
+])
+
+# Generated Targets
+
+rust_library(
+    name = "which",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "4.2.2",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__either__1_6_1//:either",
+        "@raze__libc__0_2_98//:libc",
+    ] + selects.with_or({
+        # cfg(windows)
+        (
+            "@rules_rust//rust/platform:i686-pc-windows-msvc",
+            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+        ): [
+            "@raze__lazy_static__1_4_0//:lazy_static",
+        ],
+        "//conditions:default": [],
+    }),
+)
+
+# Unsupported target "basic" with type "test" omitted
diff --git a/ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel b/ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel
new file mode 100644 (file)
index 0000000..dac5437
--- /dev/null
@@ -0,0 +1,133 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "winapi_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+        "cfg",
+        "errhandlingapi",
+        "evntrace",
+        "fileapi",
+        "handleapi",
+        "in6addr",
+        "inaddr",
+        "ioapiset",
+        "minwinbase",
+        "minwindef",
+        "mstcpip",
+        "mswsock",
+        "namedpipeapi",
+        "ntdef",
+        "ntsecapi",
+        "std",
+        "synchapi",
+        "winbase",
+        "windef",
+        "winerror",
+        "winioctl",
+        "winsock2",
+        "ws2def",
+        "ws2ipdef",
+        "ws2tcpip",
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.9",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "winapi",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "cfg",
+        "errhandlingapi",
+        "evntrace",
+        "fileapi",
+        "handleapi",
+        "in6addr",
+        "inaddr",
+        "ioapiset",
+        "minwinbase",
+        "minwindef",
+        "mstcpip",
+        "mswsock",
+        "namedpipeapi",
+        "ntdef",
+        "ntsecapi",
+        "std",
+        "synchapi",
+        "winbase",
+        "windef",
+        "winerror",
+        "winioctl",
+        "winsock2",
+        "ws2def",
+        "ws2ipdef",
+        "ws2tcpip",
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.3.9",
+    # buildifier: leave-alone
+    deps = [
+        ":winapi_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644 (file)
index 0000000..428c05d
--- /dev/null
@@ -0,0 +1,83 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "winapi_i686_pc_windows_gnu_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.0",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "winapi_i686_pc_windows_gnu",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.0",
+    # buildifier: leave-alone
+    deps = [
+        ":winapi_i686_pc_windows_gnu_build_script",
+    ],
+)
diff --git a/ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644 (file)
index 0000000..b8d7349
--- /dev/null
@@ -0,0 +1,83 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:rust.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//ratelimiter/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+# buildifier: disable=out-of-order-load
+# buildifier: disable=load-on-top
+load(
+    "@rules_rust//cargo:cargo_build_script.bzl",
+    "cargo_build_script",
+)
+
+cargo_build_script(
+    name = "winapi_x86_64_pc_windows_gnu_build_script",
+    srcs = glob(["**/*.rs"]),
+    build_script_env = {
+    },
+    crate_features = [
+    ],
+    crate_root = "build.rs",
+    data = glob(["**"]),
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.0",
+    visibility = ["//visibility:private"],
+    deps = [
+    ],
+)
+
+rust_library(
+    name = "winapi_x86_64_pc_windows_gnu",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+    ],
+    crate_root = "src/lib.rs",
+    crate_type = "lib",
+    data = [],
+    edition = "2015",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.4.0",
+    # buildifier: leave-alone
+    deps = [
+        ":winapi_x86_64_pc_windows_gnu_build_script",
+    ],
+)
diff --git a/ratelimiter/lib/lib.rs b/ratelimiter/lib/lib.rs
new file mode 100644 (file)
index 0000000..6eda7c4
--- /dev/null
@@ -0,0 +1 @@
+// Some implementation here.
\ No newline at end of file
diff --git a/ratelimiter/proto/BUILD.bazel b/ratelimiter/proto/BUILD.bazel
new file mode 100644 (file)
index 0000000..c37c39f
--- /dev/null
@@ -0,0 +1,24 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
+
+proto_library(
+    name = "nova_ratelimit_v1_proto",
+    srcs = ["nova.ratelimit.v1.proto"],
+    visibility = ["//visibility:public"],
+)
+
+go_proto_library(
+    name = "nova_ratelimit_v1_go_proto",
+    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
+    importpath = "github.com/discordnova/nova/ratelimiter/proto",
+    proto = ":nova_ratelimit_v1_proto",
+    visibility = ["//visibility:public"],
+)
+
+go_library(
+    name = "proto",
+    embed = [":nova_ratelimit_v1_go_proto"],
+    importpath = "github.com/discordnova/nova/ratelimiter/proto",
+    visibility = ["//visibility:public"],
+)
diff --git a/ratelimiter/proto/nova.ratelimit.v1.proto b/ratelimiter/proto/nova.ratelimit.v1.proto
new file mode 100644 (file)
index 0000000..b9a0d36
--- /dev/null
@@ -0,0 +1,39 @@
+// How does this works ?\r
+// Every request, the proxy (envoy) requests the rate-limiting service if\r
+// the requested route bucket or global rate-limit is hit.\r
+\r
+syntax = "proto3";\r
+package nova.ratelimit.v1;\r
+\r
+// The reponse of a RatelimitRequest, it includes the status of the reponse and\r
+// the bucket informations.\r
+message RatelimitResponse {\r
+    enum Status {\r
+        OK                  = 0;\r
+        RATELIMITED         = 1;\r
+        GLOBAL_RATELIMITED  = 2;\r
+    }\r
+    Status status = 1;\r
+    bool   updateAsked = 2;\r
+}\r
+\r
+// Requests the ratelimit status of a route request, it also takes the \r
+// indentifiables of the request in question.\r
+message RatelimitRequest {\r
+    string          routeName       = 1;\r
+    repeated string indentifiables  = 2;\r
+}\r
+\r
+// Used when "updateAsked" is sed to true\r
+// this means the bucket is unknown to the ratelimit server.\r
+message CreateBucketData {\r
+    RatelimitRequest request    = 1;\r
+    int32 limit                 = 2;\r
+    int32 remaining             = 3;\r
+    int32 reset                 = 4;\r
+}\r
+\r
+service RatelimitService {\r
+    rpc GetRatelimitStatus (RatelimitRequest)   returns (RatelimitResponse);\r
+    rpc CreateBucket       (CreateBucketData)   returns (CreateBucketData);\r
+}
\ No newline at end of file
diff --git a/ratelimiter/src/main.rs b/ratelimiter/src/main.rs
new file mode 100644 (file)
index 0000000..daa1da5
--- /dev/null
@@ -0,0 +1,5 @@
+// Some implementation of the gRPC service using the shared library.
+
+fn main () {
+    println!("Hello world!")
+}
\ No newline at end of file
diff --git a/rest-ratelimiter/BUILD b/rest-ratelimiter/BUILD
deleted file mode 100644 (file)
index f8548b2..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
-load("@rules_rust//rust:rust.bzl", "rust_binary")
-
-cargo_build_script(
-    name = "build_script",
-    srcs = ["build.rs"],
-    deps = [
-        "//rest-ratelimiter/cargo:tonic_build",
-    ],
-)
-
-rust_binary(
-    name = "rest-ratelimiter",
-    srcs = ["src/main.rs"],
-)
diff --git a/rest-ratelimiter/Cargo.toml b/rest-ratelimiter/Cargo.toml
deleted file mode 100644 (file)
index 874ea26..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-[package]
-name = "rest-ratelimiter"
-version = "0.1.0"
-edition = "2018"
-
-[dependencies]
-tonic = "0.5"
-prost = "0.8"
-tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
-
-[[bin]]
-name = "rest-ratelimiter"
-path = "src/main.rs"
-
-[dev-dependencies]
-tonic-build = "0.5"
-
-[package.metadata.raze]
-workspace_path = "//rest-ratelimiter/cargo"
-genmode = "Remote"
-default_gen_buildrs = true
-package_aliases_dir = "cargo"
diff --git a/rest-ratelimiter/build.rs b/rest-ratelimiter/build.rs
deleted file mode 100644 (file)
index a1cee90..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-fn main() -> Result<(), Box<dyn std::error::Error>> {
-    tonic_build::compile_protos("proto/nova.ratelimit.v1.proto").unwrap();
-    Ok(())
-}
\ No newline at end of file
diff --git a/rest-ratelimiter/cargo/BUILD.bazel b/rest-ratelimiter/cargo/BUILD.bazel
deleted file mode 100644 (file)
index 8ee6ef6..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-package(default_visibility = ["//visibility:public"])
-
-licenses([
-    "notice",  # See individual crates for specific licenses
-])
-
-# Aliased targets
-alias(
-    name = "prost",
-    actual = "@raze__prost__0_8_0//:prost",
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-)
-
-alias(
-    name = "tokio",
-    actual = "@raze__tokio__1_9_0//:tokio",
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-)
-
-alias(
-    name = "tonic",
-    actual = "@raze__tonic__0_5_0//:tonic",
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-)
-
-alias(
-    name = "tonic_build",
-    actual = "@raze__tonic_build__0_5_1//:tonic_build",
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-)
-
-# Export file for Stardoc support
-exports_files(
-    [
-        "crates.bzl",
-    ],
-    visibility = ["//visibility:public"],
-)
diff --git a/rest-ratelimiter/cargo/Cargo.raze.lock b/rest-ratelimiter/cargo/Cargo.raze.lock
deleted file mode 100644 (file)
index a9162d7..0000000
+++ /dev/null
@@ -1,830 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-[[package]]
-name = "anyhow"
-version = "1.0.42"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486"
-
-[[package]]
-name = "async-stream"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625"
-dependencies = [
- "async-stream-impl",
- "futures-core",
-]
-
-[[package]]
-name = "async-stream-impl"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "async-trait"
-version = "0.1.51"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e"
-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.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
-
-[[package]]
-name = "bitflags"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
-
-[[package]]
-name = "bytes"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
-
-[[package]]
-name = "cfg-if"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
-
-[[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 = "futures-channel"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9"
-dependencies = [
- "futures-core",
-]
-
-[[package]]
-name = "futures-core"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99"
-
-[[package]]
-name = "futures-sink"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53"
-
-[[package]]
-name = "futures-task"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2"
-
-[[package]]
-name = "futures-util"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78"
-dependencies = [
- "autocfg",
- "futures-core",
- "futures-task",
- "pin-project-lite",
- "pin-utils",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
-dependencies = [
- "cfg-if",
- "libc",
- "wasi",
-]
-
-[[package]]
-name = "h2"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726"
-dependencies = [
- "bytes",
- "fnv",
- "futures-core",
- "futures-sink",
- "futures-util",
- "http",
- "indexmap",
- "slab",
- "tokio",
- "tokio-util",
- "tracing",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
-
-[[package]]
-name = "heck"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
-dependencies = [
- "unicode-segmentation",
-]
-
-[[package]]
-name = "hermit-abi"
-version = "0.1.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "http"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11"
-dependencies = [
- "bytes",
- "fnv",
- "itoa",
-]
-
-[[package]]
-name = "http-body"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9"
-dependencies = [
- "bytes",
- "http",
- "pin-project-lite",
-]
-
-[[package]]
-name = "httparse"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68"
-
-[[package]]
-name = "httpdate"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440"
-
-[[package]]
-name = "hyper"
-version = "0.14.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11"
-dependencies = [
- "bytes",
- "futures-channel",
- "futures-core",
- "futures-util",
- "h2",
- "http",
- "http-body",
- "httparse",
- "httpdate",
- "itoa",
- "pin-project-lite",
- "socket2",
- "tokio",
- "tower-service",
- "tracing",
- "want",
-]
-
-[[package]]
-name = "hyper-timeout"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
-dependencies = [
- "hyper",
- "pin-project-lite",
- "tokio",
- "tokio-io-timeout",
-]
-
-[[package]]
-name = "indexmap"
-version = "1.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5"
-dependencies = [
- "autocfg",
- "hashbrown",
-]
-
-[[package]]
-name = "itertools"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
-dependencies = [
- "either",
-]
-
-[[package]]
-name = "itoa"
-version = "0.4.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
-
-[[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.98"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
-
-[[package]]
-name = "log"
-version = "0.4.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "memchr"
-version = "2.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
-
-[[package]]
-name = "mio"
-version = "0.7.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16"
-dependencies = [
- "libc",
- "log",
- "miow",
- "ntapi",
- "winapi",
-]
-
-[[package]]
-name = "miow"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
-dependencies = [
- "winapi",
-]
-
-[[package]]
-name = "multimap"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
-
-[[package]]
-name = "ntapi"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
-dependencies = [
- "winapi",
-]
-
-[[package]]
-name = "num_cpus"
-version = "1.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
-dependencies = [
- "hermit-abi",
- "libc",
-]
-
-[[package]]
-name = "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 = "1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08"
-dependencies = [
- "pin-project-internal",
-]
-
-[[package]]
-name = "pin-project-internal"
-version = "1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "pin-project-lite"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
-
-[[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.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
-
-[[package]]
-name = "proc-macro2"
-version = "1.0.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612"
-dependencies = [
- "unicode-xid",
-]
-
-[[package]]
-name = "prost"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020"
-dependencies = [
- "bytes",
- "prost-derive",
-]
-
-[[package]]
-name = "prost-build"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603"
-dependencies = [
- "bytes",
- "heck",
- "itertools",
- "log",
- "multimap",
- "petgraph",
- "prost",
- "prost-types",
- "tempfile",
- "which",
-]
-
-[[package]]
-name = "prost-derive"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba"
-dependencies = [
- "anyhow",
- "itertools",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "prost-types"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b"
-dependencies = [
- "bytes",
- "prost",
-]
-
-[[package]]
-name = "quote"
-version = "1.0.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
-dependencies = [
- "proc-macro2",
-]
-
-[[package]]
-name = "rand"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
-dependencies = [
- "libc",
- "rand_chacha",
- "rand_core",
- "rand_hc",
-]
-
-[[package]]
-name = "rand_chacha"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
-dependencies = [
- "ppv-lite86",
- "rand_core",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.6.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
-dependencies = [
- "getrandom",
-]
-
-[[package]]
-name = "rand_hc"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
-dependencies = [
- "rand_core",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.2.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
-dependencies = [
- "bitflags",
-]
-
-[[package]]
-name = "remove_dir_all"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
-dependencies = [
- "winapi",
-]
-
-[[package]]
-name = "rest-ratelimiter"
-version = "0.1.0"
-dependencies = [
- "prost",
- "tokio",
- "tonic",
- "tonic-build",
-]
-
-[[package]]
-name = "slab"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590"
-
-[[package]]
-name = "socket2"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad"
-dependencies = [
- "libc",
- "winapi",
-]
-
-[[package]]
-name = "syn"
-version = "1.0.74"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-xid",
-]
-
-[[package]]
-name = "tempfile"
-version = "3.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
-dependencies = [
- "cfg-if",
- "libc",
- "rand",
- "redox_syscall",
- "remove_dir_all",
- "winapi",
-]
-
-[[package]]
-name = "tokio"
-version = "1.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c"
-dependencies = [
- "autocfg",
- "bytes",
- "libc",
- "memchr",
- "mio",
- "num_cpus",
- "pin-project-lite",
- "tokio-macros",
- "winapi",
-]
-
-[[package]]
-name = "tokio-io-timeout"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9"
-dependencies = [
- "pin-project-lite",
- "tokio",
-]
-
-[[package]]
-name = "tokio-macros"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tokio-stream"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f"
-dependencies = [
- "futures-core",
- "pin-project-lite",
- "tokio",
-]
-
-[[package]]
-name = "tokio-util"
-version = "0.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
-dependencies = [
- "bytes",
- "futures-core",
- "futures-sink",
- "log",
- "pin-project-lite",
- "tokio",
-]
-
-[[package]]
-name = "tonic"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b584f064fdfc50017ec39162d5aebce49912f1eb16fd128e04b7f4ce4907c7e5"
-dependencies = [
- "async-stream",
- "async-trait",
- "base64",
- "bytes",
- "futures-core",
- "futures-util",
- "h2",
- "http",
- "http-body",
- "hyper",
- "hyper-timeout",
- "percent-encoding",
- "pin-project",
- "prost",
- "prost-derive",
- "tokio",
- "tokio-stream",
- "tokio-util",
- "tower",
- "tower-layer",
- "tower-service",
- "tracing",
- "tracing-futures",
-]
-
-[[package]]
-name = "tonic-build"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d12faebbe071b06f486be82cc9318350814fdd07fcb28f3690840cd770599283"
-dependencies = [
- "proc-macro2",
- "prost-build",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tower"
-version = "0.4.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f60422bc7fefa2f3ec70359b8ff1caff59d785877eb70595904605bcc412470f"
-dependencies = [
- "futures-core",
- "futures-util",
- "indexmap",
- "pin-project",
- "rand",
- "slab",
- "tokio",
- "tokio-stream",
- "tokio-util",
- "tower-layer",
- "tower-service",
- "tracing",
-]
-
-[[package]]
-name = "tower-layer"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62"
-
-[[package]]
-name = "tower-service"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
-
-[[package]]
-name = "tracing"
-version = "0.1.26"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d"
-dependencies = [
- "cfg-if",
- "log",
- "pin-project-lite",
- "tracing-attributes",
- "tracing-core",
-]
-
-[[package]]
-name = "tracing-attributes"
-version = "0.1.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tracing-core"
-version = "0.1.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052"
-dependencies = [
- "lazy_static",
-]
-
-[[package]]
-name = "tracing-futures"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
-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.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
-
-[[package]]
-name = "unicode-xid"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
-
-[[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.10.2+wasi-snapshot-preview1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
-
-[[package]]
-name = "which"
-version = "4.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9"
-dependencies = [
- "either",
- "lazy_static",
- "libc",
-]
-
-[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/rest-ratelimiter/cargo/crates.bzl b/rest-ratelimiter/cargo/crates.bzl
deleted file mode 100644 (file)
index 3bed3d4..0000000
+++ /dev/null
@@ -1,872 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")  # buildifier: disable=load
-load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")  # buildifier: disable=load
-load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")  # buildifier: disable=load
-
-def raze_fetch_remote_crates():
-    """This function defines a collection of repos and should be called in a WORKSPACE file"""
-    maybe(
-        http_archive,
-        name = "raze__anyhow__1_0_42",
-        url = "https://crates.io/api/v1/crates/anyhow/1.0.42/download",
-        type = "tar.gz",
-        sha256 = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486",
-        strip_prefix = "anyhow-1.0.42",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.anyhow-1.0.42.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__async_stream__0_3_2",
-        url = "https://crates.io/api/v1/crates/async-stream/0.3.2/download",
-        type = "tar.gz",
-        sha256 = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625",
-        strip_prefix = "async-stream-0.3.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.async-stream-0.3.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__async_stream_impl__0_3_2",
-        url = "https://crates.io/api/v1/crates/async-stream-impl/0.3.2/download",
-        type = "tar.gz",
-        sha256 = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308",
-        strip_prefix = "async-stream-impl-0.3.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.async-stream-impl-0.3.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__async_trait__0_1_51",
-        url = "https://crates.io/api/v1/crates/async-trait/0.1.51/download",
-        type = "tar.gz",
-        sha256 = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e",
-        strip_prefix = "async-trait-0.1.51",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.async-trait-0.1.51.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__autocfg__1_0_1",
-        url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
-        type = "tar.gz",
-        sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
-        strip_prefix = "autocfg-1.0.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__base64__0_13_0",
-        url = "https://crates.io/api/v1/crates/base64/0.13.0/download",
-        type = "tar.gz",
-        sha256 = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd",
-        strip_prefix = "base64-0.13.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.base64-0.13.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__bitflags__1_2_1",
-        url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
-        type = "tar.gz",
-        sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693",
-        strip_prefix = "bitflags-1.2.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__bytes__1_0_1",
-        url = "https://crates.io/api/v1/crates/bytes/1.0.1/download",
-        type = "tar.gz",
-        sha256 = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040",
-        strip_prefix = "bytes-1.0.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.bytes-1.0.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__cfg_if__1_0_0",
-        url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
-        type = "tar.gz",
-        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
-        strip_prefix = "cfg-if-1.0.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.cfg-if-1.0.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__either__1_6_1",
-        url = "https://crates.io/api/v1/crates/either/1.6.1/download",
-        type = "tar.gz",
-        sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457",
-        strip_prefix = "either-1.6.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.either-1.6.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__fixedbitset__0_2_0",
-        url = "https://crates.io/api/v1/crates/fixedbitset/0.2.0/download",
-        type = "tar.gz",
-        sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d",
-        strip_prefix = "fixedbitset-0.2.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.fixedbitset-0.2.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__fnv__1_0_7",
-        url = "https://crates.io/api/v1/crates/fnv/1.0.7/download",
-        type = "tar.gz",
-        sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1",
-        strip_prefix = "fnv-1.0.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.fnv-1.0.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__futures_channel__0_3_16",
-        url = "https://crates.io/api/v1/crates/futures-channel/0.3.16/download",
-        type = "tar.gz",
-        sha256 = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9",
-        strip_prefix = "futures-channel-0.3.16",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.futures-channel-0.3.16.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__futures_core__0_3_16",
-        url = "https://crates.io/api/v1/crates/futures-core/0.3.16/download",
-        type = "tar.gz",
-        sha256 = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99",
-        strip_prefix = "futures-core-0.3.16",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.futures-core-0.3.16.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__futures_sink__0_3_16",
-        url = "https://crates.io/api/v1/crates/futures-sink/0.3.16/download",
-        type = "tar.gz",
-        sha256 = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53",
-        strip_prefix = "futures-sink-0.3.16",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.futures-sink-0.3.16.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__futures_task__0_3_16",
-        url = "https://crates.io/api/v1/crates/futures-task/0.3.16/download",
-        type = "tar.gz",
-        sha256 = "bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2",
-        strip_prefix = "futures-task-0.3.16",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.futures-task-0.3.16.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__futures_util__0_3_16",
-        url = "https://crates.io/api/v1/crates/futures-util/0.3.16/download",
-        type = "tar.gz",
-        sha256 = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78",
-        strip_prefix = "futures-util-0.3.16",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.futures-util-0.3.16.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__getrandom__0_2_3",
-        url = "https://crates.io/api/v1/crates/getrandom/0.2.3/download",
-        type = "tar.gz",
-        sha256 = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753",
-        strip_prefix = "getrandom-0.2.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.getrandom-0.2.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__h2__0_3_3",
-        url = "https://crates.io/api/v1/crates/h2/0.3.3/download",
-        type = "tar.gz",
-        sha256 = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726",
-        strip_prefix = "h2-0.3.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.h2-0.3.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__hashbrown__0_11_2",
-        url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download",
-        type = "tar.gz",
-        sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e",
-        strip_prefix = "hashbrown-0.11.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.hashbrown-0.11.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__heck__0_3_3",
-        url = "https://crates.io/api/v1/crates/heck/0.3.3/download",
-        type = "tar.gz",
-        sha256 = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c",
-        strip_prefix = "heck-0.3.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.heck-0.3.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__hermit_abi__0_1_19",
-        url = "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download",
-        type = "tar.gz",
-        sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
-        strip_prefix = "hermit-abi-0.1.19",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.hermit-abi-0.1.19.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__http__0_2_4",
-        url = "https://crates.io/api/v1/crates/http/0.2.4/download",
-        type = "tar.gz",
-        sha256 = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11",
-        strip_prefix = "http-0.2.4",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.http-0.2.4.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__http_body__0_4_2",
-        url = "https://crates.io/api/v1/crates/http-body/0.4.2/download",
-        type = "tar.gz",
-        sha256 = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9",
-        strip_prefix = "http-body-0.4.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.http-body-0.4.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__httparse__1_4_1",
-        url = "https://crates.io/api/v1/crates/httparse/1.4.1/download",
-        type = "tar.gz",
-        sha256 = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68",
-        strip_prefix = "httparse-1.4.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.httparse-1.4.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__httpdate__1_0_1",
-        url = "https://crates.io/api/v1/crates/httpdate/1.0.1/download",
-        type = "tar.gz",
-        sha256 = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440",
-        strip_prefix = "httpdate-1.0.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.httpdate-1.0.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__hyper__0_14_11",
-        url = "https://crates.io/api/v1/crates/hyper/0.14.11/download",
-        type = "tar.gz",
-        sha256 = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11",
-        strip_prefix = "hyper-0.14.11",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.hyper-0.14.11.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__hyper_timeout__0_4_1",
-        url = "https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download",
-        type = "tar.gz",
-        sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1",
-        strip_prefix = "hyper-timeout-0.4.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.hyper-timeout-0.4.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__indexmap__1_7_0",
-        url = "https://crates.io/api/v1/crates/indexmap/1.7.0/download",
-        type = "tar.gz",
-        sha256 = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5",
-        strip_prefix = "indexmap-1.7.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.indexmap-1.7.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__itertools__0_10_1",
-        url = "https://crates.io/api/v1/crates/itertools/0.10.1/download",
-        type = "tar.gz",
-        sha256 = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf",
-        strip_prefix = "itertools-0.10.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.itertools-0.10.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__itoa__0_4_7",
-        url = "https://crates.io/api/v1/crates/itoa/0.4.7/download",
-        type = "tar.gz",
-        sha256 = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736",
-        strip_prefix = "itoa-0.4.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.itoa-0.4.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__lazy_static__1_4_0",
-        url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
-        type = "tar.gz",
-        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
-        strip_prefix = "lazy_static-1.4.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.lazy_static-1.4.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__libc__0_2_98",
-        url = "https://crates.io/api/v1/crates/libc/0.2.98/download",
-        type = "tar.gz",
-        sha256 = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790",
-        strip_prefix = "libc-0.2.98",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.libc-0.2.98.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__log__0_4_14",
-        url = "https://crates.io/api/v1/crates/log/0.4.14/download",
-        type = "tar.gz",
-        sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
-        strip_prefix = "log-0.4.14",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.log-0.4.14.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__memchr__2_4_0",
-        url = "https://crates.io/api/v1/crates/memchr/2.4.0/download",
-        type = "tar.gz",
-        sha256 = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc",
-        strip_prefix = "memchr-2.4.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.memchr-2.4.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__mio__0_7_13",
-        url = "https://crates.io/api/v1/crates/mio/0.7.13/download",
-        type = "tar.gz",
-        sha256 = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16",
-        strip_prefix = "mio-0.7.13",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.mio-0.7.13.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__miow__0_3_7",
-        url = "https://crates.io/api/v1/crates/miow/0.3.7/download",
-        type = "tar.gz",
-        sha256 = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21",
-        strip_prefix = "miow-0.3.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.miow-0.3.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__multimap__0_8_3",
-        url = "https://crates.io/api/v1/crates/multimap/0.8.3/download",
-        type = "tar.gz",
-        sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a",
-        strip_prefix = "multimap-0.8.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.multimap-0.8.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__ntapi__0_3_6",
-        url = "https://crates.io/api/v1/crates/ntapi/0.3.6/download",
-        type = "tar.gz",
-        sha256 = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44",
-        strip_prefix = "ntapi-0.3.6",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.ntapi-0.3.6.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__num_cpus__1_13_0",
-        url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download",
-        type = "tar.gz",
-        sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3",
-        strip_prefix = "num_cpus-1.13.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.num_cpus-1.13.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__percent_encoding__2_1_0",
-        url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download",
-        type = "tar.gz",
-        sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e",
-        strip_prefix = "percent-encoding-2.1.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.percent-encoding-2.1.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__petgraph__0_5_1",
-        url = "https://crates.io/api/v1/crates/petgraph/0.5.1/download",
-        type = "tar.gz",
-        sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7",
-        strip_prefix = "petgraph-0.5.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.petgraph-0.5.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__pin_project__1_0_8",
-        url = "https://crates.io/api/v1/crates/pin-project/1.0.8/download",
-        type = "tar.gz",
-        sha256 = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08",
-        strip_prefix = "pin-project-1.0.8",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.pin-project-1.0.8.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__pin_project_internal__1_0_8",
-        url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.8/download",
-        type = "tar.gz",
-        sha256 = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389",
-        strip_prefix = "pin-project-internal-1.0.8",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.pin-project-internal-1.0.8.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__pin_project_lite__0_2_7",
-        url = "https://crates.io/api/v1/crates/pin-project-lite/0.2.7/download",
-        type = "tar.gz",
-        sha256 = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443",
-        strip_prefix = "pin-project-lite-0.2.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.pin-project-lite-0.2.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__pin_utils__0_1_0",
-        url = "https://crates.io/api/v1/crates/pin-utils/0.1.0/download",
-        type = "tar.gz",
-        sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184",
-        strip_prefix = "pin-utils-0.1.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.pin-utils-0.1.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__ppv_lite86__0_2_10",
-        url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download",
-        type = "tar.gz",
-        sha256 = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857",
-        strip_prefix = "ppv-lite86-0.2.10",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__proc_macro2__1_0_28",
-        url = "https://crates.io/api/v1/crates/proc-macro2/1.0.28/download",
-        type = "tar.gz",
-        sha256 = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612",
-        strip_prefix = "proc-macro2-1.0.28",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.proc-macro2-1.0.28.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__prost__0_8_0",
-        url = "https://crates.io/api/v1/crates/prost/0.8.0/download",
-        type = "tar.gz",
-        sha256 = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020",
-        strip_prefix = "prost-0.8.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.prost-0.8.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__prost_build__0_8_0",
-        url = "https://crates.io/api/v1/crates/prost-build/0.8.0/download",
-        type = "tar.gz",
-        sha256 = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603",
-        strip_prefix = "prost-build-0.8.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.prost-build-0.8.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__prost_derive__0_8_0",
-        url = "https://crates.io/api/v1/crates/prost-derive/0.8.0/download",
-        type = "tar.gz",
-        sha256 = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba",
-        strip_prefix = "prost-derive-0.8.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.prost-derive-0.8.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__prost_types__0_8_0",
-        url = "https://crates.io/api/v1/crates/prost-types/0.8.0/download",
-        type = "tar.gz",
-        sha256 = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b",
-        strip_prefix = "prost-types-0.8.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.prost-types-0.8.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__quote__1_0_9",
-        url = "https://crates.io/api/v1/crates/quote/1.0.9/download",
-        type = "tar.gz",
-        sha256 = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7",
-        strip_prefix = "quote-1.0.9",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.quote-1.0.9.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__rand__0_8_4",
-        url = "https://crates.io/api/v1/crates/rand/0.8.4/download",
-        type = "tar.gz",
-        sha256 = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8",
-        strip_prefix = "rand-0.8.4",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.rand-0.8.4.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__rand_chacha__0_3_1",
-        url = "https://crates.io/api/v1/crates/rand_chacha/0.3.1/download",
-        type = "tar.gz",
-        sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88",
-        strip_prefix = "rand_chacha-0.3.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.rand_chacha-0.3.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__rand_core__0_6_3",
-        url = "https://crates.io/api/v1/crates/rand_core/0.6.3/download",
-        type = "tar.gz",
-        sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7",
-        strip_prefix = "rand_core-0.6.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.rand_core-0.6.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__rand_hc__0_3_1",
-        url = "https://crates.io/api/v1/crates/rand_hc/0.3.1/download",
-        type = "tar.gz",
-        sha256 = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7",
-        strip_prefix = "rand_hc-0.3.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.rand_hc-0.3.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__redox_syscall__0_2_10",
-        url = "https://crates.io/api/v1/crates/redox_syscall/0.2.10/download",
-        type = "tar.gz",
-        sha256 = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff",
-        strip_prefix = "redox_syscall-0.2.10",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.redox_syscall-0.2.10.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__remove_dir_all__0_5_3",
-        url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download",
-        type = "tar.gz",
-        sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7",
-        strip_prefix = "remove_dir_all-0.5.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.remove_dir_all-0.5.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__slab__0_4_4",
-        url = "https://crates.io/api/v1/crates/slab/0.4.4/download",
-        type = "tar.gz",
-        sha256 = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590",
-        strip_prefix = "slab-0.4.4",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.slab-0.4.4.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__socket2__0_4_1",
-        url = "https://crates.io/api/v1/crates/socket2/0.4.1/download",
-        type = "tar.gz",
-        sha256 = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad",
-        strip_prefix = "socket2-0.4.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.socket2-0.4.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__syn__1_0_74",
-        url = "https://crates.io/api/v1/crates/syn/1.0.74/download",
-        type = "tar.gz",
-        sha256 = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c",
-        strip_prefix = "syn-1.0.74",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.syn-1.0.74.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tempfile__3_2_0",
-        url = "https://crates.io/api/v1/crates/tempfile/3.2.0/download",
-        type = "tar.gz",
-        sha256 = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22",
-        strip_prefix = "tempfile-3.2.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tempfile-3.2.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tokio__1_9_0",
-        url = "https://crates.io/api/v1/crates/tokio/1.9.0/download",
-        type = "tar.gz",
-        sha256 = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c",
-        strip_prefix = "tokio-1.9.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tokio-1.9.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tokio_io_timeout__1_1_1",
-        url = "https://crates.io/api/v1/crates/tokio-io-timeout/1.1.1/download",
-        type = "tar.gz",
-        sha256 = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9",
-        strip_prefix = "tokio-io-timeout-1.1.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tokio-io-timeout-1.1.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tokio_macros__1_3_0",
-        url = "https://crates.io/api/v1/crates/tokio-macros/1.3.0/download",
-        type = "tar.gz",
-        sha256 = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110",
-        strip_prefix = "tokio-macros-1.3.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tokio-macros-1.3.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tokio_stream__0_1_7",
-        url = "https://crates.io/api/v1/crates/tokio-stream/0.1.7/download",
-        type = "tar.gz",
-        sha256 = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f",
-        strip_prefix = "tokio-stream-0.1.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tokio-stream-0.1.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tokio_util__0_6_7",
-        url = "https://crates.io/api/v1/crates/tokio-util/0.6.7/download",
-        type = "tar.gz",
-        sha256 = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592",
-        strip_prefix = "tokio-util-0.6.7",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tokio-util-0.6.7.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tonic__0_5_0",
-        url = "https://crates.io/api/v1/crates/tonic/0.5.0/download",
-        type = "tar.gz",
-        sha256 = "b584f064fdfc50017ec39162d5aebce49912f1eb16fd128e04b7f4ce4907c7e5",
-        strip_prefix = "tonic-0.5.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tonic-0.5.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tonic_build__0_5_1",
-        url = "https://crates.io/api/v1/crates/tonic-build/0.5.1/download",
-        type = "tar.gz",
-        sha256 = "d12faebbe071b06f486be82cc9318350814fdd07fcb28f3690840cd770599283",
-        strip_prefix = "tonic-build-0.5.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tonic-build-0.5.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tower__0_4_8",
-        url = "https://crates.io/api/v1/crates/tower/0.4.8/download",
-        type = "tar.gz",
-        sha256 = "f60422bc7fefa2f3ec70359b8ff1caff59d785877eb70595904605bcc412470f",
-        strip_prefix = "tower-0.4.8",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tower-0.4.8.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tower_layer__0_3_1",
-        url = "https://crates.io/api/v1/crates/tower-layer/0.3.1/download",
-        type = "tar.gz",
-        sha256 = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62",
-        strip_prefix = "tower-layer-0.3.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tower-layer-0.3.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tower_service__0_3_1",
-        url = "https://crates.io/api/v1/crates/tower-service/0.3.1/download",
-        type = "tar.gz",
-        sha256 = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6",
-        strip_prefix = "tower-service-0.3.1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tower-service-0.3.1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tracing__0_1_26",
-        url = "https://crates.io/api/v1/crates/tracing/0.1.26/download",
-        type = "tar.gz",
-        sha256 = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d",
-        strip_prefix = "tracing-0.1.26",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tracing-0.1.26.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tracing_attributes__0_1_15",
-        url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.15/download",
-        type = "tar.gz",
-        sha256 = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2",
-        strip_prefix = "tracing-attributes-0.1.15",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tracing-attributes-0.1.15.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tracing_core__0_1_18",
-        url = "https://crates.io/api/v1/crates/tracing-core/0.1.18/download",
-        type = "tar.gz",
-        sha256 = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052",
-        strip_prefix = "tracing-core-0.1.18",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tracing-core-0.1.18.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__tracing_futures__0_2_5",
-        url = "https://crates.io/api/v1/crates/tracing-futures/0.2.5/download",
-        type = "tar.gz",
-        sha256 = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2",
-        strip_prefix = "tracing-futures-0.2.5",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.tracing-futures-0.2.5.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__try_lock__0_2_3",
-        url = "https://crates.io/api/v1/crates/try-lock/0.2.3/download",
-        type = "tar.gz",
-        sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642",
-        strip_prefix = "try-lock-0.2.3",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.try-lock-0.2.3.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__unicode_segmentation__1_8_0",
-        url = "https://crates.io/api/v1/crates/unicode-segmentation/1.8.0/download",
-        type = "tar.gz",
-        sha256 = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b",
-        strip_prefix = "unicode-segmentation-1.8.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.unicode-segmentation-1.8.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__unicode_xid__0_2_2",
-        url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
-        type = "tar.gz",
-        sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
-        strip_prefix = "unicode-xid-0.2.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.unicode-xid-0.2.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__want__0_3_0",
-        url = "https://crates.io/api/v1/crates/want/0.3.0/download",
-        type = "tar.gz",
-        sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0",
-        strip_prefix = "want-0.3.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.want-0.3.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__wasi__0_10_2_wasi_snapshot_preview1",
-        url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download",
-        type = "tar.gz",
-        sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6",
-        strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__which__4_2_2",
-        url = "https://crates.io/api/v1/crates/which/4.2.2/download",
-        type = "tar.gz",
-        sha256 = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9",
-        strip_prefix = "which-4.2.2",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.which-4.2.2.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__winapi__0_3_9",
-        url = "https://crates.io/api/v1/crates/winapi/0.3.9/download",
-        type = "tar.gz",
-        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
-        strip_prefix = "winapi-0.3.9",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.winapi-0.3.9.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__winapi_i686_pc_windows_gnu__0_4_0",
-        url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download",
-        type = "tar.gz",
-        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
-        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
-    )
-
-    maybe(
-        http_archive,
-        name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0",
-        url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download",
-        type = "tar.gz",
-        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
-        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
-        build_file = Label("//rest-ratelimiter/cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
-    )
diff --git a/rest-ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel b/rest-ratelimiter/cargo/remote/BUILD.anyhow-1.0.42.bazel
deleted file mode 100644 (file)
index dc37b86..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "anyhow_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.42",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "anyhow",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.42",
-    # buildifier: leave-alone
-    deps = [
-        ":anyhow_build_script",
-    ],
-)
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "test_autotrait" with type "test" omitted
-
-# Unsupported target "test_backtrace" with type "test" omitted
-
-# Unsupported target "test_boxed" with type "test" omitted
-
-# Unsupported target "test_chain" with type "test" omitted
-
-# Unsupported target "test_context" with type "test" omitted
-
-# Unsupported target "test_convert" with type "test" omitted
-
-# Unsupported target "test_downcast" with type "test" omitted
-
-# Unsupported target "test_ffi" with type "test" omitted
-
-# Unsupported target "test_fmt" with type "test" omitted
-
-# Unsupported target "test_macros" with type "test" omitted
-
-# Unsupported target "test_repr" with type "test" omitted
-
-# Unsupported target "test_source" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.async-stream-0.3.2.bazel
deleted file mode 100644 (file)
index f2edcd8..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "tcp_accept" with type "example" omitted
-
-rust_library(
-    name = "async_stream",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__async_stream_impl__0_3_2//:async_stream_impl",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.2",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__futures_core__0_3_16//:futures_core",
-    ],
-)
-
-# Unsupported target "for_await" with type "test" omitted
-
-# Unsupported target "stream" with type "test" omitted
-
-# Unsupported target "try_stream" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.async-stream-impl-0.3.2.bazel
deleted file mode 100644 (file)
index b3384d9..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "async_stream_impl",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.2",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel b/rest-ratelimiter/cargo/remote/BUILD.async-trait-0.1.51.bazel
deleted file mode 100644 (file)
index 3d62e4b..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "async_trait_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.51",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "async_trait",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.51",
-    # buildifier: leave-alone
-    deps = [
-        ":async_trait_build_script",
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.autocfg-1.0.1.bazel
deleted file mode 100644 (file)
index cf35521..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "integers" with type "example" omitted
-
-# Unsupported target "paths" with type "example" omitted
-
-# Unsupported target "traits" with type "example" omitted
-
-# Unsupported target "versions" with type "example" omitted
-
-rust_library(
-    name = "autocfg",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "rustflags" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.base64-0.13.0.bazel
deleted file mode 100644 (file)
index 8c54578..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "benchmarks" with type "bench" omitted
-
-# Unsupported target "base64" with type "example" omitted
-
-# Unsupported target "make_tables" with type "example" omitted
-
-rust_library(
-    name = "base64",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.13.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "decode" with type "test" omitted
-
-# Unsupported target "encode" with type "test" omitted
-
-# Unsupported target "helpers" with type "test" omitted
-
-# Unsupported target "tests" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.bazel b/rest-ratelimiter/cargo/remote/BUILD.bazel
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/rest-ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.bitflags-1.2.1.bazel
deleted file mode 100644 (file)
index 68c78c8..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "bitflags_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.2.1",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "bitflags",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.2.1",
-    # buildifier: leave-alone
-    deps = [
-        ":bitflags_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.bytes-1.0.1.bazel
deleted file mode 100644 (file)
index 24e71f9..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "buf" with type "bench" omitted
-
-# Unsupported target "bytes" with type "bench" omitted
-
-# Unsupported target "bytes_mut" with type "bench" omitted
-
-rust_library(
-    name = "bytes",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "test_buf" with type "test" omitted
-
-# Unsupported target "test_buf_mut" with type "test" omitted
-
-# Unsupported target "test_bytes" with type "test" omitted
-
-# Unsupported target "test_bytes_odd_alloc" with type "test" omitted
-
-# Unsupported target "test_bytes_vec_alloc" with type "test" omitted
-
-# Unsupported target "test_chain" with type "test" omitted
-
-# Unsupported target "test_debug" with type "test" omitted
-
-# Unsupported target "test_iter" with type "test" omitted
-
-# Unsupported target "test_reader" with type "test" omitted
-
-# Unsupported target "test_serde" with type "test" omitted
-
-# Unsupported target "test_take" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.cfg-if-1.0.0.bazel
deleted file mode 100644 (file)
index 6b9e3ca..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "cfg_if",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "xcrate" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.either-1.6.1.bazel
deleted file mode 100644 (file)
index ce66c1c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "either",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "use_std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.6.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.fixedbitset-0.2.0.bazel
deleted file mode 100644 (file)
index 51503e3..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "benches" with type "bench" omitted
-
-rust_library(
-    name = "fixedbitset",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.fnv-1.0.7.bazel
deleted file mode 100644 (file)
index f458f38..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "fnv",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.7",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel b/rest-ratelimiter/cargo/remote/BUILD.futures-channel-0.3.16.bazel
deleted file mode 100644 (file)
index 2da9dd5..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "futures_channel_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "alloc",
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-# Unsupported target "sync_mpsc" with type "bench" omitted
-
-rust_library(
-    name = "futures_channel",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    # buildifier: leave-alone
-    deps = [
-        ":futures_channel_build_script",
-        "@raze__futures_core__0_3_16//:futures_core",
-    ],
-)
-
-# Unsupported target "channel" with type "test" omitted
-
-# Unsupported target "mpsc" with type "test" omitted
-
-# Unsupported target "mpsc-close" with type "test" omitted
-
-# Unsupported target "oneshot" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel b/rest-ratelimiter/cargo/remote/BUILD.futures-core-0.3.16.bazel
deleted file mode 100644 (file)
index c42fcdf..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "futures_core_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "alloc",
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "futures_core",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    # buildifier: leave-alone
-    deps = [
-        ":futures_core_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel b/rest-ratelimiter/cargo/remote/BUILD.futures-sink-0.3.16.bazel
deleted file mode 100644 (file)
index 160ae42..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "futures_sink",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel b/rest-ratelimiter/cargo/remote/BUILD.futures-task-0.3.16.bazel
deleted file mode 100644 (file)
index 863dfab..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "futures_task_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "alloc",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "futures_task",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    # buildifier: leave-alone
-    deps = [
-        ":futures_task_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel b/rest-ratelimiter/cargo/remote/BUILD.futures-util-0.3.16.bazel
deleted file mode 100644 (file)
index 71d1574..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "futures_util_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "alloc",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    visibility = ["//visibility:private"],
-    deps = [
-        "@raze__autocfg__1_0_1//:autocfg",
-    ],
-)
-
-# Unsupported target "futures_unordered" with type "bench" omitted
-
-rust_library(
-    name = "futures_util",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.16",
-    # buildifier: leave-alone
-    deps = [
-        ":futures_util_build_script",
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_task__0_3_16//:futures_task",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__pin_utils__0_1_0//:pin_utils",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.getrandom-0.2.3.bazel
deleted file mode 100644 (file)
index 7e6dcd5..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "mod" with type "bench" omitted
-
-rust_library(
-    name = "getrandom",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.3",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__cfg_if__1_0_0//:cfg_if",
-    ] + selects.with_or({
-        # cfg(all(target_arch = "wasm32", target_os = "unknown"))
-        (
-            "@rules_rust//rust/platform:wasm32-unknown-unknown",
-        ): [
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(target_os = "wasi")
-        (
-            "@rules_rust//rust/platform:wasm32-wasi",
-        ): [
-            "@raze__wasi__0_10_2_wasi_snapshot_preview1//:wasi",
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "custom" with type "test" omitted
-
-# Unsupported target "normal" with type "test" omitted
-
-# Unsupported target "rdrand" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.h2-0.3.3.bazel
deleted file mode 100644 (file)
index 711b003..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "akamai" with type "example" omitted
-
-# Unsupported target "client" with type "example" omitted
-
-# Unsupported target "server" with type "example" omitted
-
-rust_library(
-    name = "h2",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.3",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__fnv__1_0_7//:fnv",
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_sink__0_3_16//:futures_sink",
-        "@raze__futures_util__0_3_16//:futures_util",
-        "@raze__http__0_2_4//:http",
-        "@raze__indexmap__1_7_0//:indexmap",
-        "@raze__slab__0_4_4//:slab",
-        "@raze__tokio__1_9_0//:tokio",
-        "@raze__tokio_util__0_6_7//:tokio_util",
-        "@raze__tracing__0_1_26//:tracing",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.hashbrown-0.11.2.bazel
deleted file mode 100644 (file)
index 5b9cea4..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "bench" with type "bench" omitted
-
-rust_library(
-    name = "hashbrown",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "raw",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.11.2",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "hasher" with type "test" omitted
-
-# Unsupported target "rayon" with type "test" omitted
-
-# Unsupported target "serde" with type "test" omitted
-
-# Unsupported target "set" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.heck-0.3.3.bazel
deleted file mode 100644 (file)
index 8cc3d79..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "heck",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.3",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__unicode_segmentation__1_8_0//:unicode_segmentation",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel b/rest-ratelimiter/cargo/remote/BUILD.hermit-abi-0.1.19.bazel
deleted file mode 100644 (file)
index f21a58b..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "hermit_abi",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.19",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__libc__0_2_98//:libc",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel b/rest-ratelimiter/cargo/remote/BUILD.http-0.2.4.bazel
deleted file mode 100644 (file)
index 84eb266..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "header_map" with type "bench" omitted
-
-# Unsupported target "header_name" with type "bench" omitted
-
-# Unsupported target "header_value" with type "bench" omitted
-
-# Unsupported target "method" with type "bench" omitted
-
-# Unsupported target "uri" with type "bench" omitted
-
-rust_library(
-    name = "http",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.4",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__fnv__1_0_7//:fnv",
-        "@raze__itoa__0_4_7//:itoa",
-    ],
-)
-
-# Unsupported target "header_map" with type "test" omitted
-
-# Unsupported target "header_map_fuzz" with type "test" omitted
-
-# Unsupported target "status_code" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.http-body-0.4.2.bazel
deleted file mode 100644 (file)
index ec43684..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "http_body",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.2",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__http__0_2_4//:http",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-    ],
-)
-
-# Unsupported target "is_end_stream" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.httparse-1.4.1.bazel
deleted file mode 100644 (file)
index 07a4f3c..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "httparse_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.4.1",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-# Unsupported target "parse" with type "bench" omitted
-
-rust_library(
-    name = "httparse",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.4.1",
-    # buildifier: leave-alone
-    deps = [
-        ":httparse_build_script",
-    ],
-)
-
-# Unsupported target "uri" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.httpdate-1.0.1.bazel
deleted file mode 100644 (file)
index 0bb1794..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "httpdate",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel b/rest-ratelimiter/cargo/remote/BUILD.hyper-0.14.11.bazel
deleted file mode 100644 (file)
index 13d201f..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "body" with type "bench" omitted
-
-# Unsupported target "connect" with type "bench" omitted
-
-# Unsupported target "end_to_end" with type "bench" omitted
-
-# Unsupported target "pipeline" with type "bench" omitted
-
-# Unsupported target "server" with type "bench" omitted
-
-# Unsupported target "hyper" with type "cdylib" omitted
-
-# Unsupported target "client" with type "example" omitted
-
-# Unsupported target "client_json" with type "example" omitted
-
-# Unsupported target "echo" with type "example" omitted
-
-# Unsupported target "gateway" with type "example" omitted
-
-# Unsupported target "hello" with type "example" omitted
-
-# Unsupported target "http_proxy" with type "example" omitted
-
-# Unsupported target "multi_server" with type "example" omitted
-
-# Unsupported target "params" with type "example" omitted
-
-# Unsupported target "send_file" with type "example" omitted
-
-# Unsupported target "service_struct_impl" with type "example" omitted
-
-# Unsupported target "single_threaded" with type "example" omitted
-
-# Unsupported target "state" with type "example" omitted
-
-# Unsupported target "tower_client" with type "example" omitted
-
-# Unsupported target "tower_server" with type "example" omitted
-
-# Unsupported target "upgrades" with type "example" omitted
-
-# Unsupported target "web_api" with type "example" omitted
-
-rust_library(
-    name = "hyper",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "client",
-        "default",
-        "full",
-        "h2",
-        "http1",
-        "http2",
-        "runtime",
-        "server",
-        "socket2",
-        "stream",
-        "tcp",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.14.11",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__futures_channel__0_3_16//:futures_channel",
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_util__0_3_16//:futures_util",
-        "@raze__h2__0_3_3//:h2",
-        "@raze__http__0_2_4//:http",
-        "@raze__http_body__0_4_2//:http_body",
-        "@raze__httparse__1_4_1//:httparse",
-        "@raze__httpdate__1_0_1//:httpdate",
-        "@raze__itoa__0_4_7//:itoa",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__socket2__0_4_1//:socket2",
-        "@raze__tokio__1_9_0//:tokio",
-        "@raze__tower_service__0_3_1//:tower_service",
-        "@raze__tracing__0_1_26//:tracing",
-        "@raze__want__0_3_0//:want",
-    ] + selects.with_or({
-        # cfg(any(target_os = "linux", target_os = "macos"))
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "hyper" with type "staticlib" omitted
-
-# Unsupported target "client" with type "test" omitted
-
-# Unsupported target "integration" with type "test" omitted
-
-# Unsupported target "server" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.hyper-timeout-0.4.1.bazel
deleted file mode 100644 (file)
index 8581418..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "client" with type "example" omitted
-
-rust_library(
-    name = "hyper_timeout",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__hyper__0_14_11//:hyper",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__tokio__1_9_0//:tokio",
-        "@raze__tokio_io_timeout__1_1_1//:tokio_io_timeout",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.indexmap-1.7.0.bazel
deleted file mode 100644 (file)
index fdabe53..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "indexmap_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.7.0",
-    visibility = ["//visibility:private"],
-    deps = [
-        "@raze__autocfg__1_0_1//:autocfg",
-    ],
-)
-
-# Unsupported target "bench" with type "bench" omitted
-
-# Unsupported target "faststring" with type "bench" omitted
-
-rust_library(
-    name = "indexmap",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.7.0",
-    # buildifier: leave-alone
-    deps = [
-        ":indexmap_build_script",
-        "@raze__hashbrown__0_11_2//:hashbrown",
-    ],
-)
-
-# Unsupported target "equivalent_trait" with type "test" omitted
-
-# Unsupported target "macros_full_path" with type "test" omitted
-
-# Unsupported target "quick" with type "test" omitted
-
-# Unsupported target "tests" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.itertools-0.10.1.bazel
deleted file mode 100644 (file)
index d423611..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "bench1" with type "bench" omitted
-
-# Unsupported target "combinations" with type "bench" omitted
-
-# Unsupported target "combinations_with_replacement" with type "bench" omitted
-
-# Unsupported target "fold_specialization" with type "bench" omitted
-
-# Unsupported target "powerset" with type "bench" omitted
-
-# Unsupported target "tree_fold1" with type "bench" omitted
-
-# Unsupported target "tuple_combinations" with type "bench" omitted
-
-# Unsupported target "tuples" with type "bench" omitted
-
-# Unsupported target "iris" with type "example" omitted
-
-rust_library(
-    name = "itertools",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "use_alloc",
-        "use_std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.10.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__either__1_6_1//:either",
-    ],
-)
-
-# Unsupported target "adaptors_no_collect" with type "test" omitted
-
-# Unsupported target "flatten_ok" with type "test" omitted
-
-# Unsupported target "fold_specialization" with type "test" omitted
-
-# Unsupported target "macros_hygiene" with type "test" omitted
-
-# Unsupported target "merge_join" with type "test" omitted
-
-# Unsupported target "peeking_take_while" with type "test" omitted
-
-# Unsupported target "quick" with type "test" omitted
-
-# Unsupported target "specializations" with type "test" omitted
-
-# Unsupported target "test_core" with type "test" omitted
-
-# Unsupported target "test_std" with type "test" omitted
-
-# Unsupported target "tuples" with type "test" omitted
-
-# Unsupported target "zip" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.itoa-0.4.7.bazel
deleted file mode 100644 (file)
index 02b6378..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "bench" with type "bench" omitted
-
-rust_library(
-    name = "itoa",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.7",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "test" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.lazy_static-1.4.0.bazel
deleted file mode 100644 (file)
index 9244397..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "lazy_static",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.4.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "no_std" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel b/rest-ratelimiter/cargo/remote/BUILD.libc-0.2.98.bazel
deleted file mode 100644 (file)
index 4560d94..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "libc_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.98",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "libc",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.98",
-    # buildifier: leave-alone
-    deps = [
-        ":libc_build_script",
-    ],
-)
-
-# Unsupported target "const_fn" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel b/rest-ratelimiter/cargo/remote/BUILD.log-0.4.14.bazel
deleted file mode 100644 (file)
index 14ae0e8..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "log_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.14",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-# Unsupported target "value" with type "bench" omitted
-
-rust_library(
-    name = "log",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.14",
-    # buildifier: leave-alone
-    deps = [
-        ":log_build_script",
-        "@raze__cfg_if__1_0_0//:cfg_if",
-    ],
-)
-
-# Unsupported target "filters" with type "test" omitted
-
-# Unsupported target "macros" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.memchr-2.4.0.bazel
deleted file mode 100644 (file)
index 16750c6..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "unencumbered",  # Unlicense from expression "Unlicense OR MIT"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "memchr_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "2.4.0",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "memchr",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "2.4.0",
-    # buildifier: leave-alone
-    deps = [
-        ":memchr_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel b/rest-ratelimiter/cargo/remote/BUILD.mio-0.7.13.bazel
deleted file mode 100644 (file)
index 6b3048e..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "tcp_server" with type "example" omitted
-
-# Unsupported target "udp_server" with type "example" omitted
-
-rust_library(
-    name = "mio",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "default",
-        "net",
-        "os-ext",
-        "os-poll",
-        "os-util",
-        "tcp",
-        "udp",
-        "uds",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.7.13",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__log__0_4_14//:log",
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__miow__0_3_7//:miow",
-            "@raze__ntapi__0_3_6//:ntapi",
-            "@raze__winapi__0_3_9//:winapi",
-        ],
-        "//conditions:default": [],
-    }),
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.miow-0.3.7.bazel
deleted file mode 100644 (file)
index 9587800..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "miow",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.7",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__winapi__0_3_9//:winapi",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.multimap-0.8.3.bazel
deleted file mode 100644 (file)
index 0ebc189..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "multimap",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.3",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel b/rest-ratelimiter/cargo/remote/BUILD.ntapi-0.3.6.bazel
deleted file mode 100644 (file)
index a13be77..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "ntapi_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "user",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.6",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "ntapi",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "user",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.6",
-    # buildifier: leave-alone
-    deps = [
-        ":ntapi_build_script",
-        "@raze__winapi__0_3_9//:winapi",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.num_cpus-1.13.0.bazel
deleted file mode 100644 (file)
index 4d0e718..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "values" with type "example" omitted
-
-rust_library(
-    name = "num_cpus",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.13.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__libc__0_2_98//:libc",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.percent-encoding-2.1.0.bazel
deleted file mode 100644 (file)
index 81d763f..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "percent_encoding",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "2.1.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.petgraph-0.5.1.bazel
deleted file mode 100644 (file)
index c72ddb8..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "dijkstra" with type "bench" omitted
-
-# Unsupported target "iso" with type "bench" omitted
-
-# Unsupported target "matrix_graph" with type "bench" omitted
-
-# Unsupported target "ograph" with type "bench" omitted
-
-# Unsupported target "stable_graph" with type "bench" omitted
-
-# Unsupported target "unionfind" with type "bench" omitted
-
-rust_library(
-    name = "petgraph",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.5.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__fixedbitset__0_2_0//:fixedbitset",
-        "@raze__indexmap__1_7_0//:indexmap",
-    ],
-)
-
-# Unsupported target "graph" with type "test" omitted
-
-# Unsupported target "graphmap" with type "test" omitted
-
-# Unsupported target "iso" with type "test" omitted
-
-# Unsupported target "quickcheck" with type "test" omitted
-
-# Unsupported target "stable_graph" with type "test" omitted
-
-# Unsupported target "unionfind" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel b/rest-ratelimiter/cargo/remote/BUILD.pin-project-1.0.8.bazel
deleted file mode 100644 (file)
index 035e9b6..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "enum-default" with type "example" omitted
-
-# Unsupported target "enum-default-expanded" with type "example" omitted
-
-# Unsupported target "not_unpin" with type "example" omitted
-
-# Unsupported target "not_unpin-expanded" with type "example" omitted
-
-# Unsupported target "pinned_drop" with type "example" omitted
-
-# Unsupported target "pinned_drop-expanded" with type "example" omitted
-
-# Unsupported target "project_replace" with type "example" omitted
-
-# Unsupported target "project_replace-expanded" with type "example" omitted
-
-# Unsupported target "struct-default" with type "example" omitted
-
-# Unsupported target "struct-default-expanded" with type "example" omitted
-
-# Unsupported target "unsafe_unpin" with type "example" omitted
-
-# Unsupported target "unsafe_unpin-expanded" with type "example" omitted
-
-rust_library(
-    name = "pin_project",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__pin_project_internal__1_0_8//:pin_project_internal",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.8",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "cfg" with type "test" omitted
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "drop_order" with type "test" omitted
-
-# Unsupported target "expandtest" with type "test" omitted
-
-# Unsupported target "lint" with type "test" omitted
-
-# Unsupported target "pin_project" with type "test" omitted
-
-# Unsupported target "pinned_drop" with type "test" omitted
-
-# Unsupported target "proper_unpin" with type "test" omitted
-
-# Unsupported target "repr_packed" with type "test" omitted
-
-# Unsupported target "unsafe_unpin" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel b/rest-ratelimiter/cargo/remote/BUILD.pin-project-internal-1.0.8.bazel
deleted file mode 100644 (file)
index 21181e1..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "pin_project_internal",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.8",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.pin-project-lite-0.2.7.bazel
deleted file mode 100644 (file)
index 60775d7..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "pin_project_lite",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.7",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "drop_order" with type "test" omitted
-
-# Unsupported target "expandtest" with type "test" omitted
-
-# Unsupported target "lint" with type "test" omitted
-
-# Unsupported target "proper_unpin" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.pin-utils-0.1.0.bazel
deleted file mode 100644 (file)
index 504844e..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "pin_utils",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "projection" with type "test" omitted
-
-# Unsupported target "stack_pin" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel b/rest-ratelimiter/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel
deleted file mode 100644 (file)
index f41d763..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "ppv_lite86",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "simd",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.10",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel b/rest-ratelimiter/cargo/remote/BUILD.proc-macro2-1.0.28.bazel
deleted file mode 100644 (file)
index 23fd317..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "proc_macro2_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "default",
-        "proc-macro",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.28",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "proc_macro2",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "proc-macro",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.28",
-    # buildifier: leave-alone
-    deps = [
-        ":proc_macro2_build_script",
-        "@raze__unicode_xid__0_2_2//:unicode_xid",
-    ],
-)
-
-# Unsupported target "comments" with type "test" omitted
-
-# Unsupported target "features" with type "test" omitted
-
-# Unsupported target "marker" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
-
-# Unsupported target "test_fmt" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.prost-0.8.0.bazel
deleted file mode 100644 (file)
index 9d55e61..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "varint" with type "bench" omitted
-
-rust_library(
-    name = "prost",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "prost-derive",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__prost_derive__0_8_0//:prost_derive",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.prost-build-0.8.0.bazel
deleted file mode 100644 (file)
index 9303d03..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "prost_build_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.0",
-    visibility = ["//visibility:private"],
-    deps = [
-        "@raze__which__4_2_2//:which",
-    ],
-)
-
-rust_library(
-    name = "prost_build",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.0",
-    # buildifier: leave-alone
-    deps = [
-        ":prost_build_build_script",
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__heck__0_3_3//:heck",
-        "@raze__itertools__0_10_1//:itertools",
-        "@raze__log__0_4_14//:log",
-        "@raze__multimap__0_8_3//:multimap",
-        "@raze__petgraph__0_5_1//:petgraph",
-        "@raze__prost__0_8_0//:prost",
-        "@raze__prost_types__0_8_0//:prost_types",
-        "@raze__tempfile__3_2_0//:tempfile",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.prost-derive-0.8.0.bazel
deleted file mode 100644 (file)
index 86cbcb5..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "prost_derive",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__anyhow__1_0_42//:anyhow",
-        "@raze__itertools__0_10_1//:itertools",
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.prost-types-0.8.0.bazel
deleted file mode 100644 (file)
index 2c4c636..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "prost_types",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__prost__0_8_0//:prost",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel b/rest-ratelimiter/cargo/remote/BUILD.quote-1.0.9.bazel
deleted file mode 100644 (file)
index f2bf472..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "quote",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "proc-macro",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.9",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-    ],
-)
-
-# Unsupported target "compiletest" with type "test" omitted
-
-# Unsupported target "test" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel b/rest-ratelimiter/cargo/remote/BUILD.rand-0.8.4.bazel
deleted file mode 100644 (file)
index 92eb1ab..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "rand",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "alloc",
-        "default",
-        "getrandom",
-        "libc",
-        "rand_chacha",
-        "rand_hc",
-        "small_rng",
-        "std",
-        "std_rng",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.8.4",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__rand_chacha__0_3_1//:rand_chacha",
-        "@raze__rand_core__0_6_3//:rand_core",
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }),
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.rand_chacha-0.3.1.bazel
deleted file mode 100644 (file)
index d827492..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "rand_chacha",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__ppv_lite86__0_2_10//:ppv_lite86",
-        "@raze__rand_core__0_6_3//:rand_core",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.rand_core-0.6.3.bazel
deleted file mode 100644 (file)
index 78acd1c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "rand_core",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "alloc",
-        "getrandom",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.6.3",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__getrandom__0_2_3//:getrandom",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.rand_hc-0.3.1.bazel
deleted file mode 100644 (file)
index b8491c9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "rand_hc",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__rand_core__0_6_3//:rand_core",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel b/rest-ratelimiter/cargo/remote/BUILD.redox_syscall-0.2.10.bazel
deleted file mode 100644 (file)
index 5019fc3..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-alias(
-    name = "redox_syscall",
-    actual = ":syscall",
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-)
-
-rust_library(
-    name = "syscall",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.10",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bitflags__1_2_1//:bitflags",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel
deleted file mode 100644 (file)
index 19a7664..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "remove_dir_all",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.5.3",
-    # buildifier: leave-alone
-    deps = [
-    ] + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__winapi__0_3_9//:winapi",
-        ],
-        "//conditions:default": [],
-    }),
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel b/rest-ratelimiter/cargo/remote/BUILD.slab-0.4.4.bazel
deleted file mode 100644 (file)
index 6bb4cd4..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "slab",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.4",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "serde" with type "test" omitted
-
-# Unsupported target "slab" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.socket2-0.4.1.bazel
deleted file mode 100644 (file)
index 161f223..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "socket2",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.1",
-    # buildifier: leave-alone
-    deps = [
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__winapi__0_3_9//:winapi",
-        ],
-        "//conditions:default": [],
-    }),
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel b/rest-ratelimiter/cargo/remote/BUILD.syn-1.0.74.bazel
deleted file mode 100644 (file)
index 7b3269f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "syn_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "clone-impls",
-        "default",
-        "derive",
-        "extra-traits",
-        "full",
-        "parsing",
-        "printing",
-        "proc-macro",
-        "quote",
-        "visit",
-        "visit-mut",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.74",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-# Unsupported target "file" with type "bench" omitted
-
-# Unsupported target "rust" with type "bench" omitted
-
-rust_library(
-    name = "syn",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "clone-impls",
-        "default",
-        "derive",
-        "extra-traits",
-        "full",
-        "parsing",
-        "printing",
-        "proc-macro",
-        "quote",
-        "visit",
-        "visit-mut",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.0.74",
-    # buildifier: leave-alone
-    deps = [
-        ":syn_build_script",
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__unicode_xid__0_2_2//:unicode_xid",
-    ],
-)
-
-# Unsupported target "test_asyncness" with type "test" omitted
-
-# Unsupported target "test_attribute" with type "test" omitted
-
-# Unsupported target "test_derive_input" with type "test" omitted
-
-# Unsupported target "test_expr" with type "test" omitted
-
-# Unsupported target "test_generics" with type "test" omitted
-
-# Unsupported target "test_grouping" with type "test" omitted
-
-# Unsupported target "test_ident" with type "test" omitted
-
-# Unsupported target "test_item" with type "test" omitted
-
-# Unsupported target "test_iterators" with type "test" omitted
-
-# Unsupported target "test_lit" with type "test" omitted
-
-# Unsupported target "test_meta" with type "test" omitted
-
-# Unsupported target "test_parse_buffer" with type "test" omitted
-
-# Unsupported target "test_parse_stream" with type "test" omitted
-
-# Unsupported target "test_pat" with type "test" omitted
-
-# Unsupported target "test_path" with type "test" omitted
-
-# Unsupported target "test_precedence" with type "test" omitted
-
-# Unsupported target "test_receiver" with type "test" omitted
-
-# Unsupported target "test_round_trip" with type "test" omitted
-
-# Unsupported target "test_shebang" with type "test" omitted
-
-# Unsupported target "test_should_parse" with type "test" omitted
-
-# Unsupported target "test_size" with type "test" omitted
-
-# Unsupported target "test_stmt" with type "test" omitted
-
-# Unsupported target "test_token_trees" with type "test" omitted
-
-# Unsupported target "test_ty" with type "test" omitted
-
-# Unsupported target "test_visibility" with type "test" omitted
-
-# Unsupported target "zzz_stable" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.tempfile-3.2.0.bazel
deleted file mode 100644 (file)
index 43816c9..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tempfile",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "3.2.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__cfg_if__1_0_0//:cfg_if",
-        "@raze__rand__0_8_4//:rand",
-        "@raze__remove_dir_all__0_5_3//:remove_dir_all",
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__winapi__0_3_9//:winapi",
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "namedtempfile" with type "test" omitted
-
-# Unsupported target "spooled" with type "test" omitted
-
-# Unsupported target "tempdir" with type "test" omitted
-
-# Unsupported target "tempfile" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.tokio-1.9.0.bazel
deleted file mode 100644 (file)
index 54377bf..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "tokio_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "bytes",
-        "default",
-        "io-std",
-        "io-util",
-        "libc",
-        "macros",
-        "memchr",
-        "mio",
-        "net",
-        "num_cpus",
-        "rt",
-        "rt-multi-thread",
-        "sync",
-        "time",
-        "tokio-macros",
-        "winapi",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.9.0",
-    visibility = ["//visibility:private"],
-    deps = [
-        "@raze__autocfg__1_0_1//:autocfg",
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-rust_library(
-    name = "tokio",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "bytes",
-        "default",
-        "io-std",
-        "io-util",
-        "libc",
-        "macros",
-        "memchr",
-        "mio",
-        "net",
-        "num_cpus",
-        "rt",
-        "rt-multi-thread",
-        "sync",
-        "time",
-        "tokio-macros",
-        "winapi",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__tokio_macros__1_3_0//:tokio_macros",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.9.0",
-    # buildifier: leave-alone
-    deps = [
-        ":tokio_build_script",
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__memchr__2_4_0//:memchr",
-        "@raze__mio__0_7_13//:mio",
-        "@raze__num_cpus__1_13_0//:num_cpus",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-    ] + selects.with_or({
-        # cfg(unix)
-        (
-            "@rules_rust//rust/platform:aarch64-apple-darwin",
-            "@rules_rust//rust/platform:aarch64-apple-ios",
-            "@rules_rust//rust/platform:aarch64-linux-android",
-            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
-            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
-            "@rules_rust//rust/platform:i686-apple-darwin",
-            "@rules_rust//rust/platform:i686-linux-android",
-            "@rules_rust//rust/platform:i686-unknown-freebsd",
-            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
-            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
-            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
-            "@rules_rust//rust/platform:x86_64-apple-darwin",
-            "@rules_rust//rust/platform:x86_64-apple-ios",
-            "@rules_rust//rust/platform:x86_64-linux-android",
-            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
-            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
-        ): [
-            "@raze__libc__0_2_98//:libc",
-        ],
-        "//conditions:default": [],
-    }) + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__winapi__0_3_9//:winapi",
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "_require_full" with type "test" omitted
-
-# Unsupported target "async_send_sync" with type "test" omitted
-
-# Unsupported target "buffered" with type "test" omitted
-
-# Unsupported target "fs" with type "test" omitted
-
-# Unsupported target "fs_copy" with type "test" omitted
-
-# Unsupported target "fs_dir" with type "test" omitted
-
-# Unsupported target "fs_file" with type "test" omitted
-
-# Unsupported target "fs_file_mocked" with type "test" omitted
-
-# Unsupported target "fs_link" with type "test" omitted
-
-# Unsupported target "io_async_fd" with type "test" omitted
-
-# Unsupported target "io_async_read" with type "test" omitted
-
-# Unsupported target "io_buf_reader" with type "test" omitted
-
-# Unsupported target "io_buf_writer" with type "test" omitted
-
-# Unsupported target "io_chain" with type "test" omitted
-
-# Unsupported target "io_copy" with type "test" omitted
-
-# Unsupported target "io_copy_bidirectional" with type "test" omitted
-
-# Unsupported target "io_driver" with type "test" omitted
-
-# Unsupported target "io_driver_drop" with type "test" omitted
-
-# Unsupported target "io_lines" with type "test" omitted
-
-# Unsupported target "io_mem_stream" with type "test" omitted
-
-# Unsupported target "io_read" with type "test" omitted
-
-# Unsupported target "io_read_buf" with type "test" omitted
-
-# Unsupported target "io_read_exact" with type "test" omitted
-
-# Unsupported target "io_read_line" with type "test" omitted
-
-# Unsupported target "io_read_to_end" with type "test" omitted
-
-# Unsupported target "io_read_to_string" with type "test" omitted
-
-# Unsupported target "io_read_until" with type "test" omitted
-
-# Unsupported target "io_split" with type "test" omitted
-
-# Unsupported target "io_take" with type "test" omitted
-
-# Unsupported target "io_write" with type "test" omitted
-
-# Unsupported target "io_write_all" with type "test" omitted
-
-# Unsupported target "io_write_all_buf" with type "test" omitted
-
-# Unsupported target "io_write_buf" with type "test" omitted
-
-# Unsupported target "io_write_int" with type "test" omitted
-
-# Unsupported target "macros_join" with type "test" omitted
-
-# Unsupported target "macros_pin" with type "test" omitted
-
-# Unsupported target "macros_select" with type "test" omitted
-
-# Unsupported target "macros_test" with type "test" omitted
-
-# Unsupported target "macros_try_join" with type "test" omitted
-
-# Unsupported target "named_pipe" with type "test" omitted
-
-# Unsupported target "net_bind_resource" with type "test" omitted
-
-# Unsupported target "net_lookup_host" with type "test" omitted
-
-# Unsupported target "no_rt" with type "test" omitted
-
-# Unsupported target "process_issue_2174" with type "test" omitted
-
-# Unsupported target "process_issue_42" with type "test" omitted
-
-# Unsupported target "process_kill_on_drop" with type "test" omitted
-
-# Unsupported target "process_smoke" with type "test" omitted
-
-# Unsupported target "rt_basic" with type "test" omitted
-
-# Unsupported target "rt_common" with type "test" omitted
-
-# Unsupported target "rt_handle_block_on" with type "test" omitted
-
-# Unsupported target "rt_threaded" with type "test" omitted
-
-# Unsupported target "signal_ctrl_c" with type "test" omitted
-
-# Unsupported target "signal_drop_recv" with type "test" omitted
-
-# Unsupported target "signal_drop_rt" with type "test" omitted
-
-# Unsupported target "signal_drop_signal" with type "test" omitted
-
-# Unsupported target "signal_multi_rt" with type "test" omitted
-
-# Unsupported target "signal_no_rt" with type "test" omitted
-
-# Unsupported target "signal_notify_both" with type "test" omitted
-
-# Unsupported target "signal_twice" with type "test" omitted
-
-# Unsupported target "signal_usr1" with type "test" omitted
-
-# Unsupported target "sync_barrier" with type "test" omitted
-
-# Unsupported target "sync_broadcast" with type "test" omitted
-
-# Unsupported target "sync_errors" with type "test" omitted
-
-# Unsupported target "sync_mpsc" with type "test" omitted
-
-# Unsupported target "sync_mutex" with type "test" omitted
-
-# Unsupported target "sync_mutex_owned" with type "test" omitted
-
-# Unsupported target "sync_notify" with type "test" omitted
-
-# Unsupported target "sync_once_cell" with type "test" omitted
-
-# Unsupported target "sync_oneshot" with type "test" omitted
-
-# Unsupported target "sync_rwlock" with type "test" omitted
-
-# Unsupported target "sync_semaphore" with type "test" omitted
-
-# Unsupported target "sync_semaphore_owned" with type "test" omitted
-
-# Unsupported target "sync_watch" with type "test" omitted
-
-# Unsupported target "task_abort" with type "test" omitted
-
-# Unsupported target "task_blocking" with type "test" omitted
-
-# Unsupported target "task_builder" with type "test" omitted
-
-# Unsupported target "task_local" with type "test" omitted
-
-# Unsupported target "task_local_set" with type "test" omitted
-
-# Unsupported target "tcp_accept" with type "test" omitted
-
-# Unsupported target "tcp_connect" with type "test" omitted
-
-# Unsupported target "tcp_echo" with type "test" omitted
-
-# Unsupported target "tcp_into_split" with type "test" omitted
-
-# Unsupported target "tcp_into_std" with type "test" omitted
-
-# Unsupported target "tcp_peek" with type "test" omitted
-
-# Unsupported target "tcp_shutdown" with type "test" omitted
-
-# Unsupported target "tcp_socket" with type "test" omitted
-
-# Unsupported target "tcp_split" with type "test" omitted
-
-# Unsupported target "tcp_stream" with type "test" omitted
-
-# Unsupported target "test_clock" with type "test" omitted
-
-# Unsupported target "time_interval" with type "test" omitted
-
-# Unsupported target "time_pause" with type "test" omitted
-
-# Unsupported target "time_rt" with type "test" omitted
-
-# Unsupported target "time_sleep" with type "test" omitted
-
-# Unsupported target "time_timeout" with type "test" omitted
-
-# Unsupported target "udp" with type "test" omitted
-
-# Unsupported target "uds_cred" with type "test" omitted
-
-# Unsupported target "uds_datagram" with type "test" omitted
-
-# Unsupported target "uds_split" with type "test" omitted
-
-# Unsupported target "uds_stream" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.tokio-io-timeout-1.1.1.bazel
deleted file mode 100644 (file)
index 89f294a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tokio_io_timeout",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.1.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__tokio__1_9_0//:tokio",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.tokio-macros-1.3.0.bazel
deleted file mode 100644 (file)
index 8d2b65f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tokio_macros",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.3.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.tokio-stream-0.1.7.bazel
deleted file mode 100644 (file)
index fd59ebf..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tokio_stream",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "time",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.7",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__tokio__1_9_0//:tokio",
-    ],
-)
-
-# Unsupported target "async_send_sync" with type "test" omitted
-
-# Unsupported target "stream_chain" with type "test" omitted
-
-# Unsupported target "stream_collect" with type "test" omitted
-
-# Unsupported target "stream_empty" with type "test" omitted
-
-# Unsupported target "stream_fuse" with type "test" omitted
-
-# Unsupported target "stream_iter" with type "test" omitted
-
-# Unsupported target "stream_merge" with type "test" omitted
-
-# Unsupported target "stream_once" with type "test" omitted
-
-# Unsupported target "stream_pending" with type "test" omitted
-
-# Unsupported target "stream_stream_map" with type "test" omitted
-
-# Unsupported target "stream_timeout" with type "test" omitted
-
-# Unsupported target "time_throttle" with type "test" omitted
-
-# Unsupported target "watch" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel b/rest-ratelimiter/cargo/remote/BUILD.tokio-util-0.6.7.bazel
deleted file mode 100644 (file)
index 0aa4436..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tokio_util",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "codec",
-        "default",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.6.7",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_sink__0_3_16//:futures_sink",
-        "@raze__log__0_4_14//:log",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__tokio__1_9_0//:tokio",
-    ],
-)
-
-# Unsupported target "_require_full" with type "test" omitted
-
-# Unsupported target "codecs" with type "test" omitted
-
-# Unsupported target "context" with type "test" omitted
-
-# Unsupported target "framed" with type "test" omitted
-
-# Unsupported target "framed_read" with type "test" omitted
-
-# Unsupported target "framed_write" with type "test" omitted
-
-# Unsupported target "io_reader_stream" with type "test" omitted
-
-# Unsupported target "io_stream_reader" with type "test" omitted
-
-# Unsupported target "length_delimited" with type "test" omitted
-
-# Unsupported target "mpsc" with type "test" omitted
-
-# Unsupported target "poll_semaphore" with type "test" omitted
-
-# Unsupported target "reusable_box" with type "test" omitted
-
-# Unsupported target "sync_cancellation_token" with type "test" omitted
-
-# Unsupported target "time_delay_queue" with type "test" omitted
-
-# Unsupported target "udp" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.tonic-0.5.0.bazel
deleted file mode 100644 (file)
index 37de912..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "decode" with type "bench" omitted
-
-rust_library(
-    name = "tonic",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-        "@raze__prost__0_8_0//:prost": "prost1",
-    },
-    crate_features = [
-        "async-trait",
-        "codegen",
-        "default",
-        "h2",
-        "hyper",
-        "hyper-timeout",
-        "prost",
-        "prost-derive",
-        "prost1",
-        "tokio",
-        "tower",
-        "tracing-futures",
-        "transport",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__async_trait__0_1_51//:async_trait",
-        "@raze__prost_derive__0_8_0//:prost_derive",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.5.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__async_stream__0_3_2//:async_stream",
-        "@raze__base64__0_13_0//:base64",
-        "@raze__bytes__1_0_1//:bytes",
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_util__0_3_16//:futures_util",
-        "@raze__h2__0_3_3//:h2",
-        "@raze__http__0_2_4//:http",
-        "@raze__http_body__0_4_2//:http_body",
-        "@raze__hyper__0_14_11//:hyper",
-        "@raze__hyper_timeout__0_4_1//:hyper_timeout",
-        "@raze__percent_encoding__2_1_0//:percent_encoding",
-        "@raze__pin_project__1_0_8//:pin_project",
-        "@raze__prost__0_8_0//:prost",
-        "@raze__tokio__1_9_0//:tokio",
-        "@raze__tokio_stream__0_1_7//:tokio_stream",
-        "@raze__tokio_util__0_6_7//:tokio_util",
-        "@raze__tower__0_4_8//:tower",
-        "@raze__tower_layer__0_3_1//:tower_layer",
-        "@raze__tower_service__0_3_1//:tower_service",
-        "@raze__tracing__0_1_26//:tracing",
-        "@raze__tracing_futures__0_2_5//:tracing_futures",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.tonic-build-0.5.1.bazel
deleted file mode 100644 (file)
index ff8966f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tonic_build",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "prost",
-        "prost-build",
-        "rustfmt",
-        "transport",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.5.1",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__prost_build__0_8_0//:prost_build",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel b/rest-ratelimiter/cargo/remote/BUILD.tower-0.4.8.bazel
deleted file mode 100644 (file)
index aa030de..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "tower-balance" with type "example" omitted
-
-rust_library(
-    name = "tower",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "balance",
-        "buffer",
-        "default",
-        "discover",
-        "futures-util",
-        "indexmap",
-        "limit",
-        "load",
-        "log",
-        "make",
-        "rand",
-        "ready-cache",
-        "slab",
-        "timeout",
-        "tokio",
-        "tokio-stream",
-        "tokio-util",
-        "tracing",
-        "util",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.8",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__futures_core__0_3_16//:futures_core",
-        "@raze__futures_util__0_3_16//:futures_util",
-        "@raze__indexmap__1_7_0//:indexmap",
-        "@raze__pin_project__1_0_8//:pin_project",
-        "@raze__rand__0_8_4//:rand",
-        "@raze__slab__0_4_4//:slab",
-        "@raze__tokio__1_9_0//:tokio",
-        "@raze__tokio_stream__0_1_7//:tokio_stream",
-        "@raze__tokio_util__0_6_7//:tokio_util",
-        "@raze__tower_layer__0_3_1//:tower_layer",
-        "@raze__tower_service__0_3_1//:tower_service",
-        "@raze__tracing__0_1_26//:tracing",
-    ],
-)
-
-# Unsupported target "balance" with type "test" omitted
-
-# Unsupported target "buffer" with type "test" omitted
-
-# Unsupported target "builder" with type "test" omitted
-
-# Unsupported target "hedge" with type "test" omitted
-
-# Unsupported target "limit" with type "test" omitted
-
-# Unsupported target "load_shed" with type "test" omitted
-
-# Unsupported target "ready_cache" with type "test" omitted
-
-# Unsupported target "retry" with type "test" omitted
-
-# Unsupported target "spawn_ready" with type "test" omitted
-
-# Unsupported target "steer" with type "test" omitted
-
-# Unsupported target "support" with type "test" omitted
-
-# Unsupported target "util" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.tower-layer-0.3.1.bazel
deleted file mode 100644 (file)
index 6ab92ca..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tower_layer",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel b/rest-ratelimiter/cargo/remote/BUILD.tower-service-0.3.1.bazel
deleted file mode 100644 (file)
index 1ae5d05..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tower_service",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel b/rest-ratelimiter/cargo/remote/BUILD.tracing-0.1.26.bazel
deleted file mode 100644 (file)
index 96b8bc1..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "no_subscriber" with type "bench" omitted
-
-# Unsupported target "subscriber" with type "bench" omitted
-
-rust_library(
-    name = "tracing",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-        "attributes",
-        "default",
-        "log",
-        "std",
-        "tracing-attributes",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    proc_macro_deps = [
-        "@raze__tracing_attributes__0_1_15//:tracing_attributes",
-    ],
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.26",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__cfg_if__1_0_0//:cfg_if",
-        "@raze__log__0_4_14//:log",
-        "@raze__pin_project_lite__0_2_7//:pin_project_lite",
-        "@raze__tracing_core__0_1_18//:tracing_core",
-    ] + selects.with_or({
-        # cfg(target_arch = "wasm32")
-        (
-            "@rules_rust//rust/platform:wasm32-unknown-unknown",
-            "@rules_rust//rust/platform:wasm32-wasi",
-        ): [
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "event" with type "test" omitted
-
-# Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted
-
-# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted
-
-# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted
-
-# Unsupported target "filters_dont_leak" with type "test" omitted
-
-# Unsupported target "macro_imports" with type "test" omitted
-
-# Unsupported target "macros" with type "test" omitted
-
-# Unsupported target "max_level_hint" with type "test" omitted
-
-# Unsupported target "multiple_max_level_hints" with type "test" omitted
-
-# Unsupported target "span" with type "test" omitted
-
-# Unsupported target "subscriber" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel b/rest-ratelimiter/cargo/remote/BUILD.tracing-attributes-0.1.15.bazel
deleted file mode 100644 (file)
index 535f06a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tracing_attributes",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "proc-macro",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.15",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__proc_macro2__1_0_28//:proc_macro2",
-        "@raze__quote__1_0_9//:quote",
-        "@raze__syn__1_0_74//:syn",
-    ],
-)
-
-# Unsupported target "async_fn" with type "test" omitted
-
-# Unsupported target "destructuring" with type "test" omitted
-
-# Unsupported target "err" with type "test" omitted
-
-# Unsupported target "fields" with type "test" omitted
-
-# Unsupported target "instrument" with type "test" omitted
-
-# Unsupported target "levels" with type "test" omitted
-
-# Unsupported target "names" with type "test" omitted
-
-# Unsupported target "support" with type "test" omitted
-
-# Unsupported target "targets" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel b/rest-ratelimiter/cargo/remote/BUILD.tracing-core-0.1.18.bazel
deleted file mode 100644 (file)
index 0d7368c..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tracing_core",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "lazy_static",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.1.18",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__lazy_static__1_4_0//:lazy_static",
-    ],
-)
-
-# Unsupported target "dispatch" with type "test" omitted
-
-# Unsupported target "global_dispatch" with type "test" omitted
-
-# Unsupported target "macros" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel b/rest-ratelimiter/cargo/remote/BUILD.tracing-futures-0.2.5.bazel
deleted file mode 100644 (file)
index af918d1..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "tracing_futures",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "pin-project",
-        "std",
-        "std-future",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.5",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__pin_project__1_0_8//:pin_project",
-        "@raze__tracing__0_1_26//:tracing",
-    ],
-)
-
-# Unsupported target "std_future" with type "test" omitted
-
-# Unsupported target "support" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel b/rest-ratelimiter/cargo/remote/BUILD.try-lock-0.2.3.bazel
deleted file mode 100644 (file)
index f83bfb3..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "try_lock",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.3",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.unicode-segmentation-1.8.0.bazel
deleted file mode 100644 (file)
index 048e0a4..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "graphemes" with type "bench" omitted
-
-# Unsupported target "unicode_words" with type "bench" omitted
-
-# Unsupported target "word_bounds" with type "bench" omitted
-
-rust_library(
-    name = "unicode_segmentation",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "1.8.0",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.unicode-xid-0.2.2.bazel
deleted file mode 100644 (file)
index bd62306..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-
-# Unsupported target "xid" with type "bench" omitted
-
-rust_library(
-    name = "unicode_xid",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.2.2",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
-
-# Unsupported target "exhaustive_tests" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.want-0.3.0.bazel
deleted file mode 100644 (file)
index 490112e..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "throughput" with type "bench" omitted
-
-rust_library(
-    name = "want",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.0",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__log__0_4_14//:log",
-        "@raze__try_lock__0_2_3//:try_lock",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel b/rest-ratelimiter/cargo/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel
deleted file mode 100644 (file)
index 9fb4938..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "wasi",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "default",
-        "std",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.10.2+wasi-snapshot-preview1",
-    # buildifier: leave-alone
-    deps = [
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel b/rest-ratelimiter/cargo/remote/BUILD.which-4.2.2.bazel
deleted file mode 100644 (file)
index 0c32895..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
-    name = "which",
-    srcs = glob(["**/*.rs"]),
-    aliases = {
-    },
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2018",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "4.2.2",
-    # buildifier: leave-alone
-    deps = [
-        "@raze__either__1_6_1//:either",
-        "@raze__libc__0_2_98//:libc",
-    ] + selects.with_or({
-        # cfg(windows)
-        (
-            "@rules_rust//rust/platform:i686-pc-windows-msvc",
-            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
-        ): [
-            "@raze__lazy_static__1_4_0//:lazy_static",
-        ],
-        "//conditions:default": [],
-    }),
-)
-
-# Unsupported target "basic" with type "test" omitted
diff --git a/rest-ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel b/rest-ratelimiter/cargo/remote/BUILD.winapi-0.3.9.bazel
deleted file mode 100644 (file)
index 2decd49..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "winapi_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-        "cfg",
-        "errhandlingapi",
-        "evntrace",
-        "fileapi",
-        "handleapi",
-        "in6addr",
-        "inaddr",
-        "ioapiset",
-        "minwinbase",
-        "minwindef",
-        "mstcpip",
-        "mswsock",
-        "namedpipeapi",
-        "ntdef",
-        "ntsecapi",
-        "std",
-        "synchapi",
-        "winbase",
-        "windef",
-        "winerror",
-        "winioctl",
-        "winsock2",
-        "ws2def",
-        "ws2ipdef",
-        "ws2tcpip",
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.9",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "winapi",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-        "cfg",
-        "errhandlingapi",
-        "evntrace",
-        "fileapi",
-        "handleapi",
-        "in6addr",
-        "inaddr",
-        "ioapiset",
-        "minwinbase",
-        "minwindef",
-        "mstcpip",
-        "mswsock",
-        "namedpipeapi",
-        "ntdef",
-        "ntsecapi",
-        "std",
-        "synchapi",
-        "winbase",
-        "windef",
-        "winerror",
-        "winioctl",
-        "winsock2",
-        "ws2def",
-        "ws2ipdef",
-        "ws2tcpip",
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.3.9",
-    # buildifier: leave-alone
-    deps = [
-        ":winapi_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644 (file)
index a8a1bb9..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "winapi_i686_pc_windows_gnu_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.0",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "winapi_i686_pc_windows_gnu",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.0",
-    # buildifier: leave-alone
-    deps = [
-        ":winapi_i686_pc_windows_gnu_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/rest-ratelimiter/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644 (file)
index 7f6c146..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
-    "@rules_rust//rust:rust.bzl",
-    "rust_binary",
-    "rust_library",
-    "rust_test",
-)
-
-package(default_visibility = [
-    # Public for visibility by "@raze__crate__version//" targets.
-    #
-    # Prefer access through "//rest-ratelimiter/cargo", which limits external
-    # visibility to explicit Cargo.toml dependencies.
-    "//visibility:public",
-])
-
-licenses([
-    "notice",  # MIT from expression "MIT OR Apache-2.0"
-])
-
-# Generated Targets
-# buildifier: disable=out-of-order-load
-# buildifier: disable=load-on-top
-load(
-    "@rules_rust//cargo:cargo_build_script.bzl",
-    "cargo_build_script",
-)
-
-cargo_build_script(
-    name = "winapi_x86_64_pc_windows_gnu_build_script",
-    srcs = glob(["**/*.rs"]),
-    build_script_env = {
-    },
-    crate_features = [
-    ],
-    crate_root = "build.rs",
-    data = glob(["**"]),
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.0",
-    visibility = ["//visibility:private"],
-    deps = [
-    ],
-)
-
-rust_library(
-    name = "winapi_x86_64_pc_windows_gnu",
-    srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
-    crate_root = "src/lib.rs",
-    crate_type = "lib",
-    data = [],
-    edition = "2015",
-    rustc_flags = [
-        "--cap-lints=allow",
-    ],
-    tags = [
-        "cargo-raze",
-        "manual",
-    ],
-    version = "0.4.0",
-    # buildifier: leave-alone
-    deps = [
-        ":winapi_x86_64_pc_windows_gnu_build_script",
-    ],
-)
diff --git a/rest-ratelimiter/proto/BUILD.bazel b/rest-ratelimiter/proto/BUILD.bazel
deleted file mode 100644 (file)
index f6bd4ce..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-load("@rules_proto//proto:defs.bzl", "proto_library")
-load("@io_bazel_rules_go//go:def.bzl", "go_library")
-load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
-
-proto_library(
-    name = "nova_ratelimit_v1_proto",
-    srcs = ["nova.ratelimit.v1.proto"],
-    visibility = ["//visibility:public"],
-)
-
-go_proto_library(
-    name = "nova_ratelimit_v1_go_proto",
-    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
-    importpath = "github.com/discordnova/nova/rest-ratelimiter/proto",
-    proto = ":nova_ratelimit_v1_proto",
-    visibility = ["//visibility:public"],
-)
-
-go_library(
-    name = "proto",
-    embed = [":nova_ratelimit_v1_go_proto"],
-    importpath = "github.com/discordnova/nova/rest-ratelimiter/proto",
-    visibility = ["//visibility:public"],
-)
diff --git a/rest-ratelimiter/proto/nova.ratelimit.v1.proto b/rest-ratelimiter/proto/nova.ratelimit.v1.proto
deleted file mode 100644 (file)
index b9a0d36..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// How does this works ?\r
-// Every request, the proxy (envoy) requests the rate-limiting service if\r
-// the requested route bucket or global rate-limit is hit.\r
-\r
-syntax = "proto3";\r
-package nova.ratelimit.v1;\r
-\r
-// The reponse of a RatelimitRequest, it includes the status of the reponse and\r
-// the bucket informations.\r
-message RatelimitResponse {\r
-    enum Status {\r
-        OK                  = 0;\r
-        RATELIMITED         = 1;\r
-        GLOBAL_RATELIMITED  = 2;\r
-    }\r
-    Status status = 1;\r
-    bool   updateAsked = 2;\r
-}\r
-\r
-// Requests the ratelimit status of a route request, it also takes the \r
-// indentifiables of the request in question.\r
-message RatelimitRequest {\r
-    string          routeName       = 1;\r
-    repeated string indentifiables  = 2;\r
-}\r
-\r
-// Used when "updateAsked" is sed to true\r
-// this means the bucket is unknown to the ratelimit server.\r
-message CreateBucketData {\r
-    RatelimitRequest request    = 1;\r
-    int32 limit                 = 2;\r
-    int32 remaining             = 3;\r
-    int32 reset                 = 4;\r
-}\r
-\r
-service RatelimitService {\r
-    rpc GetRatelimitStatus (RatelimitRequest)   returns (RatelimitResponse);\r
-    rpc CreateBucket       (CreateBucketData)   returns (CreateBucketData);\r
-}
\ No newline at end of file
diff --git a/rest-ratelimiter/src/main.rs b/rest-ratelimiter/src/main.rs
deleted file mode 100644 (file)
index fbedd92..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-fn main() {
-    println!("Hello, world!");
-}
\ No newline at end of file
diff --git a/webhook/BUILD.bazel b/webhook/BUILD.bazel
new file mode 100644 (file)
index 0000000..2bc1b99
--- /dev/null
@@ -0,0 +1,21 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
+
+go_library(
+    name = "webhook_lib",
+    srcs = ["main.go"],
+    importpath = "github.com/discordnova/nova/webhook",
+    visibility = ["//visibility:private"],
+)
+
+go_binary(
+    name = "webhook",
+    embed = [":webhook_lib"],
+    visibility = ["//visibility:public"],
+)
+
+pkg_tar(
+    name = "webhook_pkg",
+    srcs = [":webhook"],
+    mode = "0755",
+    visibility = ["//visibility:public"],
+)
\ No newline at end of file
diff --git a/webhook/go.mod b/webhook/go.mod
new file mode 100644 (file)
index 0000000..bb3c79d
--- /dev/null
@@ -0,0 +1,3 @@
+module github.com/discordnova/nova/webhook
+
+go 1.16
diff --git a/webhook/main.go b/webhook/main.go
new file mode 100644 (file)
index 0000000..750d231
--- /dev/null
@@ -0,0 +1,8 @@
+package main\r
+\r
+import "fmt"\r
+\r
+func main() {\r
+       fmt.Println("Helle world, webhook!")\r
+       fmt.Println("In the future, this will be used to receive http based events")\r
+}\r