Crate cargo_dist

source ·
Expand description

cargo-dist

This is the library at the core of the ‘cargo dist’ CLI. It currently mostly exists for the sake of internal documentation/testing, and isn’t intended to be used by anyone else. That said, if you have a reason to use it, let us know!

It’s currently not terribly well-suited to being used as a pure library because it happily writes to stderr/stdout whenever it pleases. Suboptimal for a library.

Re-exports

Modules

  • CI script generation
  • Errors!
  • Installer Generation
  • Code to compute the tasks cargo-dist should do

Structs

Functions

  • Top level command of cargo_dist – do everything!
  • Generate CI scripts (impl of cargo dist generate-ci)
  • Run ‘cargo dist init’
  • Just generate the manifest produced by cargo dist build without building