Serge Bazanski | cbf1fa9 | 2021-07-02 17:28:50 +0200 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:rust.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_test", |
| 17 | ) |
| 18 | |
| 19 | package(default_visibility = [ |
| 20 | # Public for visibility by "@raze__crate__version//" targets. |
| 21 | # |
| 22 | # Prefer access through "//third_party/rust/cargo", which limits external |
| 23 | # visibility to explicit Cargo.toml dependencies. |
| 24 | "//visibility:public", |
| 25 | ]) |
| 26 | |
| 27 | licenses([ |
| 28 | "unencumbered", # CC0-1.0 from expression "CC0-1.0" |
| 29 | ]) |
| 30 | |
| 31 | # Generated Targets |
| 32 | |
| 33 | # Unsupported target "monitor_debounced" with type "example" omitted |
| 34 | |
| 35 | # Unsupported target "monitor_raw" with type "example" omitted |
| 36 | |
| 37 | rust_library( |
| 38 | name = "notify", |
| 39 | srcs = glob(["**/*.rs"]), |
| 40 | aliases = { |
| 41 | }, |
| 42 | crate_features = [ |
| 43 | ], |
| 44 | crate_root = "src/lib.rs", |
| 45 | crate_type = "lib", |
| 46 | data = [], |
| 47 | edition = "2015", |
| 48 | rustc_flags = [ |
| 49 | "--cap-lints=allow", |
| 50 | ], |
| 51 | tags = [ |
| 52 | "cargo-raze", |
| 53 | "manual", |
| 54 | ], |
| 55 | version = "4.0.17", |
| 56 | # buildifier: leave-alone |
| 57 | deps = [ |
| 58 | "@raze__bitflags__1_2_1//:bitflags", |
| 59 | "@raze__filetime__0_2_14//:filetime", |
| 60 | "@raze__libc__0_2_97//:libc", |
| 61 | "@raze__walkdir__2_3_2//:walkdir", |
| 62 | ] + selects.with_or({ |
| 63 | # cfg(target_os = "linux") |
| 64 | ( |
| 65 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 66 | ): [ |
| 67 | "@raze__inotify__0_7_1//:inotify", |
| 68 | "@raze__mio__0_6_23//:mio", |
| 69 | "@raze__mio_extras__2_0_6//:mio_extras", |
| 70 | ], |
| 71 | "//conditions:default": [], |
| 72 | }), |
| 73 | ) |
| 74 | |
| 75 | # Unsupported target "debounce" with type "test" omitted |
| 76 | |
| 77 | # Unsupported target "event_path" with type "test" omitted |
| 78 | |
| 79 | # Unsupported target "fsevents" with type "test" omitted |
| 80 | |
| 81 | # Unsupported target "notify" with type "test" omitted |
| 82 | |
| 83 | # Unsupported target "race-with-remove-dir" with type "test" omitted |
| 84 | |
| 85 | # Unsupported target "watcher" with type "test" omitted |
| 86 | |
| 87 | # Unsupported target "windows" with type "test" omitted |