blob: b7a91f224f6f0147bb487fb9a22438ec1b244a6c [file] [log] [blame]
Leopold2aa8b182023-01-14 23:31:43 +01001"""
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:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "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
34# Unsupported target "graphemes" with type "example" omitted
35
36# Unsupported target "graphemes-std" with type "example" omitted
37
38# Unsupported target "lines" with type "example" omitted
39
40# Unsupported target "lines-std" with type "example" omitted
41
42# Unsupported target "uppercase" with type "example" omitted
43
44# Unsupported target "uppercase-std" with type "example" omitted
45
46# Unsupported target "words" with type "example" omitted
47
48# Unsupported target "words-std" with type "example" omitted
49
50rust_library(
51 name = "bstr",
52 srcs = glob(["**/*.rs"]),
53 crate_features = [
Lorenz Brund141d182023-10-02 15:07:01 +020054 "alloc",
Leopold2aa8b182023-01-14 23:31:43 +010055 "default",
Leopold2aa8b182023-01-14 23:31:43 +010056 "std",
57 "unicode",
58 ],
59 crate_root = "src/lib.rs",
60 data = [] + [
61 "src/unicode/fsm/grapheme_break_fwd.littleendian.dfa",
62 "src/unicode/fsm/grapheme_break_rev.littleendian.dfa",
63 "src/unicode/fsm/regional_indicator_rev.littleendian.dfa",
64 "src/unicode/fsm/sentence_break_fwd.littleendian.dfa",
65 "src/unicode/fsm/simple_word_fwd.littleendian.dfa",
66 "src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa",
67 "src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa",
68 "src/unicode/fsm/word_break_fwd.littleendian.dfa",
69 ],
Lorenz Brund141d182023-10-02 15:07:01 +020070 edition = "2021",
Leopold2aa8b182023-01-14 23:31:43 +010071 rustc_flags = [
72 "--cap-lints=allow",
73 ],
74 tags = [
75 "cargo-raze",
76 "crate-name=bstr",
77 "manual",
78 ],
Lorenz Brund141d182023-10-02 15:07:01 +020079 version = "1.6.2",
Leopold2aa8b182023-01-14 23:31:43 +010080 # buildifier: leave-alone
81 deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020082 "@raze__memchr__2_6_4//:memchr",
83 "@raze__regex_automata__0_3_9//:regex_automata",
84 "@raze__serde__1_0_188//:serde",
Leopold2aa8b182023-01-14 23:31:43 +010085 ],
86)