| ############################################################################### |
| # @generated |
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To |
| # regenerate this file, run the following: |
| # |
| # bazel run //third_party/rust:crate_index |
| ############################################################################### |
| |
| 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 = "proc_macro_error", |
| srcs = glob(["**/*.rs"]), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "**/* *", |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ), |
| crate_features = [ |
| "default", |
| "syn", |
| "syn-error", |
| ], |
| crate_root = "src/lib.rs", |
| edition = "2018", |
| proc_macro_deps = [ |
| "@crate_index__proc-macro-error-attr-1.0.4//:proc_macro_error_attr", |
| ], |
| rustc_flags = ["--cap-lints=allow"], |
| tags = [ |
| "cargo-bazel", |
| "crate-name=proc-macro-error", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| version = "1.0.4", |
| deps = [ |
| "@crate_index__proc-macro-error-1.0.4//:build_script_build", |
| "@crate_index__proc-macro2-1.0.51//:proc_macro2", |
| "@crate_index__quote-1.0.23//:quote", |
| "@crate_index__syn-1.0.107//:syn", |
| ], |
| ) |
| |
| cargo_build_script( |
| name = "proc-macro-error_build_script", |
| srcs = glob(["**/*.rs"]), |
| crate_features = [ |
| "default", |
| "syn", |
| "syn-error", |
| ], |
| 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", |
| "crate-name=proc-macro-error", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| version = "1.0.4", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "@crate_index__version_check-0.9.4//:version_check", |
| ], |
| ) |
| |
| alias( |
| name = "build_script_build", |
| actual = "proc-macro-error_build_script", |
| tags = ["manual"], |
| ) |