Expand description
Core library of cargo-component
.
Modules§
- command
- Module for common command implementation.
- lock
- Module for the lock file implementation.
- progress
- Module for the implementation of a progress bar.
- registry
- Module for resolving dependencies from a component registry.
- terminal
- Module for the terminal output implementation.
Structs§
- Versioned
Package Name - Represents a versioned component package name.
Constants§
- CACHE_
DIR - The cache directory name used by default
- CARGO_
COMPONENT_ DIR - The root directory name used for default cargo component directories
Functions§
- cache_
dir - A helper that fetches the default directory if the given directory is
None
. - default_
cache_ dir - Returns the path to the default cache directory, returning an error if a cache directory cannot be found.