2020-11-01 05:26:58 +01:00
|
|
|
"""
|
|
|
|
@generated
|
|
|
|
cargo-raze crate build file.
|
|
|
|
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
|
|
"""
|
|
|
|
|
2021-03-27 09:39:02 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load(
|
2021-10-26 00:16:40 +02:00
|
|
|
"@rules_rust//rust:defs.bzl",
|
2020-11-01 05:26:58 +01:00
|
|
|
"rust_binary",
|
|
|
|
"rust_library",
|
2021-10-26 00:16:40 +02:00
|
|
|
"rust_proc_macro",
|
2020-11-01 05:26:58 +01:00
|
|
|
"rust_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
package(default_visibility = [
|
|
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
|
|
#
|
|
|
|
# Prefer access through "//cargo", which limits external
|
|
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
|
|
"//visibility:public",
|
|
|
|
])
|
|
|
|
|
|
|
|
licenses([
|
|
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
|
|
|
])
|
|
|
|
|
2020-11-24 07:57:37 +01:00
|
|
|
# Generated Targets
|
2021-03-27 09:39:02 +01:00
|
|
|
# buildifier: disable=out-of-order-load
|
2020-11-24 07:57:37 +01:00
|
|
|
# buildifier: disable=load-on-top
|
2020-11-01 05:26:58 +01:00
|
|
|
load(
|
2021-03-27 09:39:02 +01:00
|
|
|
"@rules_rust//cargo:cargo_build_script.bzl",
|
2020-11-01 05:26:58 +01:00
|
|
|
"cargo_build_script",
|
|
|
|
)
|
|
|
|
|
|
|
|
cargo_build_script(
|
|
|
|
name = "anyhow_build_script",
|
|
|
|
srcs = glob(["**/*.rs"]),
|
2020-11-10 00:47:24 +01:00
|
|
|
build_script_env = {
|
|
|
|
},
|
|
|
|
crate_features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
crate_root = "build.rs",
|
2020-11-10 00:47:24 +01:00
|
|
|
data = glob(["**"]),
|
2020-11-01 05:26:58 +01:00
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
|
|
|
],
|
2021-12-03 11:04:47 +01:00
|
|
|
version = "1.0.51",
|
2020-11-01 05:26:58 +01:00
|
|
|
visibility = ["//visibility:private"],
|
2020-11-10 00:47:24 +01:00
|
|
|
deps = [
|
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
rust_library(
|
|
|
|
name = "anyhow",
|
|
|
|
srcs = glob(["**/*.rs"]),
|
2020-11-10 00:47:24 +01:00
|
|
|
crate_features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
crate_root = "src/lib.rs",
|
2020-12-15 11:28:10 +01:00
|
|
|
data = [],
|
2020-11-01 05:26:58 +01:00
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
2021-12-20 06:04:19 +01:00
|
|
|
"crate-name=anyhow"
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
2021-12-03 11:04:47 +01:00
|
|
|
version = "1.0.51",
|
2020-11-10 00:47:24 +01:00
|
|
|
# buildifier: leave-alone
|
|
|
|
deps = [
|
|
|
|
":anyhow_build_script",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
|
|
|
)
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "compiletest" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_autotrait" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_backtrace" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_boxed" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_chain" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_context" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_convert" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_downcast" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2021-12-03 11:04:47 +01:00
|
|
|
# Unsupported target "test_ensure" with type "test" omitted
|
|
|
|
|
2020-12-23 01:06:35 +01:00
|
|
|
# Unsupported target "test_ffi" with type "test" omitted
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_fmt" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_macros" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_repr" with type "test" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "test_source" with type "test" omitted
|