Commit Graph

127 Commits

Author SHA1 Message Date
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
Kat Marchán 03ff19709a
fix(open): use actual file paths instead of just cache for open APIs
Also taking the chance to write docs and tests for them.
2019-10-17 19:04:21 -04:00
Kat Marchán 662aea9b5a feat(async): reorganize async APIs to be the primary APIs
BREAKING CHANGE: the async_* namespaces are gone, and all the previously-sync APIs (get::data, put::data, etc), are all suffixed with _sync now. You'll need to adjust your usage accordingly.
2019-10-17 18:25:20 -04:00
Kat Marchán b02f41e07f feat(api): get::read -> get::data
This should improve the ergonomics a bit by being more symmetrical with put

BREAKING CHANGE: The `get` API now uses "data" instead of "read" as the "verb". You will need to change anything that used get::read/hash/etc to use "data" now.
2019-10-17 18:25:20 -04:00
Kat Marchán 7aabb55de5
misc: remove unneeded clippy exception 2019-10-17 18:10:18 -04:00
ricky 42f4e1da63 tests: add some rm (#10)
Ref: #3
2019-10-17 18:09:41 -04:00
Kat Marchán d2157ac9d8
misc: fix cargo lock 2019-10-15 13:09:14 -04:00
Kat Marchán bfb1acefb4
2.0.1 2019-10-15 13:08:59 -04:00
Kat Marchán fd5ddd173b
docs: update changelog 2019-10-15 13:08:51 -04:00
Kat Marchán 4259a39fdf
docs: add basic examples 2019-10-15 13:08:02 -04:00
Kat Marchán 180a031b52
misc: commit cargo lock 2019-10-15 12:34:25 -04:00
Kat Marchán 7b19bbb26b
2.0.0 2019-10-15 12:33:56 -04:00
Kat Marchán c609f77586
docs: update changelog 2019-10-15 12:33:42 -04:00
Kat Marchán 3f83e13857
deps: bump deps 2019-10-15 12:29:12 -04:00
Kat Marchán 4d9404b9a6
feat(license): relicense to Parity+Apache 2019-10-15 12:15:34 -04:00
Kat Marchán 63dde4f5f1
docs: fix up changelog a bit 2019-10-13 20:48:38 -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 642e40b47c
fix(license): update the License section of the README 2019-09-07 10:41:43 -07:00
Kat Marchán 4513a19261
deps: bump ssri to 4.0.0 2019-09-06 21:59:43 -07:00
Kat Marchán 473473e6b2
feat(license): relicense under MPL-2.0 (#8)
BREAKING CHANGE: The license terms have changed. Please refer to LICENSE in the root of this repository for details. Future use of this library may require release of source code for any changes applied to it.
2019-09-06 21:39:36 -07:00
Kat Marchán 97f44573d5
fix(windows): add windows support 2019-08-31 22:38:37 -07:00
Kat Marchán 25a191887d
meta: remove travis 2019-08-31 21:16:40 -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
Kat Marchán db7e33d67f
meta: added clog.toml and initial CHANGELOG 2019-07-01 13:32:47 -07:00
Kat Marchán cfc7e841d9
meta: commit Cargo.lock too 2019-07-01 09:41:19 -07:00
Kat Marchán a4b445f854
1.0.1 2019-07-01 09:41:08 -07:00
Kat Marchán 1f2d03375b
doc(cargo.toml): add more metadata to Cargo.toml 2019-07-01 09:41:02 -07:00
Kat Marchán cf925c1fa1
meta: commit Cargo.lock too 2019-07-01 08:58:43 -07:00