mirror of
https://github.com/Swatinem/rust-cache
synced 2025-11-06 23:46:03 +00:00
feat: Implement caching mechanism for Rust projects
- Added CacheConfig class to manage cache paths, keys, and workspace configurations. - Implemented cache restoration logic in restore.js, including handling cache misses and mismatches. - Developed save.js to handle cache saving, including cleaning up target directories and registry. - Introduced utility functions in utils.js for command execution and cache provider selection. - Created Workspace class in workspace.js to manage Rust workspace metadata and package retrieval.
This commit is contained in:
parent
d1bc4f9b16
commit
74f2e4d3dd
12 changed files with 5053 additions and 4034 deletions
3999
dist/save/index.js
vendored
3999
dist/save/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue