Skip to content

Commit f785664

Browse files
authored
Use Cargo.lock directly (#472)
1 parent 3466508 commit f785664

File tree

4 files changed

+1
-1732
lines changed

4 files changed

+1
-1732
lines changed

MODULE.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ crate.spec(
115115
package = "signal-hook",
116116
version = "0.3",
117117
)
118-
crate.from_specs(
118+
crate.from_cargo(
119119
name = "rules_ros2_crate_index",
120120
cargo_lockfile = "//repositories/rust:Cargo.lock",
121-
lockfile = "//repositories/rust:Cargo.Bazel.lock",
122121
)
123122
use_repo(crate, "rules_ros2_crate_index")
124123

repositories/rust/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
load("@rules_rust_bindgen//:defs.bzl", "rust_bindgen_toolchain")
22

33
exports_files([
4-
"Cargo.Bazel.lock",
54
"Cargo.lock",
65
])
76

0 commit comments

Comments
 (0)