mcshader-lsp/server/cargo/remote/serde_derive-1.0.116.BUILD
2020-09-13 22:49:27 +01:00

74 lines
1.5 KiB
Text

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "serde_derive_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.116",
visibility = ["//visibility:private"],
)
rust_library(
name = "serde_derive",
crate_type = "proc-macro",
deps = [
":serde_derive_build_script",
"@server__proc_macro2__1_0_21//:proc_macro2",
"@server__quote__1_0_7//:quote",
"@server__syn__1_0_40//:syn",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.116",
tags = ["cargo-raze"],
crate_features = [
"default",
],
)