blob: 9604d2fe31418b6c9e704bd8548ae2130d142cc2 [file] [log] [blame]
"""
@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",
"crate-name=git2",
"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": [],
}),
)