Module cargo_test_support::registry

source ·

Structs§

Enums§

Functions§

  • Gets the alternative-registry version of api_path.
  • Gets the alternative-registry version of dl_path.
  • Variant of init that initializes the “alternative” registry and crates.io replacement.
  • Gets the path for local web API uploads. Cargo will place the contents of a web API request here. For example, api/v1/crates/new is the result of publishing a crate.
  • Initializes the on-disk registry and sets up the config so that crates.io is replaced with the one on disk.
  • Gets the path to the local index pretending to be crates.io. This is a Git repo initialized with a config.json file pointing to dl_path for downloads and api_path for uploads.