fork/rules_rust

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

UebelAndreDeleted deprecated `rust_analyzer` rule. (#1405)3aa88ab0

0.7.0
4.0 KiB124 linesraw
1# Copyright 2021 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15"""Public entry point to all Rust rules and supported APIs."""
16
17load(
18    "//rust:toolchain.bzl",
19    _rust_stdlib_filegroup = "rust_stdlib_filegroup",
20)
21load(
22    "//rust/private:clippy.bzl",
23    _capture_clippy_output = "capture_clippy_output",
24    _clippy_flags = "clippy_flags",
25    _rust_clippy = "rust_clippy",
26    _rust_clippy_aspect = "rust_clippy_aspect",
27)
28load("//rust/private:common.bzl", _rust_common = "rust_common")
29load(
30    "//rust/private:rust.bzl",
31    _rust_binary = "rust_binary",
32    _rust_library = "rust_library",
33    _rust_proc_macro = "rust_proc_macro",
34    _rust_shared_library = "rust_shared_library",
35    _rust_static_library = "rust_static_library",
36    _rust_test = "rust_test",
37    _rust_test_suite = "rust_test_suite",
38)
39load(
40    "//rust/private:rust_analyzer.bzl",
41    _rust_analyzer_aspect = "rust_analyzer_aspect",
42)
43load(
44    "//rust/private:rustc.bzl",
45    _error_format = "error_format",
46    _extra_exec_rustc_flags = "extra_exec_rustc_flags",
47    _extra_rustc_flags = "extra_rustc_flags",
48)
49load(
50    "//rust/private:rustdoc.bzl",
51    _rust_doc = "rust_doc",
52)
53load(
54    "//rust/private:rustdoc_test.bzl",
55    _rust_doc_test = "rust_doc_test",
56)
57load(
58    "//rust/private:rustfmt.bzl",
59    _rustfmt_aspect = "rustfmt_aspect",
60    _rustfmt_test = "rustfmt_test",
61)
62
63rust_library = _rust_library
64# See @rules_rust//rust/private:rust.bzl for a complete description.
65
66rust_static_library = _rust_static_library
67# See @rules_rust//rust/private:rust.bzl for a complete description.
68
69rust_shared_library = _rust_shared_library
70# See @rules_rust//rust/private:rust.bzl for a complete description.
71
72rust_proc_macro = _rust_proc_macro
73# See @rules_rust//rust/private:rust.bzl for a complete description.
74
75rust_binary = _rust_binary
76# See @rules_rust//rust/private:rust.bzl for a complete description.
77
78rust_test = _rust_test
79# See @rules_rust//rust/private:rust.bzl for a complete description.
80
81rust_test_suite = _rust_test_suite
82# See @rules_rust//rust/private:rust.bzl for a complete description.
83
84rust_doc = _rust_doc
85# See @rules_rust//rust/private:rustdoc.bzl for a complete description.
86
87rust_doc_test = _rust_doc_test
88# See @rules_rust//rust/private:rustdoc_test.bzl for a complete description.
89
90clippy_flags = _clippy_flags
91# See @rules_rust//rust/private:clippy.bzl for a complete description.
92
93rust_clippy_aspect = _rust_clippy_aspect
94# See @rules_rust//rust/private:clippy.bzl for a complete description.
95
96rust_clippy = _rust_clippy
97# See @rules_rust//rust/private:clippy.bzl for a complete description.
98
99capture_clippy_output = _capture_clippy_output
100# See @rules_rust//rust/private:clippy.bzl for a complete description.
101
102error_format = _error_format
103# See @rules_rust//rust/private:rustc.bzl for a complete description.
104
105extra_rustc_flags = _extra_rustc_flags
106# See @rules_rust//rust/private:rustc.bzl for a complete description.
107
108extra_exec_rustc_flags = _extra_exec_rustc_flags
109# See @rules_rust//rust/private:rustc.bzl for a complete description.
110
111rust_common = _rust_common
112# See @rules_rust//rust/private:common.bzl for a complete description.
113
114rust_analyzer_aspect = _rust_analyzer_aspect
115# See @rules_rust//rust/private:rust_analyzer.bzl for a complete description.
116
117rustfmt_aspect = _rustfmt_aspect
118# See @rules_rust//rust/private:rustfmt.bzl for a complete description.
119
120rustfmt_test = _rustfmt_test
121# See @rules_rust//rust/private:rustfmt.bzl for a complete description.
122
123rust_stdlib_filegroup = _rust_stdlib_filegroup
124# See @rules_rust//rust:toolchain.bzl for a complete description.