diff --git a/bindgen/raze/BUILD b/bindgen/raze/BUILD index 288064c53a..748191b646 100644 --- a/bindgen/raze/BUILD +++ b/bindgen/raze/BUILD @@ -1,4 +1,5 @@ """ +@generated cargo-raze workspace build file. DO NOT EDIT! Replaced on runs of cargo-raze @@ -10,14 +11,32 @@ licenses([ "notice", # See individual crates for specific licenses ]) +# Aliased targets alias( name = "bindgen", - actual = "@raze__bindgen__0_54_0//:bindgen", + actual = "@rules_rust_bindgen__bindgen__0_54_0//:bindgen", + tags = [ + "cargo-raze", + "manual", + ], ) alias( # Extra aliased target, from raze configuration # N.B.: The exact form of this is subject to change. name = "cargo_bin_bindgen", - actual = "@raze__bindgen__0_54_0//:cargo_bin_bindgen", + actual = "@rules_rust_bindgen__bindgen__0_54_0//:cargo_bin_bindgen", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "libloading", + actual = "@rules_rust_bindgen__libloading__0_5_0//:libloading", + tags = [ + "cargo-raze", + "manual", + ], ) diff --git a/bindgen/raze/BUILD.bazel b/bindgen/raze/BUILD.bazel new file mode 100644 index 0000000000..748191b646 --- /dev/null +++ b/bindgen/raze/BUILD.bazel @@ -0,0 +1,42 @@ +""" +@generated +cargo-raze workspace build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +package(default_visibility = ["//visibility:public"]) + +licenses([ + "notice", # See individual crates for specific licenses +]) + +# Aliased targets +alias( + name = "bindgen", + actual = "@rules_rust_bindgen__bindgen__0_54_0//:bindgen", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + # Extra aliased target, from raze configuration + # N.B.: The exact form of this is subject to change. + name = "cargo_bin_bindgen", + actual = "@rules_rust_bindgen__bindgen__0_54_0//:cargo_bin_bindgen", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "libloading", + actual = "@rules_rust_bindgen__libloading__0_5_0//:libloading", + tags = [ + "cargo-raze", + "manual", + ], +) diff --git a/bindgen/raze/Cargo.lock b/bindgen/raze/Cargo.lock new file mode 100644 index 0000000000..505109800b --- /dev/null +++ b/bindgen/raze/Cargo.lock @@ -0,0 +1,362 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "aho-corasick" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" +dependencies = [ + "memchr", +] + +[[package]] +name = "ansi_term" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" +dependencies = [ + "winapi", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi", +] + +[[package]] +name = "bindgen" +version = "0.54.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c0bb6167449588ff70803f4127f0684f9063097eca5016f37eb52b92c2cf36" +dependencies = [ + "bitflags", + "cexpr", + "cfg-if", + "clang-sys", + "clap", + "env_logger", + "lazy_static", + "lazycell", + "log", + "peeking_take_while", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", + "which", +] + +[[package]] +name = "bitflags" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "cc" +version = "1.0.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c" + +[[package]] +name = "cexpr" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "clang-sys" +version = "0.29.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe6837df1d5cba2397b835c8530f51723267e16abbf83892e9e5af4f0e5dd10a" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "clap" +version = "2.33.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" +dependencies = [ + "ansi_term", + "atty", + "bitflags", + "strsim", + "textwrap", + "unicode-width", + "vec_map", +] + +[[package]] +name = "env_logger" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "fake_rules_rust_bindgen_lib" +version = "0.0.1" +dependencies = [ + "bindgen", + "libloading", +] + +[[package]] +name = "glob" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] +name = "hermit-abi" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" +dependencies = [ + "libc", +] + +[[package]] +name = "humantime" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" +dependencies = [ + "quick-error", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + +[[package]] +name = "libc" +version = "0.2.77" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235" + +[[package]] +name = "libloading" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2" +dependencies = [ + "cc", + "winapi", +] + +[[package]] +name = "log" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "memchr" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" + +[[package]] +name = "nom" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" +dependencies = [ + "memchr", + "version_check", +] + +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + +[[package]] +name = "proc-macro2" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "regex" +version = "1.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", + "thread_local", +] + +[[package]] +name = "regex-syntax" +version = "0.6.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "shlex" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" + +[[package]] +name = "strsim" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" + +[[package]] +name = "termcolor" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "textwrap" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" +dependencies = [ + "unicode-width", +] + +[[package]] +name = "thread_local" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "unicode-width" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" + +[[package]] +name = "unicode-xid" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" + +[[package]] +name = "vec_map" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" + +[[package]] +name = "version_check" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" + +[[package]] +name = "which" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724" +dependencies = [ + "libc", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/bindgen/raze/Cargo.toml b/bindgen/raze/Cargo.toml index 7fcc069ce7..a4cce86bc0 100644 --- a/bindgen/raze/Cargo.toml +++ b/bindgen/raze/Cargo.toml @@ -1,9 +1,19 @@ -[raze] -genmode = "Remote" -workspace_path = "//bindgen/raze" +[package] +name = "fake_rules_rust_bindgen_lib" +version = "0.0.1" + +[lib] +path = "fake_rules_rust_bindgen_lib.rs" [dependencies] bindgen = "0.54.0" +libloading = "=0.5.0" + +[raze] +genmode = "Remote" +workspace_path = "//bindgen/raze" +gen_workspace_prefix = "rules_rust_bindgen" +output_buildfile_suffix = "BUILD" [raze.crates.bindgen.'0.54.0'] gen_buildrs = true @@ -12,18 +22,11 @@ extra_aliased_targets = ["cargo_bin_bindgen"] [raze.crates.clang-sys.'0.29.3'] gen_buildrs = true -[raze.crates.libloading.'0.5.2'] +[raze.crates.libloading.'0.5.0'] additional_deps = [":global_static"] additional_build_file = "libloading-global-static.BUILD" -[raze.crates.log.'0.4.8'] +[raze.crates.log.'0.4.11'] additional_flags = [ "--cfg=atomic_cas", ] - -[package] -name = "fake_lib" -version = "0.0.1" - -[lib] -path = "fake_lib.rs" diff --git a/bindgen/raze/crates.bzl b/bindgen/raze/crates.bzl index 571146311d..d2b875d91f 100644 --- a/bindgen/raze/crates.bzl +++ b/bindgen/raze/crates.bzl @@ -1,393 +1,430 @@ """ +@generated cargo-raze crate workspace functions DO NOT EDIT! Replaced on runs of cargo-raze """ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load -def _new_http_archive(name, **kwargs): - if not native.existing_rule(name): - http_archive(name = name, **kwargs) - -def _new_git_repository(name, **kwargs): - if not native.existing_rule(name): - new_git_repository(name = name, **kwargs) - -def raze_fetch_remote_crates(): - _new_http_archive( - name = "raze__aho_corasick__0_7_13", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.13.crate", +def rules_rust_bindgen_fetch_remote_crates(): + """This function defines a collection of repos and should be called in a WORKSPACE file""" + maybe( + http_archive, + name = "rules_rust_bindgen__aho_corasick__0_7_13", + url = "https://crates.io/api/v1/crates/aho-corasick/0.7.13/download", type = "tar.gz", sha256 = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86", strip_prefix = "aho-corasick-0.7.13", build_file = Label("//bindgen/raze/remote:aho-corasick-0.7.13.BUILD"), ) - _new_http_archive( - name = "raze__ansi_term__0_11_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.11.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__ansi_term__0_11_0", + url = "https://crates.io/api/v1/crates/ansi_term/0.11.0/download", type = "tar.gz", sha256 = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b", strip_prefix = "ansi_term-0.11.0", build_file = Label("//bindgen/raze/remote:ansi_term-0.11.0.BUILD"), ) - _new_http_archive( - name = "raze__atty__0_2_14", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__atty__0_2_14", + url = "https://crates.io/api/v1/crates/atty/0.2.14/download", type = "tar.gz", sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", strip_prefix = "atty-0.2.14", build_file = Label("//bindgen/raze/remote:atty-0.2.14.BUILD"), ) - _new_http_archive( - name = "raze__bindgen__0_54_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bindgen/bindgen-0.54.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__bindgen__0_54_0", + url = "https://crates.io/api/v1/crates/bindgen/0.54.0/download", type = "tar.gz", sha256 = "66c0bb6167449588ff70803f4127f0684f9063097eca5016f37eb52b92c2cf36", strip_prefix = "bindgen-0.54.0", build_file = Label("//bindgen/raze/remote:bindgen-0.54.0.BUILD"), ) - _new_http_archive( - name = "raze__bitflags__1_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__bitflags__1_2_1", + url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download", type = "tar.gz", sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693", strip_prefix = "bitflags-1.2.1", build_file = Label("//bindgen/raze/remote:bitflags-1.2.1.BUILD"), ) - _new_http_archive( - name = "raze__cc__1_0_56", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.56.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__cc__1_0_60", + url = "https://crates.io/api/v1/crates/cc/1.0.60/download", type = "tar.gz", - sha256 = "77c1f1d60091c1b73e2b1f4560ab419204b178e625fa945ded7b660becd2bd46", - strip_prefix = "cc-1.0.56", - build_file = Label("//bindgen/raze/remote:cc-1.0.56.BUILD"), + sha256 = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c", + strip_prefix = "cc-1.0.60", + build_file = Label("//bindgen/raze/remote:cc-1.0.60.BUILD"), ) - _new_http_archive( - name = "raze__cexpr__0_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cexpr/cexpr-0.4.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__cexpr__0_4_0", + url = "https://crates.io/api/v1/crates/cexpr/0.4.0/download", type = "tar.gz", sha256 = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27", strip_prefix = "cexpr-0.4.0", build_file = Label("//bindgen/raze/remote:cexpr-0.4.0.BUILD"), ) - _new_http_archive( - name = "raze__cfg_if__0_1_10", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__cfg_if__0_1_10", + url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", type = "tar.gz", sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", strip_prefix = "cfg-if-0.1.10", build_file = Label("//bindgen/raze/remote:cfg-if-0.1.10.BUILD"), ) - _new_http_archive( - name = "raze__clang_sys__0_29_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/clang-sys/clang-sys-0.29.3.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__clang_sys__0_29_3", + url = "https://crates.io/api/v1/crates/clang-sys/0.29.3/download", type = "tar.gz", sha256 = "fe6837df1d5cba2397b835c8530f51723267e16abbf83892e9e5af4f0e5dd10a", strip_prefix = "clang-sys-0.29.3", build_file = Label("//bindgen/raze/remote:clang-sys-0.29.3.BUILD"), ) - _new_http_archive( - name = "raze__clap__2_33_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__clap__2_33_3", + url = "https://crates.io/api/v1/crates/clap/2.33.3/download", type = "tar.gz", - sha256 = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129", - strip_prefix = "clap-2.33.1", - build_file = Label("//bindgen/raze/remote:clap-2.33.1.BUILD"), + sha256 = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002", + strip_prefix = "clap-2.33.3", + build_file = Label("//bindgen/raze/remote:clap-2.33.3.BUILD"), ) - _new_http_archive( - name = "raze__env_logger__0_7_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/env_logger/env_logger-0.7.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__env_logger__0_7_1", + url = "https://crates.io/api/v1/crates/env_logger/0.7.1/download", type = "tar.gz", sha256 = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36", strip_prefix = "env_logger-0.7.1", build_file = Label("//bindgen/raze/remote:env_logger-0.7.1.BUILD"), ) - _new_http_archive( - name = "raze__glob__0_3_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/glob/glob-0.3.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__glob__0_3_0", + url = "https://crates.io/api/v1/crates/glob/0.3.0/download", type = "tar.gz", sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574", strip_prefix = "glob-0.3.0", build_file = Label("//bindgen/raze/remote:glob-0.3.0.BUILD"), ) - _new_http_archive( - name = "raze__hermit_abi__0_1_14", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.14.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__hermit_abi__0_1_15", + url = "https://crates.io/api/v1/crates/hermit-abi/0.1.15/download", type = "tar.gz", - sha256 = "b9586eedd4ce6b3c498bc3b4dd92fc9f11166aa908a914071953768066c67909", - strip_prefix = "hermit-abi-0.1.14", - build_file = Label("//bindgen/raze/remote:hermit-abi-0.1.14.BUILD"), + sha256 = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9", + strip_prefix = "hermit-abi-0.1.15", + build_file = Label("//bindgen/raze/remote:hermit-abi-0.1.15.BUILD"), ) - _new_http_archive( - name = "raze__humantime__1_3_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/humantime/humantime-1.3.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__humantime__1_3_0", + url = "https://crates.io/api/v1/crates/humantime/1.3.0/download", type = "tar.gz", sha256 = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f", strip_prefix = "humantime-1.3.0", build_file = Label("//bindgen/raze/remote:humantime-1.3.0.BUILD"), ) - _new_http_archive( - name = "raze__lazy_static__1_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__lazy_static__1_4_0", + url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download", type = "tar.gz", sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", strip_prefix = "lazy_static-1.4.0", build_file = Label("//bindgen/raze/remote:lazy_static-1.4.0.BUILD"), ) - _new_http_archive( - name = "raze__lazycell__1_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/lazycell/lazycell-1.2.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__lazycell__1_3_0", + url = "https://crates.io/api/v1/crates/lazycell/1.3.0/download", type = "tar.gz", - sha256 = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f", - strip_prefix = "lazycell-1.2.1", - build_file = Label("//bindgen/raze/remote:lazycell-1.2.1.BUILD"), + sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55", + strip_prefix = "lazycell-1.3.0", + build_file = Label("//bindgen/raze/remote:lazycell-1.3.0.BUILD"), ) - _new_http_archive( - name = "raze__libc__0_2_71", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.71.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__libc__0_2_77", + url = "https://crates.io/api/v1/crates/libc/0.2.77/download", type = "tar.gz", - sha256 = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49", - strip_prefix = "libc-0.2.71", - build_file = Label("//bindgen/raze/remote:libc-0.2.71.BUILD"), + sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235", + strip_prefix = "libc-0.2.77", + build_file = Label("//bindgen/raze/remote:libc-0.2.77.BUILD"), ) - _new_http_archive( - name = "raze__libloading__0_5_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libloading/libloading-0.5.2.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__libloading__0_5_0", + url = "https://crates.io/api/v1/crates/libloading/0.5.0/download", type = "tar.gz", - sha256 = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753", - strip_prefix = "libloading-0.5.2", - build_file = Label("//bindgen/raze/remote:libloading-0.5.2.BUILD"), + sha256 = "9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2", + strip_prefix = "libloading-0.5.0", + build_file = Label("//bindgen/raze/remote:libloading-0.5.0.BUILD"), ) - _new_http_archive( - name = "raze__log__0_4_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.8.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__log__0_4_11", + url = "https://crates.io/api/v1/crates/log/0.4.11/download", type = "tar.gz", - sha256 = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7", - strip_prefix = "log-0.4.8", - build_file = Label("//bindgen/raze/remote:log-0.4.8.BUILD"), + sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", + strip_prefix = "log-0.4.11", + build_file = Label("//bindgen/raze/remote:log-0.4.11.BUILD"), ) - _new_http_archive( - name = "raze__memchr__2_3_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.3.3.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__memchr__2_3_3", + url = "https://crates.io/api/v1/crates/memchr/2.3.3/download", type = "tar.gz", sha256 = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400", strip_prefix = "memchr-2.3.3", build_file = Label("//bindgen/raze/remote:memchr-2.3.3.BUILD"), ) - _new_http_archive( - name = "raze__nom__5_1_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/nom/nom-5.1.2.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__nom__5_1_2", + url = "https://crates.io/api/v1/crates/nom/5.1.2/download", type = "tar.gz", sha256 = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af", strip_prefix = "nom-5.1.2", build_file = Label("//bindgen/raze/remote:nom-5.1.2.BUILD"), ) - _new_http_archive( - name = "raze__peeking_take_while__0_1_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/peeking_take_while/peeking_take_while-0.1.2.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__peeking_take_while__0_1_2", + url = "https://crates.io/api/v1/crates/peeking_take_while/0.1.2/download", type = "tar.gz", sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099", strip_prefix = "peeking_take_while-0.1.2", build_file = Label("//bindgen/raze/remote:peeking_take_while-0.1.2.BUILD"), ) - _new_http_archive( - name = "raze__proc_macro2__1_0_18", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.18.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__proc_macro2__1_0_21", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.21/download", type = "tar.gz", - sha256 = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa", - strip_prefix = "proc-macro2-1.0.18", - build_file = Label("//bindgen/raze/remote:proc-macro2-1.0.18.BUILD"), + sha256 = "36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c", + strip_prefix = "proc-macro2-1.0.21", + build_file = Label("//bindgen/raze/remote:proc-macro2-1.0.21.BUILD"), ) - _new_http_archive( - name = "raze__quick_error__1_2_3", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/quick-error/quick-error-1.2.3.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__quick_error__1_2_3", + url = "https://crates.io/api/v1/crates/quick-error/1.2.3/download", type = "tar.gz", sha256 = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0", strip_prefix = "quick-error-1.2.3", build_file = Label("//bindgen/raze/remote:quick-error-1.2.3.BUILD"), ) - _new_http_archive( - name = "raze__quote__1_0_7", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.7.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__quote__1_0_7", + url = "https://crates.io/api/v1/crates/quote/1.0.7/download", type = "tar.gz", sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37", strip_prefix = "quote-1.0.7", build_file = Label("//bindgen/raze/remote:quote-1.0.7.BUILD"), ) - _new_http_archive( - name = "raze__regex__1_3_9", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.3.9.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__regex__1_3_9", + url = "https://crates.io/api/v1/crates/regex/1.3.9/download", type = "tar.gz", sha256 = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6", strip_prefix = "regex-1.3.9", build_file = Label("//bindgen/raze/remote:regex-1.3.9.BUILD"), ) - _new_http_archive( - name = "raze__regex_syntax__0_6_18", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.18.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__regex_syntax__0_6_18", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.18/download", type = "tar.gz", sha256 = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8", strip_prefix = "regex-syntax-0.6.18", build_file = Label("//bindgen/raze/remote:regex-syntax-0.6.18.BUILD"), ) - _new_http_archive( - name = "raze__rustc_hash__1_1_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-hash/rustc-hash-1.1.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__rustc_hash__1_1_0", + url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download", type = "tar.gz", sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2", strip_prefix = "rustc-hash-1.1.0", build_file = Label("//bindgen/raze/remote:rustc-hash-1.1.0.BUILD"), ) - _new_http_archive( - name = "raze__shlex__0_1_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/shlex/shlex-0.1.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__shlex__0_1_1", + url = "https://crates.io/api/v1/crates/shlex/0.1.1/download", type = "tar.gz", sha256 = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2", strip_prefix = "shlex-0.1.1", build_file = Label("//bindgen/raze/remote:shlex-0.1.1.BUILD"), ) - _new_http_archive( - name = "raze__strsim__0_8_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.8.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__strsim__0_8_0", + url = "https://crates.io/api/v1/crates/strsim/0.8.0/download", type = "tar.gz", sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a", strip_prefix = "strsim-0.8.0", build_file = Label("//bindgen/raze/remote:strsim-0.8.0.BUILD"), ) - _new_http_archive( - name = "raze__termcolor__1_1_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/termcolor/termcolor-1.1.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__termcolor__1_1_0", + url = "https://crates.io/api/v1/crates/termcolor/1.1.0/download", type = "tar.gz", sha256 = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f", strip_prefix = "termcolor-1.1.0", build_file = Label("//bindgen/raze/remote:termcolor-1.1.0.BUILD"), ) - _new_http_archive( - name = "raze__textwrap__0_11_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__textwrap__0_11_0", + url = "https://crates.io/api/v1/crates/textwrap/0.11.0/download", type = "tar.gz", sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060", strip_prefix = "textwrap-0.11.0", build_file = Label("//bindgen/raze/remote:textwrap-0.11.0.BUILD"), ) - _new_http_archive( - name = "raze__thread_local__1_0_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/thread_local/thread_local-1.0.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__thread_local__1_0_1", + url = "https://crates.io/api/v1/crates/thread_local/1.0.1/download", type = "tar.gz", sha256 = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14", strip_prefix = "thread_local-1.0.1", build_file = Label("//bindgen/raze/remote:thread_local-1.0.1.BUILD"), ) - _new_http_archive( - name = "raze__unicode_width__0_1_8", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.8.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__unicode_width__0_1_8", + url = "https://crates.io/api/v1/crates/unicode-width/0.1.8/download", type = "tar.gz", sha256 = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3", strip_prefix = "unicode-width-0.1.8", build_file = Label("//bindgen/raze/remote:unicode-width-0.1.8.BUILD"), ) - _new_http_archive( - name = "raze__unicode_xid__0_2_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__unicode_xid__0_2_1", + url = "https://crates.io/api/v1/crates/unicode-xid/0.2.1/download", type = "tar.gz", sha256 = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564", strip_prefix = "unicode-xid-0.2.1", build_file = Label("//bindgen/raze/remote:unicode-xid-0.2.1.BUILD"), ) - _new_http_archive( - name = "raze__vec_map__0_8_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.2.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__vec_map__0_8_2", + url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download", type = "tar.gz", sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191", strip_prefix = "vec_map-0.8.2", build_file = Label("//bindgen/raze/remote:vec_map-0.8.2.BUILD"), ) - _new_http_archive( - name = "raze__version_check__0_9_2", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__version_check__0_9_2", + url = "https://crates.io/api/v1/crates/version_check/0.9.2/download", type = "tar.gz", sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed", strip_prefix = "version_check-0.9.2", build_file = Label("//bindgen/raze/remote:version_check-0.9.2.BUILD"), ) - _new_http_archive( - name = "raze__which__3_1_1", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/which/which-3.1.1.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__which__3_1_1", + url = "https://crates.io/api/v1/crates/which/3.1.1/download", type = "tar.gz", sha256 = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724", strip_prefix = "which-3.1.1", build_file = Label("//bindgen/raze/remote:which-3.1.1.BUILD"), ) - _new_http_archive( - name = "raze__winapi__0_3_9", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__winapi__0_3_9", + url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", type = "tar.gz", sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", strip_prefix = "winapi-0.3.9", build_file = Label("//bindgen/raze/remote:winapi-0.3.9.BUILD"), ) - _new_http_archive( - name = "raze__winapi_i686_pc_windows_gnu__0_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__winapi_i686_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", type = "tar.gz", sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", build_file = Label("//bindgen/raze/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD"), ) - _new_http_archive( - name = "raze__winapi_util__0_1_5", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-util/winapi-util-0.1.5.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__winapi_util__0_1_5", + url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download", type = "tar.gz", sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", strip_prefix = "winapi-util-0.1.5", build_file = Label("//bindgen/raze/remote:winapi-util-0.1.5.BUILD"), ) - _new_http_archive( - name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate", + maybe( + http_archive, + name = "rules_rust_bindgen__winapi_x86_64_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", type = "tar.gz", sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", diff --git a/bindgen/raze/libloading-global-static.BUILD b/bindgen/raze/libloading-global-static.BUILD index a80fd965e0..fb256f44af 100644 --- a/bindgen/raze/libloading-global-static.BUILD +++ b/bindgen/raze/libloading-global-static.BUILD @@ -1,3 +1,6 @@ +# buildifier: disable=load-on-top +load("@rules_cc//cc:defs.bzl", "cc_library") + cc_library( name = "global_static", srcs = ["src/os/unix/global_static.c"], diff --git a/bindgen/raze/remote/aho-corasick-0.7.13.BUILD b/bindgen/raze/remote/aho-corasick-0.7.13.BUILD index 02b78884bc..1ab5abe999 100644 --- a/bindgen/raze/remote/aho-corasick-0.7.13.BUILD +++ b/bindgen/raze/remote/aho-corasick-0.7.13.BUILD @@ -1,34 +1,41 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "aho_corasick", crate_type = "lib", deps = [ - "@raze__memchr__2_3_3//:memchr", + "@rules_rust_bindgen__memchr__2_3_3//:memchr", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -37,9 +44,12 @@ rust_library( "--cap-lints=allow", ], version = "0.7.13", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/bindgen/raze/remote/ansi_term-0.11.0.BUILD b/bindgen/raze/remote/ansi_term-0.11.0.BUILD index 8e31d3f720..de1f0ec0c0 100644 --- a/bindgen/raze/remote/ansi_term-0.11.0.BUILD +++ b/bindgen/raze/remote/ansi_term-0.11.0.BUILD @@ -1,34 +1,50 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) +# Generated targets +# buildifier: leave-alone rust_library( name = "ansi_term", crate_type = "lib", deps = [ - ], + ] + selects.with_or({ + # cfg(target_os = "windows") + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", @@ -36,8 +52,13 @@ rust_library( "--cap-lints=allow", ], version = "0.11.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - # Unsupported target "colours" with type "example" omitted diff --git a/bindgen/raze/remote/atty-0.2.14.BUILD b/bindgen/raze/remote/atty-0.2.14.BUILD index f256a4f3f4..44928b239b 100644 --- a/bindgen/raze/remote/atty-0.2.14.BUILD +++ b/bindgen/raze/remote/atty-0.2.14.BUILD @@ -1,36 +1,73 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) +# Generated targets # Unsupported target "atty" with type "example" omitted +# buildifier: leave-alone rust_library( name = "atty", crate_type = "lib", deps = [ - "@raze__libc__0_2_71//:libc", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_bindgen__libc__0_2_77//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", @@ -38,7 +75,12 @@ rust_library( "--cap-lints=allow", ], version = "0.2.14", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/bindgen/raze/remote/bindgen-0.54.0.BUILD b/bindgen/raze/remote/bindgen-0.54.0.BUILD index 9976e0b351..76501ce01f 100644 --- a/bindgen/raze/remote/bindgen-0.54.0.BUILD +++ b/bindgen/raze/remote/bindgen-0.54.0.BUILD @@ -1,38 +1,48 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # BSD-3-Clause from expression "BSD-3-Clause" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets +# buildifier: disable=load-on-top load( "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script", ) +# buildifier: leave-alone cargo_build_script( name = "bindgen_build_script", srcs = glob(["**/*.rs"]), crate_root = "build.rs", edition = "2018", deps = [ + "@rules_rust_bindgen__clang_sys__0_29_3//:clang_sys", ], rustc_flags = [ "--cap-lints=allow", @@ -47,11 +57,19 @@ cargo_build_script( "which", "which-rustfmt", ], + build_script_env = { + }, data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], version = "0.54.0", visibility = ["//visibility:private"], ) + +# buildifier: leave-alone rust_binary( # Prefix bin name to disambiguate from (probable) collision with lib name # N.B.: The exact form of this is subject to change. @@ -60,22 +78,22 @@ rust_binary( # Binaries get an implicit dependency on their crate's lib ":bindgen", ":bindgen_build_script", - "@raze__bitflags__1_2_1//:bitflags", - "@raze__cexpr__0_4_0//:cexpr", - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__clang_sys__0_29_3//:clang_sys", - "@raze__clap__2_33_1//:clap", - "@raze__env_logger__0_7_1//:env_logger", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__lazycell__1_2_1//:lazycell", - "@raze__log__0_4_8//:log", - "@raze__peeking_take_while__0_1_2//:peeking_take_while", - "@raze__proc_macro2__1_0_18//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__regex__1_3_9//:regex", - "@raze__rustc_hash__1_1_0//:rustc_hash", - "@raze__shlex__0_1_1//:shlex", - "@raze__which__3_1_1//:which", + "@rules_rust_bindgen__bitflags__1_2_1//:bitflags", + "@rules_rust_bindgen__cexpr__0_4_0//:cexpr", + "@rules_rust_bindgen__cfg_if__0_1_10//:cfg_if", + "@rules_rust_bindgen__clang_sys__0_29_3//:clang_sys", + "@rules_rust_bindgen__clap__2_33_3//:clap", + "@rules_rust_bindgen__env_logger__0_7_1//:env_logger", + "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static", + "@rules_rust_bindgen__lazycell__1_3_0//:lazycell", + "@rules_rust_bindgen__log__0_4_11//:log", + "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while", + "@rules_rust_bindgen__proc_macro2__1_0_21//:proc_macro2", + "@rules_rust_bindgen__quote__1_0_7//:quote", + "@rules_rust_bindgen__regex__1_3_9//:regex", + "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash", + "@rules_rust_bindgen__shlex__0_1_1//:shlex", + "@rules_rust_bindgen__which__3_1_1//:which", ], srcs = glob(["**/*.rs"]), crate_root = "src/main.rs", @@ -84,6 +102,10 @@ rust_binary( "--cap-lints=allow", ], version = "0.54.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "clap", "default", @@ -96,28 +118,28 @@ rust_binary( ], ) - +# buildifier: leave-alone rust_library( name = "bindgen", crate_type = "lib", deps = [ ":bindgen_build_script", - "@raze__bitflags__1_2_1//:bitflags", - "@raze__cexpr__0_4_0//:cexpr", - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__clang_sys__0_29_3//:clang_sys", - "@raze__clap__2_33_1//:clap", - "@raze__env_logger__0_7_1//:env_logger", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__lazycell__1_2_1//:lazycell", - "@raze__log__0_4_8//:log", - "@raze__peeking_take_while__0_1_2//:peeking_take_while", - "@raze__proc_macro2__1_0_18//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__regex__1_3_9//:regex", - "@raze__rustc_hash__1_1_0//:rustc_hash", - "@raze__shlex__0_1_1//:shlex", - "@raze__which__3_1_1//:which", + "@rules_rust_bindgen__bitflags__1_2_1//:bitflags", + "@rules_rust_bindgen__cexpr__0_4_0//:cexpr", + "@rules_rust_bindgen__cfg_if__0_1_10//:cfg_if", + "@rules_rust_bindgen__clang_sys__0_29_3//:clang_sys", + "@rules_rust_bindgen__clap__2_33_3//:clap", + "@rules_rust_bindgen__env_logger__0_7_1//:env_logger", + "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static", + "@rules_rust_bindgen__lazycell__1_3_0//:lazycell", + "@rules_rust_bindgen__log__0_4_11//:log", + "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while", + "@rules_rust_bindgen__proc_macro2__1_0_21//:proc_macro2", + "@rules_rust_bindgen__quote__1_0_7//:quote", + "@rules_rust_bindgen__regex__1_3_9//:regex", + "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash", + "@rules_rust_bindgen__shlex__0_1_1//:shlex", + "@rules_rust_bindgen__which__3_1_1//:which", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -126,6 +148,10 @@ rust_library( "--cap-lints=allow", ], version = "0.54.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "clap", "default", @@ -137,4 +163,3 @@ rust_library( "which-rustfmt", ], ) - diff --git a/bindgen/raze/remote/bitflags-1.2.1.BUILD b/bindgen/raze/remote/bitflags-1.2.1.BUILD index ff8bc68989..b6906669db 100644 --- a/bindgen/raze/remote/bitflags-1.2.1.BUILD +++ b/bindgen/raze/remote/bitflags-1.2.1.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "bitflags", crate_type = "lib", @@ -36,9 +43,12 @@ rust_library( "--cap-lints=allow", ], version = "1.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - # Unsupported target "build-script-build" with type "custom-build" omitted diff --git a/bindgen/raze/remote/cc-1.0.56.BUILD b/bindgen/raze/remote/cc-1.0.60.BUILD similarity index 64% rename from bindgen/raze/remote/cc-1.0.56.BUILD rename to bindgen/raze/remote/cc-1.0.60.BUILD index 6966a422c9..d5c8094083 100644 --- a/bindgen/raze/remote/cc-1.0.56.BUILD +++ b/bindgen/raze/remote/cc-1.0.60.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets +# buildifier: leave-alone rust_library( name = "cc", crate_type = "lib", @@ -35,14 +42,19 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "1.0.56", + version = "1.0.60", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "cc_env" with type "test" omitted # Unsupported target "cflags" with type "test" omitted # Unsupported target "cxxflags" with type "test" omitted + +# buildifier: leave-alone rust_binary( # Prefix bin name to disambiguate from (probable) collision with lib name # N.B.: The exact form of this is subject to change. @@ -57,9 +69,12 @@ rust_binary( rustc_flags = [ "--cap-lints=allow", ], - version = "1.0.56", + version = "1.0.60", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "test" with type "test" omitted diff --git a/bindgen/raze/remote/cexpr-0.4.0.BUILD b/bindgen/raze/remote/cexpr-0.4.0.BUILD index d683a146b6..a106a7b0cb 100644 --- a/bindgen/raze/remote/cexpr-0.4.0.BUILD +++ b/bindgen/raze/remote/cexpr-0.4.0.BUILD @@ -1,34 +1,41 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "cexpr", crate_type = "lib", deps = [ - "@raze__nom__5_1_2//:nom", + "@rules_rust_bindgen__nom__5_1_2//:nom", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -37,8 +44,11 @@ rust_library( "--cap-lints=allow", ], version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "clang" with type "test" omitted diff --git a/bindgen/raze/remote/cfg-if-0.1.10.BUILD b/bindgen/raze/remote/cfg-if-0.1.10.BUILD index 78266d17f4..1dc537af87 100644 --- a/bindgen/raze/remote/cfg-if-0.1.10.BUILD +++ b/bindgen/raze/remote/cfg-if-0.1.10.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "cfg_if", crate_type = "lib", @@ -36,8 +43,11 @@ rust_library( "--cap-lints=allow", ], version = "0.1.10", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "xcrate" with type "test" omitted diff --git a/bindgen/raze/remote/clang-sys-0.29.3.BUILD b/bindgen/raze/remote/clang-sys-0.29.3.BUILD index fbaefdfb33..e93cbcfb54 100644 --- a/bindgen/raze/remote/clang-sys-0.29.3.BUILD +++ b/bindgen/raze/remote/clang-sys-0.29.3.BUILD @@ -1,39 +1,48 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top load( "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script", ) +# buildifier: leave-alone cargo_build_script( name = "clang_sys_build_script", srcs = glob(["**/*.rs"]), crate_root = "build.rs", edition = "2015", deps = [ - "@raze__glob__0_3_0//:glob", + "@rules_rust_bindgen__glob__0_3_0//:glob", ], rustc_flags = [ "--cap-lints=allow", @@ -50,20 +59,27 @@ cargo_build_script( "libloading", "runtime", ], + build_script_env = { + }, data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], version = "0.29.3", visibility = ["//visibility:private"], ) +# buildifier: leave-alone rust_library( name = "clang_sys", crate_type = "lib", deps = [ ":clang_sys_build_script", - "@raze__glob__0_3_0//:glob", - "@raze__libc__0_2_71//:libc", - "@raze__libloading__0_5_2//:libloading", + "@rules_rust_bindgen__glob__0_3_0//:glob", + "@rules_rust_bindgen__libc__0_2_77//:libc", + "@rules_rust_bindgen__libloading__0_5_0//:libloading", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -72,6 +88,10 @@ rust_library( "--cap-lints=allow", ], version = "0.29.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "clang_6_0", "gte_clang_3_6", @@ -85,5 +105,4 @@ rust_library( "runtime", ], ) - # Unsupported target "lib" with type "test" omitted diff --git a/bindgen/raze/remote/clap-2.33.1.BUILD b/bindgen/raze/remote/clap-2.33.1.BUILD deleted file mode 100644 index c289dc765b..0000000000 --- a/bindgen/raze/remote/clap-2.33.1.BUILD +++ /dev/null @@ -1,56 +0,0 @@ -""" -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -load( - "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", - "rust_binary", - "rust_test", -) - - - -rust_library( - name = "clap", - crate_type = "lib", - deps = [ - "@raze__ansi_term__0_11_0//:ansi_term", - "@raze__atty__0_2_14//:atty", - "@raze__bitflags__1_2_1//:bitflags", - "@raze__strsim__0_8_0//:strsim", - "@raze__textwrap__0_11_0//:textwrap", - "@raze__unicode_width__0_1_8//:unicode_width", - "@raze__vec_map__0_8_2//:vec_map", - ], - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - version = "2.33.1", - crate_features = [ - "ansi_term", - "atty", - "color", - "default", - "strsim", - "suggestions", - "vec_map", - ], -) - diff --git a/bindgen/raze/remote/clap-2.33.3.BUILD b/bindgen/raze/remote/clap-2.33.3.BUILD new file mode 100644 index 0000000000..1506df13f9 --- /dev/null +++ b/bindgen/raze/remote/clap-2.33.3.BUILD @@ -0,0 +1,90 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "clap", + crate_type = "lib", + deps = [ + "@rules_rust_bindgen__atty__0_2_14//:atty", + "@rules_rust_bindgen__bitflags__1_2_1//:bitflags", + "@rules_rust_bindgen__strsim__0_8_0//:strsim", + "@rules_rust_bindgen__textwrap__0_11_0//:textwrap", + "@rules_rust_bindgen__unicode_width__0_1_8//:unicode_width", + "@rules_rust_bindgen__vec_map__0_8_2//:vec_map", + ] + selects.with_or({ + # cfg(not(windows)) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@rules_rust_bindgen__ansi_term__0_11_0//:ansi_term", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.33.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "ansi_term", + "atty", + "color", + "default", + "strsim", + "suggestions", + "vec_map", + ], + aliases = { + }, +) diff --git a/bindgen/raze/remote/env_logger-0.7.1.BUILD b/bindgen/raze/remote/env_logger-0.7.1.BUILD index 2d9aa98ae5..0009c7a593 100644 --- a/bindgen/raze/remote/env_logger-0.7.1.BUILD +++ b/bindgen/raze/remote/env_logger-0.7.1.BUILD @@ -1,43 +1,50 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "custom_default_format" with type "example" omitted # Unsupported target "custom_format" with type "example" omitted # Unsupported target "custom_logger" with type "example" omitted # Unsupported target "default" with type "example" omitted # Unsupported target "direct_logger" with type "example" omitted +# buildifier: leave-alone rust_library( name = "env_logger", crate_type = "lib", deps = [ - "@raze__atty__0_2_14//:atty", - "@raze__humantime__1_3_0//:humantime", - "@raze__log__0_4_8//:log", - "@raze__regex__1_3_9//:regex", - "@raze__termcolor__1_1_0//:termcolor", + "@rules_rust_bindgen__atty__0_2_14//:atty", + "@rules_rust_bindgen__humantime__1_3_0//:humantime", + "@rules_rust_bindgen__log__0_4_11//:log", + "@rules_rust_bindgen__regex__1_3_9//:regex", + "@rules_rust_bindgen__termcolor__1_1_0//:termcolor", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -46,6 +53,10 @@ rust_library( "--cap-lints=allow", ], version = "0.7.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "atty", "default", @@ -54,7 +65,6 @@ rust_library( "termcolor", ], ) - # Unsupported target "filters_from_code" with type "example" omitted # Unsupported target "init-twice-retains-filter" with type "test" omitted # Unsupported target "log-in-log" with type "test" omitted diff --git a/bindgen/raze/remote/glob-0.3.0.BUILD b/bindgen/raze/remote/glob-0.3.0.BUILD index 349bf2d1c5..f95a1dd4c0 100644 --- a/bindgen/raze/remote/glob-0.3.0.BUILD +++ b/bindgen/raze/remote/glob-0.3.0.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "glob", crate_type = "lib", @@ -36,8 +43,11 @@ rust_library( "--cap-lints=allow", ], version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "glob-std" with type "test" omitted diff --git a/bindgen/raze/remote/hermit-abi-0.1.14.BUILD b/bindgen/raze/remote/hermit-abi-0.1.14.BUILD deleted file mode 100644 index 8e5be65506..0000000000 --- a/bindgen/raze/remote/hermit-abi-0.1.14.BUILD +++ /dev/null @@ -1,44 +0,0 @@ -""" -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -load( - "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", - "rust_binary", - "rust_test", -) - - - -rust_library( - name = "hermit_abi", - crate_type = "lib", - deps = [ - "@raze__libc__0_2_71//:libc", - ], - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - version = "0.1.14", - crate_features = [ - "default", - ], -) - diff --git a/bindgen/raze/remote/hermit-abi-0.1.15.BUILD b/bindgen/raze/remote/hermit-abi-0.1.15.BUILD new file mode 100644 index 0000000000..d599cdb2be --- /dev/null +++ b/bindgen/raze/remote/hermit-abi-0.1.15.BUILD @@ -0,0 +1,54 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "hermit_abi", + crate_type = "lib", + deps = [ + "@rules_rust_bindgen__libc__0_2_77//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.15", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/bindgen/raze/remote/humantime-1.3.0.BUILD b/bindgen/raze/remote/humantime-1.3.0.BUILD index d602347d63..44ceedd1bc 100644 --- a/bindgen/raze/remote/humantime-1.3.0.BUILD +++ b/bindgen/raze/remote/humantime-1.3.0.BUILD @@ -1,36 +1,43 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "datetime_format" with type "bench" omitted # Unsupported target "datetime_parse" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "humantime", crate_type = "lib", deps = [ - "@raze__quick_error__1_2_3//:quick_error", + "@rules_rust_bindgen__quick_error__1_2_3//:quick_error", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -39,7 +46,10 @@ rust_library( "--cap-lints=allow", ], version = "1.3.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/lazy_static-1.4.0.BUILD b/bindgen/raze/remote/lazy_static-1.4.0.BUILD index 76ac96b33d..4d4dec80b8 100644 --- a/bindgen/raze/remote/lazy_static-1.4.0.BUILD +++ b/bindgen/raze/remote/lazy_static-1.4.0.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "lazy_static", crate_type = "lib", @@ -36,9 +43,12 @@ rust_library( "--cap-lints=allow", ], version = "1.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "no_std" with type "test" omitted # Unsupported target "test" with type "test" omitted diff --git a/bindgen/raze/remote/lazycell-1.2.1.BUILD b/bindgen/raze/remote/lazycell-1.2.1.BUILD deleted file mode 100644 index 7c268e01d3..0000000000 --- a/bindgen/raze/remote/lazycell-1.2.1.BUILD +++ /dev/null @@ -1,42 +0,0 @@ -""" -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -load( - "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", - "rust_binary", - "rust_test", -) - - - -rust_library( - name = "lazycell", - crate_type = "lib", - deps = [ - ], - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - version = "1.2.1", - crate_features = [ - ], -) - diff --git a/bindgen/raze/remote/lazycell-1.3.0.BUILD b/bindgen/raze/remote/lazycell-1.3.0.BUILD new file mode 100644 index 0000000000..065e9ffba9 --- /dev/null +++ b/bindgen/raze/remote/lazycell-1.3.0.BUILD @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "lazycell", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/bindgen/raze/remote/libc-0.2.71.BUILD b/bindgen/raze/remote/libc-0.2.77.BUILD similarity index 55% rename from bindgen/raze/remote/libc-0.2.71.BUILD rename to bindgen/raze/remote/libc-0.2.77.BUILD index 438160f6a1..c210070ba9 100644 --- a/bindgen/raze/remote/libc-0.2.71.BUILD +++ b/bindgen/raze/remote/libc-0.2.77.BUILD @@ -1,31 +1,38 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "const_fn" with type "test" omitted +# buildifier: leave-alone rust_library( name = "libc", crate_type = "lib", @@ -37,10 +44,13 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "0.2.71", + version = "0.2.77", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/bindgen/raze/remote/libloading-0.5.2.BUILD b/bindgen/raze/remote/libloading-0.5.0.BUILD similarity index 50% rename from bindgen/raze/remote/libloading-0.5.2.BUILD rename to bindgen/raze/remote/libloading-0.5.0.BUILD index f7ee982ef4..634ca8c206 100644 --- a/bindgen/raze/remote/libloading-0.5.2.BUILD +++ b/bindgen/raze/remote/libloading-0.5.0.BUILD @@ -1,52 +1,76 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # ISC from expression "ISC" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # ISC from expression "ISC" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "functions" with type "test" omitted +# buildifier: leave-alone rust_library( name = "libloading", crate_type = "lib", deps = [ ":global_static", - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", rustc_flags = [ "--cap-lints=allow", ], - version = "0.5.2", + version = "0.5.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - # Unsupported target "markers" with type "test" omitted # Unsupported target "windows" with type "test" omitted # Additional content from libloading-global-static.BUILD +# buildifier: disable=load-on-top +load("@rules_cc//cc:defs.bzl", "cc_library") + cc_library( name = "global_static", srcs = ["src/os/unix/global_static.c"], diff --git a/bindgen/raze/remote/log-0.4.8.BUILD b/bindgen/raze/remote/log-0.4.11.BUILD similarity index 51% rename from bindgen/raze/remote/log-0.4.8.BUILD rename to bindgen/raze/remote/log-0.4.11.BUILD index 2459f33d54..1fc764c2f9 100644 --- a/bindgen/raze/remote/log-0.4.8.BUILD +++ b/bindgen/raze/remote/log-0.4.11.BUILD @@ -1,36 +1,43 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "filters" with type "test" omitted +# buildifier: leave-alone rust_library( name = "log", crate_type = "lib", deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", + "@rules_rust_bindgen__cfg_if__0_1_10//:cfg_if", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -39,9 +46,13 @@ rust_library( "--cap-lints=allow", "--cfg=atomic_cas", ], - version = "0.4.8", + version = "0.4.11", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "std", ], ) - +# Unsupported target "macros" with type "test" omitted diff --git a/bindgen/raze/remote/memchr-2.3.3.BUILD b/bindgen/raze/remote/memchr-2.3.3.BUILD index 17f014e8a5..5e22c6529d 100644 --- a/bindgen/raze/remote/memchr-2.3.3.BUILD +++ b/bindgen/raze/remote/memchr-2.3.3.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "memchr", crate_type = "lib", @@ -37,10 +44,13 @@ rust_library( "--cap-lints=allow", ], version = "2.3.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", "use_std", ], ) - diff --git a/bindgen/raze/remote/nom-5.1.2.BUILD b/bindgen/raze/remote/nom-5.1.2.BUILD index f28d4a751d..42a93efaaa 100644 --- a/bindgen/raze/remote/nom-5.1.2.BUILD +++ b/bindgen/raze/remote/nom-5.1.2.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "arithmetic" with type "bench" omitted # Unsupported target "arithmetic" with type "test" omitted # Unsupported target "arithmetic_ast" with type "test" omitted @@ -47,11 +53,12 @@ load( # Unsupported target "multiline" with type "test" omitted # Unsupported target "named_args" with type "test" omitted +# buildifier: leave-alone rust_library( name = "nom", crate_type = "lib", deps = [ - "@raze__memchr__2_3_3//:memchr", + "@rules_rust_bindgen__memchr__2_3_3//:memchr", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -60,12 +67,15 @@ rust_library( "--cap-lints=allow", ], version = "5.1.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "alloc", "std", ], ) - # Unsupported target "overflow" with type "test" omitted # Unsupported target "reborrow_fold" with type "test" omitted # Unsupported target "s_expression" with type "example" omitted diff --git a/bindgen/raze/remote/peeking_take_while-0.1.2.BUILD b/bindgen/raze/remote/peeking_take_while-0.1.2.BUILD index 782e69c3fc..3637fb03a9 100644 --- a/bindgen/raze/remote/peeking_take_while-0.1.2.BUILD +++ b/bindgen/raze/remote/peeking_take_while-0.1.2.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "peeking_take_while", crate_type = "lib", @@ -36,7 +43,10 @@ rust_library( "--cap-lints=allow", ], version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/proc-macro2-1.0.18.BUILD b/bindgen/raze/remote/proc-macro2-1.0.21.BUILD similarity index 55% rename from bindgen/raze/remote/proc-macro2-1.0.18.BUILD rename to bindgen/raze/remote/proc-macro2-1.0.21.BUILD index 017f7a1e7d..386f1362b1 100644 --- a/bindgen/raze/remote/proc-macro2-1.0.18.BUILD +++ b/bindgen/raze/remote/proc-macro2-1.0.21.BUILD @@ -1,38 +1,45 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted # Unsupported target "comments" with type "test" omitted # Unsupported target "features" with type "test" omitted # Unsupported target "marker" with type "test" omitted +# buildifier: leave-alone rust_library( name = "proc_macro2", crate_type = "lib", deps = [ - "@raze__unicode_xid__0_2_1//:unicode_xid", + "@rules_rust_bindgen__unicode_xid__0_2_1//:unicode_xid", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -40,9 +47,13 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "1.0.18", + version = "1.0.21", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "test" with type "test" omitted +# Unsupported target "test_fmt" with type "test" omitted diff --git a/bindgen/raze/remote/quick-error-1.2.3.BUILD b/bindgen/raze/remote/quick-error-1.2.3.BUILD index 746a9bcb42..1263c4cbeb 100644 --- a/bindgen/raze/remote/quick-error-1.2.3.BUILD +++ b/bindgen/raze/remote/quick-error-1.2.3.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "context" with type "example" omitted +# buildifier: leave-alone rust_library( name = "quick_error", crate_type = "lib", @@ -37,7 +44,10 @@ rust_library( "--cap-lints=allow", ], version = "1.2.3", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/quote-1.0.7.BUILD b/bindgen/raze/remote/quote-1.0.7.BUILD index eb0418cca0..d512a34fc6 100644 --- a/bindgen/raze/remote/quote-1.0.7.BUILD +++ b/bindgen/raze/remote/quote-1.0.7.BUILD @@ -1,35 +1,42 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "compiletest" with type "test" omitted +# buildifier: leave-alone rust_library( name = "quote", crate_type = "lib", deps = [ - "@raze__proc_macro2__1_0_18//:proc_macro2", + "@rules_rust_bindgen__proc_macro2__1_0_21//:proc_macro2", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -38,8 +45,11 @@ rust_library( "--cap-lints=allow", ], version = "1.0.7", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "test" with type "test" omitted diff --git a/bindgen/raze/remote/regex-1.3.9.BUILD b/bindgen/raze/remote/regex-1.3.9.BUILD index 2586ae8bab..fe39f72991 100644 --- a/bindgen/raze/remote/regex-1.3.9.BUILD +++ b/bindgen/raze/remote/regex-1.3.9.BUILD @@ -1,28 +1,34 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "backtrack" with type "test" omitted # Unsupported target "backtrack-bytes" with type "test" omitted # Unsupported target "backtrack-utf8bytes" with type "test" omitted @@ -33,14 +39,15 @@ load( # Unsupported target "nfa-bytes" with type "test" omitted # Unsupported target "nfa-utf8bytes" with type "test" omitted +# buildifier: leave-alone rust_library( name = "regex", crate_type = "lib", deps = [ - "@raze__aho_corasick__0_7_13//:aho_corasick", - "@raze__memchr__2_3_3//:memchr", - "@raze__regex_syntax__0_6_18//:regex_syntax", - "@raze__thread_local__1_0_1//:thread_local", + "@rules_rust_bindgen__aho_corasick__0_7_13//:aho_corasick", + "@rules_rust_bindgen__memchr__2_3_3//:memchr", + "@rules_rust_bindgen__regex_syntax__0_6_18//:regex_syntax", + "@rules_rust_bindgen__thread_local__1_0_1//:thread_local", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -49,6 +56,10 @@ rust_library( "--cap-lints=allow", ], version = "1.3.9", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "aho-corasick", "default", @@ -70,7 +81,6 @@ rust_library( "unicode-segment", ], ) - # Unsupported target "shootout-regex-dna" with type "example" omitted # Unsupported target "shootout-regex-dna-bytes" with type "example" omitted # Unsupported target "shootout-regex-dna-cheat" with type "example" omitted diff --git a/bindgen/raze/remote/regex-syntax-0.6.18.BUILD b/bindgen/raze/remote/regex-syntax-0.6.18.BUILD index 1d500a8940..b7bb51df8c 100644 --- a/bindgen/raze/remote/regex-syntax-0.6.18.BUILD +++ b/bindgen/raze/remote/regex-syntax-0.6.18.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "bench" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "regex_syntax", crate_type = "lib", @@ -37,6 +44,10 @@ rust_library( "--cap-lints=allow", ], version = "0.6.18", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "unicode", @@ -49,4 +60,3 @@ rust_library( "unicode-segment", ], ) - diff --git a/bindgen/raze/remote/rustc-hash-1.1.0.BUILD b/bindgen/raze/remote/rustc-hash-1.1.0.BUILD index 4830c821b9..7db31601cd 100644 --- a/bindgen/raze/remote/rustc-hash-1.1.0.BUILD +++ b/bindgen/raze/remote/rustc-hash-1.1.0.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "rustc_hash", crate_type = "lib", @@ -36,9 +43,12 @@ rust_library( "--cap-lints=allow", ], version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", "std", ], ) - diff --git a/bindgen/raze/remote/shlex-0.1.1.BUILD b/bindgen/raze/remote/shlex-0.1.1.BUILD index c312318120..2882ade1d3 100644 --- a/bindgen/raze/remote/shlex-0.1.1.BUILD +++ b/bindgen/raze/remote/shlex-0.1.1.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "shlex", crate_type = "lib", @@ -36,7 +43,10 @@ rust_library( "--cap-lints=allow", ], version = "0.1.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/strsim-0.8.0.BUILD b/bindgen/raze/remote/strsim-0.8.0.BUILD index 3c1b434793..fe5c559fae 100644 --- a/bindgen/raze/remote/strsim-0.8.0.BUILD +++ b/bindgen/raze/remote/strsim-0.8.0.BUILD @@ -1,31 +1,38 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "benches" with type "bench" omitted # Unsupported target "lib" with type "test" omitted +# buildifier: leave-alone rust_library( name = "strsim", crate_type = "lib", @@ -38,7 +45,10 @@ rust_library( "--cap-lints=allow", ], version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/termcolor-1.1.0.BUILD b/bindgen/raze/remote/termcolor-1.1.0.BUILD index 4ceba0e0f7..4a9cd5c8a8 100644 --- a/bindgen/raze/remote/termcolor-1.1.0.BUILD +++ b/bindgen/raze/remote/termcolor-1.1.0.BUILD @@ -1,34 +1,50 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) +# Generated targets +# buildifier: leave-alone rust_library( name = "termcolor", crate_type = "lib", deps = [ - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi_util__0_1_5//:winapi_util", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2018", @@ -36,7 +52,12 @@ rust_library( "--cap-lints=allow", ], version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/bindgen/raze/remote/textwrap-0.11.0.BUILD b/bindgen/raze/remote/textwrap-0.11.0.BUILD index 384e0270d6..f99fee4246 100644 --- a/bindgen/raze/remote/textwrap-0.11.0.BUILD +++ b/bindgen/raze/remote/textwrap-0.11.0.BUILD @@ -1,37 +1,44 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "layout" with type "example" omitted # Unsupported target "linear" with type "bench" omitted # Unsupported target "termwidth" with type "example" omitted +# buildifier: leave-alone rust_library( name = "textwrap", crate_type = "lib", deps = [ - "@raze__unicode_width__0_1_8//:unicode_width", + "@rules_rust_bindgen__unicode_width__0_1_8//:unicode_width", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -40,8 +47,11 @@ rust_library( "--cap-lints=allow", ], version = "0.11.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - # Unsupported target "version-numbers" with type "test" omitted diff --git a/bindgen/raze/remote/thread_local-1.0.1.BUILD b/bindgen/raze/remote/thread_local-1.0.1.BUILD index 73d3a51326..b165bb306b 100644 --- a/bindgen/raze/remote/thread_local-1.0.1.BUILD +++ b/bindgen/raze/remote/thread_local-1.0.1.BUILD @@ -1,35 +1,42 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets # Unsupported target "thread_local" with type "bench" omitted +# buildifier: leave-alone rust_library( name = "thread_local", crate_type = "lib", deps = [ - "@raze__lazy_static__1_4_0//:lazy_static", + "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -38,7 +45,10 @@ rust_library( "--cap-lints=allow", ], version = "1.0.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/unicode-width-0.1.8.BUILD b/bindgen/raze/remote/unicode-width-0.1.8.BUILD index a2cc6b30d5..d9460e404d 100644 --- a/bindgen/raze/remote/unicode-width-0.1.8.BUILD +++ b/bindgen/raze/remote/unicode-width-0.1.8.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "unicode_width", crate_type = "lib", @@ -36,8 +43,11 @@ rust_library( "--cap-lints=allow", ], version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - diff --git a/bindgen/raze/remote/unicode-xid-0.2.1.BUILD b/bindgen/raze/remote/unicode-xid-0.2.1.BUILD index f7adef4668..056048e740 100644 --- a/bindgen/raze/remote/unicode-xid-0.2.1.BUILD +++ b/bindgen/raze/remote/unicode-xid-0.2.1.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "exhaustive_tests" with type "test" omitted +# buildifier: leave-alone rust_library( name = "unicode_xid", crate_type = "lib", @@ -37,8 +44,11 @@ rust_library( "--cap-lints=allow", ], version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "default", ], ) - diff --git a/bindgen/raze/remote/vec_map-0.8.2.BUILD b/bindgen/raze/remote/vec_map-0.8.2.BUILD index 2f7e1c6e4c..6ba78cd615 100644 --- a/bindgen/raze/remote/vec_map-0.8.2.BUILD +++ b/bindgen/raze/remote/vec_map-0.8.2.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "vec_map", crate_type = "lib", @@ -36,7 +43,10 @@ rust_library( "--cap-lints=allow", ], version = "0.8.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/version_check-0.9.2.BUILD b/bindgen/raze/remote/version_check-0.9.2.BUILD index 08430bd7ee..c7984058f3 100644 --- a/bindgen/raze/remote/version_check-0.9.2.BUILD +++ b/bindgen/raze/remote/version_check-0.9.2.BUILD @@ -1,29 +1,36 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets + +# buildifier: leave-alone rust_library( name = "version_check", crate_type = "lib", @@ -36,7 +43,10 @@ rust_library( "--cap-lints=allow", ], version = "0.9.2", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/which-3.1.1.BUILD b/bindgen/raze/remote/which-3.1.1.BUILD index 9a5578d9ef..9ddcec960e 100644 --- a/bindgen/raze/remote/which-3.1.1.BUILD +++ b/bindgen/raze/remote/which-3.1.1.BUILD @@ -1,35 +1,42 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets # Unsupported target "basic" with type "test" omitted +# buildifier: leave-alone rust_library( name = "which", crate_type = "lib", deps = [ - "@raze__libc__0_2_71//:libc", + "@rules_rust_bindgen__libc__0_2_77//:libc", ], srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", @@ -38,7 +45,10 @@ rust_library( "--cap-lints=allow", ], version = "3.1.1", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/winapi-0.3.9.BUILD b/bindgen/raze/remote/winapi-0.3.9.BUILD index cfec7e1676..2be550222e 100644 --- a/bindgen/raze/remote/winapi-0.3.9.BUILD +++ b/bindgen/raze/remote/winapi-0.3.9.BUILD @@ -1,35 +1,58 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi", crate_type = "lib", deps = [ - ], + ] + selects.with_or({ + # i686-pc-windows-gnu + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi_i686_pc_windows_gnu__0_4_0//:winapi_i686_pc_windows_gnu", + ], + "//conditions:default": [], + }) + selects.with_or({ + # x86_64-pc-windows-gnu + ( + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi_x86_64_pc_windows_gnu__0_4_0//:winapi_x86_64_pc_windows_gnu", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", @@ -37,6 +60,10 @@ rust_library( "--cap-lints=allow", ], version = "0.3.9", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ "consoleapi", "errhandlingapi", @@ -51,5 +78,6 @@ rust_library( "winerror", "winnt", ], + aliases = { + }, ) - diff --git a/bindgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD b/bindgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD index 0f69b0dbf4..96822d3276 100644 --- a/bindgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD +++ b/bindgen/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi_i686_pc_windows_gnu", crate_type = "lib", @@ -37,7 +44,10 @@ rust_library( "--cap-lints=allow", ], version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/raze/remote/winapi-util-0.1.5.BUILD b/bindgen/raze/remote/winapi-util-0.1.5.BUILD index c5e98db105..e6f6f3dee8 100644 --- a/bindgen/raze/remote/winapi-util-0.1.5.BUILD +++ b/bindgen/raze/remote/winapi-util-0.1.5.BUILD @@ -1,34 +1,50 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) +# Generated targets +# buildifier: leave-alone rust_library( name = "winapi_util", crate_type = "lib", deps = [ - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@rules_rust_bindgen__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2018", @@ -36,7 +52,12 @@ rust_library( "--cap-lints=allow", ], version = "0.1.5", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], + aliases = { + }, ) - diff --git a/bindgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD b/bindgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD index 7244845dc5..ae9c8b5246 100644 --- a/bindgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD +++ b/bindgen/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD @@ -1,30 +1,37 @@ """ +@generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bindgen/raze", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) +# buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", - "rust_library", "rust_binary", + "rust_library", "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bindgen/raze", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets # Unsupported target "build-script-build" with type "custom-build" omitted +# buildifier: leave-alone rust_library( name = "winapi_x86_64_pc_windows_gnu", crate_type = "lib", @@ -37,7 +44,10 @@ rust_library( "--cap-lints=allow", ], version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], crate_features = [ ], ) - diff --git a/bindgen/repositories.bzl b/bindgen/repositories.bzl index c04f307335..c9e6b627de 100644 --- a/bindgen/repositories.bzl +++ b/bindgen/repositories.bzl @@ -12,13 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("//bindgen/raze:crates.bzl", "raze_fetch_remote_crates") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") +load("//bindgen/raze:crates.bzl", "rules_rust_bindgen_fetch_remote_crates") -def maybe(workspace_rule, **kwargs): - if not native.existing_rule(kwargs["name"]): - workspace_rule(**kwargs) - +# buildifier: disable=unnamed-macro def rust_bindgen_repositories(): """Declare dependencies needed for bindgen.""" @@ -30,19 +28,7 @@ def rust_bindgen_repositories(): name = "local_libstdcpp", ) - # This overrides the BUILD file raze generates for libloading with a handwritten one. - # TODO: Tidier to implement https://github.com/google/cargo-raze/issues/58 - maybe( - http_archive, - name = "raze__libloading__0_5_0", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libloading/libloading-0.5.0.crate", - type = "tar.gz", - sha256 = "9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2", - strip_prefix = "libloading-0.5.0", - # TODO: This is a manual patch, need https://github.com/google/cargo-raze/issues/58 - build_file = Label("//bindgen/raze:libloading.BUILD"), - ) - raze_fetch_remote_crates() + rules_rust_bindgen_fetch_remote_crates() native.register_toolchains("@io_bazel_rules_rust//bindgen:example-bindgen-toolchain")