blob: c49ffb9ad80ac8cc5078ee0982f8cd85dc5b3d71 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//crate_universe/3rdparty:crates_vendor
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT OR Apache-2.0
# ])
rust_library(
name = "syn",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"clone-impls",
"default",
"derive",
"full",
"parsing",
"printing",
"proc-macro",
"quote",
"visit",
],
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.107",
deps = [
"@cui__proc-macro2-1.0.49//:proc_macro2",
"@cui__quote-1.0.23//:quote",
"@cui__syn-1.0.107//:build_script_build",
"@cui__unicode-ident-1.0.6//:unicode_ident",
],
)
cargo_build_script(
name = "syn_build_script",
srcs = glob(["**/*.rs"]),
crate_features = [
"clone-impls",
"default",
"derive",
"full",
"parsing",
"printing",
"proc-macro",
"quote",
"visit",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.107",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "syn_build_script",
tags = ["manual"],
)