cacache
Content-addressable, key-value, high-performance, on-disk cache.
13.1.0
4.3M downloads/mo
#4846 most downloaded on crates.io
zkat/cacache-rs
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 28 of 31 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
31 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
31 releases · Jun 2019 to Nov 2024Releases
latest 31-
13.1.026 Nov 2024Release notes
Open source →Features
- link: add hard_link_hash (#82) (ab5f1c91)
Bug Fixes
- docs: improved documentation for remove_fully (#78) (3a712473)
- tokio: add safe access join handles (#85) (146a593c)
<a name="13.0.0"></a>
-
13.0.015 Feb 2024Release notes
Open source →Bug Fixes
- sync: Added the feature flags for compilation without the async runtime. Fixes #64. (#65) (ffa1ab72)
- BREAKING CHANGE: this bumps the MSRV to 1.70.0
- remove_fully: Remove the key content when set
remove_fullytotrue(#63) (761d7155)- BREAKING CHANGE: this is technically a fix, but maybe people didn't expect this.
Release notes
Open source →Bug Fixes
- sync: Added the feature flags for compilation without the async runtime. Fixes #64. (#65) (ffa1ab72)
- BREAKING CHANGE: this bumps the MSRV to 1.70.0
- remove_fully: Remove the key content when set
remove_fullytotrue(#63) (761d7155)- BREAKING CHANGE: this is technically a fix, but maybe people didn't expect this.
<a name="12.0.0"></a>
- sync: Added the feature flags for compilation without the async runtime. Fixes #64. (#65) (ffa1ab72)
-
12.0.007 Oct 2023Release notes
Open source →Features
- remove_fully: add option for remove cache entry (#54) (34ee6798)
- reflink: Separate reflink behavior into their own functions (#58) (cfdf4eed)
- BREAKING CHANGE: some signatures for copy have changed, and copy no longer automatically reflinks
<a name="11.7.1"></a>
-
11.7.111 Sep 2023Release notes
Open source →Bug Fixes
- sync-only: remove futures dep when no async features are being used (100609ab)
- mmap: fix unused method warning (c735d83a)
- deps: moved to reflink-copy (#55) (6624d66c)
<a name="11.7.0"></a>
-
11.7.011 Sep 2023Release notes
Open source →Release notes
Open source →Features
- sync-only: add support for removing async runtime dependency altogether (#56) (60622267)
<a name="11.6.0"></a>
-
11.6.021 May 2023Release notes
Open source →Features
- mmap: new feature for mmap-based optimization (#49) (58de0b2d)
- xxhash: Add xxhash support and some utilities for making it easier to use (#51) (41392e74)
Bug Fixes
Release notes
Open source →Features
- mmap: new feature for mmap-based optimization (#49) (58de0b2d)
- xxhash: Add xxhash support and some utilities for making it easier to use (#51) (41392e74)
Bug Fixes
- mmap: pre-allocate temp file before mmapping (#50) (1ac1d647)
<a name="11.5.2"></a>
-
11.5.201 Apr 2023Release notes
Open source →Bug Fixes
- deps: move async-attributes over to dev-dependencies (b7c10eca)
Release notes
Open source → -
11.5.101 Apr 2023 -
11.5.001 Apr 2023Release notes
Open source →This release upgrades miette and thiserror in lockstep, bringing in syn2, in
order to avoid potential issues with the
upgrade.Features
- deps: bump miette and thiserror (364f9da6)
Release notes
Open source →This release upgrades miette and thiserror in lockstep, bringing in syn2, in order to avoid potential issues with the upgrade.
Features
- deps: bump miette and thiserror (364f9da6)
<a name="11.4.0"></a>
-
11.4.010 Mar 2023Release notes
Open source →Features
- link: implement hard_link_hash_sync too (b88217cc)
Bug Fixes
- security: bump tempfile version to 3.4.0 (#45) (02d7f146)
<a name="11.3.0"></a>
-
11.3.005 Mar 2023Release notes
Open source → -
11.2.028 Feb 2023Release notes
Open source →Features
- link_to: Add support for linking to existing files from the cache (#41) (ac56fd9c)
- copy: add support for reflink-copy and unsafe-copy (#42) (d39e8380)
<a name="11.1.0"></a>
-
11.1.019 Feb 2023Release notes
Open source →Features
- index: Add support for raw index metadata and expose index functions (9991f56b)
<a name="11.0.2"></a>
-
11.0.219 Feb 2023Release notes
Open source → -
11.0.119 Feb 2023 -
11.0.029 Jan 2023Release notes
Open source →This release includes a number of nice improvements to error reporting, integrating
mietteto provide more helpful, contextual error messages, as well as addingtokioas an optional runtime, instead ofasync-std.It also includes a number of bug fixes and performance improvements.
Note that this release also bumps the MSRV to 1.67.0, which will hopefully stay there for a while. Apologies if you're still on an earlier version of
rustc: the ecosystem moved forward and ultimately, we needed to move with it.Bug Fixes
- write: set tmpfile length in async writer (#35) (6d84ff0a)
- BREAKING CHANGE: This commit also bumps the MSRV for cacache to 1.66.1.
- deps: only include rt-multi-threaded for tokio when running tests (526386ad)
- msrv: be less aggressive about MSRV bump (dca57e11)
- perf: do the inner fn trick to reduce generic compilation load (da259ae4)
Features
- async: Add tokio as an executor option (#36) (e34dcfdc)
- errors: integrate miette and generally improve error reporting (#38) (c2d5390a)
- BREAKING CHANGE: This bumps the MSRV to 1.67.0 and documents it in the README.
<a name="10.0.1"></a>
- write: set tmpfile length in async writer (#35) (6d84ff0a)
-
10.0.125 Feb 2022Release notes
Open source → -
10.0.023 Jan 2022Release notes
Open source →Breaking Changes
- msrv: bump MSRV to 1.54, thanks to socket (323ecacc)
Bug Fixes
- security: replaced memmap with memmap2 (#30) (03d4596b)
<a name="9.0.0"></a>
-
9.0.016 Sep 2021Release notes
Open source →Bug Fixes
- clippy: appease the paperclip (8d08e452)
- cleanup: general house cleaning, bumping deps, etc (9163a584)
Features
- license: change license to Apache-2.0 (97890872)
- BREAKING CHANGE: This is a significant licensing change. Please review.
<a name="8.0.0"></a>
-
8.0.018 Jul 2020Release notes
Open source →Breaking Changes
- write: Use mmap for small writes (#26) (803d0c3e, breaks #). This bumps the minimum Rust version from 1.39 to 1.43 due to a dependency's breaking change in a patch version.
<a name="7.0.0"></a>
-
7.0.030 Apr 2020Release notes
Open source →This release is mostly a major overhaul of the external error API, switching out of
anyhowin favor of more bespoke error handling that works nicer in a library.Breaking Changes
Bug Fixes
- list_sync: make sure the public interface allows using the Item type (#25) (88a76189)
<a name="6.0.0"></a>
-
6.0.012 Nov 2019Release notes
Open source →Breaking Changes
- chown: stop changing owner/group on unix platforms (d5bb0dff)
- deps: upgrade to latest async-std and regular futures crate (c44b781a)
- license: upgrade to Parity 7.0 release (b54ec598)
<a name="5.0.0"></a>
-
5.0.024 Oct 2019Release notes
Open source →Breaking Changes
- api: rewrite entire API to be like std::fs (#21) (743476b2)
- license: bump Parity license to 7.0.0-pre.3 (0395b0fb)
Features
- api: rewrite entire API to be like std::fs (#21) (743476b2)
- license: bump Parity license to 7.0.0-pre.3 (0395b0fb)
<a name="4.0.0"></a>
-
4.0.021 Oct 2019Release notes
Open source →Bug Fixes
- fmt: cargo fmt --all (38115599)
Breaking Changes
- errors:
Features
- errors:
- license: Add in Patron license to make proprietary stuff more clear (fbeb6ec0)
- rm: Accept AsRef<str> for keys (64939851)
<a name="3.0.0"></a>
-
3.0.019 Oct 2019Release notes
Open source →Features
- api: get::read -> get::data (b02f41e0)
- async: reorganize async APIs to be the primary APIs (662aea9b)
- get: get::info -> get::entry (dafc79f4)
- ls: cacache::ls::all -> ls::all_sync (c4300167)
Bug Fixes
- check: {Async}Get::check wasn't working correctly (d08629cf)
- open: use actual file paths instead of just cache for open APIs (03ff1970)
Breaking Changes
- api: get::read -> get::data (b02f41e0, breaks #)
- async: reorganize async APIs to be the primary APIs (662aea9b, breaks #)
- get: get::info -> get::entry (dafc79f4, breaks #)
- ls: cacache::ls::all -> ls::all_sync (c4300167, breaks #)
<a name="2.0.1"></a>
-
2.0.115 Oct 2019 -
2.0.015 Oct 2019Release notes
Open source →Features
- async: add extra async versions of APIs (#6) (18190bfc)
- license:
- relicense to Parity+Apache (4d9404b9)
Bug Fixes
- windows: add windows support (97f44573)
Breaking Changes
- license: relicense to Parity+Apache (4d9404b9)
<a name="1.0.1"></a>
-
1.0.101 Jul 2019Release notes
Open source →Initial History generation.
Features
- api: AsRef all the things! (5af622eb)
- content: add baseline read functionality (e98bfb17)
- error:
- errors: add errors module (b0464849)
- exports: re-export ssri::Algorithm and serde_json::Value (87adc8cf)
- get:
- index:
- ls: implemented cacache::ls::all() (b0f351ea)
- path: ported content_path (0f768fa5)
- put:
- read:
- rm:
- write: initial hack for write (e452fdcd)
Bug Fixes
-
1.0.001 Jul 2019Nothing published for this version
-
0.2.009 Jun 2019Nothing published for this version
-
0.1.006 Jun 2019Nothing published for this version