blob: 39f0798d387acc7995f3d3078a3e14720a38f039 [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 OR Apache-2.0"
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 = "html5ever_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(["**"]),
47 edition = "2018",
48 rustc_flags = [
49 "--cap-lints=allow",
50 ],
51 tags = [
52 "cargo-raze",
53 "manual",
54 ],
Leopold2aa8b182023-01-14 23:31:43 +010055 version = "0.26.0",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 visibility = ["//visibility:private"],
57 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010058 "@raze__proc_macro2__1_0_49//:proc_macro2",
59 "@raze__quote__1_0_23//:quote",
60 "@raze__syn__1_0_107//:syn",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020061 ],
62)
63
64# Unsupported target "html5ever" with type "bench" omitted
65
66# Unsupported target "arena" with type "example" omitted
67
68# Unsupported target "noop-tokenize" with type "example" omitted
69
70# Unsupported target "noop-tree-builder" with type "example" omitted
71
72# Unsupported target "print-tree-actions" with type "example" omitted
73
74# Unsupported target "tokenize" with type "example" omitted
75
76rust_library(
77 name = "html5ever",
78 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020079 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020080 data = [],
81 edition = "2018",
82 rustc_flags = [
83 "--cap-lints=allow",
84 ],
85 tags = [
86 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010087 "crate-name=html5ever",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020088 "manual",
89 ],
Leopold2aa8b182023-01-14 23:31:43 +010090 version = "0.26.0",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020091 # buildifier: leave-alone
92 deps = [
93 ":html5ever_build_script",
Leopold2aa8b182023-01-14 23:31:43 +010094 "@raze__log__0_4_17//:log",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020095 "@raze__mac__0_1_1//:mac",
Leopold2aa8b182023-01-14 23:31:43 +010096 "@raze__markup5ever__0_11_0//:markup5ever",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 ],
98)