mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-01-18 14:37:35 +01:00
No description
GitOrigin-RevId: 55a38effd769ab15a3e0893cac84754ffb1de5a0
This commit is contained in:
parent
c04df9341a
commit
16a151ae19
@ -14,14 +14,14 @@ config_setting(
|
||||
platform(
|
||||
name = "linux_x86",
|
||||
constraint_values = [
|
||||
"@io_bazel_rules_rust//rust/platform:linux",
|
||||
"@rules_rust//rust/platform:linux",
|
||||
"@bazel_tools//platforms:linux",
|
||||
"@bazel_tools//platforms:x86_64",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
load("@io_bazel_rules_rust//proto:toolchain.bzl", "rust_proto_toolchain")
|
||||
load("@rules_rust//proto:toolchain.bzl", "rust_proto_toolchain")
|
||||
|
||||
rust_proto_toolchain(
|
||||
name = "proto-toolchain-impl",
|
||||
@ -33,5 +33,5 @@ rust_proto_toolchain(
|
||||
toolchain(
|
||||
name = "proto-toolchain",
|
||||
toolchain = ":proto-toolchain-impl",
|
||||
toolchain_type = "@io_bazel_rules_rust//proto:toolchain",
|
||||
toolchain_type = "@rules_rust//proto:toolchain",
|
||||
)
|
||||
|
70
WORKSPACE
70
WORKSPACE
@ -7,80 +7,55 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
http_archive(
|
||||
name = "bazel_skylib",
|
||||
sha256 = "11b0e65ec07113b2ea81be554c7471bb80fc5766aba6239c91d071602c46d50f",
|
||||
strip_prefix = "bazel-skylib-dc080e95161964a1ff841bfd0b871a1123c027a8",
|
||||
sha256 = "ebdf850bfef28d923a2cc67ddca86355a449b5e4f38b0a70e584dc24e5984aa6",
|
||||
strip_prefix = "bazel-skylib-f80bc733d4b9f83d427ce3442be2e07427b2cc8d",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/bazel-skylib/archive/dc080e95161964a1ff841bfd0b871a1123c027a8.tar.gz",
|
||||
"https://github.com/bazelbuild/bazel-skylib/archive/f80bc733d4b9f83d427ce3442be2e07427b2cc8d.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
http_archive(
|
||||
name = "build_bazel_rules_nodejs",
|
||||
sha256 = "6142e9586162b179fdd570a55e50d1332e7d9c030efd853453438d607569721d",
|
||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.0.0/rules_nodejs-3.0.0.tar.gz"],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_github_grpc_grpc",
|
||||
sha256 = "f046d4cb4d60d4f2a2087e9d46c7ec0c523cd54ebf68eda6272de4ce65e20ac7",
|
||||
strip_prefix = "grpc-ae7f520358d7145a7484db693376fdebbd72662d",
|
||||
sha256 = "dd7ea7efda7655c218ca707f55c3e1b9c68055a70c31a98f264b3445bc8f4cb1",
|
||||
urls = [
|
||||
"https://github.com/grpc/grpc/archive/ae7f520358d7145a7484db693376fdebbd72662d.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_google_protobuf",
|
||||
sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
|
||||
strip_prefix = "protobuf-3.14.0",
|
||||
urls = [
|
||||
"https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_docker",
|
||||
sha256 = "df3ef4a4b53b0145c9751c1e2a840f900e322e7798612a46257abe285d046dc5",
|
||||
strip_prefix = "rules_docker-7da0de3d094aae5601c45ae0855b64fb2771cd72",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/rules_docker/archive/7da0de3d094aae5601c45ae0855b64fb2771cd72.zip",
|
||||
"https://github.com/bazelbuild/rules_nodejs/releases/download/3.2.3/rules_nodejs-3.2.3.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_k8s",
|
||||
sha256 = "95addfd2b7b07b5a4e75663d15aa57dc271f7b831ec404109322288e1b6bf126",
|
||||
strip_prefix = "rules_k8s-9f9886c7252d66bb2e2206842b149a6ceebe6fe5",
|
||||
sha256 = "c1c5a692ec994e99e9e7e77ae693086074d6dedfe72e6930efbcc66d30264032",
|
||||
strip_prefix = "rules_k8s-f1c6399cdd691b7aca90073398e8f690ec8992c6",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/rules_k8s/archive/9f9886c7252d66bb2e2206842b149a6ceebe6fe5.zip",
|
||||
"https://github.com/bazelbuild/rules_k8s/archive/f1c6399cdd691b7aca90073398e8f690ec8992c6.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_rust",
|
||||
sha256 = "50a772198877e21a61823fa292d28539f8bc99d72463e55b5b09942394ec370e",
|
||||
strip_prefix = "rules_rust-9a8ef691b8e8f682d767189c38339cbee16d0a16",
|
||||
name = "rules_rust",
|
||||
sha256 = "d10dd5581f66ee169071ee06d52c52c8c7ca7467ac6266e301c0820d289b0f0b",
|
||||
strip_prefix = "rules_rust-336e1934b07211fb8736c19749919ef94df4df68",
|
||||
urls = [
|
||||
# Master branch as of 2020-10-16
|
||||
"https://github.com/bazelbuild/rules_rust/archive/9a8ef691b8e8f682d767189c38339cbee16d0a16.tar.gz",
|
||||
"https://github.com/bazelbuild/rules_rust/archive/336e1934b07211fb8736c19749919ef94df4df68.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "rules_jvm_external",
|
||||
sha256 = "d85951a92c0908c80bd8551002d66cb23c3434409c814179c0ff026b53544dab",
|
||||
sha256 = "2a547d8d5e99703de8de54b6188ff0ed470b3bfc88e346972d1c8865e2688391",
|
||||
strip_prefix = "rules_jvm_external-3.3",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/rules_jvm_external/archive/3.3.zip",
|
||||
"https://github.com/bazelbuild/rules_jvm_external/archive/3.3.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "rules_pkg",
|
||||
sha256 = "0a33148c4957e666a29443f75b2c0db1fe3e0baf7256742fc47a35731f7a1d2e",
|
||||
sha256 = "b9a5bdfe4f8ce0dedf9387eadd9f4844c383118b3f4cc27b586626b7998141c3",
|
||||
strip_prefix = "rules_pkg-4b0b9f4679484f107f750a60190ff5ec6b164a5f/pkg",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/rules_pkg/archive/4b0b9f4679484f107f750a60190ff5ec6b164a5f.zip",
|
||||
"https://github.com/bazelbuild/rules_pkg/archive/4b0b9f4679484f107f750a60190ff5ec6b164a5f.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
@ -104,10 +79,9 @@ http_archive(
|
||||
|
||||
http_archive(
|
||||
name = "subpar",
|
||||
sha256 = "e6e4332bf9af36c4165ad6cc7b2c76288e9f156eba35dc95b739e58c46f30a50",
|
||||
strip_prefix = "subpar-9fae6b63cfeace2e0fb93c9c1ebdc28d3991b16f",
|
||||
urls = [
|
||||
"https://github.com/google/subpar/archive/9fae6b63cfeace2e0fb93c9c1ebdc28d3991b16f.zip",
|
||||
"https://github.com/google/subpar/archive/9fae6b63cfeace2e0fb93c9c1ebdc28d3991b16f.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
@ -129,9 +103,9 @@ maven_fetch_remote_artifacts()
|
||||
|
||||
# Rust
|
||||
|
||||
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repository_set")
|
||||
load("@rules_rust//rust:repositories.bzl", "rust_repository_set")
|
||||
|
||||
rust_version = "1.49.0"
|
||||
rust_version = "1.51.0"
|
||||
|
||||
rustfmt_version = "1.4.20"
|
||||
|
||||
@ -153,10 +127,6 @@ rust_repository_set(
|
||||
version = rust_version,
|
||||
)
|
||||
|
||||
load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version")
|
||||
|
||||
bazel_version(name = "bazel_version")
|
||||
|
||||
load("//rules/rust:crates.bzl", "raze_fetch_remote_crates")
|
||||
|
||||
raze_fetch_remote_crates()
|
||||
|
@ -11,8 +11,8 @@ def images_install():
|
||||
|
||||
container_pull(
|
||||
name = "ubuntu",
|
||||
digest = "sha256:c65d2b75a62135c95e2c595822af9b6f6cf0f32c11bcd4a38368d7b7c36b66f5",
|
||||
registry = "index.docker.io",
|
||||
repository = "library/ubuntu",
|
||||
digest = "sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241",
|
||||
tag = "20.04",
|
||||
)
|
||||
|
@ -1,11 +1,11 @@
|
||||
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")
|
||||
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
|
||||
load("@io_bazel_rules_docker//docker/package_managers:download_pkgs.bzl", "download_pkgs")
|
||||
load("@io_bazel_rules_docker//docker/package_managers:install_pkgs.bzl", "install_pkgs")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
download_pkgs(
|
||||
name = "download-base-python-image",
|
||||
name = "download-base-production-image",
|
||||
image_tar = "//images:base-image.tar",
|
||||
packages = [
|
||||
"bash",
|
||||
@ -15,13 +15,34 @@ download_pkgs(
|
||||
"libgoogle-perftools-dev",
|
||||
"libprotobuf17",
|
||||
"libssl1.1",
|
||||
],
|
||||
)
|
||||
|
||||
install_pkgs(
|
||||
name = "install-base-production-image",
|
||||
image_tar = "//images:base-image.tar",
|
||||
installables_tar = ":download-base-production-image.tar",
|
||||
output_image_name = "base-production-image",
|
||||
)
|
||||
|
||||
container_image(
|
||||
name = "base-production-image",
|
||||
base = ":install-base-production-image",
|
||||
env = {"LANG": "C.UTF-8"},
|
||||
)
|
||||
|
||||
download_pkgs(
|
||||
name = "download-base-python-image",
|
||||
image_tar = ":base-production-image.tar",
|
||||
packages = [
|
||||
"python3.9",
|
||||
"python3.9-distutils",
|
||||
],
|
||||
)
|
||||
|
||||
install_pkgs(
|
||||
name = "install-base-python-image",
|
||||
image_tar = "//images:base-image.tar",
|
||||
image_tar = ":base-production-image.tar",
|
||||
installables_tar = ":download-base-python-image.tar",
|
||||
installation_cleanup_commands = "rm -rf /var/lib/apt/lists/*",
|
||||
output_image_name = "installed-base-python-image",
|
||||
@ -31,7 +52,6 @@ container_image(
|
||||
name = "base-python-image",
|
||||
base = ":install-base-python-image",
|
||||
entrypoint = ["/usr/bin/python3.9"],
|
||||
env = {"LANG": "C.UTF-8"},
|
||||
symlinks = {
|
||||
"/usr/bin/python": "/usr/bin/python3.9",
|
||||
"/usr/bin/python3": "/usr/bin/python3.9",
|
||||
@ -41,20 +61,15 @@ container_image(
|
||||
|
||||
download_pkgs(
|
||||
name = "download-base-nodejs-image",
|
||||
image_tar = "//images:base-image.tar",
|
||||
image_tar = ":base-production-image.tar",
|
||||
packages = [
|
||||
"bash",
|
||||
"ca-certificates",
|
||||
"libgoogle-perftools-dev",
|
||||
"libprotobuf17",
|
||||
"libssl1.1",
|
||||
"nodejs",
|
||||
],
|
||||
)
|
||||
|
||||
install_pkgs(
|
||||
name = "install-base-nodejs-image",
|
||||
image_tar = "//images:base-image.tar",
|
||||
image_tar = ":base-production-image.tar",
|
||||
installables_tar = ":download-base-nodejs-image.tar",
|
||||
installation_cleanup_commands = "rm -rf /var/lib/apt/lists/*",
|
||||
output_image_name = "installed-base-nodejs-image",
|
||||
@ -64,7 +79,5 @@ container_image(
|
||||
name = "base-nodejs-image",
|
||||
base = ":install-base-nodejs-image",
|
||||
entrypoint = ["/usr/bin/nodejs"],
|
||||
env = {"LANG": "C.UTF-8"},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
@ -11,7 +11,6 @@ py_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
requirement("jinja2"),
|
||||
requirement("orjson"),
|
||||
requirement("pyyaml"),
|
||||
requirement("izihawa_utils"),
|
||||
],
|
||||
|
@ -1,8 +1,8 @@
|
||||
import json
|
||||
import os
|
||||
import os.path
|
||||
from types import ModuleType
|
||||
|
||||
import orjson as json
|
||||
import yaml
|
||||
from izihawa_utils.common import smart_merge_dicts
|
||||
from jinja2 import Template
|
||||
|
@ -18,7 +18,6 @@ py_library(
|
||||
requirement("aiocrossref"),
|
||||
requirement("aiolibgen"),
|
||||
"//library/aiopostgres",
|
||||
"//nexus/cognitron/schema",
|
||||
"//nexus/models/proto:models_proto_py",
|
||||
"//nexus/nlptools",
|
||||
requirement("aiosumma"),
|
||||
|
@ -1,5 +1,5 @@
|
||||
from aiosumma import SummaHttpClient
|
||||
from nexus.cognitron.schema import coders
|
||||
from izihawa_utils.pb_to_json import MessageToDict
|
||||
from nexus.models.proto.operation_pb2 import \
|
||||
DocumentOperation as DocumentOperationPb
|
||||
|
||||
@ -19,8 +19,13 @@ class SendDocumentOperationUpdateDocumentPbToSummaAction(BaseAction):
|
||||
original_id = getattr(document, 'original_id', None)
|
||||
if not update_document_pb.reindex or original_id:
|
||||
return document_operation_pb
|
||||
document_tantivy = coders[schema].encode_document(document)
|
||||
await self.summa_client.put_document(schema, document_tantivy)
|
||||
casted_document = MessageToDict(document, preserving_proto_field_name=True)
|
||||
# ToDo: Required to rework checking for extra fields in document
|
||||
# ToDo: It is needed to go to actual schema and load real fields and then check against them
|
||||
casted_document.pop('is_deleted', None)
|
||||
casted_document.pop('meta_language', None)
|
||||
casted_document.pop('type', None)
|
||||
await self.summa_client.put_document(schema, casted_document)
|
||||
if update_document_pb.commit:
|
||||
await self.summa_client.commit(schema)
|
||||
return document_operation_pb
|
||||
|
@ -1,24 +1,4 @@
|
||||
load("@pip_modules//:requirements.bzl", "requirement")
|
||||
load("@rules_python//python:defs.bzl", "py_library")
|
||||
|
||||
exports_files([
|
||||
"scimag.yaml",
|
||||
"scitech.yaml",
|
||||
])
|
||||
|
||||
py_library(
|
||||
name = "schema",
|
||||
srcs = glob([
|
||||
"**/*.py",
|
||||
]),
|
||||
data = [
|
||||
"scimag.yaml",
|
||||
"scitech.yaml",
|
||||
],
|
||||
srcs_version = "PY3",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
requirement("tantipy"),
|
||||
requirement("pyyaml"),
|
||||
],
|
||||
)
|
||||
|
@ -1,7 +0,0 @@
|
||||
from .scimag import scimag_coder
|
||||
from .scitech import scitech_coder
|
||||
|
||||
coders = {
|
||||
'scimag': scimag_coder,
|
||||
'scitech': scitech_coder,
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
import yaml
|
||||
from tantipy import TantivyCoder
|
||||
|
||||
with open('nexus/cognitron/schema/scimag.yaml') as file:
|
||||
scimag_coder = TantivyCoder(yaml.safe_load(file.read()))
|
@ -1,5 +0,0 @@
|
||||
import yaml
|
||||
from tantipy import TantivyCoder
|
||||
|
||||
with open('nexus/cognitron/schema/scitech.yaml') as file:
|
||||
scitech_coder = TantivyCoder(yaml.safe_load(file.read()))
|
@ -23,7 +23,6 @@ jobs:
|
||||
kwargs:
|
||||
kafka_hosts:
|
||||
- kafka-0.example.net
|
||||
- kafka-1.example.net
|
||||
topic_name: operations_binary
|
||||
libgen-api:
|
||||
class: nexus.ingest.jobs.LibgenApiJob
|
||||
@ -39,7 +38,6 @@ jobs:
|
||||
kwargs:
|
||||
kafka_hosts:
|
||||
- kafka-0.example.net
|
||||
- kafka-1.example.net
|
||||
topic_name: operations_binary
|
||||
log_path: '/var/log/nexus-ingest/{{ ENV_TYPE }}'
|
||||
```
|
@ -1,5 +1,5 @@
|
||||
load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_proto_library")
|
||||
load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library")
|
||||
load("@rules_rust//proto:proto.bzl", "rust_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
|
||||
proto_library(
|
||||
|
@ -28,7 +28,6 @@ py3_image(
|
||||
"//library/configurator",
|
||||
"//library/logging",
|
||||
"//nexus/actions",
|
||||
"//nexus/cognitron/schema",
|
||||
"//nexus/models/proto:models_proto_py",
|
||||
requirement("aiosumma"),
|
||||
requirement("izihawa_utils"),
|
||||
|
@ -11,8 +11,7 @@ You have to write your own configs taking example below into account.
|
||||
log_path: '/var/log/nexus-pipe/{{ ENV_TYPE }}'
|
||||
pipe:
|
||||
brokers: |
|
||||
kafka-0.example.net,
|
||||
kafka-1.example.net
|
||||
kafka-0.example.net
|
||||
schema:
|
||||
- consumers:
|
||||
- class: nexus.pipe.consumers.CrossReferencesBulkConsumer
|
||||
@ -24,8 +23,7 @@ pipe:
|
||||
- class: nexus.pipe.processors.CrossReferencesProcessor
|
||||
kwargs:
|
||||
brokers: |
|
||||
kafka-0.example.net,
|
||||
kafka-1.example.net
|
||||
kafka-0.example.net
|
||||
database:
|
||||
database: nexus
|
||||
host: postgres.example.net
|
||||
@ -63,8 +61,7 @@ pipe:
|
||||
- class: nexus.actions.SendDocumentOperationUpdateDocumentScimagPbReferencesToKafkaAction
|
||||
kwargs:
|
||||
brokers: |
|
||||
kafka-0.example.net,
|
||||
kafka-1.example.net
|
||||
kafka-0.example.net
|
||||
topic: cross_references
|
||||
- class: nexus.actions.SendDocumentOperationUpdateDocumentPbToSummaAction
|
||||
kwargs:
|
||||
|
@ -50,12 +50,17 @@ class BaseConsumer(AioRootThing):
|
||||
|
||||
async def start(self):
|
||||
logging.getLogger('statbox').info({
|
||||
'action': 'started',
|
||||
'action': 'starting',
|
||||
'group_id': self.group_id,
|
||||
'topic_names': self.topic_names,
|
||||
})
|
||||
self.consumer = self.create_consumer()
|
||||
await self.consumer.start()
|
||||
logging.getLogger('statbox').info({
|
||||
'action': 'started',
|
||||
'group_id': self.group_id,
|
||||
'topic_names': self.topic_names,
|
||||
})
|
||||
try:
|
||||
async for msg in self.consumer:
|
||||
preprocessed_msg = self.preprocess(msg)
|
||||
@ -108,12 +113,17 @@ class BaseBulkConsumer(BaseConsumer):
|
||||
|
||||
async def start(self):
|
||||
logging.getLogger('statbox').info({
|
||||
'action': 'started',
|
||||
'action': 'starting',
|
||||
'group_id': self.group_id,
|
||||
'topic_names': self.topic_names,
|
||||
})
|
||||
self.consumer = self.create_consumer()
|
||||
await self.consumer.start()
|
||||
logging.getLogger('statbox').info({
|
||||
'action': 'started',
|
||||
'group_id': self.group_id,
|
||||
'topic_names': self.topic_names,
|
||||
})
|
||||
while self.started:
|
||||
try:
|
||||
result = await self.consumer.getmany(timeout_ms=self.timeout * 1000, max_records=self.bulk_size)
|
||||
|
108
nexus/pipe/processors/telegram_messages_processor.py
Normal file
108
nexus/pipe/processors/telegram_messages_processor.py
Normal file
@ -0,0 +1,108 @@
|
||||
import time
|
||||
from typing import Iterable
|
||||
|
||||
from library.nlptools.language_detect import detect_language
|
||||
from library.nlptools.utils import (
|
||||
clean_text,
|
||||
replace_telegram_link,
|
||||
)
|
||||
from pypika import (
|
||||
PostgreSQLQuery,
|
||||
Table,
|
||||
)
|
||||
|
||||
from .base import BaseDatabaseProcessor
|
||||
|
||||
|
||||
class TelegramMessagesProcessor(BaseDatabaseProcessor):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.telegram_messages_table = Table('telegram_messages')
|
||||
|
||||
def generate_delete_sql(self, telegram_message_pb):
|
||||
return (
|
||||
PostgreSQLQuery
|
||||
.from_('telegram_messages')
|
||||
.where(self.telegram_messages_table.id == telegram_message_pb.id)
|
||||
.delete()
|
||||
.get_sql()
|
||||
)
|
||||
|
||||
def generate_insert_sql(self, telegram_message_pb):
|
||||
return (
|
||||
PostgreSQLQuery
|
||||
.into('telegram_messages')
|
||||
.columns(
|
||||
'channel_id',
|
||||
'message_id',
|
||||
'is_deleted',
|
||||
'text',
|
||||
'clean_text',
|
||||
'lang',
|
||||
'message_type',
|
||||
'unixtime',
|
||||
'views'
|
||||
)
|
||||
.insert(
|
||||
telegram_message_pb.channel_id,
|
||||
telegram_message_pb.message_id,
|
||||
telegram_message_pb.is_deleted,
|
||||
telegram_message_pb.text,
|
||||
telegram_message_pb.clean_text,
|
||||
telegram_message_pb.language,
|
||||
telegram_message_pb.message_type,
|
||||
telegram_message_pb.unixtime,
|
||||
telegram_message_pb.views,
|
||||
)
|
||||
.on_conflict(self.telegram_messages_table.channel_id, self.telegram_messages_table.message_id)
|
||||
.do_update(self.telegram_messages_table.is_deleted, telegram_message_pb.is_deleted)
|
||||
.do_update(self.telegram_messages_table.text, telegram_message_pb.text)
|
||||
.do_update(self.telegram_messages_table.clean_text, telegram_message_pb.clean_text)
|
||||
.do_update(self.telegram_messages_table.lang, telegram_message_pb.language)
|
||||
.do_update(self.telegram_messages_table.message_type, telegram_message_pb.message_type)
|
||||
.do_update(self.telegram_messages_table.views, telegram_message_pb.views)
|
||||
.returning(self.telegram_messages_table.id)
|
||||
.get_sql()
|
||||
)
|
||||
|
||||
async def process_bulk(self, messages: Iterable):
|
||||
return
|
||||
insert_sqls = []
|
||||
delete_sqls = []
|
||||
documents_container_pb = DocumentsContainerPb()
|
||||
update_document_operations_pb = []
|
||||
|
||||
current_time = int(time.time())
|
||||
|
||||
for document_operation_pb in messages:
|
||||
if document_operation_pb.WhichOneof('operation') == 'update_document':
|
||||
document_pb = document_operation_pb.update_document.document
|
||||
telegram_message_pb = document_pb.telegram_message
|
||||
|
||||
if telegram_message_pb.is_deleted and telegram_message_pb.id:
|
||||
delete_sqls.append(self.generate_delete_sql(telegram_message_pb))
|
||||
documents_container_pb.documents.append(document_pb)
|
||||
else:
|
||||
telegram_message_pb.clean_text = clean_text(replace_telegram_link(telegram_message_pb.text))
|
||||
telegram_message_pb.language = detect_language(telegram_message_pb.clean_text) or ''
|
||||
|
||||
insert_sqls.append(self.generate_insert_sql(telegram_message_pb))
|
||||
update_document_operations_pb.append(document_operation_pb)
|
||||
|
||||
if insert_sqls:
|
||||
for insert_sql, update_document_operation_pb in zip(insert_sqls, update_document_operations_pb):
|
||||
result = await self.pool_holder.execute(insert_sql, fetch=True)
|
||||
|
||||
document_pb = update_document_operation_pb.update_document.document
|
||||
telegram_message_pb = document_pb.telegram_message
|
||||
|
||||
telegram_message_pb.id = result[0][0]
|
||||
if update_document_operation_pb.update_document.reindex:
|
||||
if (
|
||||
len(telegram_message_pb.clean_text) > 120
|
||||
and telegram_message_pb.unixtime > current_time - 60 * 24 * 60 * 60
|
||||
and telegram_message_pb.message_type == TelegramMessagePb.Type.TEXTUAL
|
||||
):
|
||||
documents_container_pb.documents.append(document_pb)
|
||||
if delete_sqls:
|
||||
await self.pool_holder.execute(';'.join(delete_sqls))
|
@ -12,7 +12,6 @@ py_library(
|
||||
requirement("brotli"),
|
||||
requirement("cchardet"),
|
||||
requirement("orjson"),
|
||||
requirement("pdfminer.six"),
|
||||
requirement("python-socks"),
|
||||
requirement("tenacity"),
|
||||
requirement("aiokit"),
|
||||
|
@ -1,9 +1,2 @@
|
||||
from pdfminer.high_level import extract_text
|
||||
|
||||
|
||||
def is_pdf(path_to_file):
|
||||
try:
|
||||
extract_text(path_to_file, maxpages=1)
|
||||
return True
|
||||
except Exception:
|
||||
return False
|
||||
def is_pdf(f):
|
||||
return len(f) > 4 and f[:4] == b'%PDF'
|
||||
|
@ -94,8 +94,8 @@ class DoiValidator(BaseValidator):
|
||||
def validate(self):
|
||||
if self.md5 and self.md5.lower() == self.v.hexdigest().lower():
|
||||
return
|
||||
elif not is_pdf(self.file):
|
||||
raise BadResponseError(doi=self.doi, file=str(self.file[:1000]))
|
||||
elif not is_pdf(f=self.file):
|
||||
raise BadResponseError(doi=self.doi, file=str(self.file[:100]))
|
||||
|
||||
|
||||
class BaseSource(AioThing):
|
||||
@ -173,7 +173,11 @@ class BaseSource(AioThing):
|
||||
async for content in resp.content.iter_chunked(1024 * 100 + random.randint(-1024, 1024)):
|
||||
file_validator.update(content)
|
||||
yield FileResponsePb(chunk=ChunkPb(content=content), source=prepared_request.url)
|
||||
file_validator.validate()
|
||||
try:
|
||||
file_validator.validate()
|
||||
except BadResponseError as e:
|
||||
e.add('url', prepared_request.url)
|
||||
raise e
|
||||
|
||||
|
||||
class Md5Source(BaseSource):
|
||||
|
@ -56,8 +56,8 @@ en:
|
||||
**Donation details**
|
||||
|
||||
**LiberaPay**: {libera_pay_url}
|
||||
**BTC Address:** {btc_donate_address}
|
||||
[]({btc_donate_qr_url})
|
||||
**BTC Address**: {btc_donate_address}
|
||||
**Amazon Gift Card**: [Buy]({amazon_gift_card_url}) any card using `{amazon_gift_card_recipient}` as recipient email
|
||||
DOWNLOAD: Download
|
||||
DOWNLOADED: downloaded
|
||||
DOWNLOADING: downloading...
|
||||
@ -141,7 +141,6 @@ en:
|
||||
**Timezone:** {tzinfo}
|
||||
SETUP_AUTOMATICALLY: Setup automatically
|
||||
SETUP_MANUALLY: Setup manually
|
||||
SHORT_PROMO: ⤴️ Stay tuned with us at {related_channel}
|
||||
SOURCES_UNAVAILABLE: '`{document}` is unavailable right now. Please, try later.'
|
||||
SUBSCRIBE_TO_CHANNEL: Subscribe to {related_channel} to continue using this bot.
|
||||
SYSTEM_MESSAGING_OPTION: Bot Update Notifications
|
||||
@ -215,8 +214,8 @@ es:
|
||||
**Detalles sobre donaciones**
|
||||
|
||||
**LiberaPay**: {libera_pay_url}
|
||||
**Dirección BTC:** {btc_donate_address}
|
||||
[]({btc_donate_qr_url})
|
||||
**Dirección BTC**: {btc_donate_address}
|
||||
**Tarjeta de regalo de Amazon**: [Compre]({amazon_gift_card_url}) cualquier tarjeta que use `{amazon_gift_card_recipient}` como correo electrónico del destinatario
|
||||
DOWNLOAD: Descargar
|
||||
DOWNLOADED: descargado
|
||||
DOWNLOADING: descargando...
|
||||
@ -300,7 +299,6 @@ es:
|
||||
**Zona horaria:** {tzinfo}
|
||||
SETUP_AUTOMATICALLY: Configurar automáticamente
|
||||
SETUP_MANUALLY: Configurar manualmente
|
||||
SHORT_PROMO: ⤴️ Mantente en contacto con nosotros en {related_channel}
|
||||
SOURCES_UNAVAILABLE: '`{document}` no está disponible en este momento. Por favor intenta más tarde.'
|
||||
SUBSCRIBE_TO_CHANNEL: Suscríbete a {related_channel} para seguir usando este bot.
|
||||
SYSTEM_MESSAGING_OPTION: Notificaciones de actualización de bot
|
||||
@ -374,8 +372,8 @@ it:
|
||||
**Dettagli per le donazioni**
|
||||
|
||||
**LiberaPay**: {libera_pay_url}
|
||||
**Indirizzo BTC:** {btc_donate_address}
|
||||
[]({btc_donate_qr_url})
|
||||
**Indirizzo BTC**: {btc_donate_address}
|
||||
**Buono regalo Amazon**: [Acquista]({amazon_gift_card_url}) qualsiasi carta utilizzando `{amazon_gift_card_recipient}` come indirizzo email del destinatario
|
||||
DOWNLOAD: Scarica
|
||||
DOWNLOADED: scaricato
|
||||
DOWNLOADING: scaricamento in corso...
|
||||
@ -440,7 +438,6 @@ it:
|
||||
**Fuso orario:** {tzinfo}
|
||||
SETUP_AUTOMATICALLY: Configura automaticamente
|
||||
SETUP_MANUALLY: Configura manualmente
|
||||
SHORT_PROMO: ⤴️ Resta aggiornato con noi su {related_channel}
|
||||
SOURCES_UNAVAILABLE: '`{document}` non è disponibile adesso. Per favore, prova più tardi.'
|
||||
SUBSCRIBE_TO_CHANNEL: Iscriviti a {related_channel} per continuare ad usare questo bot.
|
||||
SYSTEM_MESSAGING_OPTION: Notifiche Aggiornamento Bot
|
||||
@ -514,8 +511,8 @@ pb:
|
||||
**Detalhes de doação**
|
||||
|
||||
**LiberaPay**: {libera_pay_url}
|
||||
**Endereço BTC:** {btc_donate_address}
|
||||
[]({btc_donate_qr_url})
|
||||
**Endereço BTC**: {btc_donate_address}
|
||||
**Amazon Gift Card**: [Compre]({amazon_gift_card_url}) qualquer cartão usando `{amazon_gift_card_recipient}` como e-mail do destinatário
|
||||
DOWNLOAD: Baixar
|
||||
DOWNLOADED: Baixado
|
||||
DOWNLOADING: baixando...
|
||||
@ -599,7 +596,6 @@ pb:
|
||||
**Fuso horário:** {tzinfo}
|
||||
SETUP_AUTOMATICALLY: Configurar automaticamente
|
||||
SETUP_MANUALLY: Configurar manualmente
|
||||
SHORT_PROMO: ⤴️ Fique ligado conosco em {related_channel}
|
||||
SOURCES_UNAVAILABLE: '`{document}` está indisponível nesse momento. Por favor, tente mais tarde.'
|
||||
SUBSCRIBE_TO_CHANNEL: Inscreva-se em {related_channel} para continuar usando este bot.
|
||||
SYSTEM_MESSAGING_OPTION: Notificações de Atualização do Bot
|
||||
@ -661,7 +657,8 @@ ru:
|
||||
**Реквизиты для пожертвования**
|
||||
|
||||
**LiberaPay**: {libera_pay_url}
|
||||
**BTC Address:** {btc_donate_address}[]({btc_donate_qr_url})
|
||||
**BTC Address**: {btc_donate_address}
|
||||
**Amazon Gift Card**: [Купите]({amazon_gift_card_url}) любую карту с `{amazon_gift_card_recipient}` в качестве получателя
|
||||
DOWNLOAD: Загрузить
|
||||
DOWNLOADED: загружено
|
||||
DOWNLOADING: загружаем...
|
||||
@ -743,7 +740,6 @@ ru:
|
||||
**Часовой пояс:** {tzinfo}
|
||||
SETUP_AUTOMATICALLY: Установить автоматически
|
||||
SETUP_MANUALLY: Установить вручную
|
||||
SHORT_PROMO: ⤴️ Оставайся на связи с нами на {related_channel}
|
||||
SOURCES_UNAVAILABLE: 'Прямо сейчас `{document}` недоступен. Попробуйте скачать его позже.'
|
||||
SUBSCRIBE_TO_CHANNEL: Подпишитесь на {related_channel}, чтобы использовать этот бот.
|
||||
SYSTEM_MESSAGING_OPTION: Сообщения об обновлениях
|
||||
|
@ -16,29 +16,36 @@ def rules_misc_setup_internal():
|
||||
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.20.0/bazel-gazelle-v0.20.0.tar.gz",
|
||||
],
|
||||
)
|
||||
http_archive(
|
||||
name = "bazel_skylib",
|
||||
sha256 = "e5d90f0ec952883d56747b7604e2a15ee36e288bb556c3d0ed33e818a4d971f2",
|
||||
strip_prefix = "bazel-skylib-1.0.2",
|
||||
url = "https://github.com/bazelbuild/bazel-skylib/archive/1.0.2.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_github_bazelbuild_buildtools",
|
||||
sha256 = "3ef0caba290b88fb7f85a1d39397df990d8a819c405dde4439c09826274aca05",
|
||||
strip_prefix = "buildtools-e002736a9eca26c3356590213bff9292ca4af580",
|
||||
url = "https://github.com/bazelbuild/buildtools/archive/e002736a9eca26c3356590213bff9292ca4af580.zip",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_github_google_flatbuffers",
|
||||
strip_prefix = "flatbuffers-04d80f255d1c2fa7a466e8465a119c0eaef26d59",
|
||||
urls = ["https://github.com/google/flatbuffers/archive/04d80f255d1c2fa7a466e8465a119c0eaef26d59.zip"],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_github_grpc_grpc",
|
||||
sha256 = "f046d4cb4d60d4f2a2087e9d46c7ec0c523cd54ebf68eda6272de4ce65e20ac7",
|
||||
strip_prefix = "grpc-ae7f520358d7145a7484db693376fdebbd72662d",
|
||||
urls = [
|
||||
"https://github.com/grpc/grpc/archive/ae7f520358d7145a7484db693376fdebbd72662d.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_google_protobuf",
|
||||
sha256 = "cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852",
|
||||
strip_prefix = "protobuf-3.11.3",
|
||||
url = "https://github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz",
|
||||
sha256 = "65e020a42bdab44a66664d34421995829e9e79c60e5adaa08282fd14ca552f57",
|
||||
strip_prefix = "protobuf-3.15.6",
|
||||
url = "https://github.com/protocolbuffers/protobuf/archive/v3.15.6.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "ghostscript",
|
||||
build_file_content = 'exports_files(["gs-952-linux-x86_64"])',
|
||||
@ -46,6 +53,7 @@ def rules_misc_setup_internal():
|
||||
sha256 = "3c235f005d31a0747617d3628b2313396ececda9669dbceba9ebda531b903578",
|
||||
urls = ["https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/ghostscript-9.52-linux-x86_64.tgz"],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_go",
|
||||
sha256 = "db2b2d35293f405430f553bc7a865a8749a8ef60c30287e90d2b278c32771afe",
|
||||
@ -54,6 +62,7 @@ def rules_misc_setup_internal():
|
||||
"https://github.com/bazelbuild/rules_go/releases/download/v0.22.3/rules_go-v0.22.3.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "lz4",
|
||||
sha256 = "0b8bf249fd54a0b974de1a50f0a13ba809a78fd48f90c465c240ee28a9e4784d",
|
||||
@ -61,18 +70,21 @@ def rules_misc_setup_internal():
|
||||
strip_prefix = "lz4-1.9.2/lib",
|
||||
urls = ["https://github.com/lz4/lz4/archive/v1.9.2.zip"],
|
||||
)
|
||||
|
||||
http_file(
|
||||
name = "mc",
|
||||
downloaded_file_path = "mc",
|
||||
sha256 = "e011de80e5a5cf23aa54207f4dbe68edd8d39e71783683ca9befc0345c9cf69d",
|
||||
urls = ["https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.2020-05-16T01-44-37Z"],
|
||||
)
|
||||
|
||||
http_file(
|
||||
name = "pdfbox",
|
||||
downloaded_file_path = "pdfbox.jar",
|
||||
sha256 = "5300b92552cb6bd13a9c87ff36d1394382427e101ae2b0b02a9d9e5fd257db65",
|
||||
urls = ["https://mirror.linux-ia64.org/apache/pdfbox/2.0.20/pdfbox-app-2.0.20.jar"],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "cities",
|
||||
sha256 = "3e720fc7249919ea340ff9c49c4423953278107e1f53a0e48f203f04851a3f7f",
|
||||
@ -87,6 +99,7 @@ def rules_misc_setup_internal():
|
||||
strip_prefix = "openssl-OpenSSL_1_0_2m",
|
||||
url = "https://github.com/openssl/openssl/archive/OpenSSL_1_0_2m.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "zlib",
|
||||
sha256 = "629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff",
|
||||
@ -94,6 +107,7 @@ def rules_misc_setup_internal():
|
||||
strip_prefix = "zlib-1.2.11",
|
||||
url = "https://github.com/madler/zlib/archive/v1.2.11.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "unrar",
|
||||
sha256 = "a9521667094664084387baf17bcfe1d83a332f2b3b89736e8cb0de5e72fd7bdd",
|
||||
|
@ -42,7 +42,7 @@ strip_prefix_by_action = {
|
||||
|
||||
ScriptsInfo = provider(fields = ["postinst", "postrm", "preinst", "prerm"])
|
||||
|
||||
def deploy_command(deb_package, hostname, username = "deployer"):
|
||||
def deploy_command(deb_package, hostname, username = "pasha"):
|
||||
"""Command for start deployment on `target_hosts` of package.
|
||||
|
||||
Args:
|
||||
|
@ -1,21 +1,21 @@
|
||||
setuptools==51.1.0
|
||||
setuptools==54.1.2
|
||||
|
||||
aiochclient==2.0.0
|
||||
aiocrossref==0.2.0
|
||||
aiodns==2.0.0
|
||||
aioftp==0.18.1
|
||||
aiohttp[speedups]==3.7.3
|
||||
aiohttp[speedups]==3.7.4.post0
|
||||
aiohttp_socks==0.5.5
|
||||
aioipfs==0.5.2
|
||||
git+git://github.com/izihawa/aioipfs#egg=aioipfs
|
||||
aiokafka==0.7.0
|
||||
aiokit==0.2.1
|
||||
aiolibgen==0.2.0
|
||||
aiomysql==0.0.21
|
||||
aioredis==1.3.1
|
||||
aiopg==1.1.0
|
||||
aiosumma==0.1.0
|
||||
alembic==1.4.3
|
||||
aptly-api-client==0.2.1
|
||||
aiosumma==0.1.1
|
||||
alembic==1.5.7
|
||||
aptly-api-client==0.2.3
|
||||
argon2-cffi==20.1.0
|
||||
attr==0.3.1
|
||||
attrs==20.3.0
|
||||
@ -23,112 +23,112 @@ atomicwrites==1.4.0
|
||||
babel==2.9.0
|
||||
beautifulsoup4==4.9.3
|
||||
bencodepy==0.9.5
|
||||
bitarray==1.6.1
|
||||
bitarray==1.8.0
|
||||
bjoern==3.1.0
|
||||
blockchain==1.4.4
|
||||
brotli==1.0.9
|
||||
cachetools==4.2.0
|
||||
cachetools==4.2.1
|
||||
cchardet==2.1.7
|
||||
Celery==5.0.5
|
||||
certbot==1.10.1
|
||||
certbot==1.13.0
|
||||
certbuilder==0.14.2
|
||||
certifi==2020.12.5
|
||||
cffi==1.14.4
|
||||
chardet==3.0.4
|
||||
cffi==1.14.5
|
||||
chardet==4.0.0
|
||||
click==7.1.2
|
||||
clickhouse-driver==0.2.0
|
||||
cloudinary==1.24.0
|
||||
coverage==5.3.1
|
||||
cryptography==3.3.1
|
||||
coverage==5.5
|
||||
cryptography==3.4.6
|
||||
dataclasses-json==0.5.2
|
||||
docker==4.4.1
|
||||
docker==4.4.4
|
||||
ecdsa==0.16.1
|
||||
email-validator==1.1.2
|
||||
emoji==0.6.0
|
||||
emoji-country-flag==1.2.3
|
||||
fire==0.3.1
|
||||
flake8==3.8.4
|
||||
emoji==1.2.0
|
||||
emoji-country-flag==1.2.4
|
||||
fire==0.4.0
|
||||
flake8==3.9.0
|
||||
Flask==1.1.2
|
||||
Flask-Cors==3.0.9
|
||||
Flask-SQLAlchemy==2.4.4
|
||||
Flask-Cors==3.0.10
|
||||
Flask-SQLAlchemy==2.5.1
|
||||
Flask-WTF==0.14.3
|
||||
ftfy==5.8
|
||||
ftfy==5.9
|
||||
geoalchemy2==0.8.4
|
||||
grpcio==1.34.0
|
||||
grpcio-tools==1.34.0
|
||||
grpcio==1.36.1
|
||||
grpcio-tools==1.36.1
|
||||
gunicorn==20.0.4
|
||||
httpx[http2]==0.16.1
|
||||
httpx[http2]==0.17.1
|
||||
idna==2.10
|
||||
isort==5.6.4
|
||||
isort==5.8.0
|
||||
itsdangerous==1.1.0
|
||||
izihawa_types==0.1.0
|
||||
izihawa_utils==0.2.1
|
||||
Jinja2==2.11.2
|
||||
Jinja2==2.11.3
|
||||
jupyter==1.0.0
|
||||
kazoo==2.8.0
|
||||
kubernetes==12.0.1
|
||||
langid==1.1.6
|
||||
lemminflect==0.2.1
|
||||
lemminflect==0.2.2
|
||||
lightgbm==3.1.1
|
||||
lru-dict==1.1.6
|
||||
lxml==4.6.2
|
||||
lru-dict==1.1.7
|
||||
lxml==4.6.3
|
||||
markdown-strings==3.3.0
|
||||
MarkupSafe==1.1.1
|
||||
mockredispy==2.9.3
|
||||
multidict==5.1.0
|
||||
networkx==2.5
|
||||
numpy==1.19.4
|
||||
orjson==3.4.6
|
||||
pandas==1.1.5
|
||||
numpy==1.20.1
|
||||
orjson==3.5.1
|
||||
pandas==1.2.3
|
||||
paramiko==2.7.2
|
||||
passlib==1.7.4
|
||||
pdfminer.six==20201018
|
||||
pip==20.3.3
|
||||
pip==21.0.1
|
||||
pluggy==0.13.1
|
||||
ply==3.11
|
||||
protobuf==3.14.0
|
||||
protobuf==3.15.6
|
||||
psutil==5.8.0
|
||||
psycopg2-binary==2.8.6
|
||||
pycld3==0.20
|
||||
pycld3==0.22
|
||||
pycountry==20.7.3
|
||||
pycparser==2.20
|
||||
pyjwt==2.0.0
|
||||
pyjwt==2.0.1
|
||||
pymorphy2[fast]==0.9.1
|
||||
pypika==0.46.0
|
||||
pypika==0.48.0
|
||||
pysocks==1.7.1
|
||||
pytest==6.2.1
|
||||
pytest==6.2.2
|
||||
python-gflags==3.1.2
|
||||
python-pdfbox==0.1.8
|
||||
python-qbittorrent==0.4.2
|
||||
python-socks==1.1.2
|
||||
python-socks==1.2.2
|
||||
pytimeparse==1.1.8
|
||||
pyyaml==5.3.1
|
||||
pyyaml==5.4.1
|
||||
rarfile==4.0
|
||||
recordclass==0.14.3
|
||||
redis==3.5.3
|
||||
retry==0.9.2
|
||||
requests==2.25.1
|
||||
ring==0.7.3
|
||||
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz#egg=en_core_web_sm
|
||||
SQLAlchemy==1.3.22
|
||||
scipy==1.5.4
|
||||
sip==5.5.0
|
||||
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz#egg=en_core_web_sm
|
||||
SQLAlchemy==1.4.2
|
||||
scipy==1.6.1
|
||||
sip==6.0.3
|
||||
six==1.15.0
|
||||
spacy==2.3.5
|
||||
spacy==3.0.5
|
||||
tantipy==0.14.0-dev0
|
||||
telethon==1.18.2
|
||||
tenacity==6.3.1
|
||||
timezonefinder==4.5.0
|
||||
tqdm==4.54.1
|
||||
telethon==1.21.1
|
||||
tenacity==7.0.0
|
||||
timezonefinder==5.2.0
|
||||
tqdm==4.59.0
|
||||
unrar==0.4
|
||||
urllib3==1.26.2
|
||||
uvloop==0.14.0
|
||||
urllib3==1.26.4
|
||||
uvloop==0.15.2
|
||||
websocket==0.2.1
|
||||
Werkzeug==1.0.1
|
||||
wheel==0.36.2
|
||||
wgconfig==0.2.2
|
||||
WTForms==2.3.3
|
||||
WTForms-JSON==0.3.3
|
||||
www-authenticate==0.9.2
|
||||
xmltodict==0.12.0
|
||||
yamllint==1.25.0
|
||||
yamllint==1.26.0
|
||||
zxcvbn-python==4.4.24
|
||||
|
@ -4,3 +4,11 @@ cargo-raze generated Bazel file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# Export file for Stardoc support
|
||||
exports_files(
|
||||
[
|
||||
"crates.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
4186
rules/rust/Cargo.raze.lock
Normal file
4186
rules/rust/Cargo.raze.lock
Normal file
File diff suppressed because it is too large
Load Diff
@ -48,6 +48,7 @@ erased-serde = "0.3.12"
|
||||
fail = "0.4.0"
|
||||
failure = "0.1.8"
|
||||
fancy-regex = "0.3.5"
|
||||
fastdivide = "0.3.0"
|
||||
fnv = "1.0.7"
|
||||
fs2 = { version="0.4.3", optional = true }
|
||||
fst = "0.4"
|
||||
@ -135,7 +136,7 @@ wasm-bindgen = ["uuid/wasm-bindgen"]
|
||||
default_gen_buildrs = true
|
||||
genmode = "Remote"
|
||||
package_aliases_dir = "cargo"
|
||||
rust_rules_workspace_name = "io_bazel_rules_rust"
|
||||
rust_rules_workspace_name = "rules_rust"
|
||||
targets = [
|
||||
"x86_64-apple-darwin",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
|
@ -86,7 +86,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "async_trait",
|
||||
actual = "@raze__async_trait__0_1_42//:async_trait",
|
||||
actual = "@raze__async_trait__0_1_48//:async_trait",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -149,7 +149,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "bincode",
|
||||
actual = "@raze__bincode__1_3_1//:bincode",
|
||||
actual = "@raze__bincode__1_3_2//:bincode",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -176,7 +176,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "byteorder",
|
||||
actual = "@raze__byteorder__1_4_2//:byteorder",
|
||||
actual = "@raze__byteorder__1_3_4//:byteorder",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -302,7 +302,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "derive_more",
|
||||
actual = "@raze__derive_more__0_99_11//:derive_more",
|
||||
actual = "@raze__derive_more__0_99_13//:derive_more",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -329,7 +329,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "env_logger",
|
||||
actual = "@raze__env_logger__0_8_2//:env_logger",
|
||||
actual = "@raze__env_logger__0_8_3//:env_logger",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -372,6 +372,15 @@ alias(
|
||||
],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "fastdivide",
|
||||
actual = "@raze__fastdivide__0_3_0//:fastdivide",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "fnv",
|
||||
actual = "@raze__fnv__1_0_7//:fnv",
|
||||
@ -401,7 +410,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "futures",
|
||||
actual = "@raze__futures__0_3_12//:futures",
|
||||
actual = "@raze__futures__0_3_13//:futures",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -410,7 +419,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "grpc",
|
||||
actual = "@raze__grpc__0_8_2//:grpc",
|
||||
actual = "@raze__grpc__0_8_3//:grpc",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -419,7 +428,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "grpc_compiler",
|
||||
actual = "@raze__grpc_compiler__0_8_2//:grpc_compiler",
|
||||
actual = "@raze__grpc_compiler__0_8_3//:grpc_compiler",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -430,7 +439,7 @@ alias(
|
||||
# Extra aliased target, from raze configuration
|
||||
# N.B.: The exact form of this is subject to change.
|
||||
name = "cargo_bin_protoc_gen_rust_grpc",
|
||||
actual = "@raze__grpc_compiler__0_8_2//:cargo_bin_protoc_gen_rust_grpc",
|
||||
actual = "@raze__grpc_compiler__0_8_3//:cargo_bin_protoc_gen_rust_grpc",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -448,7 +457,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "integer_encoding",
|
||||
actual = "@raze__integer_encoding__2_1_2//:integer_encoding",
|
||||
actual = "@raze__integer_encoding__2_1_3//:integer_encoding",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -484,7 +493,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "lexical_core",
|
||||
actual = "@raze__lexical_core__0_7_4//:lexical_core",
|
||||
actual = "@raze__lexical_core__0_7_5//:lexical_core",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -493,7 +502,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "libc",
|
||||
actual = "@raze__libc__0_2_85//:libc",
|
||||
actual = "@raze__libc__0_2_91//:libc",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -520,7 +529,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "lru",
|
||||
actual = "@raze__lru__0_6_4//:lru",
|
||||
actual = "@raze__lru__0_6_5//:lru",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -583,7 +592,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "num_bigint",
|
||||
actual = "@raze__num_bigint__0_3_1//:num_bigint",
|
||||
actual = "@raze__num_bigint__0_3_2//:num_bigint",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -610,7 +619,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "once_cell",
|
||||
actual = "@raze__once_cell__1_5_2//:once_cell",
|
||||
actual = "@raze__once_cell__1_7_2//:once_cell",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -637,7 +646,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "pin_project",
|
||||
actual = "@raze__pin_project__0_4_27//:pin_project",
|
||||
actual = "@raze__pin_project__0_4_28//:pin_project",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -673,7 +682,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "protobuf",
|
||||
actual = "@raze__protobuf__2_20_0//:protobuf",
|
||||
actual = "@raze__protobuf__2_18_2//:protobuf",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -682,7 +691,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "protobuf_codegen",
|
||||
actual = "@raze__protobuf_codegen__2_20_0//:protobuf_codegen",
|
||||
actual = "@raze__protobuf_codegen__2_18_2//:protobuf_codegen",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -693,7 +702,7 @@ alias(
|
||||
# Extra aliased target, from raze configuration
|
||||
# N.B.: The exact form of this is subject to change.
|
||||
name = "cargo_bin_protoc_gen_rust",
|
||||
actual = "@raze__protobuf_codegen__2_20_0//:cargo_bin_protoc_gen_rust",
|
||||
actual = "@raze__protobuf_codegen__2_18_2//:cargo_bin_protoc_gen_rust",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -738,7 +747,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "regex",
|
||||
actual = "@raze__regex__1_4_3//:regex",
|
||||
actual = "@raze__regex__1_4_5//:regex",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -774,7 +783,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "serde",
|
||||
actual = "@raze__serde__1_0_123//:serde",
|
||||
actual = "@raze__serde__1_0_125//:serde",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -783,7 +792,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "serde_derive",
|
||||
actual = "@raze__serde_derive__1_0_123//:serde_derive",
|
||||
actual = "@raze__serde_derive__1_0_125//:serde_derive",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -792,7 +801,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "serde_json",
|
||||
actual = "@raze__serde_json__1_0_61//:serde_json",
|
||||
actual = "@raze__serde_json__1_0_64//:serde_json",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -801,7 +810,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "serde_qs",
|
||||
actual = "@raze__serde_qs__0_8_2//:serde_qs",
|
||||
actual = "@raze__serde_qs__0_8_3//:serde_qs",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -810,7 +819,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "serde_yaml",
|
||||
actual = "@raze__serde_yaml__0_8_16//:serde_yaml",
|
||||
actual = "@raze__serde_yaml__0_8_17//:serde_yaml",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -819,7 +828,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "signal_hook",
|
||||
actual = "@raze__signal_hook__0_3_4//:signal_hook",
|
||||
actual = "@raze__signal_hook__0_3_7//:signal_hook",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -864,7 +873,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "slog_term",
|
||||
actual = "@raze__slog_term__2_6_0//:slog_term",
|
||||
actual = "@raze__slog_term__2_8_0//:slog_term",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -891,7 +900,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "snap",
|
||||
actual = "@raze__snap__1_0_3//:snap",
|
||||
actual = "@raze__snap__1_0_4//:snap",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -936,7 +945,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "tar",
|
||||
actual = "@raze__tar__0_4_32//:tar",
|
||||
actual = "@raze__tar__0_4_33//:tar",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -963,7 +972,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "textwrap",
|
||||
actual = "@raze__textwrap__0_13_2//:textwrap",
|
||||
actual = "@raze__textwrap__0_13_4//:textwrap",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -972,7 +981,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "thiserror",
|
||||
actual = "@raze__thiserror__1_0_23//:thiserror",
|
||||
actual = "@raze__thiserror__1_0_24//:thiserror",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -981,7 +990,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "time",
|
||||
actual = "@raze__time__0_2_25//:time",
|
||||
actual = "@raze__time__0_2_26//:time",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -1044,7 +1053,7 @@ alias(
|
||||
|
||||
alias(
|
||||
name = "typenum",
|
||||
actual = "@raze__typenum__1_12_0//:typenum",
|
||||
actual = "@raze__typenum__1_13_0//:typenum",
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
@ -1068,3 +1077,11 @@ alias(
|
||||
"manual",
|
||||
],
|
||||
)
|
||||
|
||||
# Export file for Stardoc support
|
||||
exports_files(
|
||||
[
|
||||
"crates.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -51,7 +51,7 @@ rust_library(
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__actix_derive__0_5_0//:actix_derive",
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -67,17 +67,17 @@ rust_library(
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__crossbeam_channel__0_4_4//:crossbeam_channel",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__once_cell__1_5_2//:once_cell",
|
||||
"@raze__once_cell__1_7_2//:once_cell",
|
||||
"@raze__parking_lot__0_11_1//:parking_lot",
|
||||
"@raze__pin_project__0_4_27//:pin_project",
|
||||
"@raze__pin_project__0_4_28//:pin_project",
|
||||
"@raze__smallvec__1_6_1//:smallvec",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
"@raze__tokio_util__0_3_1//:tokio_util",
|
||||
"@raze__trust_dns_proto__0_19_6//:trust_dns_proto",
|
||||
"@raze__trust_dns_resolver__0_19_6//:trust_dns_resolver",
|
||||
"@raze__trust_dns_proto__0_19_7//:trust_dns_proto",
|
||||
"@raze__trust_dns_resolver__0_19_7//:trust_dns_resolver",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -51,8 +51,8 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__futures_core__0_3_12//:futures_core",
|
||||
"@raze__futures_sink__0_3_12//:futures_sink",
|
||||
"@raze__futures_core__0_3_13//:futures_core",
|
||||
"@raze__futures_sink__0_3_13//:futures_sink",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
"@raze__tokio_util__0_2_0//:tokio_util",
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -51,10 +51,10 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__futures_core__0_3_12//:futures_core",
|
||||
"@raze__futures_sink__0_3_12//:futures_sink",
|
||||
"@raze__futures_core__0_3_13//:futures_core",
|
||||
"@raze__futures_sink__0_3_13//:futures_sink",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__pin_project__0_4_27//:pin_project",
|
||||
"@raze__pin_project__0_4_28//:pin_project",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
"@raze__tokio_util__0_3_1//:tokio_util",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -43,7 +43,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -60,11 +60,11 @@ rust_library(
|
||||
"@raze__actix_service__1_0_6//:actix_service",
|
||||
"@raze__actix_utils__2_0_0//:actix_utils",
|
||||
"@raze__either__1_6_1//:either",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__http__0_2_3//:http",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__trust_dns_proto__0_19_6//:trust_dns_proto",
|
||||
"@raze__trust_dns_resolver__0_19_6//:trust_dns_resolver",
|
||||
"@raze__trust_dns_proto__0_19_7//:trust_dns_proto",
|
||||
"@raze__trust_dns_resolver__0_19_7//:trust_dns_resolver",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -42,7 +42,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -55,9 +55,9 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__actix_web__3_3_2//:actix_web",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__once_cell__1_5_2//:once_cell",
|
||||
"@raze__once_cell__1_7_2//:once_cell",
|
||||
"@raze__tinyvec__1_1_1//:tinyvec",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -53,7 +53,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -74,33 +74,33 @@ rust_library(
|
||||
"@raze__base64__0_13_0//:base64",
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__cookie__0_14_3//:cookie",
|
||||
"@raze__cookie__0_14_4//:cookie",
|
||||
"@raze__copyless__0_1_5//:copyless",
|
||||
"@raze__either__1_6_1//:either",
|
||||
"@raze__encoding_rs__0_8_28//:encoding_rs",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_core__0_3_12//:futures_core",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_core__0_3_13//:futures_core",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__fxhash__0_2_1//:fxhash",
|
||||
"@raze__h2__0_2_7//:h2",
|
||||
"@raze__http__0_2_3//:http",
|
||||
"@raze__httparse__1_3_5//:httparse",
|
||||
"@raze__indexmap__1_6_1//:indexmap",
|
||||
"@raze__indexmap__1_6_2//:indexmap",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
"@raze__language_tags__0_2_2//:language_tags",
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__mime__0_3_16//:mime",
|
||||
"@raze__percent_encoding__2_1_0//:percent_encoding",
|
||||
"@raze__pin_project__1_0_5//:pin_project",
|
||||
"@raze__pin_project__1_0_6//:pin_project",
|
||||
"@raze__rand__0_7_3//:rand",
|
||||
"@raze__regex__1_4_3//:regex",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
"@raze__regex__1_4_5//:regex",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
"@raze__serde_json__1_0_64//:serde_json",
|
||||
"@raze__serde_urlencoded__0_7_0//:serde_urlencoded",
|
||||
"@raze__sha_1__0_9_3//:sha_1",
|
||||
"@raze__sha_1__0_9_4//:sha_1",
|
||||
"@raze__slab__0_4_2//:slab",
|
||||
"@raze__time__0_2_25//:time",
|
||||
"@raze__time__0_2_26//:time",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -49,8 +49,8 @@ rust_library(
|
||||
version = "0.1.3",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_60//:syn",
|
||||
"@raze__quote__1_0_9//:quote",
|
||||
"@raze__syn__1_0_67//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -48,13 +48,13 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.2.6",
|
||||
version = "0.2.7",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__bytestring__1_0_0//:bytestring",
|
||||
"@raze__http__0_2_3//:http",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__regex__1_4_3//:regex",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__regex__1_4_5//:regex",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
],
|
||||
)
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -54,8 +54,8 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__actix_threadpool__0_3_3//:actix_threadpool",
|
||||
"@raze__copyless__0_1_5//:copyless",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__smallvec__1_6_1//:smallvec",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -54,8 +54,8 @@ rust_library(
|
||||
"@raze__actix_rt__1_1_1//:actix_rt",
|
||||
"@raze__actix_service__1_0_6//:actix_service",
|
||||
"@raze__actix_utils__2_0_0//:actix_utils",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__mio__0_6_23//:mio",
|
||||
"@raze__mio_uds__0_6_8//:mio_uds",
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -53,7 +53,7 @@ rust_library(
|
||||
version = "1.0.6",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__pin_project__0_4_27//:pin_project",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__pin_project__0_4_28//:pin_project",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -40,7 +40,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -52,7 +52,7 @@ rust_library(
|
||||
version = "0.3.3",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__num_cpus__1_13_0//:num_cpus",
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -53,6 +53,6 @@ rust_library(
|
||||
"@raze__actix_codec__0_3_0//:actix_codec",
|
||||
"@raze__actix_service__1_0_6//:actix_service",
|
||||
"@raze__actix_utils__2_0_0//:actix_utils",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -55,9 +55,9 @@ rust_library(
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__either__1_6_1//:either",
|
||||
"@raze__futures__0_3_12//:futures",
|
||||
"@raze__futures__0_3_13//:futures",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__pin_project__0_4_27//:pin_project",
|
||||
"@raze__pin_project__0_4_28//:pin_project",
|
||||
"@raze__slab__0_4_2//:slab",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -55,11 +55,11 @@ rust_library(
|
||||
"@raze__bitflags__1_2_1//:bitflags",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__either__1_6_1//:either",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_sink__0_3_12//:futures_sink",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_sink__0_3_13//:futures_sink",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__pin_project__0_4_27//:pin_project",
|
||||
"@raze__pin_project__0_4_28//:pin_project",
|
||||
"@raze__slab__0_4_2//:slab",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -54,7 +54,7 @@ rust_library(
|
||||
proc_macro_deps = [
|
||||
"@raze__actix_macros__0_1_3//:actix_macros",
|
||||
"@raze__actix_web_codegen__0_4_0//:actix_web_codegen",
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -68,7 +68,7 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__actix_codec__0_3_0//:actix_codec",
|
||||
"@raze__actix_http__2_2_0//:actix_http",
|
||||
"@raze__actix_router__0_2_6//:actix_router",
|
||||
"@raze__actix_router__0_2_7//:actix_router",
|
||||
"@raze__actix_rt__1_1_1//:actix_rt",
|
||||
"@raze__actix_server__1_0_4//:actix_server",
|
||||
"@raze__actix_service__1_0_6//:actix_service",
|
||||
@ -79,21 +79,21 @@ rust_library(
|
||||
"@raze__awc__2_0_3//:awc",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__encoding_rs__0_8_28//:encoding_rs",
|
||||
"@raze__futures_channel__0_3_12//:futures_channel",
|
||||
"@raze__futures_core__0_3_12//:futures_core",
|
||||
"@raze__futures_util__0_3_12//:futures_util",
|
||||
"@raze__futures_channel__0_3_13//:futures_channel",
|
||||
"@raze__futures_core__0_3_13//:futures_core",
|
||||
"@raze__futures_util__0_3_13//:futures_util",
|
||||
"@raze__fxhash__0_2_1//:fxhash",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__mime__0_3_16//:mime",
|
||||
"@raze__pin_project__1_0_5//:pin_project",
|
||||
"@raze__regex__1_4_3//:regex",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
"@raze__pin_project__1_0_6//:pin_project",
|
||||
"@raze__regex__1_4_5//:regex",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
"@raze__serde_json__1_0_64//:serde_json",
|
||||
"@raze__serde_urlencoded__0_7_0//:serde_urlencoded",
|
||||
"@raze__socket2__0_3_19//:socket2",
|
||||
"@raze__time__0_2_25//:time",
|
||||
"@raze__time__0_2_26//:time",
|
||||
"@raze__tinyvec__1_1_1//:tinyvec",
|
||||
"@raze__url__2_2_0//:url",
|
||||
"@raze__url__2_2_1//:url",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -50,8 +50,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_60//:syn",
|
||||
"@raze__quote__1_0_9//:quote",
|
||||
"@raze__syn__1_0_67//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -50,8 +50,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_60//:syn",
|
||||
"@raze__quote__1_0_9//:quote",
|
||||
"@raze__syn__1_0_67//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -48,7 +48,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.2.3",
|
||||
version = "1.0.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -50,7 +50,6 @@ rust_binary(
|
||||
version = "2.0.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":alloc_no_stdlib",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -50,7 +50,6 @@ rust_binary(
|
||||
version = "0.2.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":alloc_stdlib",
|
||||
"@raze__alloc_no_stdlib__2_0_1//:alloc_no_stdlib",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -1,59 +0,0 @@
|
||||
"""
|
||||
@generated
|
||||
cargo-raze crate build file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# buildifier: disable=load
|
||||
load(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
# Prefer access through "//rules/rust", which limits external
|
||||
# visibility to explicit Cargo.toml dependencies.
|
||||
"//visibility:public",
|
||||
])
|
||||
|
||||
licenses([
|
||||
"restricted", # BSD-2-Clause from expression "BSD-2-Clause"
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
|
||||
# Unsupported target "array_refs" with type "example" omitted
|
||||
|
||||
# Unsupported target "array_refs_with_const" with type "example" omitted
|
||||
|
||||
# Unsupported target "simple-case" with type "example" omitted
|
||||
|
||||
rust_library(
|
||||
name = "arrayref",
|
||||
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.3.6",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
||||
)
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -1,60 +0,0 @@
|
||||
"""
|
||||
@generated
|
||||
cargo-raze crate build file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# buildifier: disable=load
|
||||
load(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
# Prefer access through "//rules/rust", 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 = "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.42",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_60//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
# Unsupported target "compiletest" with type "test" omitted
|
||||
|
||||
# Unsupported target "test" with type "test" omitted
|
90
rules/rust/remote/BUILD.async-trait-0.1.48.bazel
Normal file
90
rules/rust/remote/BUILD.async-trait-0.1.48.bazel
Normal file
@ -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 "//rules/rust", 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.48",
|
||||
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.48",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":async_trait_build_script",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_9//:quote",
|
||||
"@raze__syn__1_0_67//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
# Unsupported target "compiletest" with type "test" omitted
|
||||
|
||||
# Unsupported target "test" with type "test" omitted
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -55,8 +55,8 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__nix__0_14_1//:nix",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -56,10 +56,10 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__libc__0_2_85//:libc",
|
||||
"@raze__libc__0_2_91//:libc",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -40,7 +40,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__derive_more__0_99_11//:derive_more",
|
||||
"@raze__derive_more__0_99_13//:derive_more",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -59,13 +59,13 @@ rust_library(
|
||||
"@raze__base64__0_13_0//:base64",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__cfg_if__1_0_0//:cfg_if",
|
||||
"@raze__futures_core__0_3_12//:futures_core",
|
||||
"@raze__futures_core__0_3_13//:futures_core",
|
||||
"@raze__log__0_4_14//:log",
|
||||
"@raze__mime__0_3_16//:mime",
|
||||
"@raze__percent_encoding__2_1_0//:percent_encoding",
|
||||
"@raze__rand__0_7_3//:rand",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
"@raze__serde_json__1_0_64//:serde_json",
|
||||
"@raze__serde_urlencoded__0_7_0//:serde_urlencoded",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -63,8 +63,8 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__addr2line__0_14_1//:addr2line",
|
||||
"@raze__cfg_if__1_0_0//:cfg_if",
|
||||
"@raze__libc__0_2_85//:libc",
|
||||
"@raze__miniz_oxide__0_4_3//:miniz_oxide",
|
||||
"@raze__libc__0_2_91//:libc",
|
||||
"@raze__miniz_oxide__0_4_4//:miniz_oxide",
|
||||
"@raze__object__0_23_0//:object",
|
||||
"@raze__rustc_demangle__0_1_18//:rustc_demangle",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -53,7 +53,7 @@ rust_library(
|
||||
version = "0.9.3",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__byteorder__1_4_2//:byteorder",
|
||||
"@raze__byteorder__1_3_4//:byteorder",
|
||||
"@raze__safemem__0_3_3//:safemem",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -40,7 +40,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__async_trait__0_1_42//:async_trait",
|
||||
"@raze__async_trait__0_1_48//:async_trait",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -52,7 +52,7 @@ rust_library(
|
||||
version = "0.4.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__futures__0_3_12//:futures",
|
||||
"@raze__futures__0_3_13//:futures",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -48,7 +48,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__async_trait__0_1_42//:async_trait",
|
||||
"@raze__async_trait__0_1_48//:async_trait",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -61,7 +61,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__bb8__0_4_2//:bb8",
|
||||
"@raze__futures__0_3_12//:futures",
|
||||
"@raze__futures__0_3_13//:futures",
|
||||
"@raze__tokio__0_2_25//:tokio",
|
||||
"@raze__tokio_postgres__0_5_5//:tokio_postgres",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -47,11 +47,11 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.3.1",
|
||||
version = "1.3.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__byteorder__1_4_2//:byteorder",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__byteorder__1_3_4//:byteorder",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -29,9 +29,10 @@ licenses([
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
# buildifier: disable=out-of-order-load
|
||||
# buildifier: disable=load-on-top
|
||||
load(
|
||||
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
|
||||
"@rules_rust//cargo:cargo_build_script.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -1,58 +0,0 @@
|
||||
"""
|
||||
@generated
|
||||
cargo-raze crate build file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# buildifier: disable=load
|
||||
load(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
# Prefer access through "//rules/rust", which limits external
|
||||
# visibility to explicit Cargo.toml dependencies.
|
||||
"//visibility:public",
|
||||
])
|
||||
|
||||
licenses([
|
||||
"notice", # MIT from expression "MIT"
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
|
||||
rust_library(
|
||||
name = "blake2b_simd",
|
||||
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.5.11",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__arrayref__0_3_6//:arrayref",
|
||||
"@raze__arrayvec__0_5_2//:arrayvec",
|
||||
"@raze__constant_time_eq__0_1_5//:constant_time_eq",
|
||||
],
|
||||
)
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -53,7 +53,6 @@ rust_binary(
|
||||
version = "3.3.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":brotli",
|
||||
"@raze__alloc_no_stdlib__2_0_1//:alloc_no_stdlib",
|
||||
"@raze__alloc_stdlib__0_2_1//:alloc_stdlib",
|
||||
@ -84,7 +83,6 @@ rust_binary(
|
||||
version = "3.3.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":brotli",
|
||||
"@raze__alloc_no_stdlib__2_0_1//:alloc_no_stdlib",
|
||||
"@raze__alloc_stdlib__0_2_1//:alloc_stdlib",
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -52,7 +52,6 @@ rust_binary(
|
||||
version = "2.3.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":brotli_decompressor",
|
||||
"@raze__alloc_no_stdlib__2_0_1//:alloc_no_stdlib",
|
||||
"@raze__alloc_stdlib__0_2_1//:alloc_stdlib",
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -70,12 +70,12 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.2.14",
|
||||
version = "0.2.15",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__memchr__2_3_4//:memchr",
|
||||
"@raze__regex_automata__0_1_9//:regex_automata",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
],
|
||||
)
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -49,7 +49,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "3.6.0",
|
||||
version = "3.6.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
89
rules/rust/remote/BUILD.byteorder-1.3.4.bazel
Normal file
89
rules/rust/remote/BUILD.byteorder-1.3.4.bazel
Normal file
@ -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 "//rules/rust", 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 = "byteorder_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.3.4",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
],
|
||||
)
|
||||
|
||||
# Unsupported target "bench" with type "bench" omitted
|
||||
|
||||
rust_library(
|
||||
name = "byteorder",
|
||||
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.3.4",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":byteorder_build_script",
|
||||
],
|
||||
)
|
@ -1,57 +0,0 @@
|
||||
"""
|
||||
@generated
|
||||
cargo-raze crate build file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# buildifier: disable=load
|
||||
load(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
# Prefer access through "//rules/rust", which limits external
|
||||
# visibility to explicit Cargo.toml dependencies.
|
||||
"//visibility:public",
|
||||
])
|
||||
|
||||
licenses([
|
||||
"unencumbered", # Unlicense from expression "Unlicense OR MIT"
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
|
||||
# Unsupported target "bench" with type "bench" omitted
|
||||
|
||||
rust_library(
|
||||
name = "byteorder",
|
||||
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.4.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
||||
)
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -29,9 +29,10 @@ licenses([
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
# buildifier: disable=out-of-order-load
|
||||
# buildifier: disable=load-on-top
|
||||
load(
|
||||
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
|
||||
"@rules_rust//cargo:cargo_build_script.bzl",
|
||||
"cargo_build_script",
|
||||
)
|
||||
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -47,10 +47,9 @@ rust_binary(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.66",
|
||||
version = "1.0.67",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
# Binaries get an implicit dependency on their crate's lib
|
||||
":cc",
|
||||
],
|
||||
)
|
||||
@ -71,7 +70,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.66",
|
||||
version = "1.0.67",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -61,10 +61,10 @@ rust_library(
|
||||
version = "0.4.19",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__libc__0_2_85//:libc",
|
||||
"@raze__libc__0_2_91//:libc",
|
||||
"@raze__num_integer__0_1_44//:num_integer",
|
||||
"@raze__num_traits__0_2_14//:num_traits",
|
||||
"@raze__serde__1_0_123//:serde",
|
||||
"@raze__serde__1_0_125//:serde",
|
||||
"@raze__time__0_1_43//:time",
|
||||
],
|
||||
)
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
@ -67,8 +67,8 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# cfg(not(windows))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__ansi_term__0_11_0//:ansi_term",
|
||||
],
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
@ -5,17 +5,17 @@ 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(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"@rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user