Crate cargo_parcel

Source
Expand description

A library implementing an extended version of cargo install.

The intended use of this crate is in an xtask-style helper crate, extending cargo with a parcel subcommand, providing a superset of the functionality provided by cargo install. For such typical use, a single call to the main function is sufficient to implement the helper crate’s main (and only) program.

The rest of the API is provided for experimentation with alternative interfaces to the functionality provided, but should be considered in flux; no particular considerations to backward compatibility will be made, although breaking API changes will result in a semver bump, following the usual Rust conventions.

Modules§

  • Miscellaneous utilities

Structs§

  • An action to be carried out.
  • The configuration, as parsed from Cargo.toml.
  • The Error type, a wrapper around a dynamic error type.
  • Describes an error caused by an invalid man page specification.
  • Represents a manual page to be installed.
  • A description of a parcel’s metadata.
  • A builder allowing to configuration of optional parcel properties.
  • Error stemming from parsing a
  • Describes an error caused by a invalid pkg-data item.

Enums§

Functions§

  • Run the command line interface.