Commit Graph

12 Commits

Author SHA1 Message Date
Christian Haynes 1ff3cee535
fix: bumped rust version to 1.81 2025-07-23 12:56:33 -04:00
Christian Haynes 1c633b62f3
feat: smol runtime feature 2025-07-23 11:06:37 -04:00
Iker Nieto ffa1ab7254
fix(sync): Added the feature flags for compilation without the async runtime. Fixes #64. (#65)
BREAKING CHANGE: this bumps the MSRV to 1.70.0

---------

Co-authored-by: Kat Marchán <kzm@zkat.tech>
2024-02-12 09:55:58 -08:00
Scott Haug ac56fd9ce6
feat(link_to): Add support for linking to existing files from the cache (#41) 2023-02-27 14:08:01 -08:00
Kat Marchán 97625bb77c
ci: glob together async-std and tokio in CI again 2023-01-28 19:20:09 -08:00
Kat Marchán c2d5390a84
feat(errors): integrate miette and generally improve error reporting (#38)
BREAKING CHANGE: This bumps the MSRV to 1.67.0 and documents it in the README.
2023-01-28 19:17:53 -08:00
Kat Marchán dca57e1100
fix(msrv): be less aggressive about MSRV bump 2023-01-28 15:55:00 -08:00
Kat Marchán 953262c1d9
test: separate runs for async-std and tokio 2023-01-28 15:54:59 -08:00
C J Silverio 6d84ff0aed
fix(write): set tmpfile length in async writer (#35)
Fixes: https://github.com/zkat/cacache-rs/issues/34

The async `poll_write()` implementation was creating a tempfile as
a backing for its inner mmap, but it was failing to set the length
on the file to match the incoming data. Compare with the sync
implementation!

This bug was exposed when the `memmap2` crate was swapped in
for `memmap`. The older crate was likely more lax about this.

Wrote a pair of new tests for `cacache::write_hash_sync` and
`cacache::write_hash`. The async test fails without this change, as
does any benchmarks run. Everything passes with it.

BREAKING CHANGE: This commit also bumps the MSRV for cacache to 1.66.1.
2023-01-23 17:37:34 -08:00
Kat Marchán 323ecacc3b
feat(msrv): bump MSRV to 1.54, thanks to socket 2021-09-15 20:30:40 -07:00
Kat Marchán 803d0c3ede
feat(write): Use mmap for small writes (#26)
BREAKING CHANGE: This bumps the minimum Rust version from 1.39 to 1.43. Thanks, remove_dir_all! >:(
2020-07-18 10:43:38 -07:00
Kat Marchán c248be6cc6 docs: rename ci workflow and add status badge 2020-04-29 19:41:57 -07:00