vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

add some common rust tools

Open lizelive opened this issue 3 years ago • 5 comments

lizelive avatar May 16 '22 22:05 lizelive

Thanks for your PR @lizelive! Do you have any additional info on how this update helps or changes the Rust dev experience?

bamurtaugh avatar May 26 '22 16:05 bamurtaugh

yeah most of these are included in github actor default image:

  • bindgen - makes binds
  • cbindgen - makes binds
  • cargo-outdated - tells you if deps are old
  • cargo-audit - run security audit

extra:

  • cargo-edit : A utility for managing cargo dependencies from the command line.
  • cargo-diet: Make your crate lean by computing size-optimal include directives for Cargo manifests

lizelive avatar May 26 '22 19:05 lizelive

after further testing i made changes to the pr:

added:

  • cargo-about: generates a 'about' legal file

removed:

  • cargo-chef: allows building deps (like 10x performance boost when building rust stuff in containers), typically not installed in dev container. i proposed because i use my devcontainer as build container, but not sure if that's typical use case.

lizelive avatar May 26 '22 20:05 lizelive

github action installed software note: you already install clippy and rustfmt

lizelive avatar May 26 '22 20:05 lizelive

Thanks for the insight - what do you mean by github actor default image?

bamurtaugh avatar Jun 01 '22 16:06 bamurtaugh