Module forc_pkg::source

source ·
Expand description

Related to pinning, fetching, validating and caching the source for packages.

To add a new source kind:

  1. Add a new module.
  2. Create types providing implementations for each of the traits in this module.
  3. Add a variant to the Source and Pinned types in this module.
  4. Add variant support to the from_manifest_dep and FromStr implementations.

Modules§

Structs§

  • A wrapper type for providing Display implementations for compiling msgs.
  • Error returned upon failed parsing of SourcePinned::from_str.

Enums§

Functions§

  • Produce a unique ID for a particular fetch pass.