Description
I've got rules_rust all setup and working for my personal website here that id like to b build it as a static site and deploy the built dist/
folder - built with trunk build
.
I'm using the latest rules_rust
release I think and bzlmod
too using the from_cargo
approach to pull in crates.
The problem im getting to is if I try and add the trunk
crate to the Cargo.toml
file and run bazel query @crates//...
...its not listed for some reason.
I think its because the crate only provides an "installable" CLI binary and not an actual library.
Is there a way to somehow get this trunk
CLI executable as a Bazel target, without having to break hermicity/still pull it in using rules_rust
? I couldn't find an example of this situation anywhere in the rules_rust
docs unfortunately...thats why im asking here.
Thanks in advanced 🙏🏼