cargo-dependencies

Crates.iocargo-dependencies
lib.rscargo-dependencies
version0.1.1
sourcesrc
created_at2018-10-09 00:36:55.940571
updated_at2018-10-09 01:02:37.569412
descriptionA Cargo extension that prepares (downloads & builds) the dependencies of a specific Rust project.
homepage
repositoryhttps://github.com/rpsrosario/cargo-dependencies
max_upload_size
id88797
size18,781
Rui Rosário (rpsrosario)

documentation

README

cargo-dependencies

Build Status

cargo extension that downloads and compiles only the dependencies of a project. Once you start building more complex projects, most likely the majority of your time will be spent on compiling the dependencies, not your source code. If you are using tools like Docker, always recompiling your dependencies has a huge impact on your build times. With this extension you can create a docker layer with all of the dependencies downloaded and compiled, so that you can focus on the important part: your code.

This project was inspired by cargo-build-deps, however it has a few key differences:

  • First and foremost, it is nothing but a thin wrapper on cargo build, so any flag / argument you supply to it will be copied to the regular build command verbatim;
  • Since it just needs to wrap cargo build this extension has exactly zero dependencies itself, instead it implements a minimum TOML file parser to just be able to extract the required information in order to function properly;
Commit count: 0

cargo fmt