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
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
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
4d9404b9a6
feat(license): relicense to Parity+Apache
2019-10-15 12:15:34 -04: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
d7af45d4f1
doc(get): document get module
2019-06-30 20:53:50 -07:00
Kat Marchán
aee271186a
refactor(get): reuse open_hash
2019-06-30 20:12:31 -07:00
Kat Marchán
0349d115f4
fix(fmt): cargo fmt
2019-06-27 22:48:58 -07:00
Kat Marchán
a5e9966624
refactor(get): move trait bounds into where clauses
2019-06-27 22:41:56 -07:00
Kat Marchán
6e9a2f9f87
feat(get): add get::open() and get::open_hash()
2019-06-27 22:41:32 -07:00
Kat Marchán
abc0246da6
refactor: remove unneeded Ok()
2019-06-26 22:03:29 -07:00
Kat Marchán
5af622eb30
feat(api): AsRef all the things!
2019-06-09 10:59:36 -07:00
Kat Marchán
cf0fbe233f
fix(api): use &str keys
2019-06-05 14:46:49 +02:00
Kat Marchán
261f190e4e
doc: added some basic top-level documentation.
2019-06-05 14:00:25 +02:00
Kat Marchán
d91d214176
feat(get): add external cacache::get api
2019-06-04 22:06:38 +02:00