3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-05 21:24:07 +00:00

update readme

This commit is contained in:
Arpad Borsos 2020-09-28 12:51:40 +02:00
parent 08ca2ff969
commit 1d1bff80c5

View file

@ -30,20 +30,16 @@ assumption is that we will likely recompile the own crate(s) anyway.
It also separates the cache into 4 groups, each treated differently: It also separates the cache into 4 groups, each treated differently:
- Index: `~/.cargo/registry/index/<registry>`: - Registry Index: `~/.cargo/registry/index/<registry>`:
This is always restored from its latest snapshot, and persisted based on the This is always restored from its latest snapshot, and persisted based on the
most recent revision. most recent revision.
- Registry / Cache: `~/.cargo/registry/cache/<registry>`: - Registry Cache: `~/.cargo/registry/cache/<registry>`:
Automatically keyed by the lockfile/toml hash, and is being pruned to only Automatically keyed by the lockfile/toml hash, and is being pruned to only
persist the dependencies that are being used. persist the dependencies that are being used.
- Registry / Git: `~/.cargo/registry/git/<registry>`:
Automatically keyed by the lockfile/toml hash. Pruning is still TODO.
- target: `./target` - target: `./target`
Automatically keyed by the lockfile/toml hash, and is being pruned to only Automatically keyed by the lockfile/toml hash, and is being pruned to only