Skip to content

Commit 80e0090

Browse files
authored
Regenerated cargo-raze outputs for sys examples (#898)
1 parent 85c7d04 commit 80e0090

26 files changed

+110
-110
lines changed

examples/sys/basic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bzip2 = "=0.3.3"
1212
[package.metadata.raze]
1313
workspace_path = "//sys/basic/raze"
1414
genmode = "Remote"
15-
gen_workspace_prefix = "rules_rust_examples_basic_sys"
15+
gen_workspace_prefix = "basic_sys"
1616
rust_rules_workspace_name = "rules_rust"
1717
package_aliases_dir = "raze"
1818
default_gen_buildrs = false

examples/sys/basic/raze/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ licenses([
1414
# Aliased targets
1515
alias(
1616
name = "bzip2",
17-
actual = "@rules_rust_examples_basic_sys__bzip2__0_3_3//:bzip2",
17+
actual = "@basic_sys__bzip2__0_3_3//:bzip2",
1818
tags = [
1919
"cargo-raze",
2020
"manual",

examples/sys/basic/raze/crates.bzl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # bui
99
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load
1010
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load
1111

12-
def rules_rust_examples_basic_sys_fetch_remote_crates():
12+
def basic_sys_fetch_remote_crates():
1313
"""This function defines a collection of repos and should be called in a WORKSPACE file"""
1414
maybe(
1515
http_archive,
16-
name = "rules_rust_examples_basic_sys__bzip2__0_3_3",
16+
name = "basic_sys__bzip2__0_3_3",
1717
url = "https://crates.io/api/v1/crates/bzip2/0.3.3/download",
1818
type = "tar.gz",
1919
sha256 = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b",
@@ -23,7 +23,7 @@ def rules_rust_examples_basic_sys_fetch_remote_crates():
2323

2424
maybe(
2525
http_archive,
26-
name = "rules_rust_examples_basic_sys__bzip2_sys__0_1_9_1_0_8",
26+
name = "basic_sys__bzip2_sys__0_1_9_1_0_8",
2727
url = "https://crates.io/api/v1/crates/bzip2-sys/0.1.9+1.0.8/download",
2828
type = "tar.gz",
2929
sha256 = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e",
@@ -33,7 +33,7 @@ def rules_rust_examples_basic_sys_fetch_remote_crates():
3333

3434
maybe(
3535
http_archive,
36-
name = "rules_rust_examples_basic_sys__cc__1_0_60",
36+
name = "basic_sys__cc__1_0_60",
3737
url = "https://crates.io/api/v1/crates/cc/1.0.60/download",
3838
type = "tar.gz",
3939
sha256 = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c",
@@ -43,7 +43,7 @@ def rules_rust_examples_basic_sys_fetch_remote_crates():
4343

4444
maybe(
4545
http_archive,
46-
name = "rules_rust_examples_basic_sys__libc__0_2_77",
46+
name = "basic_sys__libc__0_2_77",
4747
url = "https://crates.io/api/v1/crates/libc/0.2.77/download",
4848
type = "tar.gz",
4949
sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235",
@@ -53,7 +53,7 @@ def rules_rust_examples_basic_sys_fetch_remote_crates():
5353

5454
maybe(
5555
http_archive,
56-
name = "rules_rust_examples_basic_sys__pkg_config__0_3_18",
56+
name = "basic_sys__pkg_config__0_3_18",
5757
url = "https://crates.io/api/v1/crates/pkg-config/0.3.18/download",
5858
type = "tar.gz",
5959
sha256 = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33",

examples/sys/basic/raze/remote/BUILD.bzip2-0.3.3.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ rust_library(
4949
version = "0.3.3",
5050
# buildifier: leave-alone
5151
deps = [
52-
"@rules_rust_examples_basic_sys__bzip2_sys__0_1_9_1_0_8//:bzip2_sys",
53-
"@rules_rust_examples_basic_sys__libc__0_2_77//:libc",
52+
"@basic_sys__bzip2_sys__0_1_9_1_0_8//:bzip2_sys",
53+
"@basic_sys__libc__0_2_77//:libc",
5454
],
5555
)
5656

examples/sys/basic/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ cargo_build_script(
5757
version = "0.1.9+1.0.8",
5858
visibility = ["//visibility:private"],
5959
deps = [
60-
"@rules_rust_examples_basic_sys__cc__1_0_60//:cc",
61-
"@rules_rust_examples_basic_sys__pkg_config__0_3_18//:pkg_config",
60+
"@basic_sys__cc__1_0_60//:cc",
61+
"@basic_sys__pkg_config__0_3_18//:pkg_config",
6262
],
6363
)
6464

@@ -82,6 +82,6 @@ rust_library(
8282
# buildifier: leave-alone
8383
deps = [
8484
":bzip2_sys_build_script",
85-
"@rules_rust_examples_basic_sys__libc__0_2_77//:libc",
85+
"@basic_sys__libc__0_2_77//:libc",
8686
],
8787
)

examples/sys/complex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ openssl-sys = "=0.9.60"
1414
[package.metadata.raze]
1515
workspace_path = "//sys/complex/raze"
1616
genmode = "Remote"
17-
gen_workspace_prefix = "rules_rust_examples_complex_sys"
17+
gen_workspace_prefix = "complex_sys"
1818
rust_rules_workspace_name = "rules_rust"
1919
package_aliases_dir = "raze"
2020
default_gen_buildrs = true

examples/sys/complex/raze/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ licenses([
1414
# Aliased targets
1515
alias(
1616
name = "git2",
17-
actual = "@rules_rust_examples_complex_sys__git2__0_13_12//:git2",
17+
actual = "@complex_sys__git2__0_13_12//:git2",
1818
tags = [
1919
"cargo-raze",
2020
"manual",
@@ -23,7 +23,7 @@ alias(
2323

2424
alias(
2525
name = "openssl",
26-
actual = "@rules_rust_examples_complex_sys__openssl__0_10_32//:openssl",
26+
actual = "@complex_sys__openssl__0_10_32//:openssl",
2727
tags = [
2828
"cargo-raze",
2929
"manual",
@@ -32,7 +32,7 @@ alias(
3232

3333
alias(
3434
name = "openssl_sys",
35-
actual = "@rules_rust_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys",
35+
actual = "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
3636
tags = [
3737
"cargo-raze",
3838
"manual",

examples/sys/complex/raze/crates.bzl

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # bui
99
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load
1010
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load
1111

12-
def rules_rust_examples_complex_sys_fetch_remote_crates():
12+
def complex_sys_fetch_remote_crates():
1313
"""This function defines a collection of repos and should be called in a WORKSPACE file"""
1414
maybe(
1515
http_archive,
16-
name = "rules_rust_examples_complex_sys__autocfg__1_0_1",
16+
name = "complex_sys__autocfg__1_0_1",
1717
url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download",
1818
type = "tar.gz",
1919
sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a",
@@ -23,7 +23,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
2323

2424
maybe(
2525
http_archive,
26-
name = "rules_rust_examples_complex_sys__bitflags__1_2_1",
26+
name = "complex_sys__bitflags__1_2_1",
2727
url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
2828
type = "tar.gz",
2929
sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693",
@@ -33,7 +33,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
3333

3434
maybe(
3535
http_archive,
36-
name = "rules_rust_examples_complex_sys__cc__1_0_69",
36+
name = "complex_sys__cc__1_0_69",
3737
url = "https://crates.io/api/v1/crates/cc/1.0.69/download",
3838
type = "tar.gz",
3939
sha256 = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2",
@@ -43,7 +43,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
4343

4444
maybe(
4545
http_archive,
46-
name = "rules_rust_examples_complex_sys__cfg_if__1_0_0",
46+
name = "complex_sys__cfg_if__1_0_0",
4747
url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
4848
type = "tar.gz",
4949
sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
@@ -53,7 +53,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
5353

5454
maybe(
5555
http_archive,
56-
name = "rules_rust_examples_complex_sys__foreign_types__0_3_2",
56+
name = "complex_sys__foreign_types__0_3_2",
5757
url = "https://crates.io/api/v1/crates/foreign-types/0.3.2/download",
5858
type = "tar.gz",
5959
sha256 = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1",
@@ -63,7 +63,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
6363

6464
maybe(
6565
http_archive,
66-
name = "rules_rust_examples_complex_sys__foreign_types_shared__0_1_1",
66+
name = "complex_sys__foreign_types_shared__0_1_1",
6767
url = "https://crates.io/api/v1/crates/foreign-types-shared/0.1.1/download",
6868
type = "tar.gz",
6969
sha256 = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b",
@@ -73,7 +73,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
7373

7474
maybe(
7575
http_archive,
76-
name = "rules_rust_examples_complex_sys__form_urlencoded__1_0_1",
76+
name = "complex_sys__form_urlencoded__1_0_1",
7777
url = "https://crates.io/api/v1/crates/form_urlencoded/1.0.1/download",
7878
type = "tar.gz",
7979
sha256 = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191",
@@ -83,7 +83,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
8383

8484
maybe(
8585
http_archive,
86-
name = "rules_rust_examples_complex_sys__git2__0_13_12",
86+
name = "complex_sys__git2__0_13_12",
8787
url = "https://crates.io/api/v1/crates/git2/0.13.12/download",
8888
type = "tar.gz",
8989
sha256 = "ca6f1a0238d7f8f8fd5ee642f4ebac4dbc03e03d1f78fbe7a3ede35dcf7e2224",
@@ -93,7 +93,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
9393

9494
maybe(
9595
http_archive,
96-
name = "rules_rust_examples_complex_sys__idna__0_2_3",
96+
name = "complex_sys__idna__0_2_3",
9797
url = "https://crates.io/api/v1/crates/idna/0.2.3/download",
9898
type = "tar.gz",
9999
sha256 = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8",
@@ -103,7 +103,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
103103

104104
maybe(
105105
http_archive,
106-
name = "rules_rust_examples_complex_sys__jobserver__0_1_23",
106+
name = "complex_sys__jobserver__0_1_23",
107107
url = "https://crates.io/api/v1/crates/jobserver/0.1.23/download",
108108
type = "tar.gz",
109109
sha256 = "f5ca711fd837261e14ec9e674f092cbb931d3fa1482b017ae59328ddc6f3212b",
@@ -113,7 +113,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
113113

114114
maybe(
115115
http_archive,
116-
name = "rules_rust_examples_complex_sys__lazy_static__1_4_0",
116+
name = "complex_sys__lazy_static__1_4_0",
117117
url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
118118
type = "tar.gz",
119119
sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
@@ -123,7 +123,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
123123

124124
maybe(
125125
http_archive,
126-
name = "rules_rust_examples_complex_sys__libc__0_2_98",
126+
name = "complex_sys__libc__0_2_98",
127127
url = "https://crates.io/api/v1/crates/libc/0.2.98/download",
128128
type = "tar.gz",
129129
sha256 = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790",
@@ -133,7 +133,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
133133

134134
maybe(
135135
http_archive,
136-
name = "rules_rust_examples_complex_sys__libgit2_sys__0_12_21_1_1_0",
136+
name = "complex_sys__libgit2_sys__0_12_21_1_1_0",
137137
url = "https://crates.io/api/v1/crates/libgit2-sys/0.12.21+1.1.0/download",
138138
type = "tar.gz",
139139
sha256 = "86271bacd72b2b9e854c3dcfb82efd538f15f870e4c11af66900effb462f6825",
@@ -143,7 +143,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
143143

144144
maybe(
145145
http_archive,
146-
name = "rules_rust_examples_complex_sys__libssh2_sys__0_2_21",
146+
name = "complex_sys__libssh2_sys__0_2_21",
147147
url = "https://crates.io/api/v1/crates/libssh2-sys/0.2.21/download",
148148
type = "tar.gz",
149149
sha256 = "e0186af0d8f171ae6b9c4c90ec51898bad5d08a2d5e470903a50d9ad8959cbee",
@@ -153,7 +153,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
153153

154154
maybe(
155155
http_archive,
156-
name = "rules_rust_examples_complex_sys__libz_sys__1_1_3",
156+
name = "complex_sys__libz_sys__1_1_3",
157157
url = "https://crates.io/api/v1/crates/libz-sys/1.1.3/download",
158158
type = "tar.gz",
159159
sha256 = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66",
@@ -163,7 +163,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
163163

164164
maybe(
165165
http_archive,
166-
name = "rules_rust_examples_complex_sys__log__0_4_14",
166+
name = "complex_sys__log__0_4_14",
167167
url = "https://crates.io/api/v1/crates/log/0.4.14/download",
168168
type = "tar.gz",
169169
sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
@@ -173,7 +173,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
173173

174174
maybe(
175175
http_archive,
176-
name = "rules_rust_examples_complex_sys__matches__0_1_8",
176+
name = "complex_sys__matches__0_1_8",
177177
url = "https://crates.io/api/v1/crates/matches/0.1.8/download",
178178
type = "tar.gz",
179179
sha256 = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08",
@@ -183,7 +183,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
183183

184184
maybe(
185185
http_archive,
186-
name = "rules_rust_examples_complex_sys__openssl__0_10_32",
186+
name = "complex_sys__openssl__0_10_32",
187187
url = "https://crates.io/api/v1/crates/openssl/0.10.32/download",
188188
type = "tar.gz",
189189
sha256 = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70",
@@ -193,7 +193,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
193193

194194
maybe(
195195
http_archive,
196-
name = "rules_rust_examples_complex_sys__openssl_probe__0_1_4",
196+
name = "complex_sys__openssl_probe__0_1_4",
197197
url = "https://crates.io/api/v1/crates/openssl-probe/0.1.4/download",
198198
type = "tar.gz",
199199
sha256 = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a",
@@ -203,7 +203,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
203203

204204
maybe(
205205
http_archive,
206-
name = "rules_rust_examples_complex_sys__openssl_sys__0_9_60",
206+
name = "complex_sys__openssl_sys__0_9_60",
207207
url = "https://crates.io/api/v1/crates/openssl-sys/0.9.60/download",
208208
type = "tar.gz",
209209
sha256 = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6",
@@ -213,7 +213,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
213213

214214
maybe(
215215
http_archive,
216-
name = "rules_rust_examples_complex_sys__percent_encoding__2_1_0",
216+
name = "complex_sys__percent_encoding__2_1_0",
217217
url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download",
218218
type = "tar.gz",
219219
sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e",
@@ -223,7 +223,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
223223

224224
maybe(
225225
http_archive,
226-
name = "rules_rust_examples_complex_sys__pkg_config__0_3_19",
226+
name = "complex_sys__pkg_config__0_3_19",
227227
url = "https://crates.io/api/v1/crates/pkg-config/0.3.19/download",
228228
type = "tar.gz",
229229
sha256 = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c",
@@ -233,7 +233,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
233233

234234
maybe(
235235
http_archive,
236-
name = "rules_rust_examples_complex_sys__tinyvec__1_3_1",
236+
name = "complex_sys__tinyvec__1_3_1",
237237
url = "https://crates.io/api/v1/crates/tinyvec/1.3.1/download",
238238
type = "tar.gz",
239239
sha256 = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338",
@@ -243,7 +243,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
243243

244244
maybe(
245245
http_archive,
246-
name = "rules_rust_examples_complex_sys__tinyvec_macros__0_1_0",
246+
name = "complex_sys__tinyvec_macros__0_1_0",
247247
url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.0/download",
248248
type = "tar.gz",
249249
sha256 = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c",
@@ -253,7 +253,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
253253

254254
maybe(
255255
http_archive,
256-
name = "rules_rust_examples_complex_sys__unicode_bidi__0_3_5",
256+
name = "complex_sys__unicode_bidi__0_3_5",
257257
url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.5/download",
258258
type = "tar.gz",
259259
sha256 = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0",
@@ -263,7 +263,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
263263

264264
maybe(
265265
http_archive,
266-
name = "rules_rust_examples_complex_sys__unicode_normalization__0_1_19",
266+
name = "complex_sys__unicode_normalization__0_1_19",
267267
url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.19/download",
268268
type = "tar.gz",
269269
sha256 = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9",
@@ -273,7 +273,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
273273

274274
maybe(
275275
http_archive,
276-
name = "rules_rust_examples_complex_sys__url__2_2_2",
276+
name = "complex_sys__url__2_2_2",
277277
url = "https://crates.io/api/v1/crates/url/2.2.2/download",
278278
type = "tar.gz",
279279
sha256 = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c",
@@ -283,7 +283,7 @@ def rules_rust_examples_complex_sys_fetch_remote_crates():
283283

284284
maybe(
285285
http_archive,
286-
name = "rules_rust_examples_complex_sys__vcpkg__0_2_15",
286+
name = "complex_sys__vcpkg__0_2_15",
287287
url = "https://crates.io/api/v1/crates/vcpkg/0.2.15/download",
288288
type = "tar.gz",
289289
sha256 = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426",

0 commit comments

Comments
 (0)