fork/rules_rust

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

Daniel Wagner-HallExternal path dependencies work (#3025)7edda6f1

main
4.9 KiB154 linesraw
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @@//crate_universe/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14rust_library(
15    name = "serde_json",
16    srcs = glob(
17        include = ["**/*.rs"],
18        allow_empty = True,
19    ),
20    compile_data = glob(
21        include = ["**"],
22        allow_empty = True,
23        exclude = [
24            "**/* *",
25            ".tmp_git_root/**/*",
26            "BUILD",
27            "BUILD.bazel",
28            "WORKSPACE",
29            "WORKSPACE.bazel",
30        ],
31    ),
32    crate_features = [
33        "default",
34        "std",
35        "unbounded_depth",
36    ],
37    crate_root = "src/lib.rs",
38    edition = "2021",
39    rustc_flags = [
40        "--cap-lints=allow",
41    ],
42    tags = [
43        "cargo-bazel",
44        "crate-name=serde_json",
45        "manual",
46        "noclippy",
47        "norustfmt",
48    ],
49    target_compatible_with = select({
50        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
51        "@rules_rust//rust/platform:aarch64-apple-ios": [],
52        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
53        "@rules_rust//rust/platform:aarch64-linux-android": [],
54        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
55        "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [],
56        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
57        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
58        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
59        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
60        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
61        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
62        "@rules_rust//rust/platform:i686-apple-darwin": [],
63        "@rules_rust//rust/platform:i686-linux-android": [],
64        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
65        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
66        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
67        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
68        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
69        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
70        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
71        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
72        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
73        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
74        "@rules_rust//rust/platform:wasm32-wasip1": [],
75        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
76        "@rules_rust//rust/platform:x86_64-apple-ios": [],
77        "@rules_rust//rust/platform:x86_64-linux-android": [],
78        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
79        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
80        "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [],
81        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
82        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
83        "@rules_rust//rust/platform:x86_64-unknown-none": [],
84        "//conditions:default": ["@platforms//:incompatible"],
85    }),
86    version = "1.0.129",
87    deps = [
88        "@cui__itoa-1.0.8//:itoa",
89        "@cui__memchr-2.6.4//:memchr",
90        "@cui__ryu-1.0.14//:ryu",
91        "@cui__serde-1.0.210//:serde",
92        "@cui__serde_json-1.0.129//:build_script_build",
93    ],
94)
95
96cargo_build_script(
97    name = "_bs",
98    srcs = glob(
99        include = ["**/*.rs"],
100        allow_empty = True,
101    ),
102    compile_data = glob(
103        include = ["**"],
104        allow_empty = True,
105        exclude = [
106            "**/* *",
107            "**/*.rs",
108            ".tmp_git_root/**/*",
109            "BUILD",
110            "BUILD.bazel",
111            "WORKSPACE",
112            "WORKSPACE.bazel",
113        ],
114    ),
115    crate_features = [
116        "default",
117        "std",
118        "unbounded_depth",
119    ],
120    crate_name = "build_script_build",
121    crate_root = "build.rs",
122    data = glob(
123        include = ["**"],
124        allow_empty = True,
125        exclude = [
126            "**/* *",
127            ".tmp_git_root/**/*",
128            "BUILD",
129            "BUILD.bazel",
130            "WORKSPACE",
131            "WORKSPACE.bazel",
132        ],
133    ),
134    edition = "2021",
135    pkg_name = "serde_json",
136    rustc_flags = [
137        "--cap-lints=allow",
138    ],
139    tags = [
140        "cargo-bazel",
141        "crate-name=serde_json",
142        "manual",
143        "noclippy",
144        "norustfmt",
145    ],
146    version = "1.0.129",
147    visibility = ["//visibility:private"],
148)
149
150alias(
151    name = "build_script_build",
152    actual = ":_bs",
153    tags = ["manual"],
154)