3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-02-07 03:22:15 +00:00

feat: Rm workspace crates version before caching

Fixed #146

 - Set all `package.version` in `Cargo.toml` to `0.0.0`
 - Set `{build-, dev-, }dependencies` of workspace crates to `0.0.0`
 - Remove workspace crates from `Cargo.lock` before caching
 - Sort all toml objects before hashing them as json

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-06-15 01:04:28 +10:00
parent 988c164c3d
commit b3f4ec1366
No known key found for this signature in database
GPG key ID: D7D0DA2A5FE7AF8B
5 changed files with 8419 additions and 8 deletions

4156
dist/restore/index.js vendored

File diff suppressed because it is too large Load diff

4156
dist/save/index.js vendored

File diff suppressed because it is too large Load diff