Skip to content

Commit 114b4cf

Browse files
committed
Update to wasmsign2
Signed-off-by: Matt Leon <[email protected]>
1 parent 6cd1239 commit 114b4cf

File tree

160 files changed

+13815
-839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+13815
-839
lines changed

bazel/cargo/wasmsign/Cargo.Bazel.lock

Lines changed: 1132 additions & 99 deletions
Large diffs are not rendered by default.

bazel/cargo/wasmsign/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@ version = "0.1.2"
2121
path = "fake_lib.rs"
2222

2323
[dependencies]
24-
wasmsign = {git = "https://github.com/jedisct1/wasmsign", revision = "fa4d5598f778390df09be94232972b5b865a56b8"}
25-
26-
# Ready to upgrade to wasmsign2:
27-
# Which generates: //bazel/cargo/wasmsign/remote:wasmsign2-cli__wasmsign2
28-
#wasmsign2-cli = {git = "https://github.com/wasm-signatures/wasmsign2", revision = "07c60eee7f4c655d5a91404f5a9ffd97316d01f1"}
24+
wasmsign2-cli = "0.2.6"
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @//bazel/cargo/wasmsign:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "adler2",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_root = "src/lib.rs",
38+
edition = "2021",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
42+
rustc_flags = [
43+
"--cap-lints=allow",
44+
],
45+
tags = [
46+
"cargo-bazel",
47+
"crate-name=adler2",
48+
"manual",
49+
"noclippy",
50+
"norustfmt",
51+
],
52+
version = "2.0.1",
53+
)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @//bazel/cargo/wasmsign:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "aho_corasick",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_features = [
38+
"perf-literal",
39+
"std",
40+
],
41+
crate_root = "src/lib.rs",
42+
edition = "2021",
43+
rustc_env_files = [
44+
":cargo_toml_env_vars",
45+
],
46+
rustc_flags = [
47+
"--cap-lints=allow",
48+
],
49+
tags = [
50+
"cargo-bazel",
51+
"crate-name=aho-corasick",
52+
"manual",
53+
"noclippy",
54+
"norustfmt",
55+
],
56+
version = "1.1.4",
57+
deps = [
58+
"@cu__memchr-2.7.6//:memchr",
59+
],
60+
)

bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel renamed to bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.100.bazel

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9-
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
9+
load(
10+
"@rules_rust//cargo:defs.bzl",
11+
"cargo_build_script",
12+
"cargo_toml_env_vars",
13+
)
1014
load("@rules_rust//rust:defs.bzl", "rust_library")
1115

1216
package(default_visibility = ["//visibility:public"])
1317

18+
cargo_toml_env_vars(
19+
name = "cargo_toml_env_vars",
20+
src = "Cargo.toml",
21+
)
22+
1423
rust_library(
1524
name = "anyhow",
1625
srcs = glob(
1726
include = ["**/*.rs"],
18-
allow_empty = False,
27+
allow_empty = True,
1928
),
2029
compile_data = glob(
2130
include = ["**"],
@@ -35,6 +44,9 @@ rust_library(
3544
],
3645
crate_root = "src/lib.rs",
3746
edition = "2018",
47+
rustc_env_files = [
48+
":cargo_toml_env_vars",
49+
],
3850
rustc_flags = [
3951
"--cap-lints=allow",
4052
],
@@ -45,17 +57,30 @@ rust_library(
4557
"noclippy",
4658
"norustfmt",
4759
],
48-
version = "1.0.86",
60+
version = "1.0.100",
4961
deps = [
50-
"@cu__anyhow-1.0.86//:build_script_build",
62+
"@cu__anyhow-1.0.100//:build_script_build",
5163
],
5264
)
5365

5466
cargo_build_script(
55-
name = "anyhow_bs",
67+
name = "_bs",
5668
srcs = glob(
5769
include = ["**/*.rs"],
58-
allow_empty = False,
70+
allow_empty = True,
71+
),
72+
compile_data = glob(
73+
include = ["**"],
74+
allow_empty = True,
75+
exclude = [
76+
"**/* *",
77+
"**/*.rs",
78+
".tmp_git_root/**/*",
79+
"BUILD",
80+
"BUILD.bazel",
81+
"WORKSPACE",
82+
"WORKSPACE.bazel",
83+
],
5984
),
6085
crate_features = [
6186
"default",
@@ -76,6 +101,10 @@ cargo_build_script(
76101
],
77102
),
78103
edition = "2018",
104+
pkg_name = "anyhow",
105+
rustc_env_files = [
106+
":cargo_toml_env_vars",
107+
],
79108
rustc_flags = [
80109
"--cap-lints=allow",
81110
],
@@ -86,12 +115,12 @@ cargo_build_script(
86115
"noclippy",
87116
"norustfmt",
88117
],
89-
version = "1.0.86",
118+
version = "1.0.100",
90119
visibility = ["//visibility:private"],
91120
)
92121

93122
alias(
94123
name = "build_script_build",
95-
actual = ":anyhow_bs",
124+
actual = ":_bs",
96125
tags = ["manual"],
97126
)

bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel renamed to bazel/cargo/wasmsign/remote/BUILD.autocfg-1.5.0.bazel

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
14-
name = "textwrap",
20+
name = "autocfg",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -30,18 +36,18 @@ rust_library(
3036
),
3137
crate_root = "src/lib.rs",
3238
edition = "2015",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
3342
rustc_flags = [
3443
"--cap-lints=allow",
3544
],
3645
tags = [
3746
"cargo-bazel",
38-
"crate-name=textwrap",
47+
"crate-name=autocfg",
3948
"manual",
4049
"noclippy",
4150
"norustfmt",
4251
],
43-
version = "0.11.0",
44-
deps = [
45-
"@cu__unicode-width-0.1.13//:unicode_width",
46-
],
52+
version = "1.5.0",
4753
)

bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel renamed to bazel/cargo/wasmsign/remote/BUILD.base64-0.22.1.bazel

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
14-
name = "quote",
20+
name = "base64",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -29,23 +35,24 @@ rust_library(
2935
],
3036
),
3137
crate_features = [
38+
"alloc",
3239
"default",
33-
"proc-macro",
40+
"std",
3441
],
3542
crate_root = "src/lib.rs",
3643
edition = "2018",
44+
rustc_env_files = [
45+
":cargo_toml_env_vars",
46+
],
3747
rustc_flags = [
3848
"--cap-lints=allow",
3949
],
4050
tags = [
4151
"cargo-bazel",
42-
"crate-name=quote",
52+
"crate-name=base64",
4353
"manual",
4454
"noclippy",
4555
"norustfmt",
4656
],
47-
version = "1.0.36",
48-
deps = [
49-
"@cu__proc-macro2-1.0.86//:proc_macro2",
50-
],
57+
version = "0.22.1",
5158
)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @//bazel/cargo/wasmsign:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "base64",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_root = "src/lib.rs",
38+
edition = "2015",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
42+
rustc_flags = [
43+
"--cap-lints=allow",
44+
],
45+
tags = [
46+
"cargo-bazel",
47+
"crate-name=base64",
48+
"manual",
49+
"noclippy",
50+
"norustfmt",
51+
],
52+
version = "0.9.3",
53+
deps = [
54+
"@cu__byteorder-1.5.0//:byteorder",
55+
"@cu__safemem-0.3.3//:safemem",
56+
],
57+
)

0 commit comments

Comments
 (0)