Skip to content

Commit 09e55e3

Browse files
Publish bazelbuild/[email protected] (#1237)
Co-authored-by: null <[email protected]>
1 parent 310f65e commit 09e55e3

File tree

4 files changed

+184
-0
lines changed

4 files changed

+184
-0
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
"""bazelbuild/rules_rust"""
2+
3+
module(
4+
name = "rules_rust",
5+
version = "0.35.0",
6+
)
7+
8+
bazel_dep(
9+
name = "bazel_skylib",
10+
version = "1.5.0",
11+
)
12+
bazel_dep(
13+
name = "platforms",
14+
version = "0.0.8",
15+
)
16+
bazel_dep(
17+
name = "rules_cc",
18+
version = "0.0.9",
19+
)
20+
bazel_dep(
21+
name = "rules_proto",
22+
version = "5.3.0-21.7",
23+
)
24+
bazel_dep(
25+
name = "apple_support",
26+
version = "1.11.1",
27+
repo_name = "build_bazel_apple_support",
28+
)
29+
bazel_dep(
30+
name = "protobuf",
31+
version = "21.7",
32+
repo_name = "com_google_protobuf",
33+
)
34+
35+
internal_deps = use_extension("//rust/private:extensions.bzl", "internal_deps")
36+
use_repo(
37+
internal_deps,
38+
"bazelci_rules",
39+
"com_google_googleapis",
40+
"cui",
41+
"cui__anyhow-1.0.75",
42+
"cui__cargo-lock-9.0.0",
43+
"cui__cargo-platform-0.1.4",
44+
"cui__cargo_metadata-0.18.1",
45+
"cui__cargo_toml-0.17.1",
46+
"cui__cfg-expr-0.15.5",
47+
"cui__clap-4.3.11",
48+
"cui__crates-index-2.2.0",
49+
"cui__hex-0.4.3",
50+
"cui__indoc-2.0.4",
51+
"cui__itertools-0.11.0",
52+
"cui__maplit-1.0.2",
53+
"cui__normpath-1.1.1",
54+
"cui__pathdiff-0.2.1",
55+
"cui__regex-1.10.2",
56+
"cui__semver-1.0.20",
57+
"cui__serde-1.0.190",
58+
"cui__serde_json-1.0.108",
59+
"cui__serde_starlark-0.1.14",
60+
"cui__sha2-0.10.8",
61+
"cui__spectral-0.6.0",
62+
"cui__tempfile-3.8.1",
63+
"cui__tera-1.19.1",
64+
"cui__textwrap-0.16.0",
65+
"cui__toml-0.8.6",
66+
"cui__tracing-0.1.40",
67+
"cui__tracing-subscriber-0.3.17",
68+
"generated_inputs_in_external_repo",
69+
"libc",
70+
"llvm-raw",
71+
"rrra__anyhow-1.0.71",
72+
"rrra__clap-4.3.11",
73+
"rrra__env_logger-0.10.0",
74+
"rrra__itertools-0.11.0",
75+
"rrra__log-0.4.19",
76+
"rrra__serde-1.0.171",
77+
"rrra__serde_json-1.0.102",
78+
"rules_rust_bindgen__bindgen-0.65.1",
79+
"rules_rust_bindgen__bindgen-cli-0.65.1",
80+
"rules_rust_bindgen__clang-sys-1.6.1",
81+
"rules_rust_bindgen__clap-4.3.3",
82+
"rules_rust_bindgen__clap_complete-4.3.1",
83+
"rules_rust_bindgen__env_logger-0.10.0",
84+
"rules_rust_prost",
85+
"rules_rust_prost__h2-0.3.19",
86+
"rules_rust_prost__heck",
87+
"rules_rust_prost__prost-0.11.9",
88+
"rules_rust_prost__prost-types-0.11.9",
89+
"rules_rust_prost__protoc-gen-prost-0.2.2",
90+
"rules_rust_prost__protoc-gen-tonic-0.2.2",
91+
"rules_rust_prost__tokio-1.28.2",
92+
"rules_rust_prost__tokio-stream-0.1.14",
93+
"rules_rust_prost__tonic-0.9.2",
94+
"rules_rust_test_load_arbitrary_tool",
95+
"rules_rust_tinyjson",
96+
"rules_rust_toolchain_test_target_json",
97+
"rules_rust_util_import__aho-corasick-0.7.15",
98+
"rules_rust_util_import__lazy_static-1.4.0",
99+
"rules_rust_util_import__proc-macro2-1.0.33",
100+
"rules_rust_util_import__quickcheck-1.0.3",
101+
"rules_rust_util_import__quote-1.0.10",
102+
"rules_rust_util_import__syn-1.0.82",
103+
"rules_rust_wasm_bindgen__anyhow-1.0.71",
104+
"rules_rust_wasm_bindgen__assert_cmd-1.0.8",
105+
"rules_rust_wasm_bindgen__diff-0.1.13",
106+
"rules_rust_wasm_bindgen__docopt-1.1.1",
107+
"rules_rust_wasm_bindgen__env_logger-0.8.4",
108+
"rules_rust_wasm_bindgen__log-0.4.19",
109+
"rules_rust_wasm_bindgen__predicates-1.0.8",
110+
"rules_rust_wasm_bindgen__rayon-1.7.0",
111+
"rules_rust_wasm_bindgen__rouille-3.6.2",
112+
"rules_rust_wasm_bindgen__serde-1.0.171",
113+
"rules_rust_wasm_bindgen__serde_derive-1.0.171",
114+
"rules_rust_wasm_bindgen__serde_json-1.0.102",
115+
"rules_rust_wasm_bindgen__tempfile-3.6.0",
116+
"rules_rust_wasm_bindgen__ureq-2.8.0",
117+
"rules_rust_wasm_bindgen__walrus-0.19.0",
118+
"rules_rust_wasm_bindgen__wasm-bindgen-0.2.88",
119+
"rules_rust_wasm_bindgen__wasm-bindgen-cli-support-0.2.88",
120+
"rules_rust_wasm_bindgen__wasm-bindgen-shared-0.2.88",
121+
"rules_rust_wasm_bindgen__wasmparser-0.102.0",
122+
"rules_rust_wasm_bindgen__wasmprinter-0.2.60",
123+
"rules_rust_wasm_bindgen_cli",
124+
)
125+
126+
rust = use_extension("//rust:extensions.bzl", "rust")
127+
128+
# Allow us to run, for example, "bazel build //tools/runfiles" with bzlmod.
129+
# Register it as a dev dependency so that we don't force this toolchain on
130+
# downstream users.
131+
rust.toolchain(edition = "2021")
132+
use_repo(rust, "rust_toolchains")
133+
134+
register_toolchains(
135+
"@rust_toolchains//:all",
136+
)
137+
138+
use_repo(rust, "rust_host_tools")
139+
140+
cargo_bazel_bootstrap = use_extension("//crate_universe/private/module_extensions:cargo_bazel_bootstrap.bzl", "cargo_bazel_bootstrap")
141+
use_repo(cargo_bazel_bootstrap, "cargo_bazel_bootstrap")
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
bcr_test_module:
2+
module_path: ""
3+
matrix:
4+
platform: ["macos", "ubuntu2004"]
5+
tasks:
6+
run_tests:
7+
working_directory: bzlmod/hello_world
8+
name: "Run test module"
9+
platform: ${{ platform }}
10+
test_targets:
11+
- "//..."
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "sha256-0hwyiyHzyez6TB6S3WGs5j/yJgMjQGfPD+SV91rCUa4=",
3+
"strip_prefix": "",
4+
"url": "https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz"
5+
}

modules/rules_rust/metadata.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"homepage": "https://github.com/bazelbuild/rules_rust",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "UebelAndre",
7+
"name": "UebelAndre"
8+
},
9+
{
10+
"email": "[email protected]",
11+
"github": "illicitonion",
12+
"name": "Daniel Wagner-Hall"
13+
},
14+
{
15+
"email": "[email protected]",
16+
"github": "scentini",
17+
"name": "Rosica Dejanovska"
18+
}
19+
],
20+
"repository": [
21+
"github:bazelbuild/rules_rust"
22+
],
23+
"versions": [
24+
"0.35.0"
25+
],
26+
"yanked_versions": {}
27+
}

0 commit comments

Comments
 (0)