blob: 2ef115ba51bece881296c198ac59fab51e973eb5 [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
34rust_binary(
35 # Prefix bin name to disambiguate from (probable) collision with lib name
36 # N.B.: The exact form of this is subject to change.
37 name = "cargo_bin_gitignore_check",
38 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020039 crate_root = "src/bin/gitignore_check.rs",
40 data = [],
41 edition = "2015",
42 rustc_flags = [
43 "--cap-lints=allow",
44 ],
45 tags = [
46 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010047 "crate-name=gitignore_check",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020048 "manual",
49 ],
50 version = "1.0.7",
51 # buildifier: leave-alone
52 deps = [
53 ":gitignore",
Leopold2aa8b182023-01-14 23:31:43 +010054 "@raze__glob__0_3_1//:glob",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020055 ],
56)
57
58rust_binary(
59 # Prefix bin name to disambiguate from (probable) collision with lib name
60 # N.B.: The exact form of this is subject to change.
61 name = "cargo_bin_gitignore_tree",
62 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020063 crate_root = "src/bin/gitignore_tree.rs",
64 data = [],
65 edition = "2015",
66 rustc_flags = [
67 "--cap-lints=allow",
68 ],
69 tags = [
70 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010071 "crate-name=gitignore_tree",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020072 "manual",
73 ],
74 version = "1.0.7",
75 # buildifier: leave-alone
76 deps = [
77 ":gitignore",
Leopold2aa8b182023-01-14 23:31:43 +010078 "@raze__glob__0_3_1//:glob",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020079 ],
80)
81
82rust_library(
83 name = "gitignore",
84 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020085 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020086 data = [],
87 edition = "2015",
88 rustc_flags = [
89 "--cap-lints=allow",
90 ],
91 tags = [
92 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010093 "crate-name=gitignore",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020094 "manual",
95 ],
96 version = "1.0.7",
97 # buildifier: leave-alone
98 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010099 "@raze__glob__0_3_1//:glob",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200100 ],
101)