Available on crate feature
local
only.Expand description
Contains code for reading and writing local registries
Modules§
- builder
local-builder
- Adds functionality for retrieving crate files from a remote registry
Structs§
- Local
Registry - A local registry implementation
- Local
Registry Builder - Allows the building of a local registry from a [
RemoteGitIndex
] or [RemoteSparseIndex
] - Valid
Krate - A wrapper around the raw byte buffer for a .crate response from a remote index
Enums§
- Local
Registry Error - 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