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;localpub 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
- local
local - Contains code for reading and writing local registries
- location
- Helpers for initializing the remote and local disk location of an index
- sparse
Structs§
- Async
Remote Sparse Index sparse - Allows async access to a remote HTTP sparse registry index
- Index
Config - Global configuration of an index, reflecting the contents of config.json.
- Remote
GitIndex __git - Uses a “bare” git index that fetches files directly from the repo instead of using a local checkout, the same as cargo itself.
- Remote
Sparse Index sparse - Allows blocking access to a remote HTTP sparse registry index
Enums§
- Combo
Index __gitandsparse - A wrapper around either a
RemoteGitIndexorRemoteSparseIndex - Combo
Index Cache - Provides simpler access to the cache for an index, regardless of the registry kind