vaticle / bazel-distribution

Bazel rules for assembling and deploying software distributions (see @vaticle for usage example)
https://bazel.build
Apache License 2.0
155 stars 53 forks source link

Assemble external workspace dependencies into Cargo dependencies #388

Closed flyingsilverfin closed 9 months ago

flyingsilverfin commented 9 months ago

What is the goal of this PR?

Assembling a Rust crate failed to convert external bazel workspace dependencies into Crate depedencies using the external dependency's version, as specified by workspace refs. We now use workspace references to correctly convert external rust library dependencies into crate dependencies, with version specifiers.

In addition, we now package README and LICENSE files into the generate crate.

What are the changes implemented in this PR?

vaticle-bot commented 9 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture