3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-06-27 18:48:48 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Arpad Borsos
008623fb83
also cache cargo install metadata 2024-12-29 08:47:45 +01:00
Max Heller
d30f1144e8
Only key by Cargo.toml and Cargo.lock files of workspace members (#180) 2023-12-03 11:57:51 +01:00
Filippo Neysofu Costa
67c46e7159
Support for trybuild and similar macro testing tools (#168)
Signed-off-by: Filippo Costa <filippo@neysofu.me>
2023-09-12 19:32:03 +02:00
Arpad Borsos
80c47cc945
Clean up credentials.toml 2023-08-02 12:54:48 +02:00
Arpad Borsos
f6987ea139
Improve errors and cleanup
- Silence errors and do not create error annotations, fixes #144
- Implement cleanup for new sparse registry
- Do not clean `-sys` dependencies from `registry/src`, hopefully fixes  #150
2023-08-02 12:15:14 +02:00
Steven Hartland
ad97570a01
fix: cache key stability (#142)
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.

Reverts: #138
Fixes #140
2023-05-18 22:48:40 +02:00
Steven Hartland
def0926359
feat: add option to cache all crates (#137)
Add cache-all-crates option which allows all crates to be cached instead
of just the dependency crates. This is useful when additional crates are
required for CI tooling.
2023-05-11 23:15:09 +02:00
Arpad Borsos
3f2513fdf4
avoid calling cargo metadata on pre-cleanup 2022-11-03 11:26:22 +01:00
Arpad Borsos
0d72e5f9a0
revert explicit dir close 2022-09-04 13:22:47 +02:00
Arpad Borsos
be4be3720d
explicitly close dir handles, add more logging, cleanups 2022-09-04 13:10:36 +02:00
Arpad Borsos
622616010e
prepare v2 2022-07-16 12:38:38 +02:00
Arpad Borsos
0497f9301f
improve registry cleanpu 2022-07-09 19:20:02 +02:00
Arpad Borsos
7b8626742a
update registry cleaning 2022-07-09 18:51:34 +02:00
Arpad Borsos
911d8e9e55
test sparse registry 2022-07-09 17:49:43 +02:00
Arpad Borsos
07a2ee71bc
lol, dependency check was reversed 2022-07-09 17:37:48 +02:00
Arpad Borsos
86bae2494f
clean nested and arbitrary profile and target directories 2022-07-09 16:14:38 +02:00
Arpad Borsos
6ed4c28a7c
rewrite it all 2022-07-09 15:19:29 +02:00