blob: 0a94da6ac016eb1bebdee0f7d5b7dc46e8af9d46 [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"
29])
30
31# Generated Targets
32
33rust_binary(
34 # Prefix bin name to disambiguate from (probable) collision with lib name
35 # N.B.: The exact form of this is subject to change.
36 name = "cargo_bin_open",
37 srcs = glob(["**/*.rs"]),
38 aliases = {
39 },
40 crate_features = [
41 ],
42 crate_root = "src/main.rs",
43 data = [],
44 edition = "2018",
45 rustc_flags = [
46 "--cap-lints=allow",
47 ],
48 tags = [
49 "cargo-raze",
50 "manual",
51 ],
52 version = "1.7.0",
53 # buildifier: leave-alone
54 deps = [
55 ":open",
56 ] + selects.with_or({
57 # cfg(all(unix, not(macos)))
58 (
59 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
60 ): [
61 "@raze__which__4_1_0//:which",
62 ],
63 "//conditions:default": [],
64 }),
65)
66
67rust_library(
68 name = "open",
69 srcs = glob(["**/*.rs"]),
70 aliases = {
71 },
72 crate_features = [
73 ],
74 crate_root = "src/lib.rs",
75 crate_type = "lib",
76 data = [],
77 edition = "2018",
78 rustc_flags = [
79 "--cap-lints=allow",
80 ],
81 tags = [
82 "cargo-raze",
83 "manual",
84 ],
85 version = "1.7.0",
86 # buildifier: leave-alone
87 deps = [
88 ] + selects.with_or({
89 # cfg(all(unix, not(macos)))
90 (
91 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
92 ): [
93 "@raze__which__4_1_0//:which",
94 ],
95 "//conditions:default": [],
96 }),
97)