Module cargo_update::ops
source · Expand description
Main functions doing actual work.
Use installed_main_repo_packages()
to list the installed packages,
then use intersect_packages()
to confirm which ones should be updated,
poll the packages’ latest versions by calling MainRepoPackage::pull_version
on them,
continue with doing whatever you wish.
Structs
A representation of a package a remote git repository.
A representation of a package from the main
crates.io
repository.Compilation configuration for one crate.
Enums
A single operation to be executed upon configuration of a package.
One of elements with which to filter required packages.
Functions
Parse the raw crate descriptor from the repository into a collection of
Semver
s.Find package data in the specified cargo index tree.
Get the location of the latest registry index in the specified cargo directory.
List the installed packages at the specified location that originate
from a remote git repository.
List the installed packages at the specified location that originate
from the main
crates.io
registry.Filter out the installed packages not specified to be updated.
Follow
install.root
in the config
file
parallel to the specified crates file up to the final one.Update the specified index repository from the specified URL.