blob: e9c793856877559e83eea460dcf7de5e4f12e000 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# fx update-rustc-third-party
###############################################################################
load("@rules_rust//rust:defs.bzl", "rust_library")
load("@rules_license//rules:license.bzl", "license")
load("@rules_license//rules:package_info.bzl", "package_info")
package(
default_package_metadata = [
":license",
":package_info",
],
default_visibility = ["//visibility:public"],
)
package_info(
name = "package_info",
package_name = "blocking",
package_url = "https://github.com/smol-rs/blocking",
package_version = "1.3.0",
)
license(
name = "license",
license_kinds = [
"@rules_license//licenses/spdx:Apache-2.0",
"@rules_license//licenses/spdx:MIT",
],
license_text = "LICENSE-APACHE",
)
rust_library(
name = "blocking",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=blocking",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-unknown-fuchsia": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-unknown-fuchsia": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "1.3.0",
deps = [
"//third_party/rust_crates/vendor/async-channel-1.8.0:async_channel",
"//third_party/rust_crates/vendor/async-lock-2.6.0:async_lock",
"//third_party/rust_crates/vendor/async-task-4.0.3:async_task",
"//third_party/rust_crates/vendor/atomic-waker-1.1.2:atomic_waker",
"//third_party/rust_crates/vendor/fastrand-1.9.0:fastrand",
"//third_party/rust_crates/vendor/futures-lite-1.11.3:futures_lite",
],
)