Leopold | 2aa8b18 | 2023-01-14 23:31:43 +0100 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:defs.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_proc_macro", |
| 17 | "rust_test", |
| 18 | ) |
| 19 | |
| 20 | package(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 | |
| 28 | licenses([ |
| 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 | |
| 50 | rust_library( |
| 51 | name = "bstr", |
| 52 | srcs = glob(["**/*.rs"]), |
| 53 | crate_features = [ |
| 54 | "default", |
| 55 | "lazy_static", |
| 56 | "regex-automata", |
| 57 | "std", |
| 58 | "unicode", |
| 59 | ], |
| 60 | crate_root = "src/lib.rs", |
| 61 | data = [] + [ |
| 62 | "src/unicode/fsm/grapheme_break_fwd.littleendian.dfa", |
| 63 | "src/unicode/fsm/grapheme_break_rev.littleendian.dfa", |
| 64 | "src/unicode/fsm/regional_indicator_rev.littleendian.dfa", |
| 65 | "src/unicode/fsm/sentence_break_fwd.littleendian.dfa", |
| 66 | "src/unicode/fsm/simple_word_fwd.littleendian.dfa", |
| 67 | "src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa", |
| 68 | "src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa", |
| 69 | "src/unicode/fsm/word_break_fwd.littleendian.dfa", |
| 70 | ], |
| 71 | edition = "2018", |
| 72 | rustc_flags = [ |
| 73 | "--cap-lints=allow", |
| 74 | ], |
| 75 | tags = [ |
| 76 | "cargo-raze", |
| 77 | "crate-name=bstr", |
| 78 | "manual", |
| 79 | ], |
| 80 | version = "0.2.17", |
| 81 | # buildifier: leave-alone |
| 82 | deps = [ |
| 83 | "@raze__lazy_static__1_4_0//:lazy_static", |
| 84 | "@raze__memchr__2_5_0//:memchr", |
| 85 | "@raze__regex_automata__0_1_10//:regex_automata", |
| 86 | ], |
| 87 | ) |