blob: 0236abb3bc890c6b8713dcf18cc833e711dc93d5 [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +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:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT"
29])
30
31# Generated Targets
32# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "pulldown_cmark_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "default",
46 "getopts",
47 ],
48 crate_root = "build.rs",
49 data = glob(["**"]),
50 edition = "2018",
51 rustc_flags = [
52 "--cap-lints=allow",
53 ],
54 tags = [
55 "cargo-raze",
56 "manual",
57 ],
58 version = "0.7.2",
59 visibility = ["//visibility:private"],
60 deps = [
61 ],
62)
63
64# Unsupported target "html_rendering" with type "bench" omitted
65
66# Unsupported target "lib" with type "bench" omitted
67
68rust_binary(
69 # Prefix bin name to disambiguate from (probable) collision with lib name
70 # N.B.: The exact form of this is subject to change.
71 name = "cargo_bin_pulldown_cmark",
72 srcs = glob(["**/*.rs"]),
73 crate_features = [
74 "default",
75 "getopts",
76 ],
77 crate_root = "src/main.rs",
78 data = [],
79 edition = "2018",
80 rustc_flags = [
81 "--cap-lints=allow",
82 ],
83 tags = [
84 "cargo-raze",
85 "manual",
86 ],
87 version = "0.7.2",
88 # buildifier: leave-alone
89 deps = [
90 ":pulldown_cmark",
91 ":pulldown_cmark_build_script",
92 "@raze__bitflags__1_2_1//:bitflags",
93 "@raze__getopts__0_2_21//:getopts",
94 "@raze__memchr__2_4_0//:memchr",
95 "@raze__unicase__2_6_0//:unicase",
96 ],
97)
98
99# Unsupported target "event-filter" with type "example" omitted
100
101# Unsupported target "string-to-string" with type "example" omitted
102
103rust_library(
104 name = "pulldown_cmark",
105 srcs = glob(["**/*.rs"]),
106 crate_features = [
107 "default",
108 "getopts",
109 ],
110 crate_root = "src/lib.rs",
111 crate_type = "lib",
112 data = [],
113 edition = "2018",
114 rustc_flags = [
115 "--cap-lints=allow",
116 ],
117 tags = [
118 "cargo-raze",
119 "manual",
120 ],
121 version = "0.7.2",
122 # buildifier: leave-alone
123 deps = [
124 ":pulldown_cmark_build_script",
125 "@raze__bitflags__1_2_1//:bitflags",
126 "@raze__getopts__0_2_21//:getopts",
127 "@raze__memchr__2_4_0//:memchr",
128 "@raze__unicase__2_6_0//:unicase",
129 ],
130)
131
132# Unsupported target "errors" with type "test" omitted
133
134# Unsupported target "html" with type "test" omitted
135
136# Unsupported target "lib" with type "test" omitted