Squashed 'third_party/rules_rust/' content from commit bf59038ca

git-subtree-dir: third_party/rules_rust
git-subtree-split: bf59038cac11798cbaef9f3bf965bad8182b97fa
Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
Change-Id: I5a20e403203d670df467ea97dde9a4ac40339a8d
diff --git a/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel b/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel
new file mode 100644
index 0000000..2c84c59
--- /dev/null
+++ b/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel
@@ -0,0 +1,115 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:defs.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_proc_macro",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//sys/complex/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 "add" with type "example" omitted
+
+# Unsupported target "blame" with type "example" omitted
+
+# Unsupported target "cat-file" with type "example" omitted
+
+# Unsupported target "clone" with type "example" omitted
+
+# Unsupported target "diff" with type "example" omitted
+
+# Unsupported target "fetch" with type "example" omitted
+
+# Unsupported target "init" with type "example" omitted
+
+# Unsupported target "log" with type "example" omitted
+
+# Unsupported target "ls-remote" with type "example" omitted
+
+# Unsupported target "pull" with type "example" omitted
+
+# Unsupported target "rev-list" with type "example" omitted
+
+# Unsupported target "rev-parse" with type "example" omitted
+
+# Unsupported target "status" with type "example" omitted
+
+# Unsupported target "tag" with type "example" omitted
+
+rust_library(
+    name = "git2",
+    srcs = glob(["**/*.rs"]),
+    aliases = {
+    },
+    crate_features = [
+        "default",
+        "https",
+        "openssl-probe",
+        "openssl-sys",
+        "ssh",
+        "ssh_key_from_memory",
+    ],
+    crate_root = "src/lib.rs",
+    data = [],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "manual",
+    ],
+    version = "0.13.12",
+    # buildifier: leave-alone
+    deps = [
+        "@complex_sys__bitflags__1_2_1//:bitflags",
+        "@complex_sys__libc__0_2_98//:libc",
+        "@complex_sys__libgit2_sys__0_12_21_1_1_0//:libgit2_sys",
+        "@complex_sys__log__0_4_14//:log",
+        "@complex_sys__url__2_2_2//:url",
+    ] + selects.with_or({
+        # cfg(all(unix, not(target_os = "macos")))
+        (
+            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:aarch64-apple-ios",
+            "@rules_rust//rust/platform:aarch64-linux-android",
+            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+            "@rules_rust//rust/platform:i686-linux-android",
+            "@rules_rust//rust/platform:i686-unknown-freebsd",
+            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+            "@rules_rust//rust/platform:x86_64-apple-ios",
+            "@rules_rust//rust/platform:x86_64-linux-android",
+            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+        ): [
+            "@complex_sys__openssl_probe__0_1_4//:openssl_probe",
+            "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
+        ],
+        "//conditions:default": [],
+    }),
+)