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
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
38115599ca
fix(fmt): cargo fmt --all
2019-10-18 22:41:58 -04:00
Kat Marchán
fde3521cce
deps: bump async_std
2019-10-18 22:24:42 -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
7aabb55de5
misc: remove unneeded clippy exception
2019-10-17 18:10:18 -04:00
Kat Marchán
4d9404b9a6
feat(license): relicense to Parity+Apache
2019-10-15 12:15:34 -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
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
4a6950ff5d
fix(put): fix warnings
2019-06-27 22:45:11 -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
09ed932870
misc: add useful (?) comment
2019-06-27 11:18:42 -07:00
Kat Marchán
bc56a1b3fe
fix(fmt): cargo fmt
2019-06-26 21:41:44 -07:00
Kat Marchán
15f017fe21
feat(put): Add put::Put and put::PutOpts
2019-06-26 21:40:15 -07:00
Kat Marchán
248b631d77
deps: bump ssri to 2.0
2019-06-25 22:21:44 -07:00
Kat Marchán
f3b6abf45c
fix(content): make rm use our own Error
2019-06-05 13:41:32 +02:00
Kat Marchán
8bf623b8ef
fix(write): use shared Error type for write()
2019-06-05 11:33:45 +02:00
Kat Marchán
d91d214176
feat(get): add external cacache::get api
2019-06-04 22:06:38 +02:00
Kat Marchán
146e2019a1
test: remove debugging prindln
2019-06-02 19:08:59 +02:00
Kat Marchán
cba2f0d39a
fix(lint): clippy told me to do this
2019-05-24 17:22:14 -07:00
Kat Marchán
eac29d941b
feat(rm): added content/rm
2019-05-24 17:14:06 -07:00
Kat Marchán
837e90b484
refactor(read): follow convention for imports
2019-05-24 17:13:50 -07:00
Kat Marchán
bff95f20ec
feat(read): added has_content()
2019-05-22 22:03:59 -07:00
Kat Marchán
70cf52e136
feat(read): added content read and read_to_string
2019-05-22 19:42:34 -07:00
Kat Marchán
e452fdcd16
feat(write): initial hack for write
2019-05-22 19:42:17 -07:00
Kat Marchán
e98bfb17da
feat(content): add baseline read functionality
2019-05-20 18:11:58 -07:00
Kat Marchán
0f768fa5c0
feat(path): ported content_path
2019-05-20 17:34:29 -07:00