blob: 0adedfbbfc2b470d6cc07d945c24ef28d2a9b955 [file] [log] [blame]
Lorenz Brund141d182023-10-02 15:07:01 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # Apache-2.0 from expression "Apache-2.0"
30])
31
32# Generated Targets
33
34rust_binary(
35 # Prefix bin name to disambiguate from (probable) collision with lib name
36 # N.B.: The exact form of this is subject to change.
37 name = "cargo_bin_protoc_gen_prost",
38 srcs = glob(["**/*.rs"]),
39 crate_root = "src/main.rs",
40 data = [] + [
41 "README.md",
42 ],
43 edition = "2021",
44 rustc_flags = [
45 "--cap-lints=allow",
46 ],
47 tags = [
48 "cargo-raze",
49 "crate-name=protoc-gen-prost",
50 "manual",
51 ],
52 version = "0.2.3",
53 # buildifier: leave-alone
54 deps = [
55 ":protoc_gen_prost",
56 "@raze__once_cell__1_18_0//:once_cell",
57 "@raze__prost__0_11_9//:prost",
58 "@raze__prost_build__0_11_9//:prost_build",
59 "@raze__prost_types__0_11_9//:prost_types",
60 "@raze__regex__1_9_6//:regex",
61 ],
62)
63
64rust_library(
65 name = "protoc_gen_prost",
66 srcs = glob(["**/*.rs"]),
67 crate_root = "src/lib.rs",
68 data = [] + [
69 "README.md",
70 ],
71 edition = "2021",
72 rustc_flags = [
73 "--cap-lints=allow",
74 ],
75 tags = [
76 "cargo-raze",
77 "crate-name=protoc-gen-prost",
78 "manual",
79 ],
80 version = "0.2.3",
81 # buildifier: leave-alone
82 deps = [
83 "@raze__once_cell__1_18_0//:once_cell",
84 "@raze__prost__0_11_9//:prost",
85 "@raze__prost_build__0_11_9//:prost_build",
86 "@raze__prost_types__0_11_9//:prost_types",
87 "@raze__regex__1_9_6//:regex",
88 ],
89)