Skip to content

Commit

Permalink
fix: remove generator and change to local lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed May 16, 2023
1 parent 160377f commit 206f2c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencie
load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate")

def deps():
rules_rust_dependencies()
rust_register_toolchains(edition = "2021")
crate_universe_dependencies(bootstrap = True)
load_crat()

def load_crat():
crates_repository(
name = "crate_index_protobuf",
cargo_lockfile = "@source_protobuf//:Cargo.lock",
generator = "@cargo_bazel_bootstrap//:cargo-bazel",
lockfile = "@source_protobuf//:cargo-bazel-lock.json",
lockfile = "@//:cargo-bazel-lock.json",
manifests = [
"@source_protobuf//:Cargo.toml"
]
Expand Down

0 comments on commit 206f2c7

Please sign in to comment.