blob: 07cfd9953fcb4788a342e2ba034e7c4b34214884 [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 ],
Leopold2aa8b182023-01-14 23:31:43 +010055 version = "0.9.2",
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 ],
Leopold2aa8b182023-01-14 23:31:43 +010083 version = "0.9.2",
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",
89 "@raze__memchr__2_5_0//:memchr",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020090 "@raze__unicase__2_6_0//:unicase",
91 ],
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
98# Unsupported target "string-to-string" with type "example" omitted
99
100rust_library(
101 name = "pulldown_cmark",
102 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200103 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104 data = [],
Leopold2aa8b182023-01-14 23:31:43 +0100105 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200106 rustc_flags = [
107 "--cap-lints=allow",
108 ],
109 tags = [
110 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100111 "crate-name=pulldown-cmark",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200112 "manual",
113 ],
Leopold2aa8b182023-01-14 23:31:43 +0100114 version = "0.9.2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200115 # buildifier: leave-alone
116 deps = [
117 ":pulldown_cmark_build_script",
Leopold2aa8b182023-01-14 23:31:43 +0100118 "@raze__bitflags__1_3_2//:bitflags",
119 "@raze__memchr__2_5_0//:memchr",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200120 "@raze__unicase__2_6_0//:unicase",
121 ],
122)
123
124# Unsupported target "errors" with type "test" omitted
125
126# Unsupported target "html" with type "test" omitted
127
128# Unsupported target "lib" with type "test" omitted
Leopold2aa8b182023-01-14 23:31:43 +0100129
130# Unsupported target "serde" with type "test" omitted