3
0
Fork 0
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:
Ryan-Brice 2025-10-21 17:40:45 +08:00
parent d1bc4f9b16
commit 74f2e4d3dd
No known key found for this signature in database
GPG key ID: 3702BD1113AFDD13
12 changed files with 5053 additions and 4034 deletions

3999
dist/save/index.js vendored

File diff suppressed because one or more lines are too long