blob: 06a80b083e59c286c382e61cf8ac6498042b57cc [file] [log] [blame]
Brian Silverman547eda02022-05-19 23:14:08 -07001"""
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 "//third_party/cargo", 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_json_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "default",
47 "std",
48 ],
49 crate_root = "build.rs",
50 data = glob(["**"]),
51 edition = "2018",
52 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
57 "manual",
58 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080059 version = "1.0.91",
Brian Silverman547eda02022-05-19 23:14:08 -070060 visibility = ["//visibility:private"],
61 deps = [
62 ],
63)
64
65rust_library(
66 name = "serde_json",
67 srcs = glob(["**/*.rs"]),
68 crate_features = [
69 "default",
70 "std",
71 ],
72 crate_root = "src/lib.rs",
73 data = [],
74 edition = "2018",
75 rustc_flags = [
76 "--cap-lints=allow",
77 ],
78 tags = [
79 "cargo-raze",
80 "crate-name=serde_json",
81 "manual",
82 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080083 version = "1.0.91",
Brian Silverman547eda02022-05-19 23:14:08 -070084 # buildifier: leave-alone
85 deps = [
86 ":serde_json_build_script",
Brian Silvermana7ba2512022-12-19 19:13:52 -080087 "@raze__itoa__1_0_5//:itoa",
88 "@raze__ryu__1_0_12//:ryu",
89 "@raze__serde__1_0_151//:serde",
Brian Silverman547eda02022-05-19 23:14:08 -070090 ],
91)
92
93# Unsupported target "compiletest" with type "test" omitted
94
95# Unsupported target "debug" with type "test" omitted
96
97# Unsupported target "lexical" with type "test" omitted
98
99# Unsupported target "map" with type "test" omitted
100
101# Unsupported target "regression" with type "test" omitted
102
103# Unsupported target "stream" with type "test" omitted
104
105# Unsupported target "test" with type "test" omitted