fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreRegenerated `cargo-raze` outputs with v0.15.0 (#1184)5e6ad9f6

0.5.0
3.3 KiB116 linesraw
1"""
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        "crate-name=git2",
84        "manual",
85    ],
86    version = "0.13.12",
87    # buildifier: leave-alone
88    deps = [
89        "@complex_sys__bitflags__1_2_1//:bitflags",
90        "@complex_sys__libc__0_2_98//:libc",
91        "@complex_sys__libgit2_sys__0_12_21_1_1_0//:libgit2_sys",
92        "@complex_sys__log__0_4_14//:log",
93        "@complex_sys__url__2_2_2//:url",
94    ] + selects.with_or({
95        # cfg(all(unix, not(target_os = "macos")))
96        (
97            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
98            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
99            "@rules_rust//rust/platform:aarch64-apple-ios",
100            "@rules_rust//rust/platform:aarch64-linux-android",
101            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
102            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
103            "@rules_rust//rust/platform:i686-linux-android",
104            "@rules_rust//rust/platform:i686-unknown-freebsd",
105            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
106            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
107            "@rules_rust//rust/platform:x86_64-apple-ios",
108            "@rules_rust//rust/platform:x86_64-linux-android",
109            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
110        ): [
111            "@complex_sys__openssl_probe__0_1_4//:openssl_probe",
112            "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
113        ],
114        "//conditions:default": [],
115    }),
116)