Module local

Source
Available on crate feature local only.
Expand description

Contains code for reading and writing local registries

Modules§

builderlocal-builder
Adds functionality for retrieving crate files from a remote registry

Structs§

LocalRegistry
A local registry implementation
LocalRegistryBuilder
Allows the building of a local registry from a [RemoteGitIndex] or [RemoteSparseIndex]
ValidKrate
A wrapper around the raw byte buffer for a .crate response from a remote index

Enums§

LocalRegistryError
An error that can occur when validating or creating a LocalRegistry

Functions§

crate_file_components
Splits a crate package name into its component parts
validate_checksum
Ensures the specified stream’s sha-256 matches the specified checksum