blob: 4a2c8effa3c459761f6c7372b516efda401b5abb [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 = "notify",
package_url = "https://github.com/notify-rs/notify.git",
package_version = "5.2.0",
)
license(
name = "license",
license_kinds = [
"@rules_license//licenses/spdx:Artistic-2.0",
"@rules_license//licenses/spdx:CC0-1.0",
],
license_text = "LICENSE.ARTISTIC",
)
rust_library(
name = "notify",
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_features = [
"fsevent-sys",
"macos_fsevent",
],
crate_root = "src/lib.rs",
edition = "2021",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=notify",
"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 = "5.2.0",
deps = [
"//third_party/rust_crates/ask2patch/walkdir",
"//third_party/rust_crates/vendor/bitflags-1.3.2:bitflags",
"//third_party/rust_crates/vendor/filetime-0.2.14:filetime",
"//third_party/rust_crates/vendor/libc-0.2.174:libc",
] + select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [
"//third_party/rust_crates/vendor/fsevent-sys-4.1.0:fsevent_sys", # aarch64-apple-darwin
],
"@rules_rust//rust/platform:x86_64-apple-darwin": [
"//third_party/rust_crates/vendor/fsevent-sys-4.1.0:fsevent_sys", # x86_64-apple-darwin
],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
"//third_party/rust_crates/vendor/inotify-0.9.6:inotify", # cfg(any(target_os = "linux", target_os = "android"))
"//third_party/rust_crates/vendor/mio-0.8.9:mio", # cfg(any(target_os = "linux", target_os = "android"))
],
"//conditions:default": [],
}),
)