blob: a7eccdce52b878cec08e58ff498137e842078d1e [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 OR Apache-2.0"
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 = "html5ever_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 ],
46 crate_root = "build.rs",
47 data = glob(["**"]),
48 edition = "2018",
49 rustc_flags = [
50 "--cap-lints=allow",
51 ],
52 tags = [
53 "cargo-raze",
54 "manual",
55 ],
56 version = "0.25.1",
57 visibility = ["//visibility:private"],
58 deps = [
59 "@raze__proc_macro2__1_0_27//:proc_macro2",
60 "@raze__quote__1_0_9//:quote",
61 "@raze__syn__1_0_73//:syn",
62 ],
63)
64
65# Unsupported target "html5ever" with type "bench" omitted
66
67# Unsupported target "arena" with type "example" omitted
68
69# Unsupported target "noop-tokenize" with type "example" omitted
70
71# Unsupported target "noop-tree-builder" with type "example" omitted
72
73# Unsupported target "print-tree-actions" with type "example" omitted
74
75# Unsupported target "tokenize" with type "example" omitted
76
77rust_library(
78 name = "html5ever",
79 srcs = glob(["**/*.rs"]),
80 crate_features = [
81 ],
82 crate_root = "src/lib.rs",
83 crate_type = "lib",
84 data = [],
85 edition = "2018",
86 rustc_flags = [
87 "--cap-lints=allow",
88 ],
89 tags = [
90 "cargo-raze",
91 "manual",
92 ],
93 version = "0.25.1",
94 # buildifier: leave-alone
95 deps = [
96 ":html5ever_build_script",
97 "@raze__log__0_4_14//:log",
98 "@raze__mac__0_1_1//:mac",
99 "@raze__markup5ever__0_10_1//:markup5ever",
100 ],
101)