blob: 2c84c59bb74392b2960e7b615483fb26d0c555cf [file] [log] [blame]
Brian Silvermancc09f182022-03-09 15:40:20 -08001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//sys/complex/raze", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33
34# Unsupported target "add" with type "example" omitted
35
36# Unsupported target "blame" with type "example" omitted
37
38# Unsupported target "cat-file" with type "example" omitted
39
40# Unsupported target "clone" with type "example" omitted
41
42# Unsupported target "diff" with type "example" omitted
43
44# Unsupported target "fetch" with type "example" omitted
45
46# Unsupported target "init" with type "example" omitted
47
48# Unsupported target "log" with type "example" omitted
49
50# Unsupported target "ls-remote" with type "example" omitted
51
52# Unsupported target "pull" with type "example" omitted
53
54# Unsupported target "rev-list" with type "example" omitted
55
56# Unsupported target "rev-parse" with type "example" omitted
57
58# Unsupported target "status" with type "example" omitted
59
60# Unsupported target "tag" with type "example" omitted
61
62rust_library(
63 name = "git2",
64 srcs = glob(["**/*.rs"]),
65 aliases = {
66 },
67 crate_features = [
68 "default",
69 "https",
70 "openssl-probe",
71 "openssl-sys",
72 "ssh",
73 "ssh_key_from_memory",
74 ],
75 crate_root = "src/lib.rs",
76 data = [],
77 edition = "2018",
78 rustc_flags = [
79 "--cap-lints=allow",
80 ],
81 tags = [
82 "cargo-raze",
83 "manual",
84 ],
85 version = "0.13.12",
86 # buildifier: leave-alone
87 deps = [
88 "@complex_sys__bitflags__1_2_1//:bitflags",
89 "@complex_sys__libc__0_2_98//:libc",
90 "@complex_sys__libgit2_sys__0_12_21_1_1_0//:libgit2_sys",
91 "@complex_sys__log__0_4_14//:log",
92 "@complex_sys__url__2_2_2//:url",
93 ] + selects.with_or({
94 # cfg(all(unix, not(target_os = "macos")))
95 (
96 "@rules_rust//rust/platform:i686-unknown-linux-gnu",
97 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
98 "@rules_rust//rust/platform:aarch64-apple-ios",
99 "@rules_rust//rust/platform:aarch64-linux-android",
100 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
101 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
102 "@rules_rust//rust/platform:i686-linux-android",
103 "@rules_rust//rust/platform:i686-unknown-freebsd",
104 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
105 "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
106 "@rules_rust//rust/platform:x86_64-apple-ios",
107 "@rules_rust//rust/platform:x86_64-linux-android",
108 "@rules_rust//rust/platform:x86_64-unknown-freebsd",
109 ): [
110 "@complex_sys__openssl_probe__0_1_4//:openssl_probe",
111 "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
112 ],
113 "//conditions:default": [],
114 }),
115)