blob: 525773620ed3a69f40b07fe586d2958523161e7d [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 = "anyhow_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "default",
47 "std",
48 ],
49 crate_root = "build.rs",
50 data = glob(["**"]),
51 edition = "2018",
52 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
57 "manual",
58 ],
Leopold2aa8b182023-01-14 23:31:43 +010059 version = "1.0.68",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020060 visibility = ["//visibility:private"],
61 deps = [
62 ],
63)
64
65rust_library(
66 name = "anyhow",
67 srcs = glob(["**/*.rs"]),
68 crate_features = [
69 "default",
70 "std",
71 ],
72 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020073 data = [],
74 edition = "2018",
75 rustc_flags = [
76 "--cap-lints=allow",
77 ],
78 tags = [
79 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010080 "crate-name=anyhow",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020081 "manual",
82 ],
Leopold2aa8b182023-01-14 23:31:43 +010083 version = "1.0.68",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020084 # buildifier: leave-alone
85 deps = [
86 ":anyhow_build_script",
87 ],
88)
89
90# Unsupported target "compiletest" with type "test" omitted
91
92# Unsupported target "test_autotrait" with type "test" omitted
93
94# Unsupported target "test_backtrace" with type "test" omitted
95
96# Unsupported target "test_boxed" with type "test" omitted
97
98# Unsupported target "test_chain" with type "test" omitted
99
100# Unsupported target "test_context" with type "test" omitted
101
102# Unsupported target "test_convert" with type "test" omitted
103
104# Unsupported target "test_downcast" with type "test" omitted
105
Leopold2aa8b182023-01-14 23:31:43 +0100106# Unsupported target "test_ensure" with type "test" omitted
107
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200108# Unsupported target "test_ffi" with type "test" omitted
109
110# Unsupported target "test_fmt" with type "test" omitted
111
112# Unsupported target "test_macros" with type "test" omitted
113
114# Unsupported target "test_repr" with type "test" omitted
115
116# Unsupported target "test_source" with type "test" omitted