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