Expand description
The cache
module.
This module provides caching functionalities to optimize performance and reduce
redundant operations, particularly in the context of downloading and storing crate data.
It may include structures like CrateCache
to store downloaded crates and their metadata
for quick retrieval.
Structs§
- Crate
- Represents a crate with its data and indexes for quick access to its contents.
- Crate
Cache - A cache for storing and retrieving
Crate
instances to minimize redundant operations. - Crate
File Data Desc - Describes a crate file with its data type and range in the crate’s data buffer.
- Crate
Tar - Represents a tarball of a crate, including version information and tar data.
- File
Content - Contains the actual content of a file within a crate.
Enums§
- File
Data Type - Enumerates the possible data formats of a crate file.