bazelbuild / bazelbuild/rules_rust

Is there any way to generate a lock file with bzlmod crate universe from_spec?

Open
#3,159 0 comments 0 reactions 0 assignees View on GitHub
needs-design
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

We are using `crate_universe` with [from_spec](https://bazelbuild.github.io/rules_rust/crate_universe_bzlmod.html#from_specs) where we don't use the `Cargo.toml` files at all. Also our dependency tree is a bit more complicated for various reasons and we are mixing different dependencies with rust outside of cargo.

However, for some rust audit it would be beneficial to have a lockfile. Is it possible to generate a lockfile with this setup?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.