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
Kat Marchán
a746fc0216
meta(ci): improve CI workflow
2019-12-16 20:10:39 -08:00
Kat Marchán
f226a5d1b3
meta: add stable to rust matrix
2019-11-11 19:35:35 -08:00
Kat Marchán
69d2ac7207
build: switch to actions-rs ( #12 )
2019-10-19 11:05:53 -04:00
Kat Marchán
18190bfc35
feat(async): add extra async versions of APIs ( #6 )
2019-10-13 20:06:20 -04:00
Kat Marchán
97f44573d5
fix(windows): add windows support
2019-08-31 22:38:37 -07:00
Kat Marchán
60508ab258
meta: add more stuff to ci matrix
2019-08-31 21:12:24 -07:00
Kat Marchán
4f34257f7a
meta: GH-based build
2019-08-31 20:19:25 -07:00