blob: 107269fbfdbe26edeb59a1e7358b7c5be5436da2 [file] [log] [blame]
Chris Frantzfd4a5492023-02-13 18:06:11 +00001###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6# bazel run //third_party/rust:crate_index
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15# "TODO", # MIT
16# ])
17
18rust_library(
19 name = "rusb",
20 srcs = glob(["**/*.rs"]),
21 compile_data = glob(
22 include = ["**"],
23 exclude = [
24 "**/* *",
25 "BUILD",
26 "BUILD.bazel",
27 "WORKSPACE",
28 "WORKSPACE.bazel",
29 ],
30 ),
31 crate_root = "src/lib.rs",
32 edition = "2018",
33 rustc_flags = ["--cap-lints=allow"],
34 tags = [
35 "cargo-bazel",
36 "crate-name=rusb",
37 "manual",
38 "noclippy",
39 "norustfmt",
40 ],
41 version = "0.8.1",
42 deps = [
43 "@crate_index__libc-0.2.139//:libc",
44 "@crate_index__libusb1-sys-0.5.0//:libusb1_sys",
45 "@crate_index__rusb-0.8.1//:build_script_build",
46 ],
47)
48
49cargo_build_script(
50 name = "rusb_build_script",
51 srcs = glob(["**/*.rs"]),
52 crate_name = "build_script_build",
53 crate_root = "build.rs",
54 data = glob(
55 include = ["**"],
56 exclude = [
57 "**/* *",
58 "BUILD",
59 "BUILD.bazel",
60 "WORKSPACE",
61 "WORKSPACE.bazel",
62 ],
63 ),
64 edition = "2018",
65 rustc_flags = [
66 "--cap-lints=allow",
67 ],
68 tags = [
69 "cargo-bazel",
70 "crate-name=rusb",
71 "manual",
72 "noclippy",
73 "norustfmt",
74 ],
75 version = "0.8.1",
76 visibility = ["//visibility:private"],
77)
78
79alias(
80 name = "build_script_build",
81 actual = "rusb_build_script",
82 tags = ["manual"],
83)