blob: 93149b5450a32155ad083d1db2c5b330a7e65cf5 [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 //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/Apache-2.0
# ])
rust_library(
name = "wasm_bindgen",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"default",
"spans",
"std",
],
crate_root = "src/lib.rs",
edition = "2018",
proc_macro_deps = [
"@crate_index__wasm-bindgen-macro-0.2.84//:wasm_bindgen_macro",
],
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=wasm-bindgen",
"manual",
"noclippy",
"norustfmt",
],
version = "0.2.84",
deps = [
"@crate_index__cfg-if-1.0.0//:cfg_if",
"@crate_index__wasm-bindgen-0.2.84//:build_script_build",
],
)
cargo_build_script(
name = "wasm-bindgen_build_script",
srcs = glob(["**/*.rs"]),
crate_features = [
"default",
"spans",
"std",
],
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=wasm-bindgen",
"manual",
"noclippy",
"norustfmt",
],
version = "0.2.84",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "wasm-bindgen_build_script",
tags = ["manual"],
)