blob: b70dd6aaf3d3fff8bb4613f7be3865cd66c95c73 [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(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "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", # MIT from expression "MIT"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
41 name = "pulldown_cmark_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020045 crate_root = "build.rs",
46 data = glob(["**"]),
Leopold2aa8b182023-01-14 23:31:43 +010047 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020048 rustc_flags = [
49 "--cap-lints=allow",
50 ],
51 tags = [
52 "cargo-raze",
53 "manual",
54 ],
Lorenz Brund141d182023-10-02 15:07:01 +020055 version = "0.9.3",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 visibility = ["//visibility:private"],
57 deps = [
58 ],
59)
60
61# Unsupported target "html_rendering" with type "bench" omitted
62
63# Unsupported target "lib" with type "bench" omitted
64
Leopold2aa8b182023-01-14 23:31:43 +010065# Unsupported target "markdown-it" with type "bench" omitted
66
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020067rust_binary(
68 # Prefix bin name to disambiguate from (probable) collision with lib name
69 # N.B.: The exact form of this is subject to change.
70 name = "cargo_bin_pulldown_cmark",
71 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020072 crate_root = "src/main.rs",
73 data = [],
Leopold2aa8b182023-01-14 23:31:43 +010074 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020075 rustc_flags = [
76 "--cap-lints=allow",
77 ],
78 tags = [
79 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010080 "crate-name=pulldown-cmark",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020081 "manual",
82 ],
Lorenz Brund141d182023-10-02 15:07:01 +020083 version = "0.9.3",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020084 # buildifier: leave-alone
85 deps = [
86 ":pulldown_cmark",
87 ":pulldown_cmark_build_script",
Leopold2aa8b182023-01-14 23:31:43 +010088 "@raze__bitflags__1_3_2//:bitflags",
Lorenz Brund141d182023-10-02 15:07:01 +020089 "@raze__memchr__2_6_4//:memchr",
90 "@raze__unicase__2_7_0//:unicase",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020091 ],
92)
93
Leopold2aa8b182023-01-14 23:31:43 +010094# Unsupported target "broken-link-callbacks" with type "example" omitted
95
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020096# Unsupported target "event-filter" with type "example" omitted
97
Lorenz Brund141d182023-10-02 15:07:01 +020098# Unsupported target "parser-map-event-print" with type "example" omitted
99
100# Unsupported target "parser-map-tag-print" with type "example" omitted
101
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200102# Unsupported target "string-to-string" with type "example" omitted
103
104rust_library(
105 name = "pulldown_cmark",
106 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200107 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200108 data = [],
Leopold2aa8b182023-01-14 23:31:43 +0100109 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200110 rustc_flags = [
111 "--cap-lints=allow",
112 ],
113 tags = [
114 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100115 "crate-name=pulldown-cmark",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200116 "manual",
117 ],
Lorenz Brund141d182023-10-02 15:07:01 +0200118 version = "0.9.3",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200119 # buildifier: leave-alone
120 deps = [
121 ":pulldown_cmark_build_script",
Leopold2aa8b182023-01-14 23:31:43 +0100122 "@raze__bitflags__1_3_2//:bitflags",
Lorenz Brund141d182023-10-02 15:07:01 +0200123 "@raze__memchr__2_6_4//:memchr",
124 "@raze__unicase__2_7_0//:unicase",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200125 ],
126)
127
128# Unsupported target "errors" with type "test" omitted
129
130# Unsupported target "html" with type "test" omitted
131
132# Unsupported target "lib" with type "test" omitted
Leopold2aa8b182023-01-14 23:31:43 +0100133
134# Unsupported target "serde" with type "test" omitted