Module index

Source
Expand description

Provides functionality for interacting with both local and remote registry indices

Re-exports§

pub use cache::IndexCache;
pub use git::GitIndex;
pub use local::LocalRegistry;local
pub use location::IndexLocation;
pub use location::IndexPath;
pub use location::IndexUrl;
pub use sparse::SparseIndex;
pub use crate::utils::flock::FileLock;

Modules§

cache
Provides functionality for reading and writing cargo compatible .cache entries that can be wrapped by another index that has logic for fetching entries that aren’t in the cache
git
locallocal
Contains code for reading and writing local registries
location
Helpers for initializing the remote and local disk location of an index
sparse

Structs§

AsyncRemoteSparseIndexsparse
Allows async access to a remote HTTP sparse registry index
IndexConfig
Global configuration of an index, reflecting the contents of config.json.
RemoteGitIndex__git
Uses a “bare” git index that fetches files directly from the repo instead of using a local checkout, the same as cargo itself.
RemoteSparseIndexsparse
Allows blocking access to a remote HTTP sparse registry index

Enums§

ComboIndex__git and sparse
A wrapper around either a RemoteGitIndex or RemoteSparseIndex
ComboIndexCache
Provides simpler access to the cache for an index, regardless of the registry kind