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.5 KiB127 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 "//wasm_bindgen/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
34rust_binary(
35    # Prefix bin name to disambiguate from (probable) collision with lib name
36    # N.B.: The exact form of this is subject to change.
37    name = "cargo_bin_form_test",
38    srcs = glob(["**/*.rs"]),
39    crate_features = [
40        "buf_redux",
41        "httparse",
42        "quick-error",
43        "safemem",
44        "server",
45        "twoway",
46    ],
47    crate_root = "src/bin/form_test.rs",
48    data = [],
49    edition = "2015",
50    rustc_flags = [
51        "--cap-lints=allow",
52    ],
53    tags = [
54        "cargo-raze",
55        "crate-name=form_test",
56        "manual",
57    ],
58    version = "0.18.0",
59    # buildifier: leave-alone
60    deps = [
61        ":multipart",
62        "@rules_rust_wasm_bindgen__buf_redux__0_8_4//:buf_redux",
63        "@rules_rust_wasm_bindgen__httparse__1_5_1//:httparse",
64        "@rules_rust_wasm_bindgen__log__0_4_14//:log",
65        "@rules_rust_wasm_bindgen__mime__0_3_16//:mime",
66        "@rules_rust_wasm_bindgen__mime_guess__2_0_3//:mime_guess",
67        "@rules_rust_wasm_bindgen__quick_error__1_2_3//:quick_error",
68        "@rules_rust_wasm_bindgen__rand__0_8_4//:rand",
69        "@rules_rust_wasm_bindgen__safemem__0_3_3//:safemem",
70        "@rules_rust_wasm_bindgen__tempfile__3_2_0//:tempfile",
71        "@rules_rust_wasm_bindgen__twoway__0_1_8//:twoway",
72    ],
73)
74
75# Unsupported target "hyper_client" with type "example" omitted
76
77# Unsupported target "hyper_reqbuilder" with type "example" omitted
78
79# Unsupported target "hyper_server" with type "example" omitted
80
81# Unsupported target "iron" with type "example" omitted
82
83# Unsupported target "iron_intercept" with type "example" omitted
84
85# Unsupported target "nickel" with type "example" omitted
86
87# Unsupported target "rocket" with type "example" omitted
88
89# Unsupported target "tiny_http" with type "example" omitted
90
91rust_library(
92    name = "multipart",
93    srcs = glob(["**/*.rs"]),
94    crate_features = [
95        "buf_redux",
96        "httparse",
97        "quick-error",
98        "safemem",
99        "server",
100        "twoway",
101    ],
102    crate_root = "src/lib.rs",
103    data = [],
104    edition = "2015",
105    rustc_flags = [
106        "--cap-lints=allow",
107    ],
108    tags = [
109        "cargo-raze",
110        "crate-name=multipart",
111        "manual",
112    ],
113    version = "0.18.0",
114    # buildifier: leave-alone
115    deps = [
116        "@rules_rust_wasm_bindgen__buf_redux__0_8_4//:buf_redux",
117        "@rules_rust_wasm_bindgen__httparse__1_5_1//:httparse",
118        "@rules_rust_wasm_bindgen__log__0_4_14//:log",
119        "@rules_rust_wasm_bindgen__mime__0_3_16//:mime",
120        "@rules_rust_wasm_bindgen__mime_guess__2_0_3//:mime_guess",
121        "@rules_rust_wasm_bindgen__quick_error__1_2_3//:quick_error",
122        "@rules_rust_wasm_bindgen__rand__0_8_4//:rand",
123        "@rules_rust_wasm_bindgen__safemem__0_3_3//:safemem",
124        "@rules_rust_wasm_bindgen__tempfile__3_2_0//:tempfile",
125        "@rules_rust_wasm_bindgen__twoway__0_1_8//:twoway",
126    ],
127)