Commit Graph

155 Commits

Author SHA1 Message Date
Kat Marchán 35a09fe961
8.0.0 2020-07-18 10:46:31 -07:00
Kat Marchán ce75a109e5
docs: update changelog 2020-07-18 10:46:02 -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 addf858ab7 7.0.0 2020-04-29 21:40:47 -07:00
Kat Marchán 2f54c6a85b docs: update changelog 2020-04-29 21:40:02 -07:00
Kat Marchán 9dbb3a39d5 docs: add crates.io badge 2020-04-29 19:43:27 -07:00
Kat Marchán c248be6cc6 docs: rename ci workflow and add status badge 2020-04-29 19:41:57 -07:00
Florian Albertz bb815f5f22 feat(errors): remove anyhow and use custom error types (#24)
Co-authored-by: Florian Albertz <git@albertz.io>

BREAKING CHANGE: This changes the exported error type(s) for cacache, making it way easier to do error handling when something goes kaput.
2020-04-29 19:34:43 -07:00
Andreas Rammhold 88a76189fc
fix(list_sync): make sure the public interface allows using the Item type (#25)
Before this change the public interface wouldn't allow downstream users
to use the actual items since it wasn't communicated on the function
signature.

Previously a user would run into errors like this:
> no field `key` on type `<impl std::iter::Iterator as std::iter::Iterator>::Item`
2020-04-21 13:42:19 -07:00
Kat Marchán a746fc0216
meta(ci): improve CI workflow 2019-12-16 20:10:39 -08:00
Kat Marchán 513d55833d
meta: remove Cargo.lock from git 2019-12-16 18:54:59 -08:00
Kat Marchán 2413f2e8b1
meta: committing cargo lock 2019-11-11 20:01:17 -08:00
Kat Marchán f596068172
6.0.0 2019-11-11 20:01:09 -08:00
Kat Marchán d7f3216b89
docs: update changelog 2019-11-11 20:00:27 -08:00
Kat Marchán f226a5d1b3
meta: add stable to rust matrix 2019-11-11 19:35:35 -08:00
Kat Marchán c44b781a34
feat(deps): upgrade to latest async-std and regular futures crate
Fixes: #22

BREAKING CHANGE: returned futures are now regular futures crate futures
2019-11-11 19:31:28 -08:00
Kat Marchán a9f8e4e6f4
cleanup: some reorganizing and reformatting of stuff 2019-11-06 23:03:14 -08:00
Kat Marchán b54ec598cb
feat(license): upgrade to Parity 7.0 release
BREAKING CHANGE: There are differences between the prerelease and full release versions of the Parity license. Please read through the terms carefully and consult your own counsel if you have any questions about it.
2019-11-06 20:59:31 -08:00
Kat Marchán d5bb0dffb6
feat(chown): stop changing owner/group on unix platforms
Fixes: #16

BREAKING CHANGE: If you were relying on the chown functionality for the index (which you probably weren't), then your index will no longer be updated that way.
2019-11-06 20:59:24 -08:00
Kat Marchán 864c9314b3
meta: committing cargo lock 2019-10-23 21:21:38 -07:00
Kat Marchán 89d6c23f25
5.0.0 2019-10-23 21:21:29 -07:00
Kat Marchán 95682b203b
docs: update changelog 2019-10-23 21:20:41 -07:00
Kat Marchán 743476b274
feat(api): rewrite entire API to be like std::fs (#21)
Fixes: #13

BREAKING CHANGE: The entire API surface has been rewritten and overhauled. Instead of breaking up the package into get/put/rm/ls modules, everything is now available mostly through the toplevel module, following the same conventions as std:fs for its operations. Associated structs and other types have also been renamed. Please refer to the documentation for the new API, and I hope you find it more ergonomic!
2019-10-23 21:17:57 -07:00
Kat Marchán 0395b0fbff
feat(license): bump Parity license to 7.0.0-pre.3
BREAKING CHANGE: The version of the Parity license has been upgraded. There are no substantial changes to the conditions of the license, but you should still review it in case one of the changes affects you. See LICENSE-PARITY.md for details.
2019-10-22 10:49:03 -05:00
Kat Marchán ccdd8c7578
docs: improve examples 2019-10-21 18:28:00 -04:00
Kat Marchán c619105315
docs: fix v4 changelog headers 2019-10-21 15:42:00 -04:00
Kat Marchán c2b2a22131
meta: committing cargo lock 2019-10-20 23:49:41 -04:00
Kat Marchán 12f7ba02d9
4.0.0 2019-10-20 23:49:09 -04:00
Kat Marchán 20ba4dd3ab
docs: update changelog 2019-10-20 23:49:06 -04:00
Kat Marchán 62298cdf35
feat(errors): improved errors messaging and context (#20)
Fixes: #19

BREAKING CHANGE: Error values have changed. If you were inspecting or
matching against actual return values, you'll need to change your code
to use the new enums.
2019-10-20 23:47:56 -04:00
Kat Marchán 649398512f
feat(rm): Accept AsRef<str> for keys 2019-10-20 23:08:26 -04:00
Kat Marchán fbeb6ec0ff
feat(license): Add in Patron license to make proprietary stuff more clear 2019-10-20 16:42:34 -04:00
Kat Marchán ee149a70ca
feat(errors): Replace failure with anyhow crate (#17)
Fixes: #14

BREAKING CHANGE: Result functions now return anyhow::Error
2019-10-20 00:25:28 -04:00
Kat Marchán 69d2ac7207
build: switch to actions-rs (#12) 2019-10-19 11:05:53 -04:00
Kat Marchán 38115599ca
fix(fmt): cargo fmt --all 2019-10-18 22:41:58 -04:00
Kat Marchán f12c0ddb04
meta: remove travis-ci badge 2019-10-18 22:41:24 -04:00
Kat Marchán bb9507ce5b
misc: commit cargo lock 2019-10-18 22:26:01 -04:00
Kat Marchán 0cb833d144
3.0.0 2019-10-18 22:25:56 -04:00
Kat Marchán f2b3798adc
docs: update changelog 2019-10-18 22:25:48 -04:00
Kat Marchán fde3521cce
deps: bump async_std 2019-10-18 22:24:42 -04:00
Kat Marchán 086cbfe379
docs: add a couple of examples to Put 2019-10-18 21:49:47 -04:00
Kat Marchán ef8d3ad0e7
docs: improve root examples a bit 2019-10-18 21:49:32 -04:00
Kat Marchán 57bc0f04ff
test(rm): add tests and examples for cacache::rm 2019-10-18 16:28:52 -04:00
Kat Marchán dafc79f481
feat(get): get::info -> get::entry
BREAKING CHANGE: This renames get::info to get::entry for better symmetry with rm
2019-10-18 16:28:15 -04:00
Kat Marchán 7123ffa44b
test(copy): add tests and doc examples for copy APIs 2019-10-18 12:44:48 -04:00
Kat Marchán aec50e9b23
bench: add benchmarks for multiple reads 2019-10-18 00:33:48 -04:00
Kat Marchán c430016744
feat(ls): cacache::ls::all -> ls::all_sync
BREAKING CHANGE: In order to match up with the other APIs, the ls::all() has been renamed to ls::all_sync().
2019-10-17 23:16:51 -04:00
Kat Marchán a040a743a8
test(get): add examples and tests for get::data* family 2019-10-17 23:05:43 -04:00
Kat Marchán d08629cf55
fix(check): {Async}Get::check wasn't working correctly 2019-10-17 22:50:39 -04:00
Kat Marchán 398773547b
benchmarks: add baseline comparison benchmarks for regular i/o 2019-10-17 22:24:24 -04:00