Skip to content

Commit

Permalink
Fixed crate_universe examples not vendoring consistent crate versions (
Browse files Browse the repository at this point in the history
…#3169)

This would lead to regular failures as new versions could be picked up
that would no longer match what's hard-coded in the MODULE.bazel.

Relates to #2368
  • Loading branch information
UebelAndre authored Jan 8, 2025
1 parent 5e90483 commit b9d8426
Show file tree
Hide file tree
Showing 34 changed files with 976 additions and 66 deletions.
4 changes: 2 additions & 2 deletions examples/crate_universe/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -610,14 +610,14 @@ use_repo(
"crates_vendor_pkgs__mime-0.3.17",
"crates_vendor_pkgs__serde_json-1.0.135",
"crates_vendor_pkgs__socket2-0.4.10",
"crates_vendor_pkgs__tokio-1.42.0",
"crates_vendor_pkgs__tokio-1.43.0",
"crates_vendor_pkgs__tower-0.4.13",
"crates_vendor_pkgs__tower-http-0.2.5",
"crates_vendor_pkgs__tracing-0.1.41",
"crates_vendor_pkgs__tracing-subscriber-0.3.19",
"cvm",
"cvm__tempfile-3.15.0",
"cvm__tokio-1.42.0",
"cvm__tokio-1.43.0",
"cvm__tokio-test-0.4.4",
)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
6 changes: 3 additions & 3 deletions examples/crate_universe/vendor_local_pkgs/crates/BUILD.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/crate_universe/vendor_local_pkgs/crates/defs.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions examples/crate_universe/vendor_remote_manifests/crates/defs.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/crate_universe/vendor_remote_pkgs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ crates_vendor(
compile_data_glob = ["**/*.md"],
)],
},
cargo_lockfile = ":Cargo.lock",
mode = "remote",
packages = {
"axum": crate.spec(
Expand Down
Loading

0 comments on commit b9d8426

Please sign in to comment.