Skip to content

Commit bb17e1e

Browse files
jesses-canvaclaude
andcommitted
Use git dep for anyhow in all_crate_deps example to test http_archive conversion
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 16c68e1 commit bb17e1e

File tree

3 files changed

+82
-18
lines changed

3 files changed

+82
-18
lines changed

examples/all_crate_deps/Cargo.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/all_crate_deps/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ publish = false
99
path = "fake.rs"
1010

1111
[dependencies]
12-
anyhow = "1.0.79"
12+
# Fetched via git to test that git dependencies are converted to http_archive in MODULE.bazel.lock
13+
anyhow = { git = "https://github.com/dtolnay/anyhow.git", rev = "709fe86f04878a62a29b9279f5bb96422f8bca28" }

0 commit comments

Comments
 (0)