blob: cb1e2a7a18e348a1f015f5d9f94888852ea92506 [file] [log] [blame]
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("//crate_universe:defs.bzl", "crate", "crates_vendor")
crates_vendor(
name = "crates_vendor",
annotations = {
"lazy_static": [crate.annotation(
rustc_flags = [
"--cfg=lazy_static_heap_impl",
],
)],
"protobuf": [crate.annotation(
patch_args = ["-p1"],
patches = ["@rules_rust//proto/3rdparty/patches:protobuf-2.8.2.patch"],
)],
},
cargo_lockfile = "Cargo.Bazel.lock",
mode = "remote",
packages = {
"grpc": crate.spec(
version = "0.6.2",
),
"grpc-compiler": crate.spec(
version = "0.6.2",
),
"log": crate.spec(
version = "0.4, 0.4.7",
),
"protobuf": crate.spec(
features = ["with-bytes"],
version = "2.8.2",
),
"protobuf-codegen": crate.spec(
version = "2.8.2",
),
"tls-api": crate.spec(
version = "0.1.22",
),
"tls-api-stub": crate.spec(
version = "0.1.22",
),
},
repository_name = "rules_rust_proto",
tags = ["manual"],
)
alias(
name = "wasm_bindgen_cli",
actual = "@rules_rust_wasm_bindgen_cli",
tags = ["manual"],
visibility = ["//visibility:public"],
)
alias(
name = "wasm_bindgen",
actual = "//wasm_bindgen/3rdparty/crates:wasm-bindgen",
visibility = ["//visibility:public"],
)
bzl_library(
name = "bzl_lib",
srcs = glob(["**/*.bzl"]) + [
"//proto/3rdparty/crates:defs.bzl",
"//proto/3rdparty/crates:crates.bzl",
],
visibility = ["//proto:__pkg__"],
)