-
Notifications
You must be signed in to change notification settings - Fork 465
/
Copy pathBUILD.bazel
118 lines (111 loc) · 3.48 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Code generated by cargo-gazelle DO NOT EDIT
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Use of this software is governed by the Business Source License
# included in the LICENSE file at the root of this repository.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.
load("@crates_io//:defs.bzl", "aliases", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_doc_test", "rust_library", "rust_test")
package(default_visibility = ["//visibility:public"])
rust_library(
name = "mz_compute",
srcs = glob(["src/**/*.rs"]),
aliases = aliases(
normal = True,
proc_macro = True,
),
compile_data = [],
crate_features = ["default"],
data = [],
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.0.0",
deps = [
"//src/cluster:mz_cluster",
"//src/compute-client:mz_compute_client",
"//src/compute-types:mz_compute_types",
"//src/dyncfg:mz_dyncfg",
"//src/dyncfgs:mz_dyncfgs",
"//src/expr:mz_expr",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/persist-types:mz_persist_types",
"//src/repr:mz_repr",
"//src/storage-operators:mz_storage_operators",
"//src/storage-types:mz_storage_types",
"//src/timely-util:mz_timely_util",
"//src/txn-wal:mz_txn_wal",
] + all_crate_deps(normal = True),
)
alias(
name = "compute",
actual = "mz_compute",
)
rust_test(
name = "mz_compute_lib_tests",
size = "medium",
aliases = aliases(
normal = True,
normal_dev = True,
proc_macro = True,
proc_macro_dev = True,
),
compile_data = [],
crate = ":mz_compute",
crate_features = ["default"],
data = [],
env = {},
proc_macro_deps = [] + all_crate_deps(
proc_macro = True,
proc_macro_dev = True,
),
rustc_env = {},
rustc_flags = [],
version = "0.0.0",
deps = [
"//src/cluster:mz_cluster",
"//src/compute-client:mz_compute_client",
"//src/compute-types:mz_compute_types",
"//src/dyncfg:mz_dyncfg",
"//src/dyncfgs:mz_dyncfgs",
"//src/expr:mz_expr",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/persist-types:mz_persist_types",
"//src/repr:mz_repr",
"//src/storage-operators:mz_storage_operators",
"//src/storage-types:mz_storage_types",
"//src/timely-util:mz_timely_util",
"//src/txn-wal:mz_txn_wal",
] + all_crate_deps(
normal = True,
normal_dev = True,
),
)
rust_doc_test(
name = "mz_compute_doc_test",
crate = ":mz_compute",
deps = [
"//src/cluster:mz_cluster",
"//src/compute-client:mz_compute_client",
"//src/compute-types:mz_compute_types",
"//src/dyncfg:mz_dyncfg",
"//src/dyncfgs:mz_dyncfgs",
"//src/expr:mz_expr",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/persist-types:mz_persist_types",
"//src/repr:mz_repr",
"//src/storage-operators:mz_storage_operators",
"//src/storage-types:mz_storage_types",
"//src/timely-util:mz_timely_util",
"//src/txn-wal:mz_txn_wal",
] + all_crate_deps(
normal = True,
normal_dev = True,
),
)