fork/rules_rust

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

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

0.7.0
1.9 KiB95 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 "//tools/rust_analyzer/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# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36    "@rules_rust//cargo:cargo_build_script.bzl",
37    "cargo_build_script",
38)
39
40cargo_build_script(
41    name = "serde_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46        "default",
47        "derive",
48        "serde_derive",
49        "std",
50    ],
51    crate_root = "build.rs",
52    data = glob(["**"]),
53    edition = "2015",
54    rustc_flags = [
55        "--cap-lints=allow",
56    ],
57    tags = [
58        "cargo-raze",
59        "manual",
60    ],
61    version = "1.0.130",
62    visibility = ["//visibility:private"],
63    deps = [
64    ],
65)
66
67rust_library(
68    name = "serde",
69    srcs = glob(["**/*.rs"]),
70    crate_features = [
71        "default",
72        "derive",
73        "serde_derive",
74        "std",
75    ],
76    crate_root = "src/lib.rs",
77    data = [],
78    edition = "2015",
79    proc_macro_deps = [
80        "@rules_rust_tools_rust_analyzer__serde_derive__1_0_130//:serde_derive",
81    ],
82    rustc_flags = [
83        "--cap-lints=allow",
84    ],
85    tags = [
86        "cargo-raze",
87        "crate-name=serde",
88        "manual",
89    ],
90    version = "1.0.130",
91    # buildifier: leave-alone
92    deps = [
93        ":serde_build_script",
94    ],
95)