Cargo.bazel.lock is large

Open
#3,900 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
build-system

Research direction

Start by comparing the attached Cargo.bazel.lock and Cargo.lock files, focusing on the repeated entries and their differing sizes. Trace how Cargo.bazel.lock is produced in rules_rust and determine which values could safely become defaults. Done means a clear, tested approach that reduces unnecessary repetition without changing the lockfile’s meaning.

Written by the indexing model from the issue text.

Description

crate-universe

Cargo.bazel.lock is large, multiple times larger than Cargo.lock. It's very repetitive. Could some things be defaults?

This example Cargo.lock file is <5,000 lines and the Cargo.bazel.lock is >30,000 lines.

Cargo.bazel.lock
Cargo.lock

Most of my repo is Cargo.bazel.lock 😂

Dominant language
Starlark
Stars
857
Forks
701
Avg merge
4d 7h
Merged PRs (30d)
46

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/rules_rust

All issues in bazelbuild/rules_rust

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.